Re: [INTERFACES] data trnsfer through Web.

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Manika dey <bithi(at)plasma(dot)ernet(dot)in>
Cc: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [INTERFACES] data trnsfer through Web.
Date: 2001-02-16 10:07:12
Message-ID: 982318032.3a8cfbd03ecc2@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc

Quoting Manika dey <bithi(at)plasma(dot)ernet(dot)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(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Timothy J Hitchens 2001-02-16 22:56:10 Timestamp Update with PHP
Previous Message Manika dey 2001-02-15 17:21:42 data trnsfer through Web.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Corey Mosher 2001-02-16 14:46:11 Trouble With JDBC
Previous Message Manika dey 2001-02-15 17:21:42 data trnsfer through Web.