2 Replies Latest reply on Mar 23, 2016 2:02 AM by pfandler

    Why? << Failed to create home directory during initialization. >>

    pfandler

      Hello Community,

       

      I'm trying to build up a Jive development box. At this point I'm stuck with a Java exception. Maybe one of you has had already this...

       

      Thanks, Peter

       

      Some facts about my environment:

           Oracle Virtualbox

           Host operating system: Win7 64 bit

           Guest: OpenSUSE 12 64 bit

           Java 1.8.0.73

           maven 3.3.9

           My user's default group is root.

       

      I executed the following command to start up my jive project for the first time:

       

      >mvn -Dcargo.wait=true -Djive.ws.disabled=true -P [projectname] cargo:start

       

      The output:

       

      ----SNIP----

      [INFO]                                                                        

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

      [INFO] Building weboverlay 8.0.2.0-0-SNAPSHOT

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

      [INFO]

      [INFO] --- cargo-maven2-plugin:1.1.4:start (default-cli) @ web ---

      [INFO] No container defined, using a default [jetty6x, embedded] container

      [INFO] [beddedLocalContainer] Jetty 6.x Embedded starting...

      2016-03-18 09:58:53.247:INFO::Logging to STDERR via org.mortbay.log.StdErrLog

      2016-03-18 09:58:53.293:INFO::jetty-6.1.26

      2016-03-18 09:58:53.799:INFO::Extract /home/peter/jive/jive/web/target/web-8.0.2.0-0-SNAPSHOT.war to /tmp/Jetty_0_0_0_0_8080_web.8.0.2.0.0.SNAPSHOT.war__web.8.0.2.0.0.SNAPSHOT__.tjt9dn/webapp

      2016-03-18 09:59:09.152:WARN::Not an EventListener: com.jivesoftware.community.cache.RequestBasedLocalCache@5d17ef51

      2016-03-18 09:59:09.156:WARN::Not an EventListener: com.jivesoftware.community.web.soy.i18n.bundles.BundleRequestHelper@43f03fea

      2016-03-18 09:59:09.157:WARN::Not an EventListener: com.jivesoftware.community.web.soy.SoySubTemplateUpdateHelper@2d92163a

      log4j:WARN No appenders could be found for logger (com.jivesoftware.community.web.JiveApplicationContextLoaderListener).

      log4j:WARN Please initialize the log4j system properly.                                                                                                                           

      2016-03-18 09:59:10.246:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext@3f9551bc{/web-8.0.2.0-0-SNAPSHOT,/home/peter/jive/jive/web/target/web-8.0.2.0-0-SNAPSHOT.war}                                                                                                                                                                         

      java.lang.RuntimeException: Failed to create home directory during initialization.                                                                                                

              at com.jivesoftware.community.JiveHome.initialize(JiveHome.java:436)

              at com.jivesoftware.community.Jive.start(Jive.java:123)

              at com.jivesoftware.community.web.JiveApplicationContextLoaderListener.contextInitialized(JiveApplicationContextLoaderListener.java:29)

              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)

              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)

              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)

              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)

              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)

              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)

              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)

              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)

              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

              at org.mortbay.jetty.Server.doStart(Server.java:224)

              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

              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:497)

              at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:69)

      2016-03-18 09:59:10.252:INFO::Extract /home/peter/jive/jive/web/target/cargo/configurations/jetty6x/cargocpc.war to /tmp/Jetty_0_0_0_0_8080_cargocpc.war__cargocpc__xflgf3/webapp

      2016-03-18 09:59:10.562:INFO::Started SelectChannelConnector@0.0.0.0:8080

      [INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8080]

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

      [INFO] BUILD SUCCESS

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

      [INFO] Total time: 40.217 s

      [INFO] Finished at: 2016-03-18T09:59:11+01:00

      [INFO] Final Memory: 26M/63M

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

      2016-03-18 09:59:11.602:INFO::Shutdown hook executing

      2016-03-18 09:59:11.603:INFO::Stopped SelectChannelConnector@0.0.0.0:8080

      2016-03-18 09:59:11.608:INFO:/web-8.0.2.0-0-SNAPSHOT:Closing Spring root WebApplicationContext

      2016-03-18 09:59:11.737:INFO::Shutdown hook complete