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

List:       openjms-developer
Subject:    [openjms-developer] [ openjms-Bugs-921925 ] TCP JNDI IntialContext using static variables for obj. s
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-03-23 18:41:52
Message-ID: E1B5qqW-00060F-00 () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Bugs item #921925, was opened at 2004-03-23 18:41
Message generated for change (Settings changed) made by curtis-paris
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=921925&group_id=54559

Category: jndi
Group: v0.7.6
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: C. Paris (curtis-paris)
Assigned to: Nobody/Anonymous (nobody)
Summary: TCP JNDI IntialContext using static variables for obj. scope

Initial Comment:
org.exolab.jms.jndi.mipc.IpcJndiInitialContextFactory has 
references for the _host and _port for connecting as 
static variables.

If you have multiple tcp connections occuring at once 
(redundancy, briding, etc), it is possible for the TCP 
(Ipc) factory to connect to the same server for all 
connections, depending on thread timings.  

Observed behavor includes returning connections to 
servers you know are down, or connecting to the wrong 
server.

The static conditions are not needed and compiles fine 
with them as non-static.  With them static you have to 
insure that only one OpenJMS connection is being 
created via TCP at a time.





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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=921925&group_id=54559


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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