Asankha,

Yes. Issue is isolated to WAR distribution and happens only when application server's JMS/JTA is used.

Thanks,
Irantha

----- Original Message ----- From: "Asankha C. Perera" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 06, 2008 10:16 PM
Subject: Re: Synapse wth JBoss JTA/JMS



Is there a perticular reason to include geronimo-jms_1.1_spec-1.0.jar and geronimo-jta_1.1_spec-1.1.jar files in synapse war (WEB-INF/lib) ?

Classes included in user application are loaded by a different class loader that the one that load JBoss framework classes. (JBoss framework classes are loaded by org.jboss.mx.loading.UnifiedClassLoader and classes included in a application are loaded by org.jboss.web.tomcat.service.WebAppClassLoader).

Because of this JMS/JTA interfaces defined in synapse code becomes *uncomparable to ones lookup from JNDI.

I guess the same for other application servers.

Is it possible to not include those two jar files in the war?
Is this problem only for the WAR distribution? Its rarely used by many.. and I have no objection to removing it since a WAR is deployed on a J2EE app server most of the time.. I assume you didn't have any problems with the standalone distribution

asankha

--
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to