[jboss-dev-forums] [JBoss AS7 Development] - Remote EJB lookup and invocation in JBoss AS 7.0.0

Mohan Potturi do-not-reply at jboss.com
Wed Jul 20 15:42:57 EDT 2011


Mohan Potturi [http://community.jboss.org/people/mohanpotturi] commented on the document

"Remote EJB lookup and invocation in JBoss AS 7.0.0"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16994#comment-7097

--------------------------------------------------
Kabir,
I was able to build the jar file successfully following your instructions. I have created the mainest.mf file and jboss-service.xml file with your directions by hand. I have added the global JNDI names of all my stateless session beans to the right section inside jboss-service.xml file. Then, created a folder called EjbLookup.sar inside deployments folder, created MTEA-INF folder inside the EjbLookup.sar and copied the manifest file and jboss-service.xml files to it. Copied the jboss-as-remote-via-jmx.jar to EjbLookup.sar folder and then fired up JBoss AS. I get the following error



As you can see it is not able to find the RemoteViaJMX class. I have verified that this class exists in the jar file in the right package (org.jboss.as.remote.jmx.mbean). Not sure what am i doing wrong. Can you please help me?

Mohan
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110720/8df31b1d/attachment.html 


More information about the jboss-dev-forums mailing list