You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tim Moloney (JIRA)" <ji...@apache.org> on 2009/05/06 16:49:30 UTC

[jira] Created: (FELIX-1125) "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"

"features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-1125
                 URL: https://issues.apache.org/jira/browse/FELIX-1125
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: karaf-1.0.0
         Environment: java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
            Reporter: Tim Moloney


The bug can be replicated as follows:

bash> tar zxf apache-servicemix-kernel-1.1.0.tar.gz
bash> cd apache-servicemix-kernel-1.1.0
bash> cat >webconsole-feature.xml<<EOF
> <features>
>   <feature name="webconsole" version="0.1.0-SNAPSHOT">
>     <bundle>mvn:org.mortbay.jetty/jetty-util/6.1.11/jar</bundle>
>     <bundle>mvn:org.mortbay.jetty/jetty-sslengine/6.1.11/jar</bundle>
>     <bundle>mvn:org.mortbay.jetty/jetty/6.1.11/jar</bundle>
>     <bundle>mvn:org.apache.felix/org.apache.felix.http.jetty/1.0.0/jar</bundle>
>     <config name="org.apache.felix.http">
>       org.osgi.service.http.port=8080
>     </config>
>     <bundle>mvn:org.apache.felix/org.apache.felix.webconsole/1.2.8/jar</bundle>
>     <config name="org.apache.felix.webconsole.internal.servlet.OsgiManager">
>       username=tester
>       password=testing
>     </config>
>   </feature>
> </features>
> EOF
bash> bin/servicemix
 ____                  _          __  __ _      
/ ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
 ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
|____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\

 ServiceMix Kernel (1.1.0)

Type 'help' for more information.
-----------------------------------------------------------------------------------------------------------------------------------
smx@root:/> cp webconsole-feature.xml deploy
smx@root:/> features/list -i
ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl
smx@root:/> log/display-exception 
smx@root:/> log/display
...
10:45:12,919 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): features/list -i
10:45:12,920 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (features/list): [-i]
10:46:19,302 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display-exception
10:46:19,303 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display-exception): []
10:46:25,709 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display
10:46:25,711 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display): []
smx@root:/> osgi/shutdown
smx@root:/> bash> 


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


[jira] Updated: (FELIX-1125) "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"

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

Gert Vanthienen updated FELIX-1125:
-----------------------------------

    Fix Version/s: karaf-1.0.0

> "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1125
>                 URL: https://issues.apache.org/jira/browse/FELIX-1125
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>         Environment: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
>            Reporter: Tim Moloney
>             Fix For: karaf-1.0.0
>
>
> The bug can be replicated as follows:
> bash> tar zxf apache-servicemix-kernel-1.1.0.tar.gz
> bash> cd apache-servicemix-kernel-1.1.0
> bash> cat >webconsole-feature.xml<<EOF
> > <features>
> >   <feature name="webconsole" version="0.1.0-SNAPSHOT">
> >     <bundle>mvn:org.mortbay.jetty/jetty-util/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty-sslengine/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty/6.1.11/jar</bundle>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.http.jetty/1.0.0/jar</bundle>
> >     <config name="org.apache.felix.http">
> >       org.osgi.service.http.port=8080
> >     </config>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.webconsole/1.2.8/jar</bundle>
> >     <config name="org.apache.felix.webconsole.internal.servlet.OsgiManager">
> >       username=tester
> >       password=testing
> >     </config>
> >   </feature>
> > </features>
> > EOF
> bash> bin/servicemix
>  ____                  _          __  __ _      
> / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
>  ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
> |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
>  ServiceMix Kernel (1.1.0)
> Type 'help' for more information.
> -----------------------------------------------------------------------------------------------------------------------------------
> smx@root:/> cp webconsole-feature.xml deploy
> smx@root:/> features/list -i
> ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl
> smx@root:/> log/display-exception 
> smx@root:/> log/display
> ...
> 10:45:12,919 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): features/list -i
> 10:45:12,920 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (features/list): [-i]
> 10:46:19,302 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display-exception
> 10:46:19,303 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display-exception): []
> 10:46:25,709 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display
> 10:46:25,711 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display): []
> smx@root:/> osgi/shutdown
> smx@root:/> bash> 

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


[jira] Resolved: (FELIX-1125) "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"

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

Gert Vanthienen resolved FELIX-1125.
------------------------------------

    Resolution: Fixed

Tim,

I think this bug was fixed just before ServiceMix Kernel became Apache Felix Karaf (cfr. https://issues.apache.org/activemq/browse/SMX4KNL-266)

Regards,

Gert

> "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1125
>                 URL: https://issues.apache.org/jira/browse/FELIX-1125
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>         Environment: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
>            Reporter: Tim Moloney
>
> The bug can be replicated as follows:
> bash> tar zxf apache-servicemix-kernel-1.1.0.tar.gz
> bash> cd apache-servicemix-kernel-1.1.0
> bash> cat >webconsole-feature.xml<<EOF
> > <features>
> >   <feature name="webconsole" version="0.1.0-SNAPSHOT">
> >     <bundle>mvn:org.mortbay.jetty/jetty-util/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty-sslengine/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty/6.1.11/jar</bundle>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.http.jetty/1.0.0/jar</bundle>
> >     <config name="org.apache.felix.http">
> >       org.osgi.service.http.port=8080
> >     </config>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.webconsole/1.2.8/jar</bundle>
> >     <config name="org.apache.felix.webconsole.internal.servlet.OsgiManager">
> >       username=tester
> >       password=testing
> >     </config>
> >   </feature>
> > </features>
> > EOF
> bash> bin/servicemix
>  ____                  _          __  __ _      
> / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
>  ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
> |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
>  ServiceMix Kernel (1.1.0)
> Type 'help' for more information.
> -----------------------------------------------------------------------------------------------------------------------------------
> smx@root:/> cp webconsole-feature.xml deploy
> smx@root:/> features/list -i
> ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl
> smx@root:/> log/display-exception 
> smx@root:/> log/display
> ...
> 10:45:12,919 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): features/list -i
> 10:45:12,920 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (features/list): [-i]
> 10:46:19,302 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display-exception
> 10:46:19,303 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display-exception): []
> 10:46:25,709 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display
> 10:46:25,711 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display): []
> smx@root:/> osgi/shutdown
> smx@root:/> bash> 

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


[jira] Closed: (FELIX-1125) "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"

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

Tim Moloney closed FELIX-1125.
------------------------------


This is fixed in the trunk (verified in revision 772309). 

> "features/list -i" returns "ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1125
>                 URL: https://issues.apache.org/jira/browse/FELIX-1125
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>         Environment: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
>            Reporter: Tim Moloney
>             Fix For: karaf-1.0.0
>
>
> The bug can be replicated as follows:
> bash> tar zxf apache-servicemix-kernel-1.1.0.tar.gz
> bash> cd apache-servicemix-kernel-1.1.0
> bash> cat >webconsole-feature.xml<<EOF
> > <features>
> >   <feature name="webconsole" version="0.1.0-SNAPSHOT">
> >     <bundle>mvn:org.mortbay.jetty/jetty-util/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty-sslengine/6.1.11/jar</bundle>
> >     <bundle>mvn:org.mortbay.jetty/jetty/6.1.11/jar</bundle>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.http.jetty/1.0.0/jar</bundle>
> >     <config name="org.apache.felix.http">
> >       org.osgi.service.http.port=8080
> >     </config>
> >     <bundle>mvn:org.apache.felix/org.apache.felix.webconsole/1.2.8/jar</bundle>
> >     <config name="org.apache.felix.webconsole.internal.servlet.OsgiManager">
> >       username=tester
> >       password=testing
> >     </config>
> >   </feature>
> > </features>
> > EOF
> bash> bin/servicemix
>  ____                  _          __  __ _      
> / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
>  ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
> |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
>  ServiceMix Kernel (1.1.0)
> Type 'help' for more information.
> -----------------------------------------------------------------------------------------------------------------------------------
> smx@root:/> cp webconsole-feature.xml deploy
> smx@root:/> features/list -i
> ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: java.lang.ArrayStoreException: org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl
> smx@root:/> log/display-exception 
> smx@root:/> log/display
> ...
> 10:45:12,919 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): features/list -i
> 10:45:12,920 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (features/list): [-i]
> 10:46:19,302 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display-exception
> 10:46:19,303 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display-exception): []
> 10:46:25,709 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display
> 10:46:25,711 | INFO  | localShell       | CommandLineExecutorImpl          | om.shell.CommandLineExecutorImpl  104 | Executing (log/display): []
> smx@root:/> osgi/shutdown
> smx@root:/> bash> 

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