Tomcat5.5+Oracle10g 连接池配置详解
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:? java.naming.factory.initial
连接不成功
?at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
?at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
?at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
?at javax.naming.InitialContext.lookup(InitialContext.java:351)
?at com.jxkj.db.DBconn.getConnection(DBconn.java:19)
?at com.jxkj.db.DBconn.main(DBconn.java:38)
?
?