[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2137) @WebWservice does not work with class isolation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Apr 11 03:19:54 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBWS-2137?page=all ]

Thomas Diesler updated JBWS-2137:
---------------------------------

          Component/s: jbossws-metro
                           (was: jbossws-native)
        Fix Version/s:     (was: jbossws-2.0.0)
    Affects Version/s: jbossws-metro-1.0.1
             Assignee:     (was: Thomas Diesler)

> @WebWservice does not work with class isolation 
> ------------------------------------------------
>
>                 Key: JBWS-2137
>                 URL: http://jira.jboss.com/jira/browse/JBWS-2137
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-metro
>    Affects Versions: jbossws-metro-1.0.1
>            Reporter: Thomas Diesler
>
> It seems that Web Services do not work when the EAR that contains the @WebService class has an isolated classloader. Here is my take on what happens:
> You deploy the ear and JBoss creates a war, that contains a web.xml, that points to the org.jboss.ws.server.ServiceEndpointServlet.
> You can send a request to the web service bean no problem, but any objects that get returned from it will throw a NoClassDefFoundError because this ServiceEndpointServlet is deployed outside of the EAR and, since it has an isolated classloader, can't reference the returned class.
> My application works absolutely fine when I turn off all isolation of the classloader. I don't think this can be fixed. Any ideas?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list