Just taking  a wild guess..but may be you are closing the connection too early...

 


From: Akshay Jain <akshay.jain@tcs.com>
To: openjms-user@lists.sourceforge.net
Sent: Tuesday, December 30, 2008 10:05:21 PM
Subject: [openjms-user] Error:urgent


Hi

I am trying to use openJMS to build the application.On running start.bat I am getting the following exception in openjms.bat window.

Till now I have created the database in oracle 9.i.Kindly give some suggestions.The exception is as follows.

OpenJMS 0.7.7-beta-1
The OpenJMS Group. (C) 1999-2007. All rights reserved.
http://openjms.sourceforge.net
org.exolab.jms.server.ServerException: org.exolab.jms.persistence.PersistenceExc
eption: java.lang.NullPointerException
        at org.apache.commons.dbcp.PoolingConnection.close(PoolingConnection.jav
a:78)
        at org.apache.commons.dbcp.DelegatingConnection.close(DelegatingConnecti
on.java:151)
        at org.apache.commons.dbcp.PoolableConnection.reallyClose(PoolableConnec
tion.java:95)
        at org.apache.commons.dbcp.PoolableConnectionFactory.destroyObject(Poola
bleConnectionFactory.java:301)
        at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
icDataSource.java:883)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:851)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:540)
        at org.exolab.jms.persistence.DBCPConnectionManager.getConnection(DBCPCo
nnectionManager.java:121)
        at org.exolab.jms.persistence.RDBMSAdapter.getConnection(RDBMSAdapter.ja
va:696)
        at org.exolab.jms.persistence.RDBMSAdapter.<init>(RDBMSAdapter.java:177)

        at org.exolab.jms.persistence.DatabaseService.createAdapter(DatabaseServ
ice.java:311)
        at org.exolab.jms.persistence.DatabaseService.doStart(DatabaseService.ja
va:240)
        at org.exolab.jms.service.Service.start(Service.java:97)
        at org.exolab.jms.service.ServiceManager.doStart(ServiceManager.java:176
)
        at org.exolab.jms.service.Service.start(Service.java:97)
        at org.exolab.jms.server.JmsServer.init(JmsServer.java:146)
        at org.exolab.jms.server.JmsServer.main(JmsServer.java:178)



Akshay Jain
Tata Consultancy Services
Mailto: akshay.jain@tcs.com
Website:
http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you