./catalina.sh: JAVA_OPTS= -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djavax.net.ssl.keyStore=/rtiapp/tomcatkeystore -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/rtiapp/tomcatkeystore -Djavax.net.ssl.trustStorePassword=changeit^J -Djava.util.logging.config.file=/rtiapp/apache-tomcat-6.0.16/conf/logging.properties -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:PermSize=96m -XX:MaxPermSize=192m -Xmx256m -javaagent:/javaagent.jar: is not an identifier
Hi,
Thanks for writing to appsphere community forum. From error stack trace "./catalina.sh: JAVA_OPTS= -D.... -javaagent:/javaagent.jar: is not an identifier" , we understood that absoulte path of agent directory is not mentioned as part of -javaagent jvm opts,
Say: you have unzipped the AppServerAgentLite.zip under /mnt/rtiapp/AppServerAgentLite directory under which javaagent.jar exists, We request you to configure the -javaagent argument as follows and restart tomcat and check how it goes:
export JAVA_OPTS="$JAVA_OPTS -javaagent:/mnt/rtiapp/AppServerAgentLite/javaagent.jar" in addition to other -D parameters if any in catalina.sh file, refer docs for steps to configure agent in linux env : http://litedocs.appdynamics.com/display/ADLite/Apache+Tomcat#ApacheTomcat-Toaddthejavaagentcommandin...
If you still see issue, please provide the agent installed directory location and startup script(catalina.sh) used to configure -javaagent arg for AD lite agent.
Let us know how it goes.
Thanks,
Arun
Thanks for your reply but it did nt solve the problem.
I have appended the path of java agent JAR to existing JAVA_OPTS setting which resolved the issue.
Hi,
Glad to hear the news from you. It would be great if you share the updated -javaagent JAVA_OPTS that resolved the issue, we would like to see what we are missing in our earlier suggestion.
Thanks,
Arun