ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thelime <ericis...@gmail.com>
Subject Problem during SqlMapClientBuilder.buildSqlMapClient
Date Tue, 20 Jan 2009 14:52:25 GMT

Hi

I have an application that runs every day of the week 8 - 10 times for a
different piece of information each time. On 1 of those jobs for the last
few days I've had a problem. This is a batch application and it just hangs,
doesn't throw any exceptions or anything. It just stops dead it's in tracks.
I have a java dump file from the last time it happened. It looks like it's
trying to instantiate the SqlMapClient object I use and it's running into a
problem getting a DB2 connection.  I was wondering if anybody has seen this
before.

Any ideas? It's weird because it works the other times the application runs
and it's the exact same code, just different id parameters which have
nothing to do with the database part.

Thanks.

Here's the thread dump:

Java Stack Frames: 
            ip=0x03E16988/sp=0x0007F5BA:
COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native method)
            ip=0x03BA0FE7/sp=0x0007F619:
COM.ibm.db2.jdbc.app.DB2Driver.<init>()
            ip=0x03BA13A3/sp=0x0007F691:
COM.ibm.db2.jdbc.app.DB2Driver.<clinit>()
            ip=0x0007F76C/sp=0x0007F6D9: pseudo frame
            ip=0x0007F76C/sp=0x002DF0F4: pseudo frame
            ip=0x02778401/sp=0x0007F82A:
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native method)
            ip=0x01BFE101/sp=0x0007F891:
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
            ip=0x01AE1811/sp=0x0007F8CD:
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
            ip=0x01AE4A94/sp=0x0007F8FD:
java.lang.reflect.Constructor.newInstance(Constructor.java:315)
            ip=0x01AB6FA9/sp=0x0007F945:
java.lang.Class.newInstance3(Class.java:367)
            ip=0x01AB6F02/sp=0x0007F981:
java.lang.Class.newInstance(Class.java:305)
            ip=0x03A4BC35/sp=0x0007F9AD:
com.ibatis.common.resources.Resources.instantiate(Resources.java:294)
            ip=0x03A4BC2C/sp=0x0007F9D9:
com.ibatis.common.resources.Resources.instantiate(Resources.java:281)
            ip=0x03BAFA3B/sp=0x0007FA19:
com.ibatis.common.jdbc.SimpleDataSource.initialize(SimpleDataSource.java:199)
            ip=0x03BAF78B/sp=0x0007FA59:
com.ibatis.common.jdbc.SimpleDataSource.<init>(SimpleDataSource.java:116)
            ip=0x039832B6/sp=0x0007FA91:
com.ibatis.sqlmap.engine.datasource.SimpleDataSourceFactory.initialize(SimpleDataSourceFactory.java:31)
            ip=0x03AA5D5F/sp=0x0007FAD5:
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.java:347)
            ip=0x039E44EC/sp=0x0007FB25:
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121)
            ip=0x039E4499/sp=0x0007FB61:
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:105)
            ip=0x039E4484/sp=0x0007FBAD:
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102)
            ip=0x039E4484/sp=0x0007FBF9:
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102)
            ip=0x039E4396/sp=0x0007FC45:
com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72)
            ip=0x039E4359/sp=0x0007FC8D:
com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:60)
            ip=0x039F8B06/sp=0x0007FCD5:
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:106)
            ip=0x03A00E54/sp=0x0007FD09:
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:90)
-- 
View this message in context: http://www.nabble.com/Problem-during-SqlMapClientBuilder.buildSqlMapClient-tp21564560p21564560.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message