Hi Lalit,
On Wed, Oct 26, 2005 at 06:22:03PM +0530, Lalit wrote:
> Hello John,
>
> I had given the right to the file, but it then show the warning
> please initializes the log4j system properly and after that connection
> refused error. After that I had given all right in java.policy by this code.
>
> grant {
> permission java.security.AllPermission;
>
> };
Lalit, if you go on embedding OpenWFE in this way, you have to go and
educate yourself about the Java security model.
> Then application runs properly but the restriction given in the application
> on stores remains not applicable.
>
> >From all this can I assume that application is not setting the system
> property correctly which I set with -D in the command line parameter because
> I am not giving correct format or correct values in the command line
> parameter
>
> " 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
>
>
>
> Java -Dapp=wfdserver -Dopenwfe.xml.encoding=ISO-8859-1
> -Dlog4j.configuration=etc/wfdserver/logging.xml -Djava.security.manager
> -Djava.security.policy= -Djava.security.auth.login.config=
> openwfe.org.Application etc\wfdserver\wfdserver-configuration.xml
>
>
>
> Java -Dapp=worklist -Dopenwfe.xml.encoding=ISO-8859-1
> -Dlog4j.configuration=etc/worklist/logging.xml -Djava.security.manager
> -Djava.security.policy=etc/worklist/worklist-policy.conf
> -Djava.security.auth.login.config=etc/worklist/worklist-login.conf
> openwfe.org.Application etc\worklist\worklist-configuration.xml
>
>
>
> Java -Dapp=apre -Dopenwfe.xml.encoding=ISO-8859-1
> -Dlog4j.configuration=etc/apre/logging.xml -Djava.security.manager
> -Djava.security.policy= -Djava.security.auth.login.config=
> openwfe.org.Application etc\apre\apre-configuration.xml"
>
> Or
>
>
> We have to set any permission in java.policy so that we can programmatically
> set system property with -D in command line.
I have to say that the way you build english sentences is a bit cryptic for
me : in the end, I don't understand what implies what.
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