Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 42621 invoked from network); 28 May 2008 09:26:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 09:26:06 -0000 Received: (qmail 45410 invoked by uid 500); 28 May 2008 09:26:07 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 45392 invoked by uid 500); 28 May 2008 09:26:07 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 45381 invoked by uid 99); 28 May 2008 09:26:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 02:26:07 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [84.96.92.124] (HELO neuf-infra-smtp-out-sp604003av.neufgp.fr) (84.96.92.124) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 09:25:11 +0000 Received: from neuf-infra-smtp-out-sp604011av.neufgp.fr ([10.110.56.116]) by neuf-infra-smtp-out-sp604003av.neufgp.fr with neuf telecom id WwZE1Z0082WT6TN03xRWTp; Wed, 28 May 2008 09:25:30 +0000 Received: from Dimension5000 ([86.72.57.115]) by neuf-infra-smtp-out-sp604011av.neufgp.fr with neuf telecom id WxRQ1Z00H2V9heW0BxRTwj; Wed, 28 May 2008 11:25:29 +0200 Message-ID: <00bd01c8c0a4$c2f84840$0402a8c0@Dimension5000> Reply-To: "Jacques Le Roux" From: "Jacques Le Roux" To: References: <003301c8b8ef$ac3ef200$0402a8c0@Dimension5000> Subject: Re: Security manager issue under Windows XP Date: Wed, 28 May 2008 11:24:49 +0200 Organization: Les Arts Informatiques MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B4_01C8C0B5.70AA1F30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_00B4_01C8C0B5.70AA1F30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Kevan, Yes it works (ie open and close cleanly). Actually it was not a deep = problem for me as the client I was working for on this is (of course ;o) = using a Linux Server on production.=20 I will update the OFBIz guidelines with your comments, they will = certainly help people in the future... Thanks a bunch Jacques ----- Original Message -----=20 From: Kevan Miller=20 To: user@geronimo.apache.org=20 Sent: Wednesday, May 28, 2008 1:14 AM Subject: Re: Security manager issue under Windows XP On May 18, 2008, at 10:00 AM, Jacques Le Roux wrote: Hi All, I'm an Apache OFBiz commiter. Recently I done some work to allow = OFBiz to run under WASCE 2.0.1 and Geronimo 2.0.3 = http://docs.ofbiz.org/pages/viewpage.action?pageId=3D4098 But I'm now facing an issue on Windows XPsp2: I can't run WASCE with = a security manager settled from the command line using = -Djava.security.manager=3Ddefault -Djava.security.policy=3Dclient.policy = options. I get the error below. Note that this is working properly under = Linux (Ubuntu and Suze as well). Am I missing someting or should I open = a Jira issue ? (I tried also -Djava.security.manager, but I guess it's = the same) As posted on the corresponding Jira, here's a work-around: Set the Xorg.apache.geronimo.JarFileClassLoader property to "false". = E.g.: set JAVA_OPTS=3D-Djava.security.manager = -Djava.security.policy=3Dclient.security = -DXorg.apache.geronimo.JarFileClassLoader=3Dfalse Your should be able to start Geronimo, now. This isn't really a fix. = However, for a relatively static deployment of Geronimo, this should = work fine. If you're using the server as a development environment and = repeatedly deploying/undeploying applications you'll find that = deployment artifacts are not properly deleted and you also may encounter = ClassLoader memory leaks. --kevan ------=_NextPart_000_00B4_01C8C0B5.70AA1F30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Kevan,
 
Yes it works (ie open and close = cleanly). Actually=20 it was not a deep problem for me as the client I was working for on = this is=20 (of course ;o) using a Linux Server on production.
 
I will update the OFBIz guidelines with = your=20 comments, they will certainly help people in the future...
 
Thanks a bunch
 
Jacques
----- Original Message -----
From:=20 Kevan=20 Miller
Sent: Wednesday, May 28, 2008 = 1:14=20 AM
Subject: Re: Security manager = issue under=20 Windows XP


On May 18, 2008, at 10:00 AM, Jacques Le Roux wrote:
Hi All,
 
I'm an Apache OFBiz commiter. = Recently I done=20 some work to allow OFBiz to run under WASCE 2.0.1 and Geronimo = 2.0.3 http:/= /docs.ofbiz.org/pages/viewpage.action?pageId=3D4098
But I'm now facing an issue on = Windows XPsp2: I=20 can't run WASCE with a security manager settled from the command = line using=20 -Djava.security.manager=3Ddefault = -Djava.security.policy=3Dclient.policy=20 options. I get the error below. Note that this is working properly = under=20 Linux (Ubuntu and Suze as well). Am I missing someting or should I = open a=20 Jira issue  ? (I tried also -Djava.security.manager, but I = guess it's=20 the same)

As posted on the corresponding Jira, here's a work-around:

Set the Xorg.apache.geronimo.JarFileClassLoader property to = "false".=20 E.g.:

set JAVA_OPTS=3D-Djava.security.manager=20 -Djava.security.policy=3Dclient.security=20 -DXorg.apache.geronimo.JarFileClassLoader=3Dfalse

Your should = be able to=20 start Geronimo, now. This isn't really a fix. However, for a = relatively static=20 deployment of Geronimo, this should work fine. If you're using the = server as a=20 development environment and repeatedly deploying/undeploying = applications=20 you'll find that deployment artifacts are not properly deleted and you = also=20 may encounter ClassLoader memory leaks.

--kevan
------=_NextPart_000_00B4_01C8C0B5.70AA1F30--