0 Replies Latest reply on Nov 15, 2005 12:25 AM by Marcos Sousa

    Problems with Jboss 4.0.x and EJB 2.x

    Marcos Sousa Newbie

      Hi,

      I have been a problem with jboss 4.0. When I execute my project at the first I recieve this message:

      org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: invalid entry size (expected 1939669000 but got 727 bytes)
       org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:105)
       org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
       org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
       org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
       org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
       org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
       org.apache.jasper.compiler.Parser.parse(Parser.java:126)
       org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
       org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
       org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
       org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       br.com.rpm.rmc.seguranca.FiltroNTLM.doFilter(FiltroNTLM.java:50)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      
      root cause
      


      And when I try to access my session beans I recieve this message:
      03:22:36,765 WARN [RequestProcessor] Unhandled Exception thrown: class javax.naming.CommunicationException
      03:22:36,765 ERROR [[action]] Servlet.service() for servlet action threw exception
      java.net.SocketTimeoutException: Receive timed out
       at java.net.PlainDatagramSocketImpl.receive0(Native Method)
       at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
       at java.net.DatagramSocket.receive(DatagramSocket.java:712)
       at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1086)
       at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at scs.actions.Lookup.lookupHome(Lookup.java:117)
       at scs.actions.Lookup.getAcessoHome(Lookup.java:70)
       at scs.actions.Lookup.getAcessoBean(Lookup.java:37)
       at scs.actions.LoginAction.logar(LoginAction.java:35)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
       at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at br.com.rpm.rmc.seguranca.FiltroNTLM.doFilter(FiltroNTLM.java:50)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      


      What happend? What I should to do?