Hi all,
I tried jBoss and wanted to make a connection
to an InterBase server.
I could load the jdbc driver for InterBase (InterClient)
smoothly by putting this in jboss.conf:
<MLET CODE = "org.jboss.jdbc.DataSourceImpl"
ARCHIVE="jboss.jar,interclient.jar" CODEBASE="../lib/ext/">
<ARG TYPE="java.lang.String"
VALUE="jdbc:interbase://localhost/C:/Programme/jonas_jdk1.2/interbase-sample/ejb.gdb">
<ARG TYPE="java.lang.String" VALUE="InterBase">
<ARG TYPE="java.lang.String" VALUE="interbase.interclient.Driver">
<ARG TYPE="java.lang.String" VALUE="SYSDBA">
<ARG TYPE="java.lang.String" VALUE="masterkey">
</MLET>
My problem is, how can I connect this to JNDI? Where should I
put this information? I guess it should be in JAWS, but where?
In Jonas this is quite simple: I just have to register
this jdbc connection in JNDI (e.g. as JDBC_Test)
and after this I can put this JDBC_Test in the
JDBC mapping for the Jonas container. And that's it!
I think, this should work similar in jboss, but I can't
find any clue, where and how...
Second question: Where can I find the source code of the
"bank.jar" at the deploy directory? And where can I get
the client application for this? And I also have no clue,
which library I should put in the classpath of my client
application.
Any helps would be appriciated,
Thank's a lot!
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
Homepage : http://members.tripod.com/~dewanto
E-Mail : [EMAIL PROTECTED]
ICQ : 39343280
---------------------------------------------------
__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Yahoo! Auktionen - gleich ausprobieren - http://auktionen.yahoo.de
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]