The significance of the ordering of the java.naming.factory.url.pkgs is that this defines the order of packages from which url context factories are found, which includes the java: context. This must be the org.jboss.naming.java.javaURLContextFactory to select the server local java: context.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Guy Rouillier wrote:

Scott M Stark wrote:

I would say you have a jndi.properties file in one of the jars that is interfering with the java:comp context setup.


Scott, thanks for the reply. I spent a half hour constructing a follow-up. Just as I was about to hit the send key, I noticed that in my jndi.properties (copied from my 2.4.3 implementation), I had


java.naming.factory.url.pkgs=org.jnp.interfaces

I noticed that in the testsuite jndi.properties file, it had

java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Sure enough, when I changed mine to this, the problem went away. Thanks for steering me in that direction. What is the semantic significance of putting "org.jboss.naming:" on the front? And any guess as to why this worked if I deployed/undeployed enough times?






------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to