Jay SenSharma

Jay SenSharma

Many times we see that the JVM arguments And Classpath settings applied by us in server StartScripts …. are not being picked up by the Managed Servers which we start Using NodeManagers….like HeapSize, PermSize…etc. For more information : http://forums.oracle.com/forums/thread.jspa?threadID=1038345&tstart=0

To Debug this kind of issues first of all we need to look up in the Server Logs/Stdout  that which values are being picked up by the Managed Servers.  If it is not the one which we wanted there…then please follow the steps:
If you are starting your Managed Server using NodeManager then First of all try the following options as well..

Login to AdminConsole–>Environments—.Servers—>YourManagedServer—>Configuration (TAB)—>ServerStart (SubTab)—> Arguments:(TextArea)

-Xms1024m -Xmx1024m -XX:MaxPermSize=256m  –Duser.dir=E:/MyDirectory

Specify the your own Heap & MaxPermSize setting here.. in the TextArea …Then start your Server.

NOTE: Similarly in the same Page you will see the CLASSPATH variable which you can use to set the Managed Server ClassPath…


If option-1 doesn’t work then….
Option-2). If above also didn’t work then please try to add the following 2 entry in the “nodemanager.properties” file and in startWebLogic.cmd please add the JAVA_OPTION=-Xms1024m -Xmx1024m -XX:MaxPermSize=256m  –Duser.dir=E:/MyDirectory


Then try to start your Managed Server. (here u can give your Custom Script name as well, But that should be available inside Domain_home/bin)


Alternative Of Setting CLASSPATH:

Step-1). start the Server using start Scripts …and then copy the classpath from the STDOUT of the Server… (Make sure there is no line breaks in that)

Step-2). open admin console and then add the same classpath in the “Server Start” tab …now in the same classpath you can append your Jars as well..
NOTE: setting classpath through AdminConsole will take effect only when you start your Server using NodeManager for which you are planning to set the classpath.


if the Jar precedence does not matter much in your case then …as an alternative putting the Jars in “<DOMAIN_HOME>lib” directory will help much…because the Jars present in this directory will be automatically appended at the end of the CLASSPATH…(it happens on the fly so you wont be able to see it)




Jay SenSharma

If you enjoyed this post, please considerleaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.