karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-537) admin.bat prints stacktraces to standard out
Date Fri, 06 May 2011 10:04:03 GMT

     [ https://issues.apache.org/jira/browse/KARAF-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-537:
---------------------------------------

    Fix Version/s:     (was: 2.2.2)
                   2.2.1
         Assignee: Jean-Baptiste Onofré

> admin.bat prints stacktraces to standard out
> --------------------------------------------
>
>                 Key: KARAF-537
>                 URL: https://issues.apache.org/jira/browse/KARAF-537
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>              Labels: admin.bat, output, stacktrace, standard
>             Fix For: 2.2.1
>
>         Attachments: KARAF-537.patch
>
>
> D:\Programs\apache-karaf-2.2.0>bin\admin.bat list
>   SSH Port   RMI Port   State       Pid  Name
> [    8102] [    1100] [Started ] [ 3132] server1
> [    8103] [    1101] [Stopped ] [    0] server2
> [    8101] [    1099] [Stopped ] [    0] root
> D:\Programs\apache-karaf-2.2.0>bin\admin.bat create server1
> Exception in thread "main" java.lang.IllegalArgumentException: Instance 'server1' already
exists
>         at org.apache.karaf.admin.internal.AdminServiceImpl.createInstance(AdminServiceImpl.java:138)
>         at org.apache.karaf.admin.command.CreateCommand.doExecute(CreateCommand.java:60)
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
>         at org.apache.karaf.admin.main.Execute.execute(Execute.java:103)
>         at org.apache.karaf.admin.main.Execute.main(Execute.java:83)
> The exception message ("Instance 'server1' already exists") is correct, but the stacktrace
should not be printed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message