0 Replies Latest reply on Jan 6, 2010 2:20 AM by bhanu vakamalla

    Deploying EAR is throwing Class Cast Exception

    bhanu vakamalla Newbie

      While deploying EAR,java.lang.ClassCastException is throwed.

      Error is :

      12:12:55,359 ERROR [STDERR] java.lang.ClassCastException
      12:12:55,359 ERROR [STDERR]  at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
      12:12:55,359 ERROR [STDERR]  at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      12:12:55,359 ERROR [STDERR]  at com.ual.grid.GridServlet.doPost(GridServlet.java:202)
      12:12:55,359 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      12:12:55,359 ERROR [STDERR]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      12:12:55,359 ERROR [STDERR]  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      12:12:55,359 ERROR [STDERR]  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      12:12:55,359 ERROR [STDERR]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      12:12:55,359 ERROR [STDERR]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      12:12:55,359 ERROR [STDERR]  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      12:12:55,359 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:619)
      12:12:55,359 ERROR [STDERR] Caused by: java.lang.ClassCastException: $Proxy246 cannot be cast to org.omg.CORBA.Object
      12:12:55,359 ERROR [STDERR]  at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:212)
      12:12:55,375 ERROR [STDERR]  ... 24 more
      12:12:55,375 INFO  [STDOUT] after 6java.lang.ClassCastException
      12:12:55,375 INFO  [STDOUT] getRequestDispatcher(/+jspName)/jsp/errorPage.jsp

       

      How to rectify this??Please suggest..