Hi all , 
      I am using RedHat6.1 , jdk1.3 and jBoss2.2.1.Recently i just
download 
      jBoss2.2.1 to my PC . 
      When i tried to run the using java -jar run.jar , it gave me the
error below :
 
[Info] Java version: 1.2.2,Sun Microsystems Inc.
[Info] Java VM: Classic VM 1.2.2,Sun Microsystems Inc.
[Info] System: Linux 2.2.13-0.13,i386
[Classpath extension] Added
directory:file:/mnt/fileserv/wt/JBoss-2.2.1/tmp/
[Classpath extension] Added
directory:file:/mnt/fileserv/wt/JBoss-2.2.1/db/
[Shutdown] Could not add shutdown hook
[Service Control] Registered with server
[Default] javax.xml.parsers.FactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
[Default]       at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:118)
[Default]       at org.jboss.Main.<init>(Main.java:192)
[Default]       at org.jboss.Main$1.run(Main.java:107)
[Default]       at java.security.AccessController.doPrivileged(Native Method)
[Default]       at org.jboss.Main.main(Main.java:103)

 I have read through all jboss archived and follow some method like run
using run.sh
 Before startup jboss , i run the script. However it still give me the
error. below is my run.sh.
 Do i need to change the script below to success startup jboss ??
 
 Thanks

 #!/bin/sh

# Minimal jar file to get JBoss started.

JBOSS_CLASSPATH=$JBOSS_CLASSPATH:run.jar:../lib/crimson.jar

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

# Add the XML parser jars and set the JAXP factory names
# Crimson parser JAXP setup(default)
JBOSS_CLASSPATH=$JBOSS_CLASSPATH:../lib/crimson.jar
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.Docume#ntBuilderFactoryImpl
JAXP="$JAXP
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXPa#rserFactoryImpl"

echo JBOSS_CLASSPATH=$JBOSS_CLASSPATH

java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@

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

Reply via email to