[jboss-user] [JBoss Portal] - Re: Quick Start - Quick Fail

PeterJ do-not-reply at jboss.com
Mon Sep 29 11:23:56 EDT 2008


anonymous wrote : maybe I already have some conflicting libraries in my classpath

I hope that you have not set the CLASSPATH environment variable. That is a sure way to get into trouble. The run script will set everything you need. On my machines, the only Java-related env vars I have set are JAVA_HOME and various other "home" directories (e.g. ANT_HOME).

Another thing to check is that you do not any endorsed directories - JAR files therein could also cause issues.

One way to track down unwanted JAR files is to set the -verbose:class JVM option in the run script. This option will list each class loaded and the JAR file containing that class. The only JAR files you should see are rt.jar and those within JBOSS_HOME; if you see any others they are suspect.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179406#4179406

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179406



More information about the jboss-user mailing list