"Skladov, Victor" wrote:
> 
> Thanks Berin!
> 
> But why does it run with Java-Application?
> If there had been something wrong with the username,password, port etc,
> it would not have run with Java too or am I wrong? Do I have to install
> the Oracle-Client on the Server?

The Java Application is a test to make sure your connection properties are
correct.  Depending on the driver type (like the non-thin driver), you may
have to make more entries to map database names with the server.  For instance,
in my installation, even though the default name for the Oracle database is
ORADB, on the server it's name was BORG.  That required a change in the
connection string.

> 
> Regards,
> Viktor
> 
> -----Ursprungliche Nachricht-----
> Von: Berin Loritsch [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 22. Oktober 2001 18:23
> An: [EMAIL PROTECTED]
> Betreff: Re: Help! Cocoon 2: Problem with connection to remote Oracle DB
> 
> "Skladov, Victor" wrote:
> >
> > I tried the connection also with Java-Application on the same server
> and
> > it runs!
> > I don't know what else I must do. Has anyone already experienced this
> or
> > has any idea or suggestions?
> > I would be very grateful for your help!
> 
> When I originally wrote the connection pooling code, I tested against a
> remote JDBC connection.  There is probably something wrong in the setup.
> Please verify all your settings, and test a simple connection to the
> server until you find what is wrong.  Everything looks ok in your config
> files, and the fact that it runs when the server is on the same machine
> points to a larger error.
> 
> Ensure that the username/password exists on the remote server, that the
> DSN entry for the machine is correct (i.e. host.company.com), that the
> connection port is correct, etc.
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to