[
http://issues.apache.org/jira/browse/TUSCANY-333?page=comments#action_12378539
]
Rick Rineholt commented on TUSCANY-333:
---------------------------------------
May 8, 2006 5:44:45 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet LoginServlet threw exception
org.osoa.sca.ServiceUnavailableException: java.lang.ClassCastException:
com.bigbank.account.CustomerProfileData
at
bigbank.webclient.services.account.AccountServiceComponentImpl.getCustomerProfile(AccountServiceComponentImpl.java:78)
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.tuscany.container.java.invocation.AbstractJavaComponentInvoker.invokeTarget(AbstractJavaComponentInvoker.java:58)
at
org.apache.tuscany.container.java.invocation.AbstractJavaComponentInvoker.invoke(AbstractJavaComponentInvoker.java:67)
at
org.apache.tuscany.core.wire.impl.InvokerInterceptor.invoke(InvokerInterceptor.java:39)
at
org.apache.tuscany.core.wire.jdk.JDKInvocationHandler.invoke(JDKInvocationHandler.java:112)
at $Proxy18.getCustomerProfile(Unknown Source)
at
bigbank.webclient.services.profile.AccountLoginServiceImpl.login(AccountLoginServiceImpl.java:36)
at bigbank.webclient.ui.LoginServlet.login(LoginServlet.java:90)
at bigbank.webclient.ui.LoginServlet.doPost(LoginServlet.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
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.apache.tuscany.tomcat.TuscanyValve.invoke(TuscanyValve.java:87)
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:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.bigbank.account.CustomerProfileData
at $Proxy18.getCustomerProfile(Unknown Source)
at
bigbank.webclient.services.account.AccountServiceComponentImpl.getCustomerProfile(AccountServiceComponentImpl.java:76)
... 29 more
May 8, 2006 5:46:53 PM org.apache.catalina.core.StandardWrapperValve invoke
> BigBank intermittently gets ClassCastException
> -----------------------------------------------
>
> Key: TUSCANY-333
> URL: http://issues.apache.org/jira/browse/TUSCANY-333
> Project: Tuscany
> Type: Bug
> Components: Java BigBank Scenario
> Reporter: Rick Rineholt
>
> I have noticed this behavior but it's really hard to repro. I have debugged
> it once and it occured in the sun proxyy code I think right after
> JDKInvocationHandler.invoke call. The only regular pattern I've been able to
> see if there is a previous un releated exception like an invalid user name is
> entered that generates an expected exception it seems sometimes after this,
> this exception continues to get thrown for any activity. Once this happens it
> seems the only cure is to recycle TC server.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira