日期:2014-05-17 浏览次数:20848 次
"pst.execute()" com.sun.jdi.VMDisconnectedException:GotIOException from Virtual Machine occurred invoking method.
ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:orcl at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:148) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545) at java.sql.DriverManager.getConnection(DriverManager.java:579) at java.sql.DriverManager.getConnection(DriverManager.java:221) at dbconnection.oracle.OracleConnection.getConnection(OracleConnection.java:36) at memcachedtest.jd.RoleDao.insert(RoleDao.java:19) at memcachedtest.jd.RoleService.insert(RoleService.java:10) at memcachedtest.jd.RoleService.main(RoleService.java:59) Exception in thread "main" java.lang.NullPointerException at memcachedtest.jd.RoleDao.insert(RoleDao.java:21) at memcachedtest.jd.RoleService.insert(RoleService.java:10) at memcachedtest.jd.RoleService.main(RoleService.java:59)