geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hogstrom <m...@hogstrom.org>
Subject Re: EJBHome.create() throws ClassCastException
Date Fri, 19 May 2006 06:17:15 GMT
I think when I've seen this folks have packaged the ejb-jar in the ear and in the web app.
 Look in 
your WEB-INF/lib and see if it is there as well.  If so remove it and things should be a bit
better.

Cheers.

Varanasi, Ishwara wrote:
> Hi,
> 
>             I have deployed an ear and while accessing pages, the
> EJBHome.create() call throws ClassCastException. Here is the stack
> trace...
> 
>             Any idea why this is happening?
> 
>  
> 
> java.lang.ClassCastException
> 
>         at
> org.openejb.proxy.SessionEJBHome$$EnhancerByCGLIB$$fa97d7f0.create(<gene
> rated>)
> 
>         at
> com.fmrco.ios.gppas.gems.businessdelegates.RequestBD.<init>(RequestBD.ja
> va:76)
> 
>         at
> com.fmrco.ios.gppas.gems.filter.AuthenticationFilter.authenticateAndAuth
> orize(Authenticat
> 
> ionFilter.java:360)
> 
>         at
> com.fmrco.ios.gppas.gems.filter.AuthenticationFilter.doFilter(Authentica
> tionFilter.java:2
> 
> 18)
> 
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.j
> 
> ava:202)
> 
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
> 
>  
> 
>         at com.fmrco.imt.common.filter.NtlmFilter.doFilter(Unknown
> Source)
> 
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.j
> 
> ava:202)
> 
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
> 
>  
> 
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
> 
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
> 
>         at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
> oke(GeronimoStand
> 
> ardContext.java:272)
> 
>         at
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Transact
> ionContextValve.j
> 
> ava:53)
> 
>         at
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentC
> ontextValve.java:
> 
> 47)
> 
>         at
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceCon
> textValve.java:60
> 
> )
> 
>         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.valves.AccessLogValve.invoke(AccessLogValve.java:526
> )
> 
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
> 
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 6)
> 
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11P
> 
> rotocol.java:744)
> 
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
> 
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.ja
> 
> va:80)
> 
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
> 
>         at java.lang.Thread.run(Thread.java:534)
> 
>  
> 
> Thanks, 
> Ishwar 
> 
>  
> 
> 

Mime
View raw message