Can you please print the entire stack trace? What version of WAS are you
using? This might not be a spring issue but rather an axis2 deploy issue.
Have you read this doc ?

http://ws.apache.org/axis2/1_1_1/app_server.html

Do you have your aar in services.list ?

HTH,
Robert

On 4/11/07, John Pfeifer <[EMAIL PROTECTED]> wrote:


I was wondering if anyone has been able to get Axis2 Spring integration to
lookup EJBs in Weblogic 814.  We are running with all libraries in the aar
lib directory (this is where the ejb client jars reside).  The aar fails to
deploy, the root cause being NoClassDefFound.  Any help would be greatly
appreciated.

     [java] org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules Error creating bean with name 'accountAccessor' defined
in URL [jar:
file:/tmp/axis232495wss-business-8.1INTEGRA-SNAPSHOT.jar!/wssBusinessDelegatesContext.xml]:
Invocation of init method failed; nested exception is
java.lang.NoClassDefFoundError: com/foo/AccountAccessorHome; nested
exception is:

<bean id="remoteJndiTemplate" class="org.springframework.jndi.JndiTemplate
">
        <property name="environment">
            <props>
                <prop key="java.naming.factory.initial">
weblogic.jndi.WLInitialContextFactory</prop>
                <prop key="java.naming.provider.url
">${ejbUrl.${env}}</prop>
            </props>
        </property>
</bean>

    <bean id="accountAccessor" class="
org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
">
        <property
name="jndiName"><value>AccountAccessor</value></property>
        <property name="businessInterface"><value>com.foo.AccountAccessor
</value></property>
        <property name="jndiTemplate"><ref
bean="remoteJndiTemplate"/></property>
    </bean>

Thanks,

jp4

Reply via email to