On 9/25/03 06:04 AM [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to make a local stateless session EJB available as a web service > through axis and would appreciate any help. > > <?xml version="1.0" encoding="UTF-8"?> > <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java > ="http://xml.apache.org/axis/wsdd/providers/java"> > <service name="ServiceEngine" provider="java:EJB"> > <parameter name="beanJndiName" value="local/ServiceEngineEJB"/> > <parameter name="homeInterfaceName" value > ="application.solo.serviceengine.session.ServiceEngineLocalHome"/> > <parameter name="remoteInterfaceName" value > ="application.solo.serviceengine.session.ServiceEngine"/> > <parameter name="className" value > ="application.solo.serviceengine.session.ServiceEngineEJB"/> > <parameter name="allowedMethods" value="*"/> > <parameter name="jndiURL" value > ="ormi://localhost:23791/serviceengine"/> > <parameter name="jndiContextClass" value > ="com.evermind.server.ApplicationClientInitialContextFactory"/> > </service> > </deployment>
The problem are your JNDI Properties. You use application client properties (which usually do not reside in the same VM as the EJB itself). You could either A) Don't provide jndi properties, this way the VM properties (which are set by the app server anyway) should be used. B) Use the correct JNDI Context Factory Class. Don't know out of my head which class should be used, but it wasn't ApplicationClientInitialContextFactory for sure. Jens
