Hi,

I think JAWS uses another scheme for obtaining connection (right, danch?):

Class.forName("interbase.interclient.Driver"); // force the JDBC driver to
be loaded

Connection con =
DriverManager.getConnection("jdbc:interbase://localhost/c:/prj/cerpsejb/data
/cerps.gdb", "sysdba", "masterkey"); 

Can you check this scheme? and maybe you can send your complete jboss log
file to the list or privately ([EMAIL PROTECTED])?

Regards,
Roman

> -----Original Message-----
> From: Radomir Kubala [mailto:[EMAIL PROTECTED]]
> Sent: Mittwoch, 13. Juni 2001 09:32
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] HELP - jboss and interbase
> 
> 
> Hi,
> 
> my connection parameters are ok. I use the same interclient. 
> I seted debug 
> to true in standardjaws.xml. I got the same error message.
> 
> When I changed mmakeConnection() :
> 
>     DataSource ds = new interbase.interclient.DataSource();
> 
>     ((interbase.interclient.DataSource) ds).setServerName 
> ("localhost");
>     ((interbase.interclient.DataSource) ds).setDatabaseName 
> ("c:/prj/ceprsejb/data/ceprs.gdb");
>     ((interbase.interclient.DataSource) ds).setDataSourceName 
> ("Ceprs");
>     ((interbase.interclient.DataSource) ds).setPortNumber (3060);
>     ((interbase.interclient.DataSource) ds).setNetworkProtocol 
> ("jdbc:interbase:");
>     ((interbase.interclient.DataSource) ds).setRoleName (null);
> 
>     con =  ds.getConnection("SYSDBA", "masterkey");
> 
> it ran ok.
> 
> Rado
> 
> (I'm sorry for my language, I don't speak very well)
> 
> 
> >Well... check your connection parameters, try to connect to 
> your >database
> >using something JDBC specific (for example, simple java 
> class or you can
> >download a trial of JDataStore with developer license, and 
> they do have 
> > >more
> >or less nice tool - JDBC Explorer), be sure that you use the same
> >interclient.jar as your jboss uses and the same connection 
> parameters.
> 
> >Also check if the JAWS debug is turned on (<debug>true<debug> in
> >standardjaws.xml).
> 
> ______________________________________________________________
> ___________
> Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to