[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1192) ClassProxyHack breaks all EJB3 Web Service endpoints

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Feb 15 09:19:27 EST 2008


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1192?page=comments#action_12399570 ] 
            
Thomas Diesler commented on EJBTHREE-1192:
------------------------------------------

The CCE occurs in the AS5 integration layer

   public void invoke(Endpoint ep, Invocation wsInv) throws Exception
   {
      try
      {
         Dispatcher dispatcher = Dispatcher.singleton;
         StatelessContainer container = (StatelessContainer)dispatcher.getRegistered(objectName.getCanonicalName());
         Class beanClass = container.getBeanClass();


> ClassProxyHack breaks all EJB3 Web Service endpoints
> ----------------------------------------------------
>
>                 Key: EJBTHREE-1192
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1192
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Thomas Diesler
>         Assigned To: Carlo de Wolf
>             Fix For: AS 5.0.0.CR1
>
>
> The recent introduction of ClassProxyHack breaks all EJB3 endpoints 
> [tdiesler at tdvaio trunk]$ ant tests-smoke
> tests-run-internal:
>     [junit] Running org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousDispatchTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.031 sec
>     [junit] Running org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.688 sec
>     [junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.879 sec
>     [junit] Running org.jboss.test.ws.jaxws.samples.eardeployment.EarTestCase
>     [junit] JBoss Inc., JBoss Web Services - Native, jbossws-3.0-native-2.0.4.DEV (build=200802151213)
>     [junit] Retrieving document at 'http://localhost:8080/earejb3/EJB3Bean?wsdl'.
>     [junit] Retrieving document at 'http://localhost:8080/earjse/JSEBean?wsdl'.
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 6.163 sec
> 15:07:08,631 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
> java.lang.ClassCastException: org.jboss.ejb3.session.ClassProxyHack
>         at org.jboss.wsf.container.jboss50.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:92)
>         at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
>         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:418)
>         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
>         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
>         at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
>         at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

-- 
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 jboss-jira mailing list