Re: [INTERFACES] JServ + PostgreSQL 6.3 - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] JServ + PostgreSQL 6.3
Date
Msg-id Pine.LNX.4.04.9901061827530.2398-100000@maidast.retep.org.uk
Whole thread Raw
In response to JServ + PostgreSQL 6.3  (Prem Kurian Philip <prem@gseindia.com>)
List pgsql-interfaces
On Wed, 6 Jan 1999, Prem Kurian Philip wrote:

> Hello All,
> I have JDK 1.1.6 and JServ 0.9.11 on Apache 1.3.3. I am able to get the
> servlets to work but I am not able to get the servlets which access
> the postgresql 6.3 JDBC to work correctly.
>
> I get the following message in the JServ error file.
>
> Exception creating server socket: java.net.BindException: Address already
> in use
> /usr/local/java/bin/../bin/checkVersions: /tmp/ldd.out.363: Permission denied
> /usr/local/java/bin/../bin/checkVersions: /tmp/ldd.out.363: No such file or
> directory

I've got 1.1.6 installed on my linux box, and it doesn't have a
checkVersions file.

What platform are you running the JDK on?

Any how, /tmp/ldd.out.363 looks to me like a temporary file being
generated by a script using the ldd tool to test compiled binaries,
possibly by the JDK to make sure everything is ok before starting.

> For your information, all users have been given complete read/write access
> to the /tmp directory.

The first line would have indicated a permissions problem, but as you say,
you have given everyone full access to /tmp

> By the way, the servlet runs perfectly well when executed seperately and not
> as a servlet albeit with the following error messages.
>
> /usr/local/java/bin/../bin/checkVersions: /tmp/ldd.out.363: Permission denied
> /usr/local/java/bin/../bin/checkVersions: /tmp/ldd.out.363: No such file or
> directory

What happens if you run some other java code? If you wrote a simple "Hello
World" style program in Java, do you get the same thing?

> I have given below the parts from the httpd.conf file

I don't think it's here. I think it's something to do with either your JDK
or JServ installation.

> Any ideas ? Any help will be greatly appreciated. Do I need to make
> any specific changes in the servlet.properties file ?

Let me know. Other people have told me that the JDBC driver works fine
with servlets, and I haven't seen this problem before with the JDK on any
of the platforms I've used Java on.

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] ANOTHER update of ODBC DRIVER v06-40-0002
Next
From: Byron Nikolaidis
Date:
Subject: NEW ODBC DRIVER v06-40-0003