6 Replies Latest reply on May 4, 2017 12:00 PM by SPILA1

    Issues with Jive 9.0.1.0 local build

    SPILA1

      I am not able to bring up Jive 9.0.1.0 site in my local environment - tomcat do not get started. Here are the steps I followed:

       

      1. Set up Jive 8.0.3 which is our current PROD version.
      2. Upgrade to Jive 9.0.0. Server starts up fine.
      3. Upgrade to 9.0.1, successfully went through the upgrade console. The restart of server after this step fails. No plugins are installed. I tried increasing the timeout but that didn't help. This is happening only with 9.0.1, all other version works just fine.

      I am on maven version 3.3.9 and Java 1.8, tomcat is on 7.0.77.

       

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

      Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)

      Maven home: /usr/local/Cellar/maven/3.3.9/libexec

      Java version: 1.8.0_92, vendor: Oracle Corporation

      Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre

      Default locale: en_US, platform encoding: UTF-8

      OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"

       

      Here is the full stack trace :

       

      [WARNING] [talledLocalContainer] Apr 04, 2017 6:27:47 PM org.apache.catalina.startup.TaglibUriRule body

      [WARNING] [talledLocalContainer] INFO: TLD skipped. URI: http://www.opensymphony.com/oscache is already defined

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

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 12:04 min

      [INFO] Finished at: 2017-04-04T18:39:36-07:00

      [INFO] Final Memory: 34M/1436M

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

      [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.4:start (default-cli) on project web: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.4:start failed: Failed to start the Tomcat 7.x container. Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [720000]. The Deployable state is thus unknown. -> [Help 1]

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.4:start (default-cli) on project web: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.4:start failed: Failed to start the Tomcat 7.x container.

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

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

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

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

      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

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

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

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

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

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

      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.4:start failed: Failed to start the Tomcat 7.x container.

      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

      ... 20 more

      Caused by: org.codehaus.cargo.container.ContainerException: Failed to start the Tomcat 7.x container.

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

      at org.codehaus.cargo.maven2.AbstractContainerStartMojo.doExecute(AbstractContainerStartMojo.java:55)

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

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

      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

      ... 21 more

      Caused by: org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [720000]. 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:254)

      at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaInstalledLocalContainer.waitForCompletion(AbstractCatalinaInstalledLocalContainer.java:212)

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

      ... 25 more

      [ERROR]

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException