Can't get my EJB names into jndi
wcn00 Jan 9, 2004 3:08 PMI have a demo application which deploys on WebLogic, Oc4j, and Jrun successfully.
When I deploy it on Jboss none of the jndi names are found when looked up via
Object RemoteRef = ic.lookup("ectsCCIDemo");
The session EJB is referenced in the web.xml like this:
<ejb-ref>
<ejb-ref-name>ectsCCIDemo</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
com.ObjectStar.examples.ectsCCIDemoHome
com.ObjectStar.examples.ectsCCIDemo
<ejb-link>ectsCCIDemo</ejb-link>
</ejb-ref>
So I created a jboss-web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<ejb-ref>
<ejb-ref-name>ectsCCIDemo</ejb-ref-name>
<jndi-name>ectsCCIDemoWanker</jndi-name>
</ejb-ref>
<resource-ref>
<res-ref-name>eis/OigAdapter</res-ref-name>
<jndi-name>OigAdapter</jndi-name>
</resource-ref>
</jboss-web>
That didn't help. If I list the jndi contents I dont' see any of my ejb names:
13:41:48,130 INFO [STDOUT] jmx: org.jnp.interfaces.NamingContext
13:41:48,130 INFO [STDOUT] OIL2XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory
13:41:48,131 INFO [STDOUT] HTTPXAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory
13:41:48,131 INFO [STDOUT] ConnectionFactory: org.jboss.mq.SpyConnectionFactory
13:41:48,131 INFO [STDOUT] UserTransactionSessionFactory: $Proxy10
13:41:48,131 INFO [STDOUT] HTTPConnectionFactory: org.jboss.mq.SpyConnectionFactory
13:41:48,132 INFO [STDOUT] XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory
13:41:48,132 INFO [STDOUT] invokers: org.jnp.interfaces.NamingContext
13:41:48,132 INFO [STDOUT] UserTransaction: org.jboss.tm.usertx.client.ClientUserTransaction
13:41:48,132 INFO [STDOUT] UILXAConnectionFactory: javax.naming.LinkRef
13:41:48,132 INFO [STDOUT] RMIXAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory
13:41:48,133 INFO [STDOUT] UIL2XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory
13:41:48,133 INFO [STDOUT] topic: org.jnp.interfaces.NamingContext
13:41:48,133 INFO [STDOUT] queue: org.jnp.interfaces.NamingContext
13:41:48,133 INFO [STDOUT] console: org.jnp.interfaces.NamingContext
13:41:48,134 INFO [STDOUT] UIL2ConnectionFactory: org.jboss.mq.SpyConnectionFactory
13:41:48,134 INFO [STDOUT] UILConnectionFactory: javax.naming.LinkRef
13:41:48,134 INFO [STDOUT] RMIConnectionFactory: org.jboss.mq.SpyConnectionFactory
13:41:48,134 INFO [STDOUT] OIL2ConnectionFactory: org.jboss.mq.SpyConnectionFactory
13:41:48,135 INFO [STDOUT] UUIDKeyGeneratorFactory: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory
No mention of any of my jndi names!
Also, I do not see any jndi binding messages when I deploy this app either which is curious...
Any thoughts out there?
wcn