Hello John,

        I started with -Djava.security.manager
-Djava.security.policy=etc/engine/engine-policy.conf,  but it show the error
like this.

        
Failed to launch application.

java.security.AccessControlException: access denied
(java.util.PropertyPermission user.dir read)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:269)
        at
java.security.AccessController.checkPermission(AccessController.java:401)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
        at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
        at java.lang.System.getProperty(System.java:573)
        at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:272)
        at java.io.Win32FileSystem.resolve(Win32FileSystem.java:288)
        at java.io.File.getCanonicalPath(File.java:513)
        at openwfe.org.Utils.expandFileName(Utils.java:317)
        at openwfe.org.Utils.expandUrl(Utils.java:238)
        at openwfe.org.Utils.expandUrl(Utils.java:250)
        at openwfe.org.Utils.expandUrl(Utils.java:220)
        at
openwfe.org.app.XmlApplicationContextBuilder.build(XmlApplicationContextBuil
der.java:118)
        at
openwfe.org.app.XmlApplicationContextBuilder.build(XmlApplicationContextBuil
der.java:96)
        at openwfe.org.Application.main(Application.java:139)
        

Thanks.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Mettraux
Sent: Monday, October 24, 2005 6:33 PM
To: [email protected]
Subject: Re: [OpenWFE-users] AccessControlException

On Mon, Oct 24, 2005 at 05:53:00PM +0530, Lalit wrote:
>  
> 
> Hello friends,
> 
>  
> 
>             There is a one problem and hope a solution from your side.
When
> I try to launch any flow when I started my application through command
line
> parameter with this configuration
> 
>  
> 
>             Java -Dapp=engine -Dopenwfe.xml.encoding=ISO-8859-1
> -Dlog4j.configuration=etc/engine/logging.xml
>
-Djava.security.manager-Djava.security.policy=etc/engine/engine-policy.conf
> -Djava.security.auth.login.config=etc/engine/engine-login.conf
> openwfe.org.Application etc\engine\engine-configuration.xml

Hi Lalit,

>
-Djava.security.manager-Djava.security.policy=etc/engine/engine-policy.conf

should be 

> -Djava.security.manager
-Djava.security.policy=etc/engine/engine-policy.conf


Best regards,

-- 
john.mettraux @ openwfe.org  -///-  http://www.openwfe.org


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to