Hello George,

The x_server must run to make a JDBC connection possible, as JDBC does connect using 
TCP/IP,
while other tools and interfaces may connect via shared memory, if the connection is 
local,
and not to another host.

So, please send what error occurs when you start the x_server (and possibly the 
contents
of the 'xserver.prt' log file). 

REgards

Alexander Schr�der
SAP DB, SAP Labs Berlin 

> -----Original Message-----
> From: George Pagomenos [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 11, 2004 11:44 AM
> To: [EMAIL PROTECTED]
> Cc: Dittmar, Daniel
> Subject: Re: JDBC problem (no suitable driver exception)
> 
> 
> Hi Daniel, All
> 
> Thanks a lot for yours quick response.
> I follow the instructions form the tutorial but I get the following 
> exception::
> 
> Exception in Establishing the connection to the dataBase 
> com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAPDBTech
> JDBC: Cannot connect to jdbc:sapdb://corfu/ [Cannot connect to host 
> corfu [Connection refused: connect], -813.].
> 
> Where corfu is the  serverName. Also I tried instead of 
> "corfu" to put 
> an empty string because It is running on local host but the problem 
> insists...
> 
> PS: When I start the MAXDB I get an error form the Xserver 
> (it can not 
> start). Do you think that this has something to do with my problem?
> If yes then how the SQL Studio can connect to the DB ?
> 
> Thanks in advance
> George
> 
> Daniel Dittmar wrote:
> 
> > George Pagomenos wrote:
> >
> >> String driverName="com.sap.dbtech.jdbc.DriverSapDB";
> >> Connection databaseConnection = null;
> >> String url = "jdbc:odbc:";
> >
> >
> > Use "jdbc:sapdb:" instead. See 
> > 
http://www.mysql.com/documentation/maxdb/fe/68e343cc68414da4426258d3e896ae/frameset.htm
 
> for a complete example.
>
> The jdbc:odbc: prefix would be required if you were using the 
> JDBC-ODBC bridge 
> (http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html).
>
> You also don't have to install the MaxDB ODBC driver (odbc75.exe), 
> sapdbc.jar is all that is required to connect using JDBC.
>
> Daniel Dittmar
>

-- 
 
        George Pagomenos
Ellemedia Technologies
223 Syggrou Ave,
171 21 Athens, Greece

Tel.: +302109373095
email: [EMAIL PROTECTED]





--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to