users@glassfish.java.net

Re: RE: Re: How to set classpath suffix in Sun App Server 9.1

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Mar 2008 07:50:37 PST

You can use the CLI command to do it in your script.

By default, classpath-suffix is empty, you can see its current value by doing:
  [b]asadmin get server-config.java-config.classpath-suffix[/b]

and you can also change it by using set, eg.
  [b]asadmin set server-config.java-config.classpath-suffix=/user/ABCDE.jar[/b]

when server startup you will see something like:

Mar 7, 2008 7:29:44 AM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
-Dcom.sun.aas.instanceRoot=/Users/anilam/Awork/as9.1.1/publish/glassfish/domains/domainEE
-Dcom.sun.aas.ClassPathPrefix=
[b]-Dcom.sun.aas.ClassPathSuffix=/user/ABCDE.jar[/b]
-Dcom.sun.aas.ServerClassPath=
....

Hope this help.
Anissa
[Message sent by forum member 'anilam' (anilam)]

http://forums.java.net/jive/thread.jspa?messageID=262914