I tried several options to run my client Program but failed. I have deployed my addressbook.ear in to Orion Server. below is the Deployment Descriptor ejb-jar.xml configured with ejbname, Home ,Remote and Ejb Bean
Each time i am getting the same message by running my Client as:
MESSAGE:java:comp/env/ejb/AddressEntry not found in <global> at com.evermind.server.rmi.RMIContext.lookup(.:121) at javax.naming.InitialContext.lookup(InitialContext.java:347) at addressbook.ejb.SessionClient.main(Unknown Source)
can any body give a lead to find where i am going wrong
Regards phani [ December 15, 2004: Message edited by: Phani M ]
With every appserver I have worked with there has to be a vendor-specific descriptor accompanying the ejb-jar.xml. In JBoss this file is jboss.xml, and I guess that there must be one for Orion too. In this file you have to map the ejb names to the JNDI names. Here is an example from jboss.xml.
The thing to remember here is that the ejb-name tag in ejb-jar.xml is NOT the JNDI name. Maybe this is the solution to your problem.
Bruno Collet<br /><a href="http://www.practicalsoftwarearchitect.com" target="_blank" rel="nofollow">www.practicalsoftwarearchitect.com</a><br />- The Paradox of Software Architecture: It is easy to make a complex architecture, but it is difficult to make a simple architecture.
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
SKIP - a book about connecting industrious people with elderly land owners