General Weblogic Server Integration Notes

Abstract: General Weblogic Server Integration Notes

General Weblogic Server Integration Notes


Information in this Brief applies to:

  • JBuilder 9 Enterprise
  • JBuilder X Enterprise
  • All Supported Platforms

Overview

General notes about using Weblogic Server while integrated with JBuilder Enterprise

Details

This article provides some general notes regarding deployment, running and usage of Weblogic Server from within JBuilder Enterprise.

When you install Weblogic Server you will be asked to set a number of variables. We recommend you make a note of what these variables' values are for future referance. The variables are:

  • Name
  • Listen Port
  • SSL Listen Port
  • Admin User
  • Admin Password
  • Config Name
  • Admin Console URL
  • Path to my domain (default: ../bea/user_projects/mydomain)
  • Location of deployed apps (default: ../mydomain/myserver/upload)
Store this information somewhere handy.

Now for the notes:
  • If WLS is running already, starting a web run in JBuilder will throw errors. Shutting down the first instance of WLS makes the errors go away.
  • If WLS is not running, you cannot use the context menu deploy options.
  • When you do a Web Run in JBuilder, the web app is left in its project folder and WLS looks at that location for the JSP to compile into a servlet (i.e. the web app is not "deployed"). This allows you to make edits to the JSP source which will show up in the browser without having to restart the Web Run session.
  • When you undeploy an app from WLS, it does not delete the archive file from the server's apps folder.
  • To do remote debugging, start WLS in debug mode, use a server runtime configuration to attach (debug tab) to WLS, then invoke the client used to call the bean methods.
  • Here are the options to manually pass in to start it in debug mode:
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3999,suspend=n