[ http://issues.apache.org/jira/browse/GERONIMO-1757?page=all ]
Lin Sun updated GERONIMO-1757: ------------------------------ Attachment: G1757.patch > 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