[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-developer
Subject:    [openjms-developer] [ openjms-Bugs-1108562 ] NullPointerException when calling DatabaseService.getAd
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2005-01-24 19:24:53
Message-ID: E1Ct9pV-0007Uj-B2 () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
openjms-developer mailing list
openjms-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic