I'm an Axis newbie, not a Java newbie. I tried all those already. I have the 5.0 JDK installed. I tried reinstalling it to C:\java\jdk1.5.0 in case the space in the path was causing the class loader to throw a rod. Didn't work. I had already set up, and checked, all of the environment variables (JAVA_HOME, AXIS_HOME, AXISCLASSPATH, etc.) and it still didn't work.

Olaf's suggestion, on the other hand, did fix the problem. It's a total hack, but it worked. So thank you, Olaf.

At any rate I haven't had similar issues running Axis under Linux, so I think I'm going to switch back to Linux ASAP.

Roger Turnau


[EMAIL PROTECTED] wrote:

This is definately not how to solve this issue.

First make sure you have a JDK installed and not a JRE. Then ensure your environment variable JAVA_HOME is set to point to your JDK directory.

This will fix your problem

Regards


Quoting [EMAIL PROTECTED]:



Hey,

I had a quite similar problem.

Try the following:

copy the file tools.jar from your jsdk\lib\ into the folder common\lib\
from your tomcat server.

Hope it helps you
Olaf



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 3:43 PM
To: [EMAIL PROTECTED]
Subject: Newbie Question: No compiler found in your classpath

Hi all,

I'm trying to get Axis 1.1 up and running, and I'm running
into a problem. My computer is Windows XP (not by choice -- I
need it for work). Happy Axis gives me success, but when I
try to call a local endpoint, I get the following error:

java.lang.RuntimeException: No compiler found in your
classpath!  (you may need to add tools.jar)

The Tomcat exception I'm getting is as follows:

java.lang.RuntimeException: No compiler found in your
classpath! (you may need to add tools.jar)
at
org.apache.axis.components.compiler.Javac.<init>(Javac.java:109)
at
org.apache.axis.components.compiler.CompilerFactory.getCompile
r(CompilerFactory.java:90)
at
org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:236)
at
org.apache.axis.handlers.JWSHandler.invoke(JWSHandler.java:122)
at
org.apache.axis.strategies.InvocationStrategy.visit(Invocation
Strategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:287)
at
org.apache.axis.transport.http.AxisServlet.invokeEndpointFromG
et(AxisServlet.java:544)
at
org.apache.axis.transport.http.AxisServlet.processMethodReques
t(AxisServlet.java:466)
at
org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisSer
vletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
er(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
cationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
rapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardC
ontextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHost
Valve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
Valve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
gineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
ter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Process
or.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle


r.processConnection(Http11Protocol.java:731)


at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolT
cpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Le
aderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(


ThreadPool.java:684)


        at java.lang.Thread.run(Unknown Source)


Let me know if you need any more info.

Thank you for your help,

Roger Turnau


















Reply via email to