From: Peter T Mount <peter@retep.org.uk>
To: Manika dey <bithi@plasma.ernet.in>
Cc: Peter Mount <petermount@maidstone.gov.uk>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [INTERFACES] data trnsfer through Web.
Date: Fri, 16 Feb 2001 05:07:12 -0500 (EST)
Message-ID: <982318032.3a8cfbd03ecc2@webmail.retep.org.uk> (raw)
In-Reply-To: <Pine.GSO.4.10.10102151210320.2865-100000@sun1.plasma.ernet.in>
References: <Pine.GSO.4.10.10102151210320.2865-100000@sun1.plasma.ernet.in>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: peter@retep.org.uk, bithi@plasma.ernet.in, petermount@maidstone.gov.uk, pgsql-jdbc@postgresql.org
Subject: Re: [INTERFACES] data trnsfer through Web.
In-Reply-To: <982318032.3a8cfbd03ecc2@webmail.retep.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox