<div>Hi All,</div><div> </div><div>I'm a newbee to ejb area. So please bare with me if I sound really silly.</div><div> </div><div>So I have a java client that is supposed to invoke an ejb3 which is deployed under jboss AS6. (choose AS6 cos AS7 still don't have client libraries!)</div>
<div>Intially I got some class not found errors and was able to solve it by adding some client jars found in, "jboss-6.1.0.Final/client". After that was solved now i'm getting the following exception,</div>
<div>
</div><div>Caused by: javax.naming.NameNotFoundException: org.wso2.appserver.samples.ejb.Hello not bound</div><div>..</div><div>[2011-11-03 12:10:58,254] ERROR {org.apache.axis2.rpc.receivers.RPCMessageReceiver} - Exception occurred while trying to invoke service method null</div>
<div>..</div><div> </div><div>* The code i'm using is,</div><div>InitialContext context = new InitialContext(properties));</div><div>context.lookup(beanJndiName);</div><div> </div><div>property values:</div><div><ProviderURL>jnp://localhost:1099</ProviderURL></div>
<div><JNDIContextClass>org.jnp.interfaces.NamingContextFactory</JNDIContextClass></div><div> </div><div>beanJndiName = "org.wso2.appserver.samples.ejb.Hello"</div><div>......</div><div>I have attached the sample ejb3.</div>
<div>Really appreciate your help.</div><div> </div><div>thanks,</div><div>SupunM</div>