2 Replies Latest reply on Oct 31, 2012 4:47 AM by vivek rai

    javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader ModuleClassLoader

    vivek rai Newbie

      Hi every one i have some problem with jboss-as-7.1.1. when i deploy it will deploy without error but when i send the request to the client side i am getting error. i am also attached log file and my code and jboss.xml and ejb-jar.xml

       

      if you any one have idea please help me.

       

      12:27:01,262 INFO  [stdout] (http--127.0.0.1-8080-1) BusinessClass::sendResponse Starts...

      12:27:01,264 INFO  [stdout] (http--127.0.0.1-8080-1) Enter the Try Block Edited by vivek

      12:27:01,269 INFO  [stdout] (http--127.0.0.1-8080-1) Got Initial Context-1

      12:27:01,270 INFO  [stdout] (http--127.0.0.1-8080-1) Got Initial Context-2

      12:27:01,271 INFO  [stdout] (http--127.0.0.1-8080-1) Got Initial Context-3

      12:27:01,273 INFO  [stdout] (http--127.0.0.1-8080-1) Got Initial Context-3

      12:27:01,303 ERROR [stderr] (http--127.0.0.1-8080-1) javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader ModuleClassLoader for Module "deployment.responsecomponent.ear.response.war:main" from Service Module Loader

      12:27:01,308 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.jboss.as.naming.InitialContextFactoryBuilder.createInitialContextFactory(InitialContextFactoryBuilder.java:64)

      12:27:01,310 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664)

      12:27:01,312 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

      12:27:01,317 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.naming.InitialContext.init(InitialContext.java:223)

      12:27:01,329 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.naming.InitialContext.<init>(InitialContext.java:197)

      12:27:01,331 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.jsp.response_jsp._jspService(response_jsp.java:136)

      12:27:01,333 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      12:27:01,335 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      12:27:01,345 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

      12:27:01,347 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

      12:27:01,349 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

      12:27:01,350 ERROR [stderr] (http--127.0.0.1-8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      12:27:01,352 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      12:27:01,358 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      12:27:01,360 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      12:27:01,369 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      12:27:01,371 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      12:27:01,373 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

      12:27:01,375 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      12:27:01,379 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      12:27:01,380 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      12:27:01,381 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      12:27:01,383 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

      12:27:01,384 ERROR [stderr] (http--127.0.0.1-8080-1)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

      12:27:01,386 ERROR [stderr] (http--127.0.0.1-8080-1)     at java.lang.Thread.run(Thread.java:662)