sirophim
sirophim

Reputation: 3

servicemix 4.5 NoInitialContextException

We have the osgi application that perfectly worked on Servicemix 5. But for some reasons we must migrate to Servicemix 4.5. I tried it and got this

Error parsing SQL Mapper Configuration. Cause:
org.apache.ibatis.builder.BuilderException: Error parsing SQL MapperConfiguration. Cause: org.apache.ibatis.datasource.DataSourceException: There was an error configuring JndiDataSourceTransactionPool. Cause: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial

What does it need?

Upvotes: 0

Views: 346

Answers (1)

Achim Nierbeck
Achim Nierbeck

Reputation: 5285

Install the Aries JNDI feature?

features:install jndi

Upvotes: 1

Related Questions