简体   繁体   中英

JBAS011843: Failed instantiate InitialContextFactory org.jnp.interfaces.NamingContextFactory for wildfly 8.0

I am trying to migrate my applicaiton from jboss 3.2 to wildfly.. when I tried to deploy my ear file, I am getting Following exception..

Can't get data source due to JNDI failure, NamingException = JBAS011843: Failed instantiate InitialContextFactory org.jnp.interfaces.NamingContextFactory from classloader ModuleClassLoader for Module "deployment.MyApp.war:main" from Service Module Loader..

is "org.jnp.interfaces.NamingContextFactory" was removed from wildfly 8.0? Is it any alternative for this?

实例化InitialContext时,仅使用默认构造函数而不传递属性,还请确保部署中不包含jndi.properties文件-这应启用WildFly提供的配置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM