Had the jar so must be an incompatibility with the JNDI properties as
you suggest. Here is what we have now:

        properties.put("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
        properties.put("java.naming.provider.url", "localhost:1099");
        properties.put("java.naming.factory.url.pkgs",
"org.jboss.naming");

How does item number (2) in your solution list blend with the above?

Thx,

Rod



-----Original Message-----
From: Guy Rouillier [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2003 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Database JNDI Name Not Found


Rod Macpherson wrote:

> On 3.0.7 my oracle-service.xml file specifies OracleDSX as the JNDI 
> name
> and everything runs fine. Switched to 3.2 and it cannot find JNDI name

> "java:/OracleDSX". I tried putting in the java:/ prefix for grins but
it 
> fails. Something change in 3.2?
>  
> TIA,
>  
> Rod

What is the exact error you are getting?  Is it "comp not bound"?  I got

this for two reasons:

(1) forgot to add classes12.jar to the classpath (doh!)
(2) jndi.properties for the ejb must now contain this:
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Notice the new org.jboss.naming: on the front.

-- 
Guy Rouillier



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to