Details
Description
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.