3 Replies Latest reply on Oct 9, 2012 9:44 AM by Marko Strukelj

    GateIn 3.2 startup fails

    Poornima Abhilash Newbie

        Hi all,

            I have an application deployed in GateIn3.2 which has DB connection to Oracle.After starting GateIn, the following exception is thrown even after removing WSRP as mentioned in the url

      https://community.jboss.org/wiki/WSRPServiceRemovalProcedureGateIn31

       

      java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)

          at java.lang.Class.getMethod(Class.java:1605)

          at

      org.exoplatform.container.definition.PortalContainerConfig.mergeSettings(PortalContainerConfig.java:899)

          at

      org.exoplatform.container.definition.PortalContainerConfig.initializeSettings(PortalContainerConfig.java:653)

          at

      org.exoplatform.container.definition.PortalContainerConfig.initialize(PortalContainerConfig.java:978)

          at

      org.exoplatform.container.definition.PortalContainerConfig.start(PortalContainerConfig.java:1017)

          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.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:75)

          at

      org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)

          at

      org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:453)

          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:186)

          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:180)

          at

      org.exoplatform.container.RootContainer.buildRootContainer(RootContainer.java:406)

          at

      org.exoplatform.container.RootContainer.getInstance(RootContainer.java:443)

          at

      org.exoplatform.web.GenericHttpListener.contextInitialized(GenericHttpListener.java:188)

          at

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

          at

      org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)

          at

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

          at

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

          at

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

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

          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)

       

       

       

      Please help me to rectify this issue.....

      Thanks in advance..

        • 1. Re: GateIn 3.2 startup fails
          Antoine Herzog Master

          Hi,

           

          did you succeed to start the server, before ?

          when going step by step, with success each time, from the downloaded version, then with the oracle, etc... ?

           

          other point : this does not seem to be cause because of the database,... but it is not sure.

          It might be an exception that comes out, because of something else behind the scene.

           

          other point : there is only this exception stack trace ?

          may be provide the all stacktrace, with the underlying causes.

          and may be with the beginning of the log (there my be something interesting before the error)

          (no use after the error...).

           

          As I see it, and with some experience in this kind of error, it might come from a file that you erased, or modified without noticing it...

          or from the xml config.

          but not easy to say more, with only this exception stacktrace.

           

          hope it helps,

          Antoine

          Consultant JBoss AS7, J2EE, JBoss Portal and GateIn UXP, EPP, EAP, JSF, Richfaces, IceFaces.

          • 2. Re: GateIn 3.2 startup fails
            Poornima Abhilash Newbie

            Thanks for your reply.

            The stack trace is as follows :

             

            2012-10-09 15:20:45,572 DEBUG [exo.kernel.container.

            ExoContainer] org.exoplatform.container.definition.PortalContainerDefinitionPlugin {portal=org.exoplatform.container.definition.PortalContainerDefinition@13af79d} added to RootContainer
            2012-10-09 15:20:45,575 DEBUG [exo.kernel.container.ManageableComponentAdapter] ==> add org.exoplatform.container.definition.PortalContainerConfig@15fc507 to a mbean server
            2012-10-09 15:20:45,575 DEBUG [org.exoplatform.container.util.ContainerUtil] Attempt to load property file /D:/abc/abc_Portal/server/default/conf/gatein/configuration.properties
            2012-10-09 15:20:45,576 DEBUG [org.exoplatform.container.util.ContainerUtil] Attempt to load property file /D:/abc/abc_Portal/server/default/conf/gatein/configuration.properties
            2012-10-09 15:20:45,577 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String
            java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)
                at java.lang.Class.getMethod(Class.java:1605)
                at org.exoplatform.container.definition.PortalContainerConfig.mergeSettings(PortalContainerConfig.java:1091)
                 at org.exoplatform.container.definition.PortalContainerConfig.initializeSettings(PortalContainerConfig.java:845)
                at org.exoplatform.container.definition.PortalContainerConfig.initialize(PortalContainerConfig.java:1188)
                 at org.exoplatform.container.definition.PortalContainerConfig.start(PortalContainerConfig.java:1300)
                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.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100)
                 at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
                at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554)
                at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
                 at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
                at org.exoplatform.container.RootContainer$6.run(RootContainer.java:475)
                at org.exoplatform.container.RootContainer$6.run(RootContainer.java:471)
                 at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:291)
                at org.exoplatform.container.RootContainer.buildRootContainer(RootContainer.java:470)
                at org.exoplatform.container.RootContainer.getInstance(RootContainer.java:518)
                 at org.exoplatform.web.GenericHttpListener.contextInitialized(GenericHttpListener.java:201)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
                 at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                 at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                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:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                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:50)
                 at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                 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:361)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
                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)
            2012-10-09 15:20:45,578 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String
            java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)
                at java.lang.Class.getMethod(Class.java:1605)
                at org.exoplatform.container.definition.PortalContainerConfig.mergeSettings(PortalContainerConfig.java:1091)
                 at org.exoplatform.container.definition.PortalContainerConfig.initializeSettings(PortalContainerConfig.java:845)
                at org.exoplatform.container.definition.PortalContainerConfig.initialize(PortalContainerConfig.java:1188)
                 at org.exoplatform.container.definition.PortalContainerConfig.start(PortalContainerConfig.java:1300)
                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.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100)
                 at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
                at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554)
                at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
                 at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
                at org.exoplatform.container.RootContainer$6.run(RootContainer.java:475)
                at org.exoplatform.container.RootContainer$6.run(RootContainer.java:471)
                 at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:291)
                at org.exoplatform.container.RootContainer.buildRootContainer(RootContainer.java:470)
                at org.exoplatform.container.RootContainer.getInstance(RootContainer.java:518)
                 at org.exoplatform.web.GenericHttpListener.contextInitialized(GenericHttpListener.java:201)
                at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
                 at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
                 at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                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:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                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:50)
                 at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                 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:361)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
                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)
            2012-10-09 15:20:45,578 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String

            • 3. Re: GateIn 3.2 startup fails
              Marko Strukelj Master

              This is a _debug_ message, not an error.

               

              You can safely ignore it. You only see it if you reconfigure logging to also show DEBUG level.