Re: [INTERFACES] data trnsfer through Web. - Mailing list pgsql-jdbc

From Peter T Mount
Subject Re: [INTERFACES] data trnsfer through Web.
Date
Msg-id 982318032.3a8cfbd03ecc2@webmail.retep.org.uk
Whole thread Raw
List pgsql-jdbc
Quoting Manika dey <bithi@plasma.ernet.in>:

redirecting to jdbc list:

>
> Hi,
>
>   I want to transfer data files to database(postgresql)
>   through Web,I am using java servlets for server-side
>   programming .
>   When i transfer the data files  from users
>   directory on  database server machine i could do
>   it successfully, the data is stored successfully in
>   database with absolutely no problem.
>
>   But when i transfer the datafile from users directory
>   of different machine(have different IP address connected
>   on same network) It gives error :: "file/users/file.dat" not
>   found also gives postgresql Fastpath error

Can you give me some code examples as I'm not sure what's going on but it
sounds like it's confused on where the file is coming from.

Also what is the error that Fastpath is returning?

Peter

>   i would be helpful if somebody can help me solve this.
>
>   JAVA -- JDK1.1.4
>   SERVLET --JSDK2.0
>   DBMS---POSTGRSQL6.3
>   PLATFORM----SOLARIS2.5
>   It is not possible to upgrade any of this resources.

Hmmm, may cause problems. You may need to copy over the 7.1 implementations of
the org.postgresql.fastpath and org.postgresql.largeobject packages (removing
the org. from every file ;-) ) and recompile jdbc. Can't guarantee that to
work, but it may do.


Peter

--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

pgsql-jdbc by date:

Previous
From: Brice Ruth
Date:
Subject: Re: [GENERAL] Re: (Update) Implicit smallint to boolean conversion?
Next
From: Corey Mosher
Date:
Subject: Trouble With JDBC