Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
Java-SCA-1.0
-
None
Description
Here is the exception when executing the sample from an ant script :
[java] java.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)
[java] at java.security.AccessController.checkPermission(AccessController.java:104)
[java] at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:908)
[java] at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager.destroy(ThreadPoolWorkManager.java:216)
[java] at org.apache.tuscany.sca.core.work.Jsr237WorkScheduler.destroy(Jsr237WorkScheduler.java:97)
[java] at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.stop(ReallySmallRuntime.java:187)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.close(DefaultSCADomain.java:264)
[java] at helloworld.BPELClient.main(BPELClient.java:39)
Looks like what is causing these are hanging threads that is created when BPEL process are being deployed in the ODE BPEL Server.
For more details, see followint thread :
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg26784.html