2 Replies Latest reply on Oct 2, 2012 8:04 AM by Stephen Coy

    JNDI issue with JBOSS AS 7.1.1

    mkogundi Newbie

      :15:43,469 WARN  [org.jnp.interfaces.NamingContext] (http--127.0.0.1-8080-2) Failed to connect to localhost:8080: javax.naming.CommunicationException: Failed to retrieve stub from server localhost:8080 [Root exception is java.io.EOFException]

                at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:209) [jbossall-client-3.2.3.jar:]

                at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1181) [jbossall-client-3.2.3.jar:]

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) [jbossall-client-3.2.3.jar:]

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) [jbossall-client-3.2.3.jar:]

                at javax.naming.InitialContext.lookup(InitialContext.java:392) [classes.jar:1.6.0_35]

                at com.apple.ist.cs.iCas.utils.DatabaseManager.getOracleConnection(DatabaseManager.java:43) [iCas.jar:]

                at com.apple.ist.cs.iCas.dao.impl.MenuBarDAOImpl.getMenuDetails(MenuBarDAOImpl.java:50) [iCas.jar:]

                at com.apple.ist.cs.iCas.controller.AccessVerificationFilter.doFilter(AccessVerificationFilter.java:95) [iCas.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]

      Caused by: java.io.EOFException

                at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280) [classes.jar:1.6.0_35]

                at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749) [classes.jar:1.6.0_35]

                at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779) [classes.jar:1.6.0_35]

                at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279) [classes.jar:1.6.0_35]

                at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:197) [jbossall-client-3.2.3.jar:]

                ... 20 more