Hi, Simon.

It seems that you replied to the wrong thread :-).

By reading the stack trace, the exception is from Java2 security. Do you have the J2 security turned on?

Thanks,
Raymond

----- Original Message ----- From: "Simon Laws" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Monday, January 07, 2008 10:05 AM
Subject: Re: A question on webservice binding


I have helloworld-bpel running now in the distribution but still two
issues with it

1/ It won't run from the jar maven makes you have to ant compile before you
run it
2/ It throws an exception on shutdown....

    [java] Status: RESPONSE
    [java] Response: <?xml version="1.0" encoding="UTF-8"?>
    [java] <message><TestPart><hello xmlns="
http://tuscany.apache.org/implement
ation/bpel/example/helloworld.wsdl">Hello World</hello></TestPart></message>
    [java] Hello World
    [java] Stopping BPELHelloWorldComponent
    [java] INFO - GeronimoLog.info(79) | BPEL Server Stopped.
    [java] Stopped !!!
    [java] java.security.AccessControlException: Access denied (
java.lang.Runti
mePermission modifyThread)
    [java]     at java.security.AccessController.checkPermission
(AccessControll
er.java:104)
    [java]     at java.util.concurrent.ThreadPoolExecutor.shutdown
(ThreadPoolEx
ecutor.java:908)
    [java]     at
org.apache.tuscany.sca.core.work.ThreadPoolWorkManager.destro
y(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.cl
ose(DefaultSCADomain.java:264)
    [java]     at helloworld.BPELClient.main(BPELClient.java:39)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

Am going to be offline for a while but if there is anyone familiar with the
helloworld-bpel sample that could shed some light on this that would be
splendid.

Regards

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to