geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: how to explain ejb to use special library?
Date Mon, 31 Dec 2007 01:36:31 GMT

On Dec 28, 2007, at 2:50 PM, SergZ wrote:

>
> in openejb-jar.xml there is description about library to use saaj- 
> impl.jar
>            <sys:dependency>
>                <sys:groupId>com.sun.xml.messaging.saaj</sys:groupId>
>                <sys:artifactId>saaj-impl</sys:artifactId>
>                <sys:version>1.6</sys:version>
>                <sys:type>jar</sys:type>
>            </sys:dependency>
>            <sys:dependency>
>                <sys:groupId>com.sun.xml.messaging.saaj</sys:groupId>
>                <sys:artifactId>saaj-api</sys:artifactId>
>                <sys:version>1.6</sys:version>
>                <sys:type>jar</sys:type>
>            </sys:dependency>
>
> it was installed with "Add Archive to Repository"
> but when app is running error appeares:

> javax.ejb.EJBException: The bean encountered a non-application  
> exception.;
> nested exception is:
> 	java.lang.ClassCastException: org.apache.axis2.saaj.SOAPMessageImpl  
> cannot
> be cast to com.sun.xml.messaging.saaj.soap.MessageImpl

There is JAX-RPC web service support built into Geronimo.  I'm not  
sure plugging in a new version of the SAAJ api is even possible  
considering there's already one built into your classpath.

-David


Mime
View raw message