The entry in jboss.conf is

<MLET CODE = "org.jboss.jdbc.DataSourceImpl" ARCHIVE="jboss.jar" CODEBASE
="../lib/ext/">
   <ARG TYPE="java.lang.String" VALUE="jdbc:mysql://os_server:3306/ejb">
   <ARG TYPE="java.lang.String" VALUE="OracleDataSource">
   <ARG TYPE="java.lang.String" VALUE="org.gjt.mm.mysql.Driver">
   <ARG TYPE="java.lang.String" VALUE="root">
   <ARG TYPE="java.lang.String" VALUE="">
</MLET>
 and in jboss.properties: jdbc.drivers=org.gjt.mm.mysql.Driver


Tilmann Ludwig



                                                                                       
                                       
                    "Kaiser, Frank"                                                    
                                       
                    <[EMAIL PROTECTED]>                 An:     "'jBoss'" 
<[EMAIL PROTECTED]>                      
                    Gesendet von:                   Kopie:                             
                                       
                    <[EMAIL PROTECTED]        Thema:  AW: [jBoss-User] 
InvocationTargetException using MySQL            
                    -dogs.com>                                                         
                                       
                                                                                       
                                       
                                                                                       
                                       
                    22.05.00 15:17                                                     
                                       
                    Bitte antworten an                                                 
                                       
                    "jBoss"                                                            
                                       
                                                                                       
                                       
                                                                                       
                                       




Hi Tilmann,

can you please publish your mysql-entries in the conf-files?

Thanks: Frank Kaiser,
Magna Software & Consulting GmbH

> -----Urspr�ngliche Nachricht-----
> Von:    [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Montag, 22. Mai 2000 15:18
> An:     jBoss
> Betreff:     [jBoss-User] InvocationTargetException using MySQL
>
> 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(StreamRemot
> eCall.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(Unk
> nown
>
> 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]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]






--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to