Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 84097 invoked from network); 11 Jan 2010 15:31:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2010 15:31:29 -0000 Received: (qmail 10983 invoked by uid 500); 11 Jan 2010 15:31:28 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 10963 invoked by uid 500); 11 Jan 2010 15:31:28 -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 10955 invoked by uid 99); 11 Jan 2010 15:31:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 15:31:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 15:31:19 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NUMEM-0000QH-Dj for user@geronimo.apache.org; Mon, 11 Jan 2010 07:30:58 -0800 Message-ID: <27112307.post@talk.nabble.com> Date: Mon, 11 Jan 2010 07:30:58 -0800 (PST) From: Bill Brown To: user@geronimo.apache.org Subject: issue deploying webapp with security realm MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: wbrown@colorfulsoftware.com X-Virus-Checked: Checked by ClamAV on apache.org Greetings: I've got a copy of littl-g 2.2 (tomcat) running but have an issue deploying a web app that uses a properties file security realm. It is failing with the following exception during deployment: The application was not deployed. Unable to resolve reference "ConfigurationFactory" in gbean com.colorfulsoftware/feedwork/1.0.0.0/war?J2EEApplication=null,j2eeType=WebModule,name=com.colorfulsoftware/feedwork/1.0.0.0/war to a gbean matching the pattern [?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory] due to: No matches for referencePatterns: [?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory] org.apache.geronimo.common.DeploymentException: Unable to resolve reference "ConfigurationFactory" in gbean com.colorfulsoftware/feedwork/1.0.0.0/war?J2EEApplication=null,j2eeType=WebModule,name=com.colorfulsoftware/feedwork/1.0.0.0/war to a gbean matching the pattern [?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory] due to: No matches for referencePatterns: [?name=feedwork#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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:851) 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:619) Looking through the jira and forums, there are two threads addressing this: http://issues.apache.org/jira/browse/GERONIMO-4772 and https://issues.apache.org/jira/browse/GERONIMO-4553. According to the reports, I should be able to work around the issue by adding the security realm as a dependency in the geronimo-web.xml. https://issues.apache.org/jira/browse/GERONIMO-4553?focusedCommentId=12738770&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12738770 I've tried adding the following in geronimo-web.xml but the error still appears. Does anyone here know how I can add the correct dependency to make the error go away and deploy the app? com.colorfulsoftware feedwork 1.0.0.0 war org.apache.geronimo.configs javamail car org.apache.geronimo.configs j2ee-server car org.apache.geronimo.framework j2ee-security 2.2 car org.apache.geronimo.framework j2ee-security car ..... Thanks for your help, insight or information. Bill. -- View this message in context: http://old.nabble.com/issue-deploying-webapp-with-security-realm-tp27112307s134p27112307.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.