Bugs item #1041466, was opened at 2004-10-06 13:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1041466&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Rob v.d. Boom (robboom)
Assigned to: Nobody/Anonymous (nobody)
Summary: Oracle AQ Patch 10g.

Initial Comment:
Hi,

i found a bug in the startup of the 
AQjmsConnectionConsumer. When starting Jboss on 
windows (everything local) everyting works fine. When 
deploying to a linux system (and oracle remote) the 
message "JMS Session null" was given by the Consumer. 

After research it appeared that i had to add a sleep in 
the AQjmsConnectionConsumer to give the session pool 
more time to build the sessions:


Changed by adding sleep :

 public void run()
    {
        JMSException exception = null;
        ExceptionListener listener = null;
        MessageConsumer consumer = null;
        
        if (!closed)
        {
            if (trace)
            {
                log.trace("Starting Advanced Queue  
                      Connecion Consumer.");
            }
            
            try
            {
                //TODO: better solution 24-09-2004.
                try
                {
                    Thread.sleep(2000);
                } catch (InterruptedException e) {}

                if (session != null)
                {
                } else   {
                    throw new JMSException("JMS Session is  
                            null.");
                }

I used:
windowsNT/linux
jdk1.4.2
jboss3.2.3
oracle patch 10g




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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1041466&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to