3 Replies Latest reply on Dec 2, 2015 12:36 AM by tanzeem

    Timeout for Jive local instance 7.0.4

    allenh

      Hey guys

       

      I just wanted to check if anyone has seen the issue before. I have created a local instance for 7.0.4 by using the following section for pom.xml:

       

        <properties>

            <jive.version>7.0.4.0_603_3b79b96</jive.version>

            <jive.core.jar>jive-core</jive.core.jar>

            <jive.setup>true</jive.setup> <!-- set to false if you run Jive setup -->

       

      The instance was created when running command mvn clean install -Djive.setup=false. I was able to run http://localhost:8080/ and first configured the local instance. But after re-starting the instance, it always showed timeout as following:

       

      [WARNING] [talledLocalContainer] INFO: No Spring WebApplicationInitializer types detected on classpath

      [WARNING] [talledLocalContainer] May 19, 2015 7:39:22 PM org.apache.catalina.core.ApplicationContext log

      [WARNING] [talledLocalContainer] INFO: Initializing Spring root WebApplicationContext

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

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 23:20 min

      [INFO] Finished at: 2015-05-19T20:01:31-04:00

      [INFO] Final Memory: 18M/248M

      [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 deplo

      ying within the timeout period [1360000]. The Deployable state is thus unknown. -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [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

       

      Any insights about the issue?

      Thanks in advance.

      Allen

       

      .

        • Re: Timeout for Jive local instance 7.0.4
          mcollinge

          We get the same thing .. likelihood is that nothing is wrong, and it just hit the timeout period.. increase it in the web/pom.xml file. We have ours set to 46000000 so that it doesn't time out like that. 

            • Re: Timeout for Jive local instance 7.0.4
              allenh

              Matt, Thank you so much for the tip, it worked perfectly.  I used your number, and eventually the instance started. I had tried 1360000 for timeout, apparently it was way more smaller than it needed.


              Thanks again for your help!

               

              [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.coyote.AbstractProtocol start

              [WARNING] [talledLocalContainer] INFO: Starting ProtocolHandler ["http-bio-8080"]

              [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.coyote.AbstractProtocol start

              [WARNING] [talledLocalContainer] INFO: Starting ProtocolHandler ["ajp-bio-8009"]

              [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.catalina.startup.Catalina start

              [WARNING] [talledLocalContainer] INFO: Server startup in 3318966 ms

              [INFO] [talledLocalContainer] Tomcat 7.x started on port [8080]

              [WARNING] The wait parameter is now deprecated, please use cargo:run instead

                • Re: Timeout for Jive local instance 7.0.4
                  tanzeem

                  Hi,

                   

                  i'm facing similar issue even after increasing the timeout period there is a build failure.

                  other thing what i have noticed from the log is that, only INFO: Starting ProtocolHandler ["ajp-bio-8009"] is displayed and the below highlighted message doesn't appear ["http-bio-8080"]

                   

                  [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.coyote.AbstractProtocol start

                  [WARNING] [talledLocalContainer] INFO: Starting ProtocolHandler ["http-bio-8080"]

                  [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.coyote.AbstractProtocol start

                  [WARNING] [talledLocalContainer] INFO: Starting ProtocolHandler ["ajp-bio-8009"]

                  [WARNING] [talledLocalContainer] May 20, 2015 9:33:51 AM org.apache.catalina.startup.Catalina start

                  [WARNING] [talledLocalContainer] INFO: Server startup in 3318966 ms

                   

                  Can anyone please help me here.

                   

                  -Tanzeem