-
1. Re: Configuring Weblogic as JMS Provider
adrian.brock Oct 26, 2003 8:21 AM (in response to wgunadi)No it is not a new problem,
but I can't see anybody in the archive contributing the solution.
I assume if you solved it, you haven't contributed it back either.
The solution is to provide your own jms provider to replace
the jbossmq one in jms-ds.xml
Regards,
Adrian -
2. Re: Configuring Weblogic as JMS Provider
wgunadi Nov 10, 2003 2:03 PM (in response to wgunadi)>The solution is to provide your own jms provider to replace
>the jbossmq one in jms-ds.xml
Here's the problem:
Even if I knew what to substitute these settings with, which I don't,
DefaultJMSProvider
org.jboss.jms.jndi.JBossMQProvider
java:/XAConnectionFactory
java:/XAConnectionFactory
The real question is how can you have weblogic.jar that contains the necessary class to co-exist inside the jboss classpath.
I tried to do this and jboss (understandably) loads the wrong classes out of weblogic.jar -
3. Re: Configuring Weblogic as JMS Provider
genman Nov 10, 2003 6:39 PM (in response to wgunadi)
You can probably extract the exact classfiles you need out of weblogic.jar which are message related. JBoss ships with a bunch of client .jar files which have the components taken out. -
4. Re: Configuring Weblogic as JMS Provider
rchandia Feb 11, 2004 3:38 PM (in response to wgunadi)Bea says that you should use wlclient.jar and wljmsclient.jar instead of weblogic.jar.
Anyway, the problem is that wlclient.jar (and I presume weblogic.jar too) contains a jndi.propertoes file inside.
Of course such a thing completely breaks JNDI.
Just remove the file from inside the jar and you will get happy coexistence. Now, about making the JMS provider, I have not been able to figure it out either.
I trier to configure a ExternalContext mbean with no success at all. I keep getting javax.naming.NameNotFoundException but the stack trace does not contain the weblogic classes at all, so I presume my EtenalContext configuration is broken. -
5. Re: Configuring Weblogic as JMS Provider
rchandia Feb 11, 2004 4:53 PM (in response to wgunadi)I found the problem with my ExternalContext. I was using the wrong attribute to configure the properties file. The old docs said to configure it using "Properties" but nowadays "PropertiesURL" should be used.
-
6. Re: Configuring Weblogic as JMS Provider
amjboss Feb 12, 2004 11:32 PM (in response to wgunadi)Hi rchandia,
Would like to know if you could get this working.
After going thru the posts, I found 2 approaches to configure Weblogic JMS from Jboss:
1. Configuring MBean as a RemoteJBossMQProvider
2. Configuring MBean as an External Service
Though it seems I am close to getting it work, but yet not successful in making my MDB listen to Weblogic Topic.
So, It would be great if you could please outline the steps you followed.
Thanks
am