Matt Pavlovich
Matt Pavlovich
w00t! I set the JavaSecurityTest to @Ignore and everything else passed! If we can solve for the JavaSecurityTest the change set is ready for merge.
@holgerfriedrich that is a good point. We may need to make a ticket to re-enable some sort of security test and also check in w Apache Felix on what the...
> @mattrpav we can use @ignore("here my comment with github issue") @jbonofre Yes =) Your comment was faster than my push ;-) see [JavaSecurityTest.java](https://github.com/apache/karaf/pull/1992/files#diff-4e35d1a0d3bc6f9aaf413ffee7378e16a75dfa637dd4cd8e54f09540e3ba823f)
Ok.. so one idea is to use MRJ and have a separate JaasHelper class that is JDK 21+. The catch would be that we'd have to convert a bunch of...
Error when attempting to restart causes this as well ``` Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0: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:...
@jbonofre the error seems to indicate that it can’t find the “karaf-root” context. Perhaps the server factory is trying to start before the management context is done being created? Or...
@jbonofre good catch. from the log, the Activator is running twice. ``` 2025-11-01T03:29:38,554 | WARN | activator-1-thread-1 | Activator | 203 - org.apache.karaf.management.server - 4.4.6 | java.rmi.server.hostname system property is...
Related on first boot: Caused by: javax.naming.NoInitialContextException ref: https://github.com/apache/aries/blob/a5212a3b55e3abde893d3e5beb9daba5c9a7aa68/jndi/jndi-core/src/main/java/org/apache/aries/jndi/DelegateContext.java#L255 stacktrace printed to karaf console: ``` Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server at...
Note: Vanilla karaf v4.4.8 works using the Java-based ssh client as does macOS ssh clinet Karaf Java-ssh: ``` % ./bin/client -u karaf -p karaf Logging in as karaf __ __...
@rovarga Are you using 'ed25519' exclusively? Are you adding the bouncy castle libraries in your install? EDIT: @rovarga your local .ssh/config may be configured to disable password authentication method, if...