Menu

#45 JVM core dump

open
nobody
None
5
2007-01-31
2007-01-31
lech_pig
No

JVM core dump

c3p0: 0.9.1

OS: HP-UX

jdk: java version "1.4.2.03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.03-040401-16:07)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.03-040402-00:47-IA64N IA64, mixed)

core dump file:
------------------------------------------------------------
Unexpected Signal : 11 occurred at PC=0xC0000000053AF8A0
Function=_ZN16java_lang_String6equalsEP7oopDescPti
Library=/opt/java1.4/jre/lib/IA64W/server/libjvm.so

Current Java thread:
"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon prio=10
tid=60000000004c96b0 nid=13 lwp_id=2477095 runnable [0x9fffffffc5300000..0x9fff
ffffc5300d00]
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1681)
at java.lang.Class.getMethod0(Class.java:1927)
at java.lang.Class.getMethod(Class.java:989)
at com.mchange.v2.c3p0.impl.C3P0ImplUtils.supportsMethod(C3P0ImplUtils.java:
309)
at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.j
ava:101)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(W
rapperConnectionPoolDataSource.java:198)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(W
rapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResour
cePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool
.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePoo
l.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResour
cePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPo
olAsynchronousRunner.java:547)

Dynamic libraries:

Heap at VM Abort:
Heap
def new generation total 78656K, used 9354K [9fffffffc7000000, 9fffffffcc5500
00, 9fffffffd1aa0000)
eden space 69952K, 13% used [9fffffffc7000000, 9fffffffc7922b40, 9fffffffcb45
0000)
from space 8704K, 0% used [9fffffffcb450000, 9fffffffcb450000, 9fffffffcbcd0
000)
to space 8704K, 0% used [9fffffffcbcd0000, 9fffffffcbcd0000, 9fffffffcc550
000)
tenured generation total 174784K, used 0K [9fffffffd1aa0000, 9fffffffdc550000
, 9fffffffe7000000)
the space 174784K, 0% used [9fffffffd1aa0000, 9fffffffd1aa0000, 9fffffffd1a
a0200, 9fffffffdc550000)
compacting perm gen total 16384K, used 8149K [9fffffffe7000000, 9fffffffe80000
00, 9fffffffeb000000)
the space 16384K, 49% used [9fffffffe7000000, 9fffffffe77f55b8, 9fffffffe77f
5600, 9fffffffe8000000)

Local Time = Wed Jan 31 10:54:45 2007
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Please report this error to HP customer support.
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2 1.4.2.03-040402-03:36-IA64W
IA64W mixed mode)
#

code:
------------------------------------------------------------
private static void initConnectionPool() throws Exception {
// 1.read config file
Properties prop = new Properties();
FileInputStream fin = null;
try {
fin = new FileInputStream(CONN_POOL_CFG);
prop.load(fin);
} catch (IOException e) {
e.printStackTrace();
throw e;
} finally {
try {
if (null != fin) {
fin.close();
}
} catch (Exception e) {
}
}

//2. validation
//TODO

//3.
connectionPool = new ComboPooledDataSource();
connectionPool.setDriverClass(prop.getProperty("driver"));
connectionPool.setJdbcUrl(prop.getProperty("jdbcUrl"));
connectionPool.setUser(prop.getProperty("user"));
connectionPool.setPassword(prop.getProperty("password"));
connectionPool.setProperties(prop);
//3.1.
Connection conn = connectionPool.getConnection();
conn.close();
}

Discussion


Log in to post a comment.