Maybe you need a contact for the Sybase JDBC driver.
It seems the problem is with the driver only recognizing ip addresses and
not recognizing names.

Have you tried using the driver from a standard Java application (not ND)?
I always found our Sybase tech support very good, but maybe that is because
my boss set up a good relationship with them.

I once saw a Sybase support news group for the application server.
If they have one for their database/JDBC driver, maybe they can help.

Brendan Johnston
TeamND


        -----Original Message-----
        From:   Feeley, Roger [SMTP:[EMAIL PROTECTED]]
        Sent:   Wednesday, April 28, 1999 11:49 AM
        To:     Johnston, Brendan  ;
[EMAIL PROTECTED]
        Subject:        [ND] ND5/JDBC I need to abstract the JDBC URLs

        This is what I have tried.  I added the Sybase server name to my
hosts file
        and successfully pinged it by name.  According to the JConnect docs,
any
        device name on the network is usable in the hostname field in the
url.  But
        it didn't work that way.

                        -----Original Message-----
                        From:   Johnston, Brendan   [mailto:[EMAIL PROTECTED]]
                        Sent:   Wednesday, April 28, 1999 1:29 PM
                        To:     'Feeley, Roger';
        [EMAIL PROTECTED]
                        Subject:        RE: [ND] ND5/JDBC I need to abstract
the
        JDBC URLs

                        Does using standard tcp/ip DNS names work with the
Sybase
        JDBC drivers you
                        are using?

                        Maybe you can find an acceptable Sybase JDBC driver
which
        sits on top of
                        ct-lib if you prefer to use the names in sql.ini.

                        I guess one method of last resort would be to write
a perl
        script which uses
                        the name of the datasource as a key and looks up the
ip
        address using
                        sql.ini and then changes the ND file which defines
the
        datasource which is
                        presumably still text in version 5. 

                        Brendan Johnston
                        TeamND


                                -----Original Message-----
                                From:   Feeley, Roger
[SMTP:[EMAIL PROTECTED]]
                                Sent:   Wednesday, April 28, 1999 11:01 AM
                                To:     'Klinton Lee';
        
[EMAIL PROTECTED]
                                Subject:        Re: [ND] ND5/JDBC I need to
abstract
        the JDBC URLs

                                Thanks for the reply,

                                I would like to enter a server name instead
of an IP
        address.  We
                        move
                                servers around sometimes and I would hate to
have to
        go through all
                        of my
                                projects and enter new IP addresses.

                                Roger

                                                -----Original Message-----
                                                From:   Klinton Lee
        [mailto:[EMAIL PROTECTED]]
                                                Sent:   Wednesday, April 28,
1999
        12:37 PM
                                                To:     Feeley, Roger;
                
        [EMAIL PROTECTED]
                                                Subject:        Re: [ND]
ND5/JDBC I
        need to abstract
                        the
                                JDBC URLs

                                                Hi Roger,

                                                What is the definition of:
"handle
        the ip addresses
                        and
                                ports"?

                                                To do what?

                                                Thx...
                                                KL

                                                > -----Original Message-----
                                                > From: Feeley, Roger
        [mailto:[EMAIL PROTECTED]]
                                                > Sent: Wednesday, April 28,
1999
        7:47 AM
                                                > To:
                
        [EMAIL PROTECTED]
                                                > Subject: [ND] ND5/JDBC I
need to
        abstract the JDBC
                        URLs
                                                > 
                                                > 
                                                > Hello all,
                                                > 
                                                > I just loaded up ND5 and
got JDBC
        going.  The only
                        problem
                                I see 
                                                > is with the
                                                > data sources.  I have 13
Sybase
        servers that I
                        deal with
                                on a daily basis
                                                > and that could potentially
go to
        140.  There is no
                        way I
                                am going to
                                                > remember all of those IP
addresses
        ( I have a hard
                        enough
                                time with the
                                                > server names).
                                                > 
                                                > Can somebody give me a
clue as to
        how to set up
                        some sort
                                of service that
                                                > will handle the ip
addresses and
        ports for me?
                                                > 
                                                > Roger Feeley
                                                > Bridge Information
                                                > 
                                                >
                                
                
        
_________________________________________________________________________
                                                > 
                                                > For help in using,
subscribing,
        and unsubscribing
                        to the
                                discussion
                                                > forums, please go to:
        
http://www.netdynamics.com/support/visitdevfor.html
                                                > 
                                                > For dire need help, email:
                        [EMAIL PROTECTED]
                                                > 
                                        
                                
                
        
_________________________________________________________________________

                                                For help in using,
subscribing, and
        unsubscribing to
                        the
                                discussion
                                                forums, please go to:
        
http://www.netdynamics.com/support/visitdevfor.html

                                                For dire need help, email:
        [EMAIL PROTECTED]
                                
                
        
_________________________________________________________________________

                                For help in using, subscribing, and
unsubscribing to
        the discussion
                                forums, please go to:
                        http://www.netdynamics.com/support/visitdevfor.html

                                For dire need help, email:
[EMAIL PROTECTED]
        
_________________________________________________________________________

        For help in using, subscribing, and unsubscribing to the discussion
        forums, please go to:
http://www.netdynamics.com/support/visitdevfor.html

        For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to