RE: Re: openjms-user digest, Vol 1 #719 - 2 msgs

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
OK - this was a problem in 0.7.7-alpha-1 which has been
fixed in CVS. I'm planning to do an alpha-2 release in 
2 weeks time.

Regards,

Tim

> -----Original Message-----
> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf 
> Of Archana Deshmukh
> Sent: Thursday, 17 November 2005 6:09 PM
> To: [email protected]
> Subject: [openjms-user] Re: openjms-user digest, Vol 1 #719 - 2 msgs
> 
> Hi,
> Thanks for reply.There are two more exceptions at openjms console.
> 1.Failed to make message persistent
> org.exolab.jms.persistence.PersistenceException: 
> com.ibm.db2.jcc.c.SqlException: A lock could not be obtained 
> within the time requested
> 	at com.ibm.db2.jcc.c.zc.d(zc.java:1351)
> 	at com.ibm.db2.jcc.a.eb.l(eb.java:366)
> 	at com.ibm.db2.jcc.a.eb.a(eb.java:64)
> 	at com.ibm.db2.jcc.a.r.a(r.java:48)
> 	at com.ibm.db2.jcc.a.ub.c(ub.java:266)
> 	at com.ibm.db2.jcc.c.ad.Z(ad.java:1666)
> 	at com.ibm.db2.jcc.c.ad.d(ad.java:2224)
> 	at com.ibm.db2.jcc.c.ad.V(ad.java:521)
> 	at com.ibm.db2.jcc.c.ad.executeUpdate(ad.java:504)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpd
> ate(DelegatingPreparedStatement.java:233)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpd
> ate(DelegatingPreparedStatement.java:233)
> 	at
> org.exolab.jms.persistence.MessageHandles.addMessageHandle(Mes
> sageHandles.java:250)
> 	at
> org.exolab.jms.persistence.RDBMSAdapter.addMessageHandle(RDBMS
> Adapter.java:450)
> 	at
> org.exolab.jms.messagemgr.AbstractConsumerMessageHandle.add(Ab
> stractConsumerMessageHandle.java:280)
> 	at
> org.exolab.jms.messagemgr.TopicDestinationCache.persistentMess
> ageAdded(TopicDestinationCache.java:186)
> 	at
> org.exolab.jms.messagemgr.MessageMgr.notifyOnAddPersistentMess
> age(MessageMgr.java:472)
> 	at
> org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(Mess
> ageMgr.java:305)
> 	at org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:227)
> 	at
> org.exolab.jms.server.JmsServerSession.send(JmsServerSession.java:221)
> 	at
> org.exolab.jms.server.net.RemoteServerSession.send(RemoteServe
> rSession.java:152)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:442)
> 	at
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:468)
> 	at
> org.exolab.jms.net.connector.ContextInvocationHandler.invoke(C
> ontextInvocationHandler.java:108)
> 	at
> org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.re
> quest(MultiplexedManagedConnection.java:332)
> 	at
> org.exolab.jms.net.multiplexer.Multiplexer$1.run(Multiplexer.java:653)
> 	at 
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> Source)
> 	at java.lang.Thread.run(Thread.java:534)
> 
> 2.
> 11:11:56.591 ERROR [Scheduler-Worker-4] - Error in 
> SentMessageCache.process
> org.exolab.jms.persistence.PersistenceException: 
> com.ibm.db2.jcc.c.SqlException: A lock could not be obtained 
> within the time requested
> 	at com.ibm.db2.jcc.c.zc.d(zc.java:1351)
> 	at com.ibm.db2.jcc.a.eb.l(eb.java:366)
> 	at com.ibm.db2.jcc.a.eb.a(eb.java:64)
> 	at com.ibm.db2.jcc.a.r.a(r.java:48)
> 	at com.ibm.db2.jcc.a.ub.c(ub.java:266)
> 	at com.ibm.db2.jcc.c.ad.Z(ad.java:1666)
> 	at com.ibm.db2.jcc.c.ad.d(ad.java:2224)
> 	at com.ibm.db2.jcc.c.ad.V(ad.java:521)
> 	at com.ibm.db2.jcc.c.ad.executeUpdate(ad.java:504)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpd
> ate(DelegatingPreparedStatement.java:233)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpd
> ate(DelegatingPreparedStatement.java:233)
> 	at
> org.exolab.jms.persistence.MessageHandles.updateMessageHandle(
> MessageHandles.java:391)
> 	at
> org.exolab.jms.persistence.RDBMSAdapter.updateMessageHandle(RD
> BMSAdapter.java:472)
> 	at
> org.exolab.jms.messagemgr.AbstractConsumerMessageHandle.update
> (AbstractConsumerMessageHandle.java:291)
> 	at
> org.exolab.jms.server.SentMessageCache.process(SentMessageCach
> e.java:132)
> 	at
> org.exolab.jms.server.JmsServerSession.onMessage(JmsServerSess
> ion.java:691)
> 	at
> org.exolab.jms.messagemgr.AbstractTopicConsumerEndpoint.delive
> rMessages(AbstractTopicConsumerEndpoint.java:371)
> 	at
> org.exolab.jms.messagemgr.AbstractConsumerEndpoint.run(Abstrac
> tConsumerEndpoint.java:309)
> 	at
> org.exolab.jms.common.threads.ThreadPoolWorker.runIt(ThreadPoo
> lWorker.java:192)
> 	at
> org.exolab.jms.common.threads.ThreadPoolWorker.runWork(ThreadP
> oolWorker.java:177)
> 	at
> org.exolab.jms.common.threads.ThreadPoolWorker.access$000(Thre
> adPoolWorker.java:64)
> 	at
> org.exolab.jms.common.threads.ThreadPoolWorker$1.run(ThreadPoo
> lWorker.java:119)
> 	at java.lang.Thread.run(Thread.java:534)
> 
> 
> Looking forward to hear from you.
> 
> Thanks,
> Archana
> 
> 
> On Thu, 2005-11-17 at 09:46, 
> openjms-user-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> wrote:
> > Send openjms-user mailing list submissions to
> > 	[email protected]
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 	https://lists.sourceforge.net/lists/listinfo/openjms-user
> > or, via email, send a message with subject or body 'help' to
> > 	openjms-user-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > 
> > You can reach the person managing the list at
> > 	openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > 
> > When replying, please edit your Subject line so it is more specific 
> > than "Re: Contents of openjms-user digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. Exception while publishing messages to openjms 
> (Archana Deshmukh)
> >    2. RE: Exception while publishing messages to openjms (Tim 
> > Anderson)
> > 
> > --__--__--
> > 
> > Message: 1
> > From: Archana Deshmukh <[email protected]>
> > To: [email protected]
> > Date: 16 Nov 2005 17:10:25 +0530
> > Subject: [openjms-user] Exception while publishing messages 
> to openjms
> > Reply-To: [email protected]
> > 
> > Hi,
> > I am using openjms-0.7.7 ,connector is http and database is derby.
> > I got a exception while publishing message to openjms.
> > 
> > 
> > javax.jms.JMSException: Failed to make message persistent:
> > org.exolab.jms.persistence.PersistenceException: Failed to 
> add message 
> > handle=org.exolab.jms.messagemgr.TopicConsumerMessageHandle@6598b
> >         at
> > 
> org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(Mess
> ageMgr.java:312)
> >         at 
> org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:227)
> >         at
> > 
> org.exolab.jms.server.JmsServerSession.send(JmsServerSession.java:221)
> >         at
> > 
> org.exolab.jms.server.net.RemoteServerSession.send(RemoteServe
> rSession.java:152)
> >         at 
> sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
> >         at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:324)
> >         at
> > 
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:442)
> >         at
> > 
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:468)
> >         at
> > 
> org.exolab.jms.net.connector.ContextInvocationHandler.invoke(C
> ontextInvocationHandler.java:108)
> >         at
> > 
> org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.re
> quest(MultiplexedManagedConnection.java:332)
> >         at
> > 
> org.exolab.jms.net.multiplexer.Multiplexer$1.run(Multiplexer.java:653)
> >         at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > Source)
> >         at java.lang.Thread.run(Thread.java:534)
> > 
> > 
> > Any help would be greatly appreciated.
> > 
> > Thanks,
> > Archana
> > 
> > 
> > 
> > --__--__--
> > 
> > Message: 2
> > From: "Tim Anderson" <[email protected]>
> > To: <[email protected]>
> > Subject: RE: [openjms-user] Exception while publishing messages to 
> > openjms
> > Date: Wed, 16 Nov 2005 23:30:49 +1100
> > Reply-To: [email protected]
> > 
> > Is there any other error message? Its being triggered by an 
> > SQLException from derby. Also check $OPENJMS_HOME/db/derby.log
> > 
> > If there isn't any helpful messages, you can enable derby 
> logging by 
> > creating a properties file "$OPENJMS_HOME/db/derby.properties"
> > containing:
> > 
> > derby.stream.error.logSeverityLevel=0
> > 
> > See
> > 
> http://publib.boulder.ibm.com/infocenter/cscv/v10r1/topic/com.ibm.clou
> > dscape
> > .doc/rtunproper26985.html
> > for more information.
> > 
> > -Tim
> > 
> > 
> > > -----Original Message-----
> > > From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of 
> > > Archana Deshmukh
> > > Sent: Wednesday, 16 November 2005 10:40 PM
> > > To: [email protected]
> > > Subject: [openjms-user] Exception while publishing messages to 
> > > openjms
> > > 
> > > Hi,
> > > I am using openjms-0.7.7 ,connector is http and database is derby.
> > > I got a exception while publishing message to openjms.
> > > 
> > > 
> > > javax.jms.JMSException: Failed to make message persistent:
> > > org.exolab.jms.persistence.PersistenceException: Failed to add 
> > > message 
> > > handle=org.exolab.jms.messagemgr.TopicConsumerMessageHandle@6598b
> > >         at
> > > org.exolab.jms.messagemgr.MessageMgr.addPersistentMessage(Mess
> > > ageMgr.java:312)
> > >         at
> > > org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:227)
> > >         at
> > > 
> org.exolab.jms.server.JmsServerSession.send(JmsServerSession.java:221)
> > >         at
> > > org.exolab.jms.server.net.RemoteServerSession.send(RemoteServe
> > > rSession.java:152)
> > >         at
> > > sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> > > odAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > >         at
> > > 
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:442)
> > >         at
> > > 
> org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:468)
> > >         at
> > > org.exolab.jms.net.connector.ContextInvocationHandler.invoke(C
> > > ontextInvocationHandler.java:108)
> > >         at
> > > org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.re
> > > quest(MultiplexedManagedConnection.java:332)
> > >         at
> > > 
> org.exolab.jms.net.multiplexer.Multiplexer$1.run(Multiplexer.java:653)
> > >         at
> > > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > > Source)
> > >         at java.lang.Thread.run(Thread.java:534)
> > > 
> > > 
> > > Any help would be greatly appreciated.
> > > 
> > > Thanks,
> > > Archana
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by the JBoss Inc.  Get Certified 
> > > Today Register for a JBoss Training Course.  Free 
> Certification Exam 
> > > for All Training Attendees Through End of 2005. For more 
> info visit:
> > > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> > > _______________________________________________
> > > openjms-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/openjms-user
> > > 
> > 
> > 
> > 
> > 
> > 
> > --__--__--
> > 
> > _______________________________________________
> > openjms-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openjms-user
> > 
> > 
> > End of openjms-user Digest
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get 
> Certified Today Register for a JBoss Training Course.  Free 
> Certification Exam for All Training Attendees Through End of 
> 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
> 




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.