dev@glassfish.java.net

bug or feature CLASSPATH extension not work

From: Richard Csokas <csokasr_at_gmail.com>
Date: Wed, 20 May 2009 14:39:19 +0200

Hello,

I create a cluster in two instance and one DAS server. I switch off the JVM
settings -> PATH settings -> Environment Classpath ignore, all
server(cluster instances and das).
I add one line the asadmin start script:

export CLASSPATH="/home/gfsapp/lib/ojdbc5.jar:$CLASSPATH"

I see if the DAS restarted then run ps -aux

 /home/gfsapp/jre/1.5.0/bin/java
-Dcom.sun.aas.instanceRoot=/home/gfsapp/app_domain/servers/adminserver
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=/home/gfsapp/app_domain/customlib/ojdbc5.jar:/home/gfsapp/app_domain/customlib/orai18n.jar:/home/eai/glassfish/javadb/lib/derby.jar:/home/eai/glassfish/jbi/lib/jbi-admin-cli.jar:/home/eai/glassfish/jbi/lib/jbi-admin-common.jar:/home/eai/glassfish/lib:/home/eai/glassfish/lib/appserv-rt.jar:/home/eai/glassfish/lib/appserv-ext.jar:/home/eai/glassfish/lib/javaee.jar:/home/eai/glassfish/lib/appserv-se.jar:/home/eai/glassfish/lib/admin-cli.jar:/home/eai/glassfish/lib/appserv-admin.jar:/home/eai/glassfish/lib/commons-launcher.jar:/home/eai/glassfish/lib/install/applications/jmsra/imqjmsra.jar

but , i see if the instances restartted then run ps -aux

/home/gfsapp/jre/1.5.0/bin/java
-Dcom.sun.aas.instanceRoot=/home/gfsapp/app_domain/servers/aquatst1/asp_server1
-DHTTP_LISTENER_PORT=38082 -DHTTP_SSL_LISTENER_PORT=38183
-DIIOP_LISTENER_PORT=33702 -DIIOP_SSL_LISTENER_PORT=33822
-DIIOP_SSL_MUTUALAUTH_PORT=33922 -DJMS_PROVIDER_PORT=37678
-DJMX_SYSTEM_CONNECTOR_PORT=38688 -Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=/home/eai/glassfish/javadb/lib/derby.jar:/home/eai/glassfish/jbi/lib/jbi-admin-cli.jar:/home/eai/glassfish/jbi/lib/jbi-admin-common.jar:/home/eai/glassfish/lib:/home/eai/glassfish/lib/appserv-rt.jar:/home/eai/glassfish/lib/appserv-ext.jar:/home/eai/glassfish/lib/javaee.jar:/home/eai/glassfish/lib/appserv-se.jar:/home/eai/glassfish/lib/admin-cli.jar:/home/eai/glassfish/lib/appserv-admin.jar:/home/eai/glassfish/lib/commons-launcher.jar:/home/eai/glassfish/lib/install/applications/jmsra/imqjmsra.jar

why not see jar files in the classpath?

Regards
Richard