Adding
System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
SpringInitialContextFactory.class.getName());
System.setProperty(Context.PROVIDER_URL,
"my/company/resources/jndi.xml");
at the beginning solves the problem, but I had this example working without
this, no kidding, with no changes to my PC environment in the mean time.
--
View this message in context:
http://www.nabble.com/Exception-when-starting-embedded-SM-tf3921552s12049.html#a11119817
Sent from the ServiceMix - User mailing list archive at Nabble.com.