Hi , 
We have our application which has ejb classes (version 2.0) . The .ear works 
fine when it is built with Maven 1.02 . But  the same source code when we build 
using maven 2.0.9  , We get  ClassCastException , while doing JNDI lookUp for 
ejb



  | for servlet ArcExpress threw exception
  | java.lang.ClassCastException: $Proxy80
  |     at 
com.alservices.mcdimaging.businessdelegate.SaveFileDataBD.<init>(SaveFileDataBD.java:95)
  |     at 
org.apache.jsp.pages.mcdexpress.McdExpressList_jsp._jspService(McdExpressList_jsp.java:173)
  |     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  |     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
  |     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
  |     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
  |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
  |     at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
  |     at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
  |     at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
  |     at 
com.alservices.mcdimaging.controller.MCDExpressServlet.doGet(MCDExpressServlet.java:158)
  |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
  |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  |     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  |     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
  |     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  |     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  |     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  |     at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  |     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  |     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  |     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  |     at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  |     at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  |     at java.lang.Thread.run(Thread.java:595)
  | 

Awaiting 4 some pointer.

Thanks in adavance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217393#4217393

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217393
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to