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-
Methode:
javax.ejb.CreateException: Create
failed:java.lang.reflect.InvocationTargetException
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown
Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:80)
at $Proxy0.create(Unknown Source)
at
de.btbnet.workshop.ejb.artikel.ArtikelClient.main(ArtikelClient.java:34)
The create-Methode returns with a Null-Object on the client, although one
row is inserted in the database. No exception occurs on the server.
The same behavior occured in a configuration with MS-SQL-Server as
database.
In weblogic 4.5, the Code worked perfectly.
Does anybody know, what i'm doing wrong?
Tilmann Ludwig
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]