Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 41045 invoked from network); 7 Oct 2005 11:52:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Oct 2005 11:52:21 -0000 Received: (qmail 7535 invoked by uid 500); 7 Oct 2005 11:52:15 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 7421 invoked by uid 500); 7 Oct 2005 11:52:13 -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 7405 invoked by uid 99); 7 Oct 2005 11:52:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2005 04:52:12 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6EA7F21E for ; Fri, 7 Oct 2005 13:51:48 +0200 (CEST) Message-ID: <1690611941.1128685908450.JavaMail.jira@ajax.apache.org> Date: Fri, 7 Oct 2005 13:51:48 +0200 (CEST) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-1045) xml-reference in the gbean declaration located in the geronimo-application.xml does not work In-Reply-To: <1051672623.1128657407787.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1045?page=comments#action_12331584 ] David Jencks commented on GERONIMO-1045: ---------------------------------------- This is definitely a bug, however there is a workaround for this issue, namely to declare the correct namespace explicitly for the gbean element: org/apache/geronimo/Server JaasLoginService myapp > xml-reference in the gbean declaration located in the geronimo-application.xml does not work > -------------------------------------------------------------------------------------------- > > Key: GERONIMO-1045 > URL: http://issues.apache.org/jira/browse/GERONIMO-1045 > Project: Geronimo > Type: Bug > Components: deployment > Versions: 1.0-M5 > Reporter: Ivan Dubrov > > I have the following snippet in the geronimo-application.xml: > > > org/apache/geronimo/Server > JaasLoginService > > myapp > > > > > > > When I try to deploy it I get the following: > Error: Unable to distribute myapp.ear: > org.apache.xmlbeans.XmlException: Invalid deployment descriptor: > [error: cvc-complex-type.2.4b: Element not allowed: > login-config@http://geronimo.apache.org/xml/ns/deployment-1.0 in > element > xml-reference@http://geronimo.apache.org/xml/ns/deployment-1.0, > error: cvc-complex-type.2.4d: Expected element(s) in element > xml-reference@http://geronimo.apache.org/xml/ns/deployment-1.0] > And the snippet from the descriptor printed in the error message is: > > > Note that login-config namespace is changed! > If I move this configuration into the stand-alone deployment plan (with document root), it works. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira