I have not worked on WLS, though, just a thought!

Can't you set the 
INITIAL_CONTEXT_FACTORY and PROVIDER_URL in the Hashtable env
To point to your appropriate JNDI Service and then use overloaded 
Constructor of InitialContext e.g. 

Context ctx = new InitialContext(env)

Instead of just using the default constructor InitialContext()- which
uses the default lookup
of WLS?

Regds,
BJ



-----Original Message-----
From: SasiDharma Tharmarajah [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 1:27 PM
To: [EMAIL PROTECTED]
Subject: MDB + Cluster + weblogic 8.1


Hi gurus,

It will be g8 if somebody can guide me on how to implement this scenario


I'm having 2 MDB bean in a cluster. I have 2 managed server m1 and m2
and a admin server. admin and 1 managed is residing in same machine
whereas m2 is in different machine. I've configured all the JMS
Topics,Queues and JMS Servers in admin machine.

I've deployed my application in both the managed servers and not in
admin server. Just using the admin server to reroute the request only.
Here only i'm facing the problem. When my application is deployed MDB's
are complaining that there is no destination found for the Topic
declared in weblogic-ejb-jar.xml. 
I figured out that since my JMSServer is deployed in Admin server it is
unable to find topic. When i changed my JMSServer to be deployed in one
of the managed server then there is no problem. Wht i wanted to know is 
1) Is there a way in weblogic-ejb-jar.xml to specify the MDB's to lookup
the Topic or Queue in a particular JNDI tree...
2) Y is the JNDI tree objects are not reflected in the managed servers
when they are available in the AdminServer. Is there a way to configure
the JNDI tree to be reflected in the managed servers. If so cud somebody
tell me how to do it.

Looking for a +ve response

Thankz in advance

r
sasi

========================================================================
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff EJB-INTEREST".  For general help, send
email to [EMAIL PROTECTED] and include in the body of the message
"help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to