[SourceJammer-users] Re: Can't find tomcat/classes directory
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2002-01-17 15:33:19
|
Hi, Ray. > It opens another DOS box briefly then closes it. I'm > unable to see what is > in the second box. What exactly should I see if it > starts correctly? The 2nd DOS window will stay open and will display some messages. It is definitely not starting. Try changing the tomcat_sj.bat file so that Tomcat does not start in a new DOS window so you can see your error messages. Look for the section ":startMeUp". Then change the line that begins: start java %TOMCAT_OPS% to: java %TOMCAT_OPS% . . . In other words, just remove the word "start". This should launch Tomcat in your current DOS window, so you will be able to see all the messages when it crashes. Then send those messages to me. > > I tried the URL > (localhost:8080/sourcejammer/servlet/rpcrouter) but > I get > an error message "server not found". > > > If this does cause the script to choke, you can > > comment out that part of the sj_tomcat.bat file. I > > think the line is: > > > > set CLASSPATH=%TOMCAT_HOME%\classes > > I tried that but it didn't help. > What about the xml.jar file, is it required for > SourceJammer to start? Hopefully the above test will tell us what's going on. You definitely don't need xml.jar. xerces.jar supercedes this for SourceJammer. > > > You should check the FAQ on the sourcejammer.org > site > > about how to modify your server_sourcejammer.xml > file > > to work with later versions of Tomcat. > > I made the modifications but that didn't help > either. > > I don't know if this is useful but when I run > deploy.bat I get the following: All of this just means that your server is not running. --Rob > > C:\SOURCE~1\server\TOMCAT~1>deploy > SJDeploymentDescriptor.xml > > C:\SOURCE~1\server\TOMCAT~1>java -classpath > c:\Sourcejammer\server\webapps\sourcejammer\WEB- > INF\lib\xerces.jar;c:\SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\soap.jar;c:\Sourcejammer\server\webapps\sourcejammer\WEB- > INF\lib\xerces.jar;c:\SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\mail.jar;c:\SourceJammer\server\webapps\sourcejammer\WEB- > INF\lib\activation.jar > org.apache.soap.server.ServiceManagerClient > http://localhost:8080/sourcejammer/servlet/rpcrouter > deploy > SJDeploymentDescriptor.xml > java.net.ConnectException: Connection refused: > connect > at java.net.PlainSocketImpl.socketConnect(Native > Method) > at java.net.PlainSocketImpl.doConnect(Unknown > Source) > at java.net.PlainSocketImpl.connectToAddress(Unknown > Source) > at java.net.PlainSocketImpl.connect(Unknown Source) > at java.net.Socket.<init>(Unknown Source) > at java.net.Socket.<init>(Unknown Source) > at > org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:119) > at > org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165) > at > org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTP > Connection.java:208) > at org.apache.soap.rpc.Call.invoke(Call.java:203) > at > org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceMana > gerClient.java:127) > at > org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie > nt.java:140) > at > org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient > .java:228) > Exception in thread "main" [SOAPException: > faultCode=SOAP- > ENV:Client; msg=Erroropening socket: Connection > refused: connect; > targetException=java.lang.IllegalArgumentException: > Error opening > socket: Connection refused: connect] > at > org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTP > Connection.java:224) > at org.apache.soap.rpc.Call.invoke(Call.java:203) > at > org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceMana > gerClient.java:127) > at > org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie > nt.java:140) > at > org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient > .java:228) > > > Regards, > Ray. > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |