2 Replies Latest reply on Mar 22, 2012 12:17 PM by Ronaldo Campos

    solder-logging-3.1.0.Final sources

    Ronaldo Campos Newbie

      Where can I find solder-logging-3.1.0.Final sources?

       

      It is not in ...jar-sources found at maven repository neither github (https://github.com/seam/solder/tree/3.1.0.Final)

       

      I'm trying to deploy a Seam 3 app into JBoss EAP 5 and I am having problems related to Solder logging injection. I need to see the sources to figure out some workaround.

       

      Thanks!

        • 1. Re: solder-logging-3.1.0.Final sources
          Ken Finnigan Master

          Solder Logging is a re-packaged version of jboss-logging, less some classes we overwrite, to not require a dependency on jboss-logging.

           

          What are the injection problems you're having?

          1 of 1 people found this helpful
          • 2. Re: solder-logging-3.1.0.Final sources
            Ronaldo Campos Newbie

            Thantks for your awnser Ken!

             

            When I deploy my app on JBoss EAP 5.1 its causing some conflict with some JBoss libs when it tries to inject a Logger instance (Logger.getLogger).

             

            Here is the exception:

             

             

            12:01:36,061 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/VeereJSF'

            12:01:36,186 ERROR [[/VeereJSF]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener

            com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.faces.environment.SeamApplicationFactory

                      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:216)

                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)

                      at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)

                      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)

                      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

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

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

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

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

                      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                      at $Proxy38.start(Unknown Source)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                      at org.jboss.system.ServiceController.start(ServiceController.java:460)

                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

                      at org.jboss.Main.boot(Main.java:221)

                      at org.jboss.Main$1.run(Main.java:556)

                      at java.lang.Thread.run(Thread.java:619)

            Caused by: java.lang.InstantiationException: org.jboss.seam.faces.environment.SeamApplicationFactory

                      at java.lang.Class.newInstance0(Class.java:340)

                      at java.lang.Class.newInstance(Class.java:308)

                      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:537)

                      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:405)

                      at javax.faces.FactoryFinder.access$400(FactoryFinder.java:135)

                      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:717)

                      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)

                      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:186)

                      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:131)

                      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:206)

                      ... 71 more

            12:01:37,366 ERROR [STDERR] 1461 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.

            12:01:38,472 ERROR [[/VeereJSF]] Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener

            java.lang.RuntimeException: Error instantiating class org.jboss.seam.faces.component.ValidatorConverterScopeOverrideExtension

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

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

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

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

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

                      at org.jboss.weld.bootstrap.ExtensionBeanDeployer.addExtensions(ExtensionBeanDeployer.java:93)

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

                      at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:171)

                      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)

                      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

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

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

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

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

                      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                      at $Proxy38.start(Unknown Source)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                      at org.jboss.system.ServiceController.start(ServiceController.java:460)

                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

                      at org.jboss.Main.boot(Main.java:221)

                      at org.jboss.Main$1.run(Main.java:556)

                      at java.lang.Thread.run(Thread.java:619)

            Caused by: java.lang.NoSuchMethodError: org.jboss.logmanager.LogContext.getAttachment(Ljava/lang/String;Lorg/jboss/logmanager/Logger$AttachmentKey;)Ljava/lang/Object;

                      at org.jboss.solder.logging.internal.JBossLogManagerProvider.doGetLogger(JBossLogManagerProvider.java:52)

                      at org.jboss.solder.logging.internal.JBossLogManagerProvider.getLogger(JBossLogManagerProvider.java:47)

                      at org.jboss.solder.logging.internal.LoggerProviders.find(LoggerProviders.java:37)

                      at org.jboss.solder.logging.internal.LoggerProviders.<clinit>(LoggerProviders.java:32)

                      at org.jboss.solder.logging.internal.Logger.getLogger(Logger.java:2163)

                      at org.jboss.solder.logging.internal.Logger.getLogger(Logger.java:2188)

                      at org.jboss.seam.faces.component.ValidatorConverterScopeOverrideExtension.<init>(ValidatorConverterScopeOverrideExtension.java:24)

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

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

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

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

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

                      ... 76 more