You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <ji...@apache.org> on 2009/06/24 14:57:07 UTC
[jira] Created: (GERONIMO-4709) start-servers' -j flag does not
work
start-servers' -j flag does not work
------------------------------------
Key: GERONIMO-4709
URL: https://issues.apache.org/jira/browse/GERONIMO-4709
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: commands
Affects Versions: 2.1.4
Reporter: Jason Dillon
Assignee: Jason Dillon
Fix For: 2.1.5, 2.2
Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (GERONIMO-4709) start-server's -j flag
does not work
Posted by "Vanessa Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741746#action_12741746 ]
Vanessa Wang edited comment on GERONIMO-4709 at 8/11/09 12:59 AM:
-------------------------------------------------------------------
For space problem,cmd line does not support nested double quotes. using single quotes or use " \" " instead of " " " would work well.
For example:
{noformat}
start-server.bat -j 'c:/programme files/Java60/bin/java.exe'
{noformat}
or
{noformat}
start-server.bat -j \"c:/programme files/Java60/bin/java.exe\"
{noformat}
Bisides,it is recommonded that using "/" or "\\" instead of "\" according to gshell's compiler.
was (Author: wwtvanessa):
For space problem,cmd line does not support nested double quotes. use single quotes or use " \" " instead of " " " would work well.
For example:
{noformat}
start-server.bat -j 'c:/programme files/Java60/bin/java.exe'
{noformat}
or
{noformat}
start-server.bat -j \"c:/programme files/Java60/bin/java.exe\"
{noformat}
Bisides,it is recommonded that using "/" or "\\" instead of "\" according to gshell's compiler.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741781#action_12741781 ]
Shawn Jiang commented on GERONIMO-4709:
---------------------------------------
Thanks Vanessa, This should be documented in somewhere.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737048#action_12737048 ]
Shawn Jiang commented on GERONIMO-4709:
---------------------------------------
Even if using "/" but not "\". There's still problem when there's space in the JDK path.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated GERONIMO-4709:
-----------------------------------
Component/s: (was: commands)
documentation
Fix Version/s: (was: 2.1.5)
(was: 2.2)
Wish List
did this get documented?
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: documentation
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: Wish List
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (GERONIMO-4709) start-server's -j flag
does not work
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735006#action_12735006 ]
Shawn Jiang edited comment on GERONIMO-4709 at 7/24/09 2:54 AM:
----------------------------------------------------------------
{noformat}start-server.bat -j "c:/programme files/Java60/bin/java.exe"{noformat}
will do the trick. Notice I'm using "/" but not "\".
It would be better if the geronimo commands could detect the file separator for windows and handle it appropriately.
was (Author: genspring):
{noformat}start-server.bat -j "c:\programme files\Java60\bin\java.exe"{noformat}
will do the trick. Notice I'm using "\" but not "/".
It would be better if the geronimo commands could detect the file separator for windows and handle it appropriately.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Vanessa Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742269#action_12742269 ]
Vanessa Wang commented on GERONIMO-4709:
-----------------------------------------
Geronimo v2.1 Documentation (http://cwiki.apache.org/GMOxDOC21/gshell.html#GShell-StartingandStoppingGeronimoinGshell) should mention it
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735006#action_12735006 ]
Shawn Jiang commented on GERONIMO-4709:
---------------------------------------
{noformat}start-server.bat -j "c:\programme files\Java60\bin\java.exe"{noformat}
will do the trick. Notice I'm using "\" but not "/".
It would be better if the geronimo commands could detect the file separator for windows and handle it appropriately.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Chi Runhua (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770357#action_12770357 ]
Chi Runhua commented on GERONIMO-4709:
--------------------------------------
David, the issue is documented already.
In G2.1 http://cwiki.apache.org/GMOxDOC21/gshell.html#GShell-StartingandStoppingGeronimoinGshell
In G2.2 http://cwiki.apache.org/GMOxDOC22/starting-and-stopping-geronimo-in-gshell.html
Anything else, please let me know.
Jeff C
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: documentation
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: Wish List
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMO-4709) start-server's -j flag does not work
Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dillon closed GERONIMO-4709.
----------------------------------
Resolution: Fixed
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu reopened GERONIMO-4709:
--------------------------------
On windows:
When run start-server.bat -j "c:\programme files\Java60\bin\java.exe", there is an parse error :Lexical Error at line 1 , Encountered "P" after "\\"
But on linux: ./start-server.sh -j /opt/ibm/java-i386-60/bin/java, this command runs well.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735008#action_12735008 ]
Shawn Jiang commented on GERONIMO-4709:
---------------------------------------
We need to document it If we choose not to fix this JIRA.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dillon updated GERONIMO-4709:
-----------------------------------
Summary: start-server's -j flag does not work (was: start-servers' -j flag does not work)
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Wen Ting Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741746#action_12741746 ]
Wen Ting Wang commented on GERONIMO-4709:
------------------------------------------
For space problem,cmd line does not support nested double quotes. use single quotes or use " \" " instead of " " " would work well.
For example:
{noformat}
start-server.bat -j 'c:/programme files/Java60/bin/java.exe'
{noformat}
or
{noformat}
start-server.bat -j \"c:/programme files/Java60/bin/java.exe\"
{noformat}
Bisides,it is recommonded that using "/" or "\\" instead of "\" according to gshell's compiler.
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "Chi Runhua (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743098#action_12743098 ]
Chi Runhua commented on GERONIMO-4709:
--------------------------------------
Both G2.1 and G2.2 doc updated as followed:
+++++++++++++++++++++++++++++++++++++++++++++++++++++
On a Windows platform
Use forward slash "/" instead of traditional back slash "\" as directory seperators.
For example:
geronimo/start-server -j 'c:/programme files/Java60/bin/java.exe'
This issue is addressed by (https://issues.apache.org/jira/browse/GERONIMO-4709)
+++++++++++++++++++++++++++++++++++++++++++++++++++
If possible, I think users would like to see some description/solution along with error message.
Looking into the document is the second choice.
Jeff C
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4709) start-server's -j flag does not
work
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737044#action_12737044 ]
viola.lu commented on GERONIMO-4709:
------------------------------------
when there is a space in java path, there will be an error: fail to start server
> start-server's -j flag does not work
> ------------------------------------
>
> Key: GERONIMO-4709
> URL: https://issues.apache.org/jira/browse/GERONIMO-4709
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 2.1.4
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Fix For: 2.1.5, 2.2
>
>
> Problem is that node.setAttribute(String, String) won't coerce 2nd param of type java.io.File to string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.