-
1. Re: javax.naming.NameNotFoundException
jonlee Apr 24, 2003 2:46 AM (in response to dlhoots)Did you get any errors when you deployed? We usually include in the jboss.xml the container configuration name the bean will use - see below. Otherwise, I can't see anything untoward or different.
<enterprise-beans>
<ejb-name>ApplicationMaintainer</ejb-name>
<jndi-name>ejb/ApplicationMaintainer</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
</enterprise-beans> -
2. Re: javax.naming.NameNotFoundException
seeteshh Apr 24, 2003 3:24 AM (in response to dlhoots)Hi,
jboss.xml
=======
<jndi-name>ApplicationMaintainer</jndi-name>
Alter code:
InitialContext initialContext = new InitialContext();
Object objectRef = initialContext.lookup("ApplicationMaintainer");
Try this.
jar tvf ApplicationMaintainer.jar and post the result in ur message.
Refer to my thread posted earlier on
Seetesh -
3. Re: javax.naming.NameNotFoundException
jonlee Apr 24, 2003 4:02 AM (in response to dlhoots)You can also use jmx-console to browse for the jndi name to which your bean is bound.
http://localhost:8080/jmx-console/ or whatever is appropriate to get to your JBoss-Jetty or JBoss-Tomcat enabled console. -
4. Re: javax.naming.NameNotFoundException
dlhoots Apr 24, 2003 1:11 PM (in response to dlhoots)I don't see anything on the front page that looks like my bean. Would I have to drill down into something?
-
5. Re: javax.naming.NameNotFoundException
adrian.brock Apr 24, 2003 4:32 PM (in response to dlhoots)Click the JNDIView MBean
then the list operation
Regards.
Adrian