[SourceJammer-users] Re: Starting SJ in Tomcat 3.2.4
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2002-01-17 21:30:49
|
> > Well something happened... > > C:\JAKART~1.4\bin>start_sourcejammer > Tomcat Home: C:\jakarta-tomcat-3.2.4 > SJ Home: > c:\SourceJammer\server\webapps\sourcejammer\WEB-INF > Starting tomcat in new window > Using classpath: > c:\SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\xerces. > jar;C:\jakarta-tomcat-3.2.4\classes;C:\jakarta-tomcat- > 3.2.4\lib\webserver.jar;C: > \jakarta-tomcat-3.2.4\lib\jasper.jar;C:\jakarta-tomcat-3.2.4\lib\servlet.jar;c:\ > SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\activation.jar;c:\SourceJam > mer\server\webapps\sourcejammer\WEB- > INF\lib\mail.jar;c:\SourceJammer\server\weba > pps\sourcejammer\WEB- > INF\lib\soap.jar;c:\SourceJammer\server\webapps\sourcejamme > r\WEB- > INF\lib\sj_lib.jar;c:\SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\sj_server.jar > Exception in thread "main" > java.lang.NoClassDefFoundError: > javax/xml/parsers/SAXParserFactory > at > org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210) > at > org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187) > at > org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240) > C:\JAKART~1.4\bin> > > I'm getting an exception error now, so it's > definitely trying to do > something. We must be making progress. > I wish I knew enough about Java to be of some use > here. Sadly I'm just a > VB guy :-) > > Regards, > Ray. I think the problem is that Tomcat 3.2.4 requires Xerces 1.4.4, and the version of xerces.jar that comes in the server installation package is from an earlier version. You should be able to download Xerces 1.4.4 from the xerces site: http://xml.apache.org/dist/xerces-j/ Download Xerces-J-bin.1.4.4.zip, unzip it (I had to use jar, for some reason), take xerces.jar and drop it into your sourcejammer/WEB-INF/lib directory. Hopefully you won't encounter any more errors. Oh, one other thing. You may need to remove the "Fix Headers" entry in server_sourcejammer.xml. Good luck. And thanks for sticking with it. By the way, I am going to be releasing SJ 1.1 beta in a couple of weeks. I hope to have some default scripts that will work with Tomcat 3.2.4 and 3.3 at that time. Thought you might like to know. 1.1 represents a pretty large improvement over 1.0, though most of the core functionality is the same. --Rob > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |