Bugs item #707730, was opened at 2003-03-21 20:58
You can respond by visiting: 

Category: JBossMQ
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Michal Hobot (hobot)
Assigned to: Nobody/Anonymous (nobody)
Summary: No error returned while getting Queue factory.

Initial Comment:
The error I found is quite strange and it took me a
while to localize.
One of part of my application is separate Java program,
working as JBoss client.
This program grabs data from external source and put it
into JBoss queue, where it is consumed by messaging beans.

I found one problem: in some circumstances, my client
application can bind to not-running JBoss successfuly
and send messages! Of course those messages are lost.

Problem is (I think) inside some networking module.
When program requests QueueConnectionFactory from JNDI,
I can see stack trace and error messages in log, but no
Exception is thrown and returned QueueConnectionFactory
is not null.
I can then get queue, start it and send data to it.
All of that without JBoss running!

Stranges thing is: the problem occurs only when my app
tries to connect to MS Windows box. When it connects to
other machine (I tried Linux, SCO Unix and HP/UX) -
everything is OK, exception is thrown when getting
I tried to connect to localhost and foreign machines -
it doesn't matter. Only OS of machine I'm trying to
connect to seems to matter.

I used Sun JDK 1.4.

For me, the problem is severe since messages my program
sends contains sensitive information and because of bug
there is a chance some messages will be lost when
server would be down and client would run.

Michal Hobot


Comment By: Igor Fedorenko (igorfie)
Date: 2003-03-21 21:52

Logged In: YES 

Did you try adding jnp.disableDiscovery=true to your 
jndi.properties? I had pretty weird problem when my client 
was trying to conncect to somebody else's JBoss ;-)


You can respond by visiting: 

This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
Jboss-development mailing list

Reply via email to