Hi, similar to a previous problem posted here, I have
Tomcat and
JBoss seperately installed and previously was able to use a
servlet to access a session bean. Now I have an entity bean and it appears as thought Tomcat can no longer find the JBoss JNDI service. I understand this from the message:
Name: myName
Type: java.lang.String
Value: Matthew Webster
Name:
ejb Type: org.apache.naming.NamingContext
Value: org.apache.naming.NamingContext@29ab3e
javax.naming.NamingException: Name Service is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:837)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
I was expecting another output of the session bean info - the bean being known as 'Service'. But it cannot find it.
I think I am correct in saying that JBoss and Tomcat are now running seperate JNDI services, but I don't understand how I should get Tomcat to use JBoss's service (so that it can access ejb's, obviously) and what has changed - I thought it was only my code.
Does anyone have any ideas? (pleeeease)
Matt.