Hi,
This is problem regarding CMP2.0 with local interfaces. I have succeeded in working with CMP2.0 with remote-interfaces. I wanted to run the same sample with local-interfaces. Inorder to this i had added and
<local-home> tags in ejb-jar.xml and modified During lookup at Client. With these modifications i was able to deploy, but when i run client iam facing NullPointerException dueitn ejb-create. the exception is as follows :
java.lang.NullPointerException
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
at $Proxy0.create(Unknown Source)
at ProductClient.main(ProductClient.java:36)
Destroying products..
Exception in thread "main" java.lang.NullPointerException
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
at $Proxy0.findAllProducts(Unknown Source)
at ProductClient.main(ProductClient.java:74)
Iam attaching my Client source file and deployment descriptors.Plz help what else is missing ..
Environment : jboss-3.0.6
Linux -7.3
Database :mySQL
thanks
Raghavk