Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 35040 invoked from network); 21 Mar 2006 17:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Mar 2006 17:07:00 -0000 Received: (qmail 86644 invoked by uid 500); 21 Mar 2006 17:06:49 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 86527 invoked by uid 500); 21 Mar 2006 17:06:49 -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 86429 invoked by uid 99); 21 Mar 2006 17:06:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 09:06:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 21 Mar 2006 09:06:47 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C62766ACAB for ; Tue, 21 Mar 2006 17:06:26 +0000 (GMT) Message-ID: <189156542.1142960786809.JavaMail.jira@ajax> Date: Tue, 21 Mar 2006 17:06:26 +0000 (GMT) From: "Lin Sun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1757) rarRelativePath is not set correctly cause showplan.jsp displayswrong instruction In-Reply-To: <876629298.1142959978893.JavaMail.jira@ajax> 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-1757?page=all ] Lin Sun updated GERONIMO-1757: ------------------------------ Description: Portions of this is working in version 1.0 but broken after 1/25's change of DatabasePoolPortlet.java. Problem: At the show database plan page, you see the following instructions and the rarRelativePath is wrong. Should be repository/tranql/rars/tranql-connector-1.1.rar Deploy Command: To deploy a database pool from the command line using this plan, copy and paste it to a file (say, plan-file.xml) and save it. Then run a command like: cd GERONIMO_HOME java -jar bin/deployer.jar deploy plan-file.xml \ tranql-connector-1.1.rar Debug: I printed the value of base and path (value of PortletManager.getRepositoryEntry(renderRequest, data.getRarPath()).getPath()) ***linsun***path: /C:/ag10/repository/tranql/rars/tranql-connector-1.1.rar ***linsun***base: C:\ag10 ***linsun***rarRelativePath: tranql-connector-1.1.rar Also, If the server is installed onto a directory that contains space, for example c:\program files, the path needs to be decoded using URLDecode. For example, here's the output: ***linsun***path: /C:/program%20files/ag10/repository/tranql/rars/tranql-connector-1.1.rar ***linsun***base: C:\program files\ag10 ***linsun***rarRelativePath: tranql-connector-1.1.rar patch will be attached shortly was: Portions of this is working in version 1.0 but broken after 1/25's change of DatabasePoolPortlet.java. Problem: At the show database plan page, you see the following instructions and the rarRelativePath is wrong. Should be repository/tranql/rars/tranql-connector-1.1.rar Deploy Command: To deploy a database pool from the command line using this plan, copy and paste it to a file (say, plan-file.xml) and save it. Then run a command like: cd GERONIMO_HOME java -jar bin/deployer.jar deploy plan-file.xml \ tranql-connector-1.1.rar Debug: I printed the value of base and path (value of PortletManager.getRepositoryEntry(renderRequest, data.getRarPath()).getPath()) ***linsun***path: /C:/ag10/repository/tranql/rars/tranql-connector-1.1.rar ***linsun***base: C:\ag10 ***linsun***rarRelativePath: tranql-connector-1.1.rar Also, If the server is installed onto a directory that contains space, for example c:\program files, the path needs to be decoded using URLDecode. For example, here's the output: ***linsun***path: /C:/program%files/ag10/repository/tranql/rars/tranql-connector-1.1.rar ***linsun***base: C:\program files\ag10 ***linsun***rarRelativePath: tranql-connector-1.1.rar patch will be attached shortly > rarRelativePath is not set correctly cause showplan.jsp displayswrong instruction > --------------------------------------------------------------------------------- > > Key: GERONIMO-1757 > URL: http://issues.apache.org/jira/browse/GERONIMO-1757 > Project: Geronimo > Type: Bug > Components: console > Versions: 1.x > Environment: winXP > Reporter: Lin Sun > Priority: Minor > Attachments: G1757.patch > > Portions of this is working in version 1.0 but broken after 1/25's change of DatabasePoolPortlet.java. > Problem: > At the show database plan page, you see the following instructions and the rarRelativePath is wrong. Should be repository/tranql/rars/tranql-connector-1.1.rar > Deploy Command: > To deploy a database pool from the command line using this plan, copy and paste it to a file (say, plan-file.xml) and save it. Then run a command like: > cd GERONIMO_HOME > java -jar bin/deployer.jar deploy plan-file.xml \ > tranql-connector-1.1.rar > Debug: > I printed the value of base and path (value of PortletManager.getRepositoryEntry(renderRequest, data.getRarPath()).getPath()) > ***linsun***path: /C:/ag10/repository/tranql/rars/tranql-connector-1.1.rar > ***linsun***base: C:\ag10 > ***linsun***rarRelativePath: tranql-connector-1.1.rar > Also, If the server is installed onto a directory that contains space, for example c:\program files, the path needs to be decoded using URLDecode. For example, here's the output: > ***linsun***path: /C:/program%20files/ag10/repository/tranql/rars/tranql-connector-1.1.rar > ***linsun***base: C:\program files\ag10 > ***linsun***rarRelativePath: tranql-connector-1.1.rar > patch will be attached shortly -- 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