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 Warner (JIRA)" <ji...@apache.org> on 2008/01/14 21:54:33 UTC

[jira] Created: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

NotFoundException when trying to use non-builtin commands in full assembly
--------------------------------------------------------------------------

                 Key: GSHELL-98
                 URL: https://issues.apache.org/jira/browse/GSHELL-98
             Project: GShell
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Core
    Affects Versions: 1.0-alpha-2
            Reporter: Jason Warner
            Assignee: Jason Warner
             Fix For: 1.0-alpha-2


The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon reassigned GSHELL-98:
----------------------------------

    Assignee: Jason Dillon  (was: Jason Warner)

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560011#action_12560011 ] 

Jason Dillon commented on GSHELL-98:
------------------------------------

I'm about to apply this, though I don't really understand how it was broken before... not that I think it was not broken before.

Can you give me an example of a command execution which fails w/o the patch and runs as expected with the patch?

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559214#action_12559214 ] 

Jason Dillon commented on GSHELL-98:
------------------------------------

Cool!  I will look at this later today.  Still a little jet lagged though...

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Warner
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner updated GSHELL-98:
-------------------------------

    Attachment: GShell-98.patch

The issue ended up being that the find function in GroupNode was not able to handle nested GroupNodes.  I enhanced it to provide a recursive search that should work for any amount of nesting that you so desire.

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Warner
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner closed GSHELL-98.
------------------------------

    Resolution: Invalid

After a quick chat with Jason Dillon, it became apparent I was just using GShell wrong.  The path for the command I was using was incomplete.  Things are working as intended.

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-98) NotFoundException when trying to use non-builtin commands in full assembly

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560218#action_12560218 ] 

Jason Warner commented on GSHELL-98:
------------------------------------

Sure.  I ran across it when trying to use the script command.  This was when using the full assembly.  I'm not sure if I was doing something wrong that caused it so let me just explain how i got to that point to see if maybe I did something incorrectly.  I checked out the latest revision.  I then ran an mvn install.  I used tar -xvf (after gunzip) on the full assembly.  I then changed to the bin directory in the recently untarred assembly and ran "./gsh".  I then used help to verify that the commands were listed in the layout.  After verifying that script existed and was part of this assembly I tried to run script using "script -l javascript".  I received a NotFoundException for script.  This also occurred with the commands listed under optional (wait, sleep, etc...).  It might have occurred with the rsh commands but I didn't check.  

> NotFoundException when trying to use non-builtin commands in full assembly
> --------------------------------------------------------------------------
>
>                 Key: GSHELL-98
>                 URL: https://issues.apache.org/jira/browse/GSHELL-98
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jason Warner
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>         Attachments: GShell-98.patch
>
>
> The full assembly of gshell includes all the available commands by default.  When trying to use one of the commands included outside of builtins, a NotFoundException is received.  This seems to be caused by the groupings in the layout.xml file.  When the groupings were removed, all the commands could be used successfully.  Ideally, we'd like to be able to keep the groupings, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.