DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14490>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14490 WSDL generation breaks on multi-processor linux Summary: WSDL generation breaks on multi-processor linux Product: Axis Version: 1.0 Platform: PC URL: http://localhost:8080/axis/Calculator.jws?wsdl OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have apache axis 1.0 deployed on Jetty 4.1.3 by copying the webapps/axis directory into the appropriate location, including xerces according to the documentation, and using the following xml to configure jetty: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd"> <Configure class="org.mortbay.jetty.Server"> <Call name="addListener"> <Arg> <New class="org.mortbay.http.SocketListener"> <Set name="Port"><SystemProperty name="jetty.port" default="8080"/></Set> <Set name="MinThreads">5</Set> <Set name="MaxThreads">100</Set> <Set name="MaxIdleTimeMs">30000</Set> <Set name="LowResourcePersistTimeMs">5000</Set> </New> </Arg> </Call> <Call name="addWebApplication"> <Arg>/axis/*</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/webapps/axis</Arg> </Call> </Configure> I then use the following command to start jetty: java -jar start.jar etc/axis.xml I am running the latest version of Redhat 8 on two different machines - a single processor Dell Optiplex GX1 and a dual processor poweredge 4300 server. I am using sun jdk 1.4.0_02. I can successfully deploy and load the Calculator.jws sample from the documentation on the single processor machine using the following url: http://localhost:8080/axis/Calculator.jws?wsdl However, if I make the same request on the dual processor machine, I get the following error: 12:35:07.539 WARN!! Error for /axis/Calculator.jws?wsdl java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor2 cannot access its superclass sun.reflect.MethodAccessorImpl at sun.misc.Unsafe.defineClass(Native Method) at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45) at sun.reflect.MethodAccessorGenerator$1.run (MethodAccessorGenerator.java:381) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate (MethodAccessorGenerator.java:377) at sun.reflect.MethodAccessorGenerator.generateMethod (MethodAccessorGenerator.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:28) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis.utils.bytecode.ClassReader.readAttributes (ClassReader.java:421) at org.apache.axis.utils.bytecode.ParamReader.<init> (ParamReader.java:138) at org.apache.axis.utils.bytecode.ParamReader.<init> (ParamReader.java:92) at org.apache.axis.utils.bytecode.ParamNameExtractor.getParameterNamesFromDebugInfo (ParamNameExtractor.java:92) at org.apache.axis.description.ServiceDesc.getParamNames (ServiceDesc.java:1160) at org.apache.axis.description.ServiceDesc.createOperationForMethod (ServiceDesc.java:1053) at org.apache.axis.description.ServiceDesc.createOperationsForName (ServiceDesc.java:967) at org.apache.axis.description.ServiceDesc.getSyncedOperationsForName (ServiceDesc.java:940) at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive (ServiceDesc.java:801) at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection (ServiceDesc.java:768) at org.apache.axis.providers.java.JavaProvider.initServiceDesc (JavaProvider.java:551) at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc (SOAPService.java:322) at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:324) at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:469) at org.apache.axis.strategies.WSDLGenStrategy.visit (WSDLGenStrategy.java:72) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143) at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:463) at org.apache.axis.transport.http.AxisServlet.processWsdlRequest (AxisServlet.java:428) at org.apache.axis.transport.http.AxisServlet.doGet (AxisServlet.java:280) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:366) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicationHandler.java:293) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:581) at org.mortbay.http.HttpContext.handle(HttpContext.java:1687) at org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplicationContext.java:544) at org.mortbay.http.HttpContext.handle(HttpContext.java:1637) at org.mortbay.http.HttpServer.service(HttpServer.java:875) at org.mortbay.http.HttpConnection.service(HttpConnection.java:806) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823) at org.mortbay.http.SocketListener.handleConnection (SocketListener.java:203) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743) at java.lang.Thread.run(Thread.java:536)