AnsweredAssumed Answered

Issue Getting Jive 6.0 Development Instance Running

Question asked by trevcole on Apr 5, 2013
Latest reply on Apr 8, 2013 by MarcoHenniger

I'm trying to get a local Jive 6.0 dev instance running in CentOS.  I've installed Tomcat6 and create the maven project, but when I run ./cargo-start from the web folder I get the following error;


[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8787

[WARNING] [talledLocalContainer] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.<clinit>(

[WARNING] [talledLocalContainer] Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory

[WARNING] [talledLocalContainer] at$

[WARNING] [talledLocalContainer] at Method)

[WARNING] [talledLocalContainer] at

[WARNING] [talledLocalContainer] at java.lang.ClassLoader.loadClass(

[WARNING] [talledLocalContainer] at sun.misc.Launcher$AppClassLoader.loadClass(

[WARNING] [talledLocalContainer] at java.lang.ClassLoader.loadClass(

[WARNING] [talledLocalContainer] ... 1 more

[WARNING] [talledLocalContainer] Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit.


I've checked the lib & bin folders for $CATALINA_HOME and these both contain the tomcat-juli.jar file and I have access to it.   I tried to also start a Local Tomcat server from within Eclipse and had the same error, to resolve it in Eclipse I simply added the tomcat-juli.jar file as an external library to the classpath within the server configuration.


If I run the same command as executed by ./cargo-start with debug on (-X) I see the following;


[DEBUG] [talledLocalContainer] Executing '/usr/lib/jvm/java-1.6.0-openjdk-' with arguments:
























I therefore think this is simply a classpath issue , but I don't know enough about cargo to know how I can add the tomcat-juli.jar file to the generated -classpath option above to help resolve it.


Is there anyone who can help me here please?


Thanks in advance, as I've been staring at this for two days now!!