Hi,

I'm not sure what's the problem is.

To be honest, use Servicemix inside web container isn't the way widely used, as Servicemix itself is a container, so you deploy one container into another container, you can easily encounter lib version conflict, classloader conflict and whatnot.

Anyway, if you can elaborate what's your scenario, such as SMX version you're use, how you package your artifacts.... probably you can get more concrete feedback from here.

Freeman
On 2011-9-14, at 下午6:34, jaikishore wrote:

Can u please respond to below mail…..



Regards

Jai Kishore P, AMEX-GTT

N:0441-8212,M:9884041281.



From: Polepalli, JaiKishore
Sent: Wednesday, September 14, 2011 10:26 AM
To: 'Freeman-2 [via ServiceMix]'
Subject: Accessing Database from Apache Tomcat servicemix instance



Hi Freeman,

We r currently running servicemix on apache tomcat instance. Everything is working fine. But we have a requirement to call hibernate dao for db transactions. I can able to load hibernate session {by defining database parameters} from servicemix-bean component. Problem is, when I changed Database parameters to data source ,it throwing exception “could not find data source”. But we can access the same data source from other
Web Applications in same jvm. Please suggest us.





I have posted this on user mailing list..can u help in this regards



Regards

P. JAI KISHORE


Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies.

Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies.


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/cxf-bc-provider-with-proxy-configuration-tp4447568p4802276.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to