Discussion:
[openjms-developer] [ openjms-Bugs-1108562 ] NullPointerException when calling DatabaseService.getAdapter
SourceForge.net
2005-01-24 19:24:53 UTC
Permalink
Bugs item #1108562, was opened at 2005-01-24 11:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1108562&group_id=54559

Category: persistence
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Shashi (smazumdar)
Assigned to: Jim Alateras (jalateras)
Summary: NullPointerException when calling DatabaseService.getAdapter

Initial Comment:
This exception is thrown when the OpenJMS server is
shutdown. It doesn't happen always but when running
stress tests which include starting and stopping the
OpenJMS server frequently.

Here is the stack trace printed to the log file. The
iweventsub is just a naming convention we use.
Basically it is the OpenJMS server.

iweventsubd: ---------- STARTING: Sat Aug 21 08:11:14
PDT 2004
EVENTSUBD_HOME is set to /local/iw-home/eventsubsystem
OpenJMS 0.7.6.1
The OpenJMS Group. (C) 1999-2004. All rights reserved.
http://openjms.sourceforge.net
iweventsubd: ---------- STARTED: Sat Aug 21 08:11:26
PDT 2004
iweventsubd: ---------- STOPPING: Sat Aug 21 08:15:16
PDT 2004
EVENTSUBD_HOME is set to /local/iw-home/eventsubsystem
iweventsubd: ---------- STOPPED: Sat Aug 21 08:15:34
PDT 2004
08:15:38.769 ERROR [server-1] - Failed to make message
persistent
java.lang.NullPointerException
at
org.exolab.jms.persistence.DatabaseService.getAdapter(Unknown
Source)
at
org.exolab.jms.persistence.DatabaseService.getConnection(Unknown
Sour
ce)
at
org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(Unknown
Sou
rce)
at
org.exolab.jms.messagemgr.MessageMgr.add(Unknown Source)
at
org.exolab.jms.server.JmsServerSession.sendMessage(Unknown
Source)
at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.sendMessage(Unknow
n Source)
at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.notify(Unknown
Sou
rce)
at
org.exolab.jms.server.mipc.IpcJmsReceiver.notify(Unknown
Source)
at
org.exolab.jms.server.mipc.IpcServerChannel.run(Unknown
Source)
08:15:38.786 ERROR [server-1] - Failed to process message
javax.jms.JMSException: Failed to make message
persistent: java.lang.NullPointer
Exception
at
org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(Unknown
Sou
rce)
at
org.exolab.jms.messagemgr.MessageMgr.add(Unknown Source)
at
org.exolab.jms.server.JmsServerSession.sendMessage(Unknown
Source)
at
org.exolab.jms.server.mipc.IpcJmsSessionConnection.sendMessage(Unknow
n Source)
@

Is this a known issue? I'm also appending the
database configuration in the config file.

<DatabaseConfiguration>
<RdbmsDatabaseConfiguration
driver="oracle.jdbc.driver.OracleDriver"
url="dbc:oracle:thin:@qatempl-sol:1521:chandra"
user="scott"
password="tiger"
maxActive="10"
maxIdle="5"
minIdleTime="1800"
evictionInterval="3600" />

</DatabaseConfiguration>



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1108562&group_id=54559
Loading...