From: p.peisker at web.de (Patrick Peisker) Date: Wed, 22 Feb 2006 08:01:37 +0100 Subject: [Pljava-dev] Multithreading Message-ID: <802147018@web.de> 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