Error
Caused by: javax.naming.ServiceUnavailableException: (&(objectClass=javax.sql.DataSource)(osgi.jndi.service.name=emailD))
at org.apache.servicemix.naming.ProxyInvocationHandler.getTarget(ProxyInvocationHandler.java:59)
at org.apache.servicemix.naming.OSGiServicesContext.lookup(OSGiServicesContext.java:63)
... 45 more
Creating the datasource as
I got the solution thanks