Taking Robert's advice, I will post the stack trace from catalina.out:

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:72)
   at java.lang.Class.newInstance (libgcj.so.7)
   at org.apache.commons.discovery.tools.ClassUtils.newInstance
(ClassUtils.java:157)
   at org.apache.axis.AxisProperties$1.run (AxisProperties.java:183)
   at java.security.AccessController.doPrivileged (libgcj.so.7)
   at org.apache.axis.AxisProperties.newInstance (AxisProperties.java:166)
   at org.apache.axis.AxisProperties.newInstance (AxisProperties.java:160)
   at org.apache.axis.components.compiler.CompilerFactory.getCompiler
(CompilerFactory.java:43)
   at org.apache.axis.handlers.JWSHandler.setupService (JWSHandler.java:193)
   at org.apache.axis.handlers.JWSHandler.invoke (JWSHandler.java:76)
   at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:33)
   at org.apache.axis.SimpleChain.doVisiting (SimpleChain.java:119)
   at org.apache.axis.SimpleChain.invoke (SimpleChain.java:85)
   at org.apache.axis.server.AxisServer.invoke (AxisServer.java:258)
   at org.apache.axis.transport.http.QSMethodHandler.invokeEndpointFromGet
(QSMethodHandler.java:132)
   at org.apache.axis.transport.http.QSMethodHandler.invoke
(QSMethodHandler.java:97)
   at java.lang.reflect.Method.invoke (libgcj.so.7)
   at org.apache.axis.transport.http.AxisServlet.processQuery
(AxisServlet.java:1217)
   at org.apache.axis.transport.http.AxisServlet.doGet (AxisServlet.java:249)
   at javax.servlet.http.HttpServlet.service
(tomcat5-servlet-2.4-api-5.5.15.jar.so)
   at org.apache.axis.transport.http.AxisServletBase.service
(AxisServletBase.java:330)
   at javax.servlet.http.HttpServlet.service
(tomcat5-servlet-2.4-api-5.5.15.jar.so)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(catalina.jar.so)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter
(catalina.jar.so)
   at org.apache.catalina.core.StandardWrapperValve.invoke (catalina.jar.so)
   at org.apache.catalina.core.StandardContextValve.invoke (catalina.jar.so)
   at org.apache.catalina.core.StandardHostValve.invoke (catalina.jar.so)
   at org.apache.catalina.valves.ErrorReportValve.invoke (catalina.jar.so)
   at org.apache.catalina.core.StandardEngineValve.invoke (catalina.jar.so)
   at org.apache.catalina.connector.CoyoteAdapter.service (catalina.jar.so)
   at org.apache.coyote.http11.Http11Processor.process (tomcat-http.jar.so)
   at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(tomcat-http.jar.so)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(tomcat-util.jar.so)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(tomcat-util.jar.so)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(tomcat-util.jar.so)
   at java.lang.Thread.run (libgcj.so.7)

I guess my next stop would have to be to grab the axis source tarball and
see how it decides what class to call for a java compiler, because
everything else in Fedora Core 5 calls the eclipse java compiler (which is
ALSO on my classpath)

-- 
Michael Schwarz

> Thanks robert (and to the list).
>
> I have done all the things Robert suggests. The "tools.jar" file is in
> fact on my class path. The "homes" are set correctly.
>
> Interestingly, tomcat is able to compile .jsp files (or happyaxis.jsp
> would not work). But anything that actually involves a webservice (.jws)
> file, including examples that come with axis will not compile and in fact
> fail with the error from my original message.
>
> REMEMBER: I'm *not* using a "real" Java SDK at all! I'm not using Sun's or
> IBM's. I'm using the GCJ suite included with Fedora Core 5.
>
> Tomcat is working (compiling jsp's); axis is not (compiling jws's).
>
> --
> Michael Schwarz
>
>> I'm going to try and give some basic advice. Bounce some more questions
>> to
>> th list if you're still stuck
>>
>> Do you have JAVA_HOME etc defined in your .bashrc? Such as:
>>
>> JAVA_HOME=/usr/local/jdk1.5.0_03
>> JRE_HOME=/usr/local/jdk1.5.0_03/jre
>>
>> export JAVA_HOME JRE_HOME
>>
>> Once that's done, do:
>>
>> . .bashrc
>>
>> Then for testing...
>>
>> echo $JAVA_HOME
>>
>> You may not need JRE_HOME - i'd try without first. Also, tools.jar must
>> be
>> AFAIK only part of the bootloader classloader. I'd try taking your
>> tools.jarout of all the other places. Try:
>>
>> locate tools.jar
>>
>> To know for sure.
>>
>> Also, its important to look carefully at the the files under tomcat/logs
>> -
>> you may find a clue there.
>>
>> Lastly, you may try looking at CATALINA_OPTS to see how to tweak the
>> tomcat
>> config.
>>
>> HTH,
>> Robert
>> http://www.braziloutsource.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to