Anonymous | Login | Signup for a new account | 12-17-2024 08:45 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001303 | [Resin] | minor | always | 08-21-06 11:16 | 11-20-06 11:11 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.21 | ||||||
Summary | 0001303: EJB Date issue with connections | ||||||||
Description |
t looks like 3.0.21 does fix the Unsupported major.minor version error reported below. So, things are progressing. I have a new problem now related to EJB and perhaps type conversion. This is code that has worked all the way back to resin 2. The stack trace follows: [14:51:07.262] Closing dangling connections. All connections must have a close() in a finally block. [14:51:07.288] java.lang.IllegalStateException: Connection UserConnection[com.caucho.sql.ManagedConnectionImpl@d9531f] was not closed. Connections must have a close() in a finally block. [14:51:07.288] at com.caucho.jca.UserTransactionImpl.abortTransaction(UserTransactionImpl.java:497) [14:51:07.288] at com.caucho.jca.UserTransactionProxy.abortTransaction(UserTransactionProxy.java:183) [14:51:07.288] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:193) [14:51:07.288] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [14:51:07.288] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) [14:51:07.288] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) [14:51:07.288] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516) [14:51:07.288] at com.caucho.util.ThreadPool.run(ThreadPool.java:442) [14:51:07.288] at java.lang.Thread.run(Thread.java:552) [14:51:07.299] javax.servlet.ServletException: java.lang.ClassCastException [14:51:07.299] at foo.commons.image.BaseCachedImageServlet.service(BaseCachedImageServlet.java:97) [14:51:07.299] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) [14:51:07.299] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) [14:51:07.299] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) [14:51:07.299] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [14:51:07.299] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) [14:51:07.299] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) [14:51:07.299] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516) [14:51:07.299] at com.caucho.util.ThreadPool.run(ThreadPool.java:442) [14:51:07.299] at java.lang.Thread.run(Thread.java:552) [14:51:07.299] Caused by: java.lang.ClassCastException [14:51:07.299] at _ejb.CachedImageBean.CachedImageBean__EJB$Bean.ejbSelectModifiedDate(CachedImageBean__EJB.java:309) [14:51:07.299] at foo.commons.image.CachedImageBean.ejbHomeGetModifiedDate(CachedImageBean.java:14) [14:51:07.299] at _ejb.CachedImageBean.CachedImageBean__EJB$LocalHome.getModifiedDate(CachedImageBean__EJB.java:487) [14:51:07.299] at foo.commons.image.CachedImageServlet.getModifiedDate(CachedImageServlet.java:24) [14:51:07.299] at foo.commons.image.BaseCachedImageServlet.service(BaseCachedImageServlet.java:60) [14:51:07.299] ... 9 more This seems to be related to a Date field on one of my EJBs. I have attached the relevant source for reference (see Mail on Aug 15) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |