I run the jboss2.2.2/tomcat3.2.2 single vm combo with soap 2.2 and the
xerces parser. My classpath to start jboss/tomcat is:
CLASSPATH=;run.jar;d:\jdk\lib\tools.jar;..\lib\xerces.jar
The soap rpcrouter is deployed by dropping soap.war in the tomcat webapps
dir.

nick

> -----Original Message-----
> From: Bruce Scharlau [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 9:51 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] JBoss/Tomcat and Apache Soap setup
> 
> 
> Hi all,
> 
> I'm setting up Soap 2-2 to work with JBoss2.2.2/Tomcat 3.2.2 
> and having a 
> hell of a time with the classpath setting in JBoss. There were a few 
> cryptic comments in the archives, but no clear answer as to 
> what worked.
> 
> I've changed the run.bat file in JBoss to from the default 
> crimson.jar xml 
> parser to xerces -1.4 and copied all the relevant jars into the lib 
> directory for JBoss, ie xerces and soap so the relevant lines 
> in run.bat 
> look like this:
> 
> set 
> JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;..\lib\xerces.jar;..\lib\soa
> p.jar;..\lib\ext\mail.jar;..\lib\ext\activation.jar 
> 
> set 
> JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xer
ces.jaxp.DocumentBuilderFactoryImpl
> set JAXP=%JAXP% 
> -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SA
> XParserFactoryImpl
> 
> echo JBOSS_CLASSPATH=%JBOSS_CLASSPATH%
> java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 
> %2 %3 %4 %5 %6 
> %7 %8 %9
> 
> I've also changed the relevant lines in tomcat.bat to reflect xerces:
> 
> :chkClasspath
> if "%CLASSPATH%" == "" goto noClasspath
> set CP=%CP%;%CLASSPATH%
> set CP=D:\JavaWork\xerces-1_4_1\bin\xerces.jar;%CLASSPATH;%CP%
> 
> Now when I run JBoss/Tomcat and go to 
> http://localhost:8080/soap/admin/index.html
> I get Error: 500 as it throws an internal servlet error:
> javax.servlet.ServletException: javax/mail/MessagingException
> 
> If I leave out the classpath for soap.jar JBoss/Tomcat/Soap 
> runs the above 
> url fine, but when I try to connect to
> the rpcrouter I get SOAPExceptions.
> 
> Any ideas, suggestions, etc?
> 
> 
> 
> 
> 
> Cheers,
> 
> Dr. Bruce A. Scharlau
> Dept. of Computing Science
> Aberdeen University
> [EMAIL PROTECTED]
> 01224 272193
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

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

Reply via email to