Hi,

I have just installed jboss-2.2 , and had some problems with the startup
script bin/run.sh

whenever i started the script outside the bin directory the VM throwed some
exceptions in my face til i finally a discovered the problem : the working
directory
e.g :
#!/bin/sh

# a little fault in the run.sh script,
# startup failed when started run.sh from another directory
cd $JBOSS_HOME/bin

# Minimal jar file to get JBoss started.

CLASSPATH=$CLASSPATH:$JBOSS_HOME/bin/run.jar

# Add all login modules for JAAS-based security
# and all libraries that are used by them here
CLASSPATH=$CLASSPATH

# Add the XML parser jars and set the JAXP factory names
# Crimson parser JAXP setup(default)
CLASSPATH=$CLASSPATH:$JBOSS_HOME/lib/crimson.jar
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.Docu
mentBuilderFactoryImpl
JAXP=$JAXP -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXP
arserFactoryImpl

echo CLASSPATH=$CLASSPATH
java -server $JAXP -classpath $CLASSPATH org.jboss.Main $@




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to