From: | p(dot)peisker at web(dot)de (Patrick Peisker) |
---|---|
To: | |
Subject: | [Pljava-dev] Multithreading |
Date: | 2006-02-22 07:01:37 |
Message-ID: | 802147018@web.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Hi,
I have problems using pl/java and multithreading. My scenario:
- A pl/java trigger is called before an update is exceuted on a table. This trigger writes something into a queue (singelton pattern)
- A pl/java funtion creates a new thread (class which extends java.lang.thread)
- The new thread is asking the queue for entries and if there are some entries, the thread should call a webservice using axis
No Problems with:
- Creating new thread
- Write and read data from the queue
- Calling a webservice with axis from a pl/java function or trigger
Problems:
- Call a webservice from the thread: On creating an axis service object the jvm hangs up and the database automatically shut downs and restart!
Any ideas?
thx,
Patrick
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2006-02-22 07:49:47 | [Pljava-dev] Multithreading |
Previous Message | Tim Clarke | 2006-02-21 15:57:09 | [Pljava-dev] Java calling other jars |