2 Replies Latest reply: Dec 17, 2012 1:21 AM by sunilkcs RSS

    Cargo (Tomcat) server not starting

    Saravanan D

      Hello All,

      I could not start server, it throws following fatal error, can anybody  help me?

      Thank you in advance.

      Regards,

      -Saravanan.

       

      [ERROR] FATAL ERROR

      [INFO] ------------------------------------------------------------------------

      [INFO] Failed to start the Tomcat 6.x container.

      Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [180000]. The Deployable state is thus unknown.

      [INFO] ------------------------------------------------------------------------

      [INFO] Trace

      • org.codehaus.cargo.container.ContainerException: Failed to start the Tomcat 6.x container.

              at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:173)

              at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:62)

              at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:268)

              at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)

              at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

              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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      Caused by: org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [180000]. The Deployable state is thus unknown.

              at org.codehaus.cargo.container.spi.deployer.DeployerWatchdog.watch(DeployerWatchdog.java:111)

              at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForCompletion(AbstractLocalContainer.java:239)

              at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:167)

              ... 21 more

              at org.codehaus.cargo.container.spi.deployer.DeployerWatchdog.watch(DeployerWatchdog.java:111)

              at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForCompletion(AbstractLocalContainer.java:239)

              at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:167)

              at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:62)

              at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:268)

              at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)

              at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

              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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 4 minutes 29 seconds

      [INFO] Finished at: Mon Feb 06 07:45:58 PST 2012

      [INFO] [talledLocalContainer] 2012-02-06 07:45:57,887 [main] [:] WARN org.springframework.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void com.jivesoftware.community.web.resource.impl.ResourceMarshalerFactory.setResourceSaltSource(com.jivesoftware.community.web.resource.ResourceSaltSource)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

      [INFO] [talledLocalContainer] 2012-02-06 07:45:59,128 [main] [:] WARN org.springframework.aop.framework.Cglib2AopProxy - Unable to proxy method [public final void com.jivesoftware.community.web.resource.impl.ResourceMarshalerFactory.setExtResourceManager(com.jivesoftware.community.web.resource.ext.ExtResourceManager)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

      [INFO] Final Memory: 23M/55M

        • Re: Cargo (Tomcat) server not starting
          Acer

          Hi

           

          We are having exactly the same problem. Is there any solution yet?

          Any help would be appreciated.

           

          Thanks!

          Adrian

            • Re: Cargo (Tomcat) server not starting
              sunilkcs

              I have seen this error two times.

              1. when my server run out of memory. I have seen an error file 'hs_err_pid23112.log" got create in my project folder. So i restarted the machine and it worked.

              2. After installing a plugin , i was getting this error. So i removed the plugin entry from "jiveplugin" table and restarted the service. It worked (I dont know how to recognize whether it is a problem of plugin or some other issue. This error message wont give a clear idea...)