1 Reply Latest reply on May 3, 2015 2:39 PM by Michael Mogley

    Logger implementation class org.infinispan.cdi.util.logging.Log_$logger has no matching constructor on startup?

    Johannes Hoffmeister Newbie

      Hi,

      I just updated my Infinispan 5.3.0 to 7.0.3 Final. I Build it successfully and updated the infinispan_conf.xml. When i try to deploy my new ear to my glassfish im getting the following error:

       

      [#|2015-01-23T14:19:49.822+0100|SEVERE|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|org.glassfish.deployment.common.DeploymentException

          at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:181)

          at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)

          at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)

          at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)

          at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:378)

          at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:222)

          at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

          at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

          at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

          at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

          at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

          at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78)

          at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)

          at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)

          at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)

          at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

          at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)

          at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:69)

          at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:606)

          at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)

          at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)

      Caused by: java.lang.ExceptionInInitializerError

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

          at org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:235)

          at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:209)

          at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:177)

          at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:149)

          at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:292)

          at org.glassfish.weld.DeploymentImpl.getExtensions(DeploymentImpl.java:365)

          at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:324)

          at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:177)

          ... 24 more

      Caused by: java.lang.IllegalArgumentException: Logger implementation class org.infinispan.cdi.util.logging.Log_$logger has no matching constructor

          at org.jboss.logging.Logger.getMessageLogger(Logger.java:2255)

          at org.jboss.logging.Logger.getMessageLogger(Logger.java:2211)

          at org.infinispan.commons.logging.LogFactory.getLog(LogFactory.java:19)

          at org.infinispan.cdi.InfinispanExtension.<clinit>(InfinispanExtension.java:23)

          ... 36 more

      |#]

       

      Im wondering whats going on here. Is this Jboss using infinspan logger?! im totally confused. Anyone has an idea whats wrong?