axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Commented: (AXIS-1595) Bug in generateWSDL() method.
Date Fri, 08 Oct 2004 09:09:51 GMT
The following comment has been added to this issue:

     Author: Sergio Bossa
    Created: Fri, 8 Oct 2004 2:07 AM
       Body:
The full stack trace follows:

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1116)
        at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:224)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
        at montag.filters.TimeFilter.doFilter(TimeFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
        at java.lang.Thread.run(Thread.java:534)

Caused by: java.lang.IncompatibleClassChangeError
        at montag.services.handlers.RemoteWSDLHook.generateWSDL(RemoteWSDLHook.java:80)
        at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
        at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
        at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:316)
        at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:467)
        at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
        ... 36 more 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1595?page=comments#action_53833

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1595

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1595
    Summary: Bug in generateWSDL() method.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.2RC1

   Assignee: 
   Reporter: Sergio Bossa

    Created: Thu, 7 Oct 2004 10:41 AM
    Updated: Fri, 8 Oct 2004 2:07 AM
Environment: JDK 1.4.2_04-b05
Tomcat 5.0.19 / 5.0.25
Linux

Description:
When I override the generateWSDL() method in my handlers, in order to modify the automatically
generated WSDL, I get a java.lang.reflect.InvocationTargetException caused by a java.lang.IncompatibleClassChangeError.
This is a code snippet from my handler:

public class RemoteWSDLHook extends BasicHandler
{
    private Map wsdlCache;
    
    public void init()
    {
        super.init();
        
        wsdlCache=Collections.synchronizedMap(new HashMap());
    }
    
    public void invoke(MessageContext ctx)
    {}
    
    public void generateWSDL(MessageContext ctx)
    throws AxisFault
    {
        if (wsdlCache.containsKey(ctx.getService().getServiceDescription().getName()))
        ...
    ...

The exception is thrown in the if clause.
The same code works fine with Axis 1.1 version.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message