The latest version of the pestore patch which is documented at:
http://www.jboss.org/documentation/petstore-1.1.1-01.html
requires no changes to the JNDI lookup from jsp pages. The JNDI
names do come from the jboss-web.xml file. Go through that instead
of the out of date manual content.
----- Original Message -----
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 3:25 PM
Subject: Re: [JBoss-user] Java Pet Store / JNDI names
> Hi,
>
> OK, I've done as suggested in the Pet store example doc
> http://www.jboss.org/manual/examples.html#petstore6 which is to provide
> alternative lookups to try:
>
> eg:
> public static final String SCC_EJBHOME = "java:comp/env/ejb/scc";
> public static final String SCC_EJBHOME_2 = "TheShoppingClientController";
>
> A lookup with either of these values results in a NamingException being thrown
> (not bound). When I get a list of all of the bound names:
>
> NamingEnumeration enum = InitialContext.list("");
>
> The enum contains the name "TheShoppingClientController", which is confusing as
> lookups with this name result in a NamingException being thrown!
>
> Any help much appreciated
>
> Cheers
> Nathan
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user