Okay, still working on this.  I've discovered that I can't control Tomcat classpath when I run
Tomcat embedded in JBoss.  If anyone knows how to do that, I'd be glad to know also, but in
the meantime I'm testing with standalone Tomcat.  Classpath is now correctly set to
include tools.jar.  New symptoms have surfaced both at the client and server, namely:
 
Client:
 
>java samples.userguide.example2.CalcClient -p8080 add 2 5
Endpoint=http://localhost:8080/axis/Calculator.jws
Exception in thread "main" Internal Server Error
        at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source)
        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)
        at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
        at org.apache.axis.SimpleChain.invoke(Unknown Source)
        at org.apache.axis.client.AxisClient.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at samples.userguide.example2.CalcClient.main(CalcClient.java:99)
>
Server (tomcat.log):
 
2002-04-03 11:43:19 - Ctx( /axis ): Exception in: R( /axis + /Calculator.jws + null) - java.lang.NoS
uchMethodError
        at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(Unknown Source)
        at org.apache.axis.configuration.FileProvider.configureEngine(Unknown Source)
        at org.apache.axis.AxisEngine.init(Unknown Source)
        at org.apache.axis.AxisEngine.<init>(Unknown Source)
        at org.apache.axis.server.AxisServer.<init>(Unknown Source)
        at org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown Source)
        at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown Source)
        at org.apache.axis.server.AxisServer.getServer(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHand
ler.java:213)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)
"tomcat.log" 38 lines, 2711 characters
 
ANY HELP WOULD BE APPRECIATED (I'm not shouting, just trying to stand out
among the exceptions :-).
 
Walden
-----Original Message-----
From: Newman, Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Compiler found in classpath

I've had tomcat not stop executing, even though I have stopped it through the batch file.  Try stopping tomcat batch file, go into windows task manager, look on the processes tab, and see if tomcat.exe is still there.  If it is, end the process, and restart tomcat.  I'm using 4.0.3 and have had this problem on this version.

 

Newman

 

-----Original Message-----
From: M. en C. Jesús Sosa Iglesias [mailto:[EMAIL PROTECTED]]
Sent: 02 April, 2002 4:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Compiler found in classpath

 


You have to put tools.jar in the classpath before start Tomcat
I had the same throuble with some tomcat old version in W2K.
I included it in the file \jakarta-tomcat-x-x-x\bin\tomcat.bat
and it work fine.
 

Walden Mathews wrote:

 Okay I give up.  I'm trying to run the simple jws example (Calculator), and I keepgetting a runtime exception, both from the client and from tomcat.  It literallysays "compiler found", but I suspect it means "no compiler found".  JAVA_HOME\lib\tools.jaris indeed on every classpath you could imagine, so what's up?I saw this problem posted back in january with no apparent resolution.Walden Mathews
ILX Systems
111 Fulton St. 3rd Floor
New York, NY 10038
Phone (212) 510-3121
Fax (212) 437-2305 

Reply via email to