Agile (MOSC)

MOSC Banner

Asynchronous PX-extension

edited Nov 26, 2012 1:06PM in Agile (MOSC) 2 commentsAnswered
We tried to create an asyncronous px-extension as it was mentioned in the "SDK Developer Guide - Developing PLM Extensions" in the chapter "Process Extensions FAQ" by spawning a new thread.
In the px-extension we have something like the following lines:

        MyThread th = new MyThread(session);
        new Thread(th).start();


When we do this in Agile 9.3.1.0 it works as expected - the px-extension is running and the thread is also running. When the px-extension is finished, the thread still runs an the seesion is valid.

But going to 9.3.1.2 the behaviour changes: the px-extension is running and the thread is also running - that is the same. But when the px-extension is finished, the thread still runs but the session isn't valid anymore and we get an error of the form:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center