geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Assigned: (GERONIMO-2730) JAX-RPC EJB Web Services support appears to be broken
Date Mon, 09 Apr 2007 14:42:32 GMT


Jarek Gawor reassigned GERONIMO-2730:

    Assignee: Jarek Gawor

Committed the tests to trunk. The 'invocationTest' fails because of a number of OpenEJB issues.

> JAX-RPC EJB Web Services support appears to be broken
> -----------------------------------------------------
>                 Key: GERONIMO-2730
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0-M2
>            Reporter: Jarek Gawor
>         Assigned To: Jarek Gawor
>         Attachments: jaxrpc-ejb-tests.patch
> The JAX-RPC-based EJB web services support appears to be broken. I'm attaching test code
that demonstrates the problems. Please note that the test WS is identical as in the POJO tests
(see where it works fine.
> Here are the problems discovered:
> 1) By default, jar deployment with WS EJB will fail with:
> Deployer operation failed: Unable to resolve reference "WebServiceContainer" in
> gbean JEE5/JAXRPCEJB/1.1/car?EJBModule=JEE5/JAXRPCEJB/1.1/car,J2EEApplication=nu
> ll,StatelessSessionBean=Greeter,j2eeType=WSLink,name=Greeter to a gbean matching
>  the pattern [?name=JettyWebContainer#]due to: No matches for referencePatterns:
>  [?name=JettyWebContainer#]
> This can be fixed by adding an explicit dependency on the given container in the open-ejb.xml
file (see the open-ejb.xml in the attached patch). I think such dependency should be automatically
added by the deployer.
> 2) ?wsdl on the service fails with the following error:
> HttpException(500,Could not fetch wsdl!,java.lang.IllegalStateException: request
>  must contain a  wsdl or WSDL parameter: {wsdl=[Ljava.lang.String;@11054a5})
>         at org.apache.geronimo.jetty6.JettyEJBWebServiceContext.handle(JettyEJBW
> 3) Invocation on the service fails with:
>         {}stackTrace:java.lang.IndexOutOfBoundsExcept
> ion: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(
>         at java.util.ArrayList.get(
>         at org.apache.axis.description.JavaServiceDesc.getOperationsByQName(Java
>         at org.apache.axis.description.JavaServiceDesc.getOperationByElementQNam
> e(
>         at org.apache.geronimo.axis.server.ReadOnlyServiceDesc.getOperationByEle
> mentQName(
>         at
>         at org.apache.openejb.server.axis.EJBContainerProvider.processMessage(EJ
> These errors were discovered when using trunk with jetty6. 
> Since openejb will be updated in trunk shortly, I think these errors can be ignored for
now. However, I do not know if the same problems exist in Geronimo 1.2 for example.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message