You can define the datasource with @DataSourceDefinition. That said using jta-datasource on all server would be correct vs current config which is not.
Putting the server offline can work too maybe (openejb.offline=true). Le 20 mars 2017 12:19, "syadav" <b.srisai...@gmail.com> a écrit : is there any other way, as using jta datasource involves changes in tomee server for adding resource and I do not want to do this changes. This increases the deployment task more. I do not want to do any changes in the server. Any change should be in the application itself. -- View this message in context: http://tomee-openejb.979440. n4.nabble.com/Camel-CXF-in-tomee-tp4681184p4681337.html Sent from the TomEE Users mailing list archive at Nabble.com.