I need some help regarding a connection to an oracle database.
Testing the connection with the admin console works but I get a nullpointer exception after starting the console and during the refresh. The database connection also does not shine up.
Here's my server.properties content:
Here's the exception I get when I hit the save button in the admin console after verifying the database connection with "Test" (The test of the db connection is successful):
Testing the connection with the admin console works but I get a nullpointer exception after starting the console and during the refresh. The database connection also does not shine up.
Here's my server.properties content:
Code:
sql.defaultDatabase: Oracle sql.Oracle.driver.context: null sql.Oracle.driver.serverName: localhost sql.Oracle.interface.credentialsInURL: false sql.Oracle.driver.driverType: thin sql.Oracle.driver.networkProtocol: tcp sql.Oracle.driver.portNumber: 1521 sql.Oracle.useURL: true sql.Oracle.driver: oracle.jdbc.driver.OracleDriver sql.Oracle.driver.url: jdbc:oracle:thin:@NKGMCSDB:1521/MCSDB sql.Oracle.driverName: oracle sql.Oracle.database.type: oracle sql.Oracle.autoJointTransactions: true sql.Oracle.interface.type: driverManager sql.Oracle.dbName: MCSDS sql.Oracle.driver.name: null sql.Oracle.driver.user: mcs sql.Oracle.driver.password: mcs
Code:
16:43:43,780 INFO [STDOUT:388] === 2011-06-01 16:43:43,780 [80-3] INFO JNDI - Listing: java:comp/env/security 16:43:43,780 INFO [STDOUT:406] === 2011-06-01 16:43:43,780 [80-3] DEBUG JNDI - got NameClassPair with name: securityMgr, class: 'javax.naming.LinkRef' 16:43:43,780 INFO [STDOUT:406] === 2011-06-01 16:43:43,780 [80-3] DEBUG JNDI - got NameClassPair with name: subject, class: 'javax.naming.LinkRef' 16:43:43,780 INFO [STDOUT:411] === 2011-06-01 16:43:43,780 [80-3] DEBUG RPCDMI - Invocation threw exception java.lang.NullPointerException at com.isomorphic.naming.JNDI.searchTreeForClass(JNDI.java:125) at com.isomorphic.naming.JNDI.searchTreeForClass(JNDI.java:131) at com.isomorphic.naming.JNDI.searchTreeForClass(JNDI.java:131) at com.isomorphic.naming.JNDI.searchTreeForClass(JNDI.java:84) at com.isomorphic.sql.SQLConnectionManager.getDefinedDatabaseNames(SQLConnectionManager.java:304)
Comment