Re: Problem while creating a queue connection and session
Nooreazam <nooreazamp-MW3amNyu4lYqDJ6do+/[email protected]> Tue, 4 Jul 2006 06:26:25 -0700 (PDT)
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply Tim.
I thought for our main root cause that should be the problem.
What my root cuse is that, i have following snippet which is same for
weblogic and jboss.
qConn.start();
if (timeOutInSeconds==0)
{
timeOutInSeconds=60;
}
Message message = qReceiver.receive(timeOutInSeconds*1000);
if( message == null )
{
throw new TarangFrameworkException("40358");
}else
{
if( message instanceof TextMessage )
{
result = ((TextMessage) message).getText();
} else
{
throw new TarangFrameworkException("40358");
}
}
The strange problem is that, even if the message is null, we are still able
to proceed further in the weblogic.
But the same thing is not happening with the jboss. After time out its
throwing our application defined exception with error code.
Pls, do highlight on this issue.
Thnx.
--
View this message in context: http://www.nabble.com/Problem-while-creating-a-queue-connection-and-session-tf1888423.html#a5167220
Sent from the OpenJMS - User forum at Nabble.com.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642