I'm trying to use jsh launching swing applications
developed with Oracle JDeveloper under linux red hat 7.2.
These applications start and work correctly (it seems
...) but when the user exit from the swing application
the jsh shell gives the following message:
Exception while removing reference:
java.lang.InterruptedException
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
at
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at sun.java2d.Disposer.run(Disposer.java:70)
at java.lang.Thread.run(Thread.java:536)
20971 [Process garbage collector] ERROR
org.javagroup.process.StandardJProcess -
55:Process.kill_threadgroup(ERROR).Threads:1
java.lang.IllegalThreadStateException
at
java.lang.ThreadGroup.destroy(ThreadGroup.java:718)
at
org.javagroup.process.StandardJProcess.kill_destroyThreadGroup(StandardJProcess.java:365)
at
org.javagroup.process.StandardJProcess.tryGarbageCollect(StandardJProcess.java:410)
at
org.javagroup.process.StandardProcessManager.doGarbageCollect(StandardProcessManager.java:450)
at
org.javagroup.process.ProcessGarbageCollector.run(ProcessGarbageCollector.java:84)
at java.lang.Thread.run(Thread.java:536)
With the ps command i see the applicatiom dead:
ps
57: shell.ProcessStatus (running)
55:
it.dataconsult.m2000.m2000ui.ordinecli.OrdiniClientiApplication
(dead)
What is the reason of these errors?
Thanks in advance
Logged In: YES
user_id=7566
Application is dead when you killed it but Jsh could not kill all threads.
This is the case with the Java2D disposer thread.
Jsh dev. is on hold for now, as noboy has time to continue it.
You can try to use http://www.jdistro.com instead
Grard