Mantis - Resin
Viewing Issue Advanced Details
860 minor always 01-12-06 08:43 02-02-06 10:57
ferg  
ferg  
high  
closed 3.0.17  
fixed  
none    
none 3.0.18  
0000860: EJB class cast exception
(rep by Andrew Barton)

I have tested my EJB application with resin-pro-3.0.17. I get the exact EJB error I got previously. My latest stacktrace follows. You can compare it to the previously reported one at the bottom of this message.

Let me know what else you need to debug this issue.

Regards,

Andrew
--
java.lang.RuntimeException: java.lang.ClassCastException
    at eblox.taglib.BaseOutputTag.doOutput(BaseOutputTag.java:110)
    at eblox.taglib.BaseOutputTag.doStartTag(BaseOutputTag.java:116)
    at _jsp._index__jsp._jspService(_index__jsp.java:197)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
    at com.caucho.jsp.Page.pageservice(Page.java:570)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159)
    at eblox.commons.util.LastPageFilter.doFilter(LastPageFilter.java:24)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
    at storeblox.arttransfer.VirtualSiteFilter.doFilter(VirtualSiteFilter.java:26)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
    at storeblox.arttransfer.VirtualSiteFilter.doFilter(VirtualSiteFilter.java:26)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
    at java.lang.Thread.run(Thread.java:552)
Caused by: java.lang.ClassCastException
    at _ejb.ProductBean.ProductBean__EJB$Bean.ejbSelectImageIdByType(ProductBean__EJB.java:325)
    at storeblox.product.entities.ProductBean.getImageId(ProductBean.java:157)
    at _ejb.ProductBean.ProductBean__EJB$Local.getImageId(ProductBean__EJB.java:1298)
    at storeblox.taglibs.ProductImageTag.obtainImageIdFromProduct(ProductImageTag.java:82)
    at storeblox.taglibs.ProductImageTag.getBean(ProductImageTag.java:76)
    at eblox.taglib.BaseOutputTag.doOutput(BaseOutputTag.java:104)

Notes
(0000843)
ferg   
02-02-06 10:57   
ejb/0629