Alternative of com.ibm.ejs.ns.jndi.CNInitialContextFactory for JBoss 6.00 EAP
anuraggupta.cs Sep 10, 2014 9:51 AMHello Guys,
I am working on one migration project which was on IBM WAS and now i want to migrate it on JBoss 6.0 EAP Application server.
During this migration activity i am facing some issues so here in this discussion post logs are given below:
20:34:32,670 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2
20:34:34,032 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
20:34:34,414 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015899: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) starting
20:34:39,455 INFO [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.7.GA-redhat-1
20:34:39,460 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
20:34:39,479 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
20:34:39,577 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.18.GA-redhat-1
20:34:39,944 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 27) JBAS010280: Activating Infinispan subsystem.
20:34:40,015 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 34) JBAS011800: Activating Naming Subsystem
20:34:40,062 INFO [org.jboss.as.security] (ServerService Thread Pool -- 39) JBAS013171: Activating Security Subsystem
20:34:40,249 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 32) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
20:34:40,343 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013170: Current PicketBox version=4.0.19.SP2-redhat-1
20:34:40,756 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
20:34:41,473 INFO [org.jboss.as.connector.logging] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.23.Final-redhat-1)
20:34:41,772 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 23) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
20:34:42,000 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
20:34:43,143 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 23) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.1)
20:34:43,678 INFO [org.apache.coyote.http11] (MSC service thread 1-4) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
20:34:43,692 INFO [org.apache.coyote.http11] (MSC service thread 1-4) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
20:34:44,629 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-eap-6.2.0\jboss-eap-6.2\standalone\deployments
20:34:44,641 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "SmartEAR.ear" (runtime-name: "SmartEAR.ear")
20:34:44,657 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/jdbc/wmproDS]
20:34:44,653 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:/jdbc/securityDS]
20:34:44,793 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 127.0.0.1:4447
20:34:45,065 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 127.0.0.1:9999
20:34:47,747 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "null" (runtime-name: "SmartWeb.war")
20:34:53,781 INFO [org.jboss.web] (ServerService Thread Pool -- 76) JBAS018210: Register web context: /SmartWeb
20:34:54,077 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 76) javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.ibm.ejs.ns.jndi.CNInitialContextFactory from classloader ModuleClassLoader for Module "deployment.SmartEAR.ear.SmartWeb.war:main" from Service Module Loader: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.ibm.ejs.ns.jndi.CNInitialContextFactory from classloader ModuleClassLoader for Module "deployment.SmartEAR.ear.SmartWeb.war:main" from Service Module Loader
at org.jboss.as.naming.InitialContextFactoryBuilder.createInitialContextFactory(InitialContextFactoryBuilder.java:64)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681) [rt.jar:1.7.0_21]
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307) [rt.jar:1.7.0_21]
at javax.naming.InitialContext.init(InitialContext.java:242) [rt.jar:1.7.0_21]
at javax.naming.InitialContext.<init>(InitialContext.java:192) [rt.jar:1.7.0_21]
at com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:683) [jsf-impl-2.1.19-redhat-2.jar:2.1.19-redhat-2]
at com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:134) [jsf-impl-2.1.19-redhat-2.jar:2.1.19-redhat-2]
at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:194) [jsf-impl-2.1.19-redhat-2.jar:2.1.19-redhat-2]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:158) [jsf-impl-2.1.19-redhat-2.jar:2.1.19-redhat-2]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
20:34:54,748 INFO [org.jboss.as.server] (ServerService Thread Pool -- 24) JBAS018559: Deployed "SmartEAR.ear" (runtime-name : "SmartEAR.ear")
20:34:54,867 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
20:34:54,868 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
20:34:54,869 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) started in 23878ms - Started 259 of 321 services (60 services are passive or on-demand)
------------------------------------------
i would request you please suggest me appropriate solution or work around to fix it.
Thanks in advance.