geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prem kalyan <prem.kal...@gmail.com>
Subject javax.naming.NotContextException
Date Wed, 29 Sep 2004 13:03:07 GMT
Hi all,

I was trying to run an application on geronimo. While starting the
server I got the following exception.

java.sql.SQLException: Io exception: JNDI Package
failurejavax.naming.NotContextException: Not an instance of DirContext
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
       at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:266)
       at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
       at java.sql.DriverManager.getConnection(DriverManager.java:512)
       at java.sql.DriverManager.getConnection(DriverManager.java:140)

The application is reading the folowing property from a properties file

java.naming.factory.url.pkgs = org.apache.geronimo.naming

when i comment the above line the application is running.

any help in this regard would be great. 

thanx in advance.
-- 
regards,
prem

Mime
View raw message