Created
May 11, 2021 14:31
-
-
Save steinarb/5f73a2888ebdc804b46dff1b85f84fbb to your computer and use it in GitHub Desktop.
Delete the old ~/.karaf before testing the command history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sb@lorenzo:/tmp/apache-karaf-4.3.2$ cd | |
sb@lorenzo:~$ mv .karaf/ .karaf_old | |
sb@lorenzo:~$ cd /tmp/apache-karaf-4.3.2/ | |
sb@lorenzo:/tmp/apache-karaf-4.3.2$ bin/karaf | |
Exception in thread "JMX Connector Thread [service:jmx:rmi://127.0.0.1:44444/jndi/rmi://127.0.0.1:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server | |
at org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:438) | |
at java.base/java.lang.Thread.run(Thread.java:829) | |
Caused by: java.rmi.NoSuchObjectException: object not exported | |
at java.rmi/sun.rmi.transport.ObjectTable.getStub(ObjectTable.java:122) | |
at java.rmi/java.rmi.server.RemoteObject.toStub(RemoteObject.java:107) | |
at java.management.rmi/javax.management.remote.rmi.RMIJRMPServerImpl.toStub(RMIJRMPServerImpl.java:186) | |
at org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:422) | |
... 1 more | |
__ __ ____ | |
/ //_/____ __________ _/ __/ | |
/ ,< / __ `/ ___/ __ `/ /_ | |
/ /| |/ /_/ / / / /_/ / __/ | |
/_/ |_|\__,_/_/ \__,_/_/ | |
Apache Karaf (4.3.2) | |
Hit '<tab>' for a list of available commands | |
and '[cmd] --help' for help on a specific command. | |
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. | |
karaf@root()> shell:history | |
0 shell:history | |
karaf@root()> bundle:list | |
START LEVEL 100 , List Threshold: 50 | |
ID │ State │ Lvl │ Version │ Name | |
────┼────────┼─────┼────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
31 │ Active │ 80 │ 4.3.2 │ Apache Karaf :: OSGi Services :: Event | |
54 │ Active │ 80 │ 1.3.5 │ Jakarta Annotations API | |
55 │ Active │ 80 │ 3.25.0.GA │ Javassist | |
56 │ Active │ 80 │ 2.1.99.b01 │ javax.ws.rs-api | |
57 │ Active │ 80 │ 2.6.1 │ HK2 API module | |
58 │ Active │ 80 │ 2.6.1 │ aopalliance version 1.0 repackaged as a module | |
59 │ Active │ 80 │ 2.6.1 │ javax.inject:1 as OSGi bundle | |
60 │ Active │ 80 │ 2.6.1 │ ServiceLocator Default Implementation | |
61 │ Active │ 80 │ 1.0.3 │ OSGi resource locator | |
62 │ Active │ 80 │ 2.6.1 │ HK2 Implementation Utilities | |
63 │ Active │ 80 │ 2.33.0 │ jersey-core-common | |
64 │ Active │ 80 │ 2.33.0 │ jersey-inject-hk2 | |
65 │ Active │ 80 │ 2.12.1 │ Jackson-annotations | |
66 │ Active │ 80 │ 2.12.1 │ Jackson-core | |
67 │ Active │ 80 │ 2.12.1 │ jackson-databind | |
68 │ Active │ 80 │ 2.12.1 │ Jackson module: JAXB Annotations | |
69 │ Active │ 80 │ 1.2.1 │ JavaBeans Activation Framework | |
70 │ Active │ 80 │ 1.2.1 │ JavaBeans Activation Framework API jar | |
71 │ Active │ 80 │ 2.0.2 │ Jakarta Bean Validation API | |
72 │ Active │ 80 │ 2.3.2 │ jakarta.xml.bind-api | |
74 │ Active │ 80 │ 2.0.0.SP1 │ CDI APIs | |
75 │ Active │ 80 │ 1.2.2 │ javax.interceptor API | |
77 │ Active │ 80 │ 1.2 │ javax.transaction API | |
83 │ Active │ 80 │ 1.9.3.1 │ Apache ServiceMix :: Bundles :: jasypt | |
85 │ Active │ 80 │ 4.19.0 │ Apache XBean :: OSGI Bundle Utilities | |
86 │ Active │ 80 │ 4.19.0 │ Apache XBean :: Classpath Resource Finder | |
115 │ Active │ 80 │ 2.33.0 │ jersey-container-servlet | |
116 │ Active │ 80 │ 2.33.0 │ jersey-container-servlet-core | |
117 │ Active │ 80 │ 2.33.0 │ jersey-core-client | |
118 │ Active │ 80 │ 2.33.0 │ jersey-core-server | |
119 │ Active │ 80 │ 2.33.0 │ jersey-ext-entity-filtering | |
120 │ Active │ 80 │ 2.33.0 │ jersey-media-jaxb | |
121 │ Active │ 80 │ 2.33.0 │ jersey-media-json-jackson | |
122 │ Active │ 80 │ 9.1.0 │ org.objectweb.asm | |
123 │ Active │ 80 │ 9.1.0 │ org.objectweb.asm.commons | |
124 │ Active │ 80 │ 9.1.0 │ org.objectweb.asm.tree | |
125 │ Active │ 80 │ 9.1.0 │ org.objectweb.asm.tree.analysis | |
126 │ Active │ 80 │ 9.1.0 │ org.objectweb.asm.util | |
127 │ Active │ 80 │ 1.5.0 │ OPS4J Pax JDBC Generic Driver Extender | |
128 │ Active │ 80 │ 1.5.0 │ OPS4J Pax JDBC Config | |
129 │ Active │ 80 │ 1.5.0 │ OPS4J Pax JDBC Pooling Support Base | |
136 │ Active │ 80 │ 1.0.0.201505202023 │ org.osgi:org.osgi.service.jdbc | |
137 │ Active │ 80 │ 3.19.0 │ AssertJ fluent assertions | |
138 │ Active │ 80 │ 2.10.3 │ Jackson-annotations | |
139 │ Active │ 80 │ 2.10.3 │ Jackson-core | |
140 │ Active │ 80 │ 2.10.3 │ jackson-databind | |
141 │ Active │ 80 │ 2.12.1 │ Jackson datatype: JSR310 | |
142 │ Active │ 80 │ 2.2.11 │ Old JAXB Core | |
143 │ Active │ 80 │ 2.2.11 │ Old JAXB Runtime | |
144 │ Active │ 80 │ 2.2.11 │ jaxb-api | |
145 │ Active │ 80 │ 1.13.3 │ Authentication webapp Liquibase DB schema | |
146 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp Liquibase DB schema | |
147 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp production database setup | |
148 │ Active │ 80 │ 1.13.3 │ Authentication webapp definitions bundle | |
149 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp definitions bundle | |
150 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp user admin service | |
151 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp web whiteboard Shiro filter | |
152 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp DB-based Shiro realm | |
153 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp memory based Shiro SessionDAO | |
154 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp user admin web API | |
155 │ Active │ 80 │ 1.14.0.SNAPSHOT │ Authentication webapp user admin frontend | |
156 │ Active │ 80 │ 1.1.2 │ Base class for immutable beans | |
157 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering business-logikk | |
158 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering database schema | |
159 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering webapp production database setup | |
160 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering OSGi service definitions | |
161 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering web-api | |
162 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering web frontend | |
163 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Handleregistrering web-sikkerhet | |
165 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum OSGi service implementations | |
166 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum database schema | |
167 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum database for production use | |
168 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum OSGi service definitions | |
169 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum web whiteboard web API | |
170 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum web frontend | |
171 │ Active │ 80 │ 1.8.0.SNAPSHOT │ Oldalbum web whiteboard web context | |
172 │ Active │ 80 │ 1.1.2 │ Adapters for OSGi JDBC services | |
173 │ Active │ 80 │ 1.1.2 │ Adapter for OSGi log service | |
174 │ Active │ 80 │ 1.7.2 │ User management OSGi service | |
175 │ Active │ 80 │ 1.5.4 │ Base class for frontend servlets | |
176 │ Active │ 80 │ 1.5.4 │ Base class for jersey REST API servlets | |
177 │ Active │ 80 │ 1.5.0.SNAPSHOT │ SonarQube data collector webhook | |
178 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp backend | |
179 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp Liquibase db schema definitions | |
180 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp production database setup | |
181 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp OSGi service definitions | |
182 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp web frontend | |
183 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn web security component | |
184 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp REST API | |
185 │ Active │ 80 │ 1.9.3 │ Apache Commons BeanUtils | |
186 │ Active │ 80 │ 3.2.2 │ Apache Commons Collections | |
187 │ Active │ 80 │ 3.12.0 │ Apache Commons Lang | |
188 │ Active │ 80 │ 1.2.0 │ Apache Commons Logging | |
190 │ Active │ 80 │ 4.3.2 │ Apache Karaf :: JDBC :: Core | |
193 │ Active │ 80 │ 1.7.0 │ Apache Shiro :: Core | |
194 │ Active │ 80 │ 1.7.0 │ Apache Shiro :: Web | |
195 │ Active │ 80 │ 1.11.3 │ jsoup Java HTML Parser | |
196 │ Active │ 80 │ 1.13.1 │ jsoup Java HTML Parser | |
198 │ Active │ 80 │ 0.5.0 │ pax-transx-tm-api | |
203 │ Active │ 80 │ 42.2.17 │ PostgreSQL JDBC Driver | |
205 │ Active │ 80 │ 0 │ wrap_file__home_sb_.m2_repository_org_owasp_encoder_encoder_1.2.2_encoder-1.2.2.jar | |
karaf@root()> shell:history | |
0 shell:history | |
1 bundle:list | |
2 shell:history | |
karaf@root()> exit | |
karaf@root()> quit | |
Command not found: quit | |
karaf@root()> | |
sb@lorenzo:/tmp/apache-karaf-4.3.2$ bin/karaf | |
__ __ ____ | |
/ //_/____ __________ _/ __/ | |
/ ,< / __ `/ ___/ __ `/ /_ | |
/ /| |/ /_/ / / / /_/ / __/ | |
/_/ |_|\__,_/_/ \__,_/_/ | |
Apache Karaf (4.3.2) | |
Hit '<tab>' for a list of available commands | |
and '[cmd] --help' for help on a specific command. | |
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. | |
karaf@root()> shell:history | |
0 shell:history | |
1 bundle:list | |
2 shell:history | |
3 exit | |
4 quit | |
5 shell:history | |
karaf@root()> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment