Hi we fixed a similar jBoss 1.0 bug 2 weeks ago, something to do with the
definitions of the classes, although from what I have seen of teh
classloader structure this should not happen.
Please put a bug in bugzilla, I will try to take a look at it, sounds like a
CL mess.
marc
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, May 23, 2000 7:48 AM
> To: jBoss
> Subject: Re: Re: [jBoss-User] InvocationTargetException using MySQL
>
>
>
> I've solved this problem by swichting from BMP to CMP using JAWS
> to map the
> fields. Now I'm able to create entries in the
> mySQL db and to query them, but when i try to set some values, then the
> following exception occurs on the server:
>
> [Default] java.rmi.ServerException: Store failed; nested exception is:
> java.lang.ClassCastException:
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager$PersistenceContext
> [Default] java.lang.ClassCastException:
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager$PersistenceContext
> [Default] at
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.storeEntity(JAWS
> PersistenceManager.java:732)
> [Default] at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(Enti
> tySynchronizationInterceptor.java:250)
> [Default] at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityIntercept
> or.java:82)
> [Default] at
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInsta
> nceInterceptor.java:88)
> [Default] at
> org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:151)
> [Default] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMP
> ContainerInvoker.java:129)
> [Default] at java.lang.reflect.Method.invoke(Native Method)
> [Default] at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> [Default] at sun.rmi.transport.Transport$1.run(Transport.java:142)
> [Default] at java.security.AccessController.doPrivileged(Native
> Method)
> [Default] at
> sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> [Default] at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> [Default] at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransp
> ort.java:643)
> [Default] at java.lang.Thread.run(Thread.java:484)
>
> I've build the version of jboss 2.0 on my own with the latest sources from
> cvs.
>
> Does anybody know whats i'm doing wrong?
>
> Tilmann Ludwig
>
>
>
>
>
>
> Rickard �berg
>
> <[EMAIL PROTECTED]> An: jBoss
> <[EMAIL PROTECTED]>
> Gesendet von: Kopie:
>
> <[EMAIL PROTECTED] Thema: Re:
> [jBoss-User] InvocationTargetException using MySQL
> -dogs.com>
>
>
>
>
>
> 22.05.00 15:19
>
> Bitte antworten an
>
> "jBoss"
>
>
>
>
>
>
>
>
>
> Hi!
>
> [EMAIL PROTECTED] wrote:
> >
> > Im trying to use MySQL in jboss 2.0 with jdk 1.3. on Windows NT 4.0,
> using
> > the mysql-Driver from mysql_uncomp.jar, Version 1.2b.
> >
> > The jboss-server is creating the datasource using mysql without
> problems.
> >
> > But when I try to create an entity bean with BMP, the following
> exception
> > occurs on the client in the create-
>
> BMP is not yet implemented.
>
> /Rickard
>
> --
> Rickard �berg
>
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]