agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Strange error on linux but not on windows
Date: Mon, 19 Sep 2011 12:19:56 +0000
Message-ID: <x6pqiwvi4z.fsf@2ndquadrant.com> (raw)
In-Reply-To: <CALtUeZYVhb3aySBt1GVZay4D-wiUUDmsACOQ+2VFB-+RQnHbQg@mail.gmail.com>
References: <CALtUeZYVhb3aySBt1GVZay4D-wiUUDmsACOQ+2VFB-+RQnHbQg@mail.gmail.com>

Hi,

Vorarlberger <vorarlberger at gmail.com> writes:

> The codebase is pretty large, so I am not sure if I am able to
> provide a code snipped. But can anyone tell me how I can look what
> got written into the "elog (ERROR)"? because I can not see anything
> in the console. This is all you can see:

Did you check the server's log?

Unfortunately, I don't have a clue why elog(ERROR) would happen on
Linux and not Windows.

You could try to debug it with dbx from Solaris Studio on Linux and
put a break point on elog.  Instructions can be found here:

http://my.opera.com/myrkraverk/blog/2010/12/11/debugging-pl-java-with-dbx

If you are able to build your own server with debug information, and
then PL/Java as well you'll have debug builds of both.


-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/





view thread (10+ messages)  latest in thread

Message-ID: <x6pqiwvi4z.fsf@2ndquadrant.com>
Permalink:  ../x6pqiwvi4z.fsf@2ndquadrant.com/
Also on:    postgresql.org/message-id/x6pqiwvi4z.fsf@2ndquadrant.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] Strange error on linux but not on windows
  In-Reply-To: <x6pqiwvi4z.fsf@2ndquadrant.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