Switched to jikes. Just goes to show, you need to look at the source. I assumed that I could nominate any compiler class directly in axis.Compiler, not realizing that it had to be an instance of org.apache.axis.component.compiler.AbstractCompiler, which, of course, the eclipse compiler class was not.
Someone else suggested that I "fake out" the Jikes class into running the gcj compiler. I may try that later. For now, jikes has got me past the initial problem. Thanks to all of you who answered! -- Michael Schwarz > look at src/org/apache/axis/components/compiler/CompilerFactory it only > supports Javac and Jikes. Javac is actually > com.sun.tools.javac.main.Main which cannot be found. Jikes is launched > as a Runtime process. I would recommed either copy Jikes.java to > Gcj.java and hack the way the properties work or install jikes and > configure axis to use jikes. > > > Michael Schwarz wrote: >> 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) >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
