Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 39561 invoked from network); 4 Aug 2009 02:24:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 02:24:42 -0000 Received: (qmail 63242 invoked by uid 500); 4 Aug 2009 02:24:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 63147 invoked by uid 500); 4 Aug 2009 02:24:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 63139 invoked by uid 99); 4 Aug 2009 02:24:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 02:24:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 02:24:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D0237234C04B for ; Mon, 3 Aug 2009 19:24:14 -0700 (PDT) Message-ID: <1495420490.1249352654851.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 19:24:14 -0700 (PDT) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4772) false in security realm result in deployment error and no option to set it to true In-Reply-To: <65210440.1248951674822.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu updated GERONIMO-4772: ------------------------------- Attachment: 4772.zip attachement is test file > false in security realm result in deployment error and no option to set it to true > ----------------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-4772 > URL: https://issues.apache.org/jira/browse/GERONIMO-4772 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 2.2 > Environment: os:win2003 jdk : 1.6 > Reporter: viola.lu > Assignee: Ivan > Priority: Minor > Attachments: 4772.zip, GERONIMO-4772.patch > > > 1.Create a data pool named securitydatabase in console first ,secondly create a security realm named:derby_security_realm > 2.Deploy sample file to geronimo server but errors exist: > eployment Failed > Unable to resolve reference "ConfigurationFactory" > in gbean default/MyWebApp/1249005002828/car?J2EEApplication=null,j2eeType=WebModule,name=default/MyWebApp/1249005002828/car > to a gbean matching the pattern [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory] > due to: No matches for referencePatterns: [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory] > org.apache.geronimo.common.DeploymentException: Unable to resolve reference "ConfigurationFactory" > in gbean default/MyWebApp/1249005002828/car?J2EEApplication=null,j2eeType=WebModule,name=default/MyWebApp/1249005002828/car > to a gbean matching the pattern [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory] > due to: No matches for referencePatterns: [?name=derby_security_realm#org.apache.geronimo.security.jaas.ConfigurationFactory] > at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData(DeploymentContext.java:656) > at org.apache.geronimo.deployment.Deployer.install(Deployer.java:339) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:263) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:599) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:735) > This is cozed by false in security realm, which is new in 2.2, and this option configuration doesn't exist in advanced.jsp page, by default it's set to "false", and if no security realm dependency in security realm page, there will be deployment exceptions.Even if i set this attribute to ture, console will convert it to false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.