1 Reply Latest reply on Aug 1, 2007 2:47 AM by jaikiran pai

    jbos-4.0.5.GA  error

    guillermo thompson Newbie

      I am working with jboss 4.0.1 and EJB and all my ejb modules work
      but when I changed to jboss 4.0.5 I got the following error
      the plataform where I installed jboss is windows 98
      ========================================

      type Exception report

      message

      description The server encountered an internal error () that prevented it
      from fulfilling this request.

      exception

      org.apache.jasper.JasperException: Exception in JSP: /Java-Servlet/Ejb/firstEJB.jsp:23

      20: System.out.println(" gtl02");
      21:
      22: // create home object
      23: FirstHome home = (FirstHome)ctx.lookup("First");
      24: System.out.println(" gtl03");
      25:
      26: // create remote object references


      Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
      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)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.lang.ClassCastException: $Proxy75
      org.apache.jsp.Java_002dServlet.Ejb.firstEJB_jsp._jspService(firstEJB_jsp.java:67)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
      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)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

      ===============================================

      Maybe this relate with the problem the I just mention

      when I start jboss 4.0.5 I got the following error


      31 21:34:13,930 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
      2007-07-31 21:34:13,990 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
      2007-07-31 21:34:14,040 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting
      2007-07-31 21:34:15,200 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5'
      2007-07-31 21:34:15,250 ERROR [STDERR] java.lang.ClassCastException
      2007-07-31 21:34:15,250 ERROR [STDERR] at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
      2007-07-31 21:34:15,250 ERROR [STDERR] at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      2007-07-31 21:34:15,250 ERROR [STDERR] at test.session.SessionTestServlet.init(SessionTestServlet.java:29)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      2007-07-31 21:34:15,250 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      2007-07-31 21:34:15,250 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,310 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      2007-07-31 21:34:15,310 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,310 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-07-31 21:34:15,310 ERROR [STDERR] at $Proxy38.start(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,310 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-07-31 21:34:15,310 ERROR [STDERR] at $Proxy39.start(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-07-31 21:34:15,310 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      2007-07-31 21:34:15,310 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      2007-07-31 21:34:15,310 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      2007-07-31 21:34:15,360 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      2007-07-31 21:34:15,360 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)