Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 73428 invoked from network); 17 May 2010 09:24:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 May 2010 09:24:08 -0000 Received: (qmail 90861 invoked by uid 500); 17 May 2010 09:24:08 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 90655 invoked by uid 500); 17 May 2010 09:24:08 -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 90647 invoked by uid 99); 17 May 2010 09:24:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 09:24:07 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=10.0 tests=ALL_TRUSTED,FRT_ROLEX X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 09:24:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4H9NfkV009386 for ; Mon, 17 May 2010 09:23:42 GMT Message-ID: <16737530.79161274088221860.JavaMail.jira@thor> Date: Mon, 17 May 2010 05:23:41 -0400 (EDT) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-4861) Deployment Plan XML Parsing - Not add generated namespace names to closing tags In-Reply-To: <423013728.1252576497609.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-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu closed GERONIMO-4861. ------------------------------ Same as https://issues.apache.org/jira/browse/GERONIMO-4668, close it after verifying against latest Build 2010.05.17-12:44:47.101-0400. > Deployment Plan XML Parsing - Not add generated namespace names to closing tags > ------------------------------------------------------------------------------- > > Key: GERONIMO-4861 > URL: https://issues.apache.org/jira/browse/GERONIMO-4861 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: OpenEJB > Affects Versions: 2.2 > Reporter: Quintin Beukes > Priority: Minor > Fix For: 2.1.6, 2.2.1, 2.2.2 > > > When creating a deployment plan and using more than one namespace, but not implicitly specifying the namespaces in all elements, the namespace names are added to the temporary XML file. Though it doesn't add them correctly. I included my original openejb-jar.xml, the error I get through deploy.sh, and the generated XML file (which I reformatted to make it more readable). > You will notice the problem are in the last 2 closing tags of the ns7 (ie. security-2.0) namespace. The ns7 namespace prefix wasn't added to them, and this generates the validator error. > {code:xml|title=original-openejb-jar.xml} > > xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > > kms > KMSPlatform-ejb > 1.0 > jar > > > > console.dbpool > jdbc_kmsPool > 1.0 > rar > > > console.realm > KMSRealm > 1.0 > car > > > org.springframework > spring-core > 2.5.6 > jar > > > org.springframework > spring-beans > 2.5.6 > jar > > > org.springframework > spring-context > 2.5.6 > jar > > > org.slf4j > slf4j-api > 1.5.5 > jar > > > > hibernate > core > 3.3 > jar > > > hibernate > annotations > 3.4 > jar > > > hibernate > antlr > 2.7.6 > jar > > > hibernate > commons-annotations > 3.4 > jar > > > hibernate > commons-collections > 3.1 > jar > > > hibernate > dom4j > 1.6.1 > jar > > > hibernate > entitymanager > 3.4 > jar > > > hibernate > javassist > 3.9.0.GA > jar > > > hibernate > jpa > 3.0 > jar > > > hibernate > jta > 1.1 > jar > > > hibernate > GeronimoTransactionManager > 1.0 > jar > > > > > > > name="Admin"/> > > > name="Standard User"/> > > > > > {code} > {code:title=Deployment Error} > 2009-09-10 11:43:04,602 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Unable to deploy KMSPlatform-ejb.jar: Error parsing geronimo-openejb.xml with xmlbeans. > For debug purposes, XML content written to: /opt/kms/server/geronimo-2.2-20090908/var/temp/openejb-jar-1373120338936693638.xml > error: does not close tag . > does not close tag . > at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45) > at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149) > at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125) > at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > {code} > {code:xml|title=reformatted /opt/kms/server/geronimo-2.2-20090908/var/temp/openejb-jar-1373120338936693638.xml} > > xmlns:ns2="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" > xmlns:ns3="http://geronimo.apache.org/xml/ns/openejb-clustering-wadi-1.2" > xmlns:ns4="http://geronimo.apache.org/xml/ns/naming-1.2" > xmlns:ns5="http://openejb.apache.org/xml/ns/openejb-jar-2.2" > xmlns:ns6="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" > xmlns:ns7="http://geronimo.apache.org/xml/ns/security-2.0" > xmlns:ns8="http://java.sun.com/xml/ns/persistence" > xmlns:ns9="http://openejb.apache.org/xml/ns/pkgen-2.1"> > > > kms > KMSPlatform-ejb > 1.0 > jar > > > > console.dbpool > jdbc_kmsPool > 1.0 > rar > > > console.realm > KMSRealm > 1.0 > car > > > org.springframework > spring-core > 2.5.6 > jar > > > org.springframework > spring-beans > 2.5.6 > jar > > > org.springframework > spring-context > 2.5.6 > jar > > > org.slf4j > slf4j-api > 1.5.5 > jar > > > hibernate > core > 3.3 > jar > > > hibernate > annotations > 3.4 > jar > > > hibernate > antlr > 2.7.6 > jar > > > hibernate > commons-annotations > 3.4 > jar > > > hibernate > commons-collections > 3.1 > jar > > > hibernate > dom4j > 1.6.1 > jar > > > hibernate > entitymanager > 3.4 > jar > > > hibernate > javassist > 3.9.0.GA > jar > > > hibernate > jpa > 3.0 > jar > > > hibernate > jta > 1.1 > jar > > > hibernate > GeronimoTransactionManager > 1.0 > jar > > > > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" > xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"> > > > > > > > > > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.