On Tue, May 08, 2001 at 10:33:19AM +0200, Ralf Metzger wrote:
> Hi there,
> I', trying now for hours and days to get this done. Perhaps somebody
> could help me out of my trouble. I am using JBoss 2.2.0 FINAL and a
> Oracle 8.1.7 DataSource. When I try to lookup the DataSource within my
> Bean (BMP Entity Bean) I get the following Exception:
>
> [Account] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
> javax.ejb.EJBException
> [Account] java.lang.ClassCastException: java.lang.OutOfMemoryError
The reason you get a ClassCastException is that the code here is not
expecting an Error. A simple change in BMPPersistenceManager should
reveal where the OOM is coming from. If you make the change, please post
a patch to the SourceForge site.
Toby.
> [Account] at
>
>org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:488)
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user