Description
Pax Logging 1.11.0 has just been released with lots of improvemets related to consistency, stability and API polishing.
All Karaf 4.2.x integration tests work, except:
[ERROR] Errors: [ERROR] JpaExampleTest.test » CommandNotFound Command not found: booking:add [ERROR] RestExampleTest.testWithCxfClient » WrappedTestContainer [org.apache.karaf.ite...
RestExampleTest has problems with jackson ranges:
2019-07-26T11:26:25,535 | ERROR | RMI TCP Connection(3)-127.0.0.1 | KarafTestWatcher | 26 - org.apache.karaf.itests.common - 4.2.7.SNAPSHOT | >>>>>> FAILED: testWithCxfClient(org.apache.karaf.itests.examples.RestExampleTest) , cause: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=karaf-rest-example-client-cxf; type=karaf.feature; version="[4.2.7.SNAPSHOT,4.2.7.SNAPSHOT]"; filter:="(&(osgi.identity=karaf-rest-example-client-cxf)(type=karaf.feature)(version>=4.2.7.SNAPSHOT)(version<=4.2.7.SNAPSHOT))" [caused by: Unable to resolve karaf-rest-example-client-cxf/4.2.7.SNAPSHOT: missing requirement [karaf-rest-example-client-cxf/4.2.7.SNAPSHOT] osgi.identity; osgi.identity=org.apache.karaf.examples.karaf-rest-example-client-cxf; type=osgi.bundle; version="[4.2.7.SNAPSHOT,4.2.7.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.examples.karaf-rest-example-client-cxf/4.2.7.SNAPSHOT: missing requirement [org.apache.karaf.examples.karaf-rest-example-client-cxf/4.2.7.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.10.0)(!(version>=3.0.0)))"]]
and JpaExampleTest has this problem (checking):
java.lang.ExceptionInInitializerError: null at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:78) ~[?:?] at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:67) ~[?:?] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:202) ~[?:?] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:181) ~[?:?] at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:83) ~[?:?] at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:103) ~[?:?] at org.hibernate.osgi.OsgiPersistenceProvider.createContainerEntityManagerFactory(OsgiPersistenceProvider.java:95) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceProviderTracker.createAndCloseDummyEMF(PersistenceProviderTracker.java:105) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceProviderTracker.addingService(PersistenceProviderTracker.java:86) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceProviderTracker.addingService(PersistenceProviderTracker.java:44) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) ~[osgi.core-6.0.0.jar:?] at org.apache.aries.jpa.container.impl.PersistenceBundleTracker.trackProvider(PersistenceBundleTracker.java:229) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceBundleTracker.findPersistenceUnits(PersistenceBundleTracker.java:213) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceBundleTracker.addingBundle(PersistenceBundleTracker.java:98) ~[?:?] at org.apache.aries.jpa.container.impl.PersistenceBundleTracker.addingBundle(PersistenceBundleTracker.java:44) ~[?:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) ~[osgi.core-6.0.0.jar:?] at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516) ~[?:?] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) ~[?:?] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2231) ~[?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2146) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?] at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153) ~[?:?] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_221] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_221] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_221] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] Caused by: java.lang.IllegalArgumentException: can't parse argument number: %s at java.text.MessageFormat.makeFormat(MessageFormat.java:1429) ~[?:1.8.0_221] at java.text.MessageFormat.applyPattern(MessageFormat.java:479) ~[?:1.8.0_221] at java.text.MessageFormat.<init>(MessageFormat.java:362) ~[?:1.8.0_221] at java.text.MessageFormat.format(MessageFormat.java:840) ~[?:1.8.0_221] at org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger.doLog(JBossLoggingLogger.java:59) ~[!/:?] at org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger.doLogf(JBossLoggingLogger.java:84) ~[!/:?] at org.jboss.logging.Logger.logf(Logger.java:2398) ~[!/:?] at org.hibernate.internal.CoreMessageLogger_$logger.version(CoreMessageLogger_$logger.java:2557) ~[?:?] at org.hibernate.Version.logVersion(Version.java:46) ~[?:?] at org.hibernate.cfg.Environment.<clinit>(Environment.java:174) ~[?:?] ... 42 more Caused by: java.lang.NumberFormatException: For input string: "%s" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_221] at java.lang.Integer.parseInt(Integer.java:569) ~[?:1.8.0_221] at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_221] at java.text.MessageFormat.makeFormat(MessageFormat.java:1427) ~[?:1.8.0_221] at java.text.MessageFormat.applyPattern(MessageFormat.java:479) ~[?:1.8.0_221] at java.text.MessageFormat.<init>(MessageFormat.java:362) ~[?:1.8.0_221] at java.text.MessageFormat.format(MessageFormat.java:840) ~[?:1.8.0_221] at org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger.doLog(JBossLoggingLogger.java:59) ~[!/:?] at org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger.doLogf(JBossLoggingLogger.java:84) ~[!/:?] at org.jboss.logging.Logger.logf(Logger.java:2398) ~[!/:?] at org.hibernate.internal.CoreMessageLogger_$logger.version(CoreMessageLogger_$logger.java:2557) ~[?:?] at org.hibernate.Version.logVersion(Version.java:46) ~[?:?] at org.hibernate.cfg.Environment.<clinit>(Environment.java:174) ~[?:?] ... 42 more
Attachments
Issue Links
- duplicates
-
KARAF-6367 Upgrade to Pax Logging 1.10.3
- Resolved