agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] pljava + http-post
Date: Mon, 22 Oct 2007 12:54:35 +0000
Message-ID: <131.175.12.86.1740283494.1193057675@webmail.katamail.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0710220325020.8416@leary.csoft.net>
References: <81.208.36.82.470311689.1192898206@webmail.katamail.com>
	<Pine.BSO.4.64.0710220325020.8416@leary.csoft.net>

> Da: Kris Jurka <books at ejurka.com>
> Data: Mon, 22 Oct 2007 03:25:50 -0400 (EDT)
> A: "mechwarrior at katamail.com" <mechwarrior at katamail.com>
> Oggetto: Re: [Pljava-dev] pljava + http-post
>
> 
> 
> On Sat, 20 Oct 2007, mechwarrior at katamail.com wrote:
> 
> > i'm quite new to both postgresql and pljava and thus i'm having some 
> > problems to make my pljava function work.
> >
> 
> I don't see anything pljava specific here.  Does this work if you run it 
> as a standalone application?
> 
> Kris Jurka
> 


My bad ... i trusted too much the many examples and tutorial about sending POST data through java apps that getting no exception meant "everything works fine", to me. As you suggested, tryed a standalone java app to do the same "post" work and got the same result.
In the end i made it, and now everything works as intended but, there are two strange behaviors i cant explain.

1) Java http-post works fine with a servlet but not with a jsp page
2) Since each time i modify my pljava function i've to compile+jar and then replace the jar in the db, i made (atleast for the second part) a function with about 10 commands (same as pljava exmaple tutorial + cleaning some debug tables). Sometimes happen that even if i execute my function the jar dont get updated and i've to restart the postgres db. That's quite annoying if you're trying to understand if you're making useless updates to your code or if it's just postgres not updating the new jar.

Anyway thx again for the support even if not so pljava related.

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it







view thread (4+ messages)  latest in thread

Message-ID: <131.175.12.86.1740283494.1193057675@webmail.katamail.com>
Permalink:  ../131.175.12.86.1740283494.1193057675@webmail.katamail.com/
Also on:    postgresql.org/message-id/131.175.12.86.1740283494.1193057675@webmail.katamail.com

reply

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] pljava + http-post
  In-Reply-To: <131.175.12.86.1740283494.1193057675@webmail.katamail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox