<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Just to add another observation during
opencms startup:<br>
<br>
16 Jan 2015 17:34:43,490 INFO [pencms.module.CmsModuleManager:
795] . Module configuration : initializing module class
org.opencms.search.solr.spellchecking.CmsSpellcheckingModuleAction<br>
16 Jan 2015 17:34:43,491 INFO [pencms.module.CmsModuleManager:
786] . Module configuration : could not create instance for module
"org.opencms.frontend.templatetwo"<br>
java.lang.ClassNotFoundException:
org.opencms.frontend.templatetwo.CmsTemplateModuleAction<br>
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)<br>
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)<br>
at java.security.AccessController.doPrivileged(Native
Method)<br>
at
java.net.URLClassLoader.findClass(URLClassLoader.java:354)<br>
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)<br>
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)<br>
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)<br>
at java.lang.Class.forName0(Native Method)<br>
at java.lang.Class.forName(Class.java:191)<br>
at
org.opencms.module.CmsModuleManager.initialize(CmsModuleManager.java:784)<br>
at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1350)<br>
at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1970)<br>
at
org.opencms.main.CmsShell.<init>(CmsShell.java:526)<br>
at org.opencms.main.CmsShell.main(CmsShell.java:604)<br>
16 Jan 2015 17:34:43,493 INFO [pencms.module.CmsModuleManager:
795] . Module configuration : initializing module class
org.opencms.workplace.CmsWorkplaceAction<br>
16 Jan 2015 17:34:43,493 INFO [pencms.module.CmsModuleManager:
820] . Module configuration : 3 module classes initialized<br>
<br>
(For backward compatibility I've loaded
org.opencms.frontend.templatetwo)<br>
<br>
<br>
<br>
Am 16.01.2015 um 17:03 schrieb Christoph Kukulies:<br>
</div>
<blockquote cite="mid:54B9365E.1070003@physik.rwth-aachen.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="moz-signature">Some remarks on running cmsshell.sh
under ubuntu (Tomcat 7)<br>
<br>
cmsshell.sh is run by<br>
#!/bin/sh<br>
<br>
(which doesn't know of pushd/popd) , so I changed that to our
beloved /bin/bash<br>
<br>
The whole cmsshell.sh now looks with me here under Ubuntu
Ubuntu 14.04.1 LTS:<br>
<br>
<small><small><font face="Courier New, Courier, monospace">#!/bin/bash<br>
# Start script for the OpenCms Shell<br>
#<br>
# Please make sure that "servlet-api.jar" and
"jsp-api.jar" are found.<br>
#<br>
<br>
# get path to opencms base directory<br>
pushd `dirname $0` > /dev/null<br>
OPENCMS_BASE=`dirs +0 -l`<br>
popd > /dev/null<br>
<br>
# get path to tomcat home<br>
if [ -z "$TOMCAT_HOME" ]; then<br>
[ -n "$CATALINA_HOME" ] &&
TOMCAT_HOME="$CATALINA_HOME"<br>
[ -z "$TOMCAT_HOME" ] &&
TOMCAT_HOME="$OPENCMS_BASE"/../../..<br>
fi<br>
<br>
TOMCAT_CLASSPATH=""<br>
# Support for tomcat 5<br>
for JAR in ${TOMCAT_HOME}/common/lib/*.jar; do<br>
TOMCAT_CLASSPATH="${TOMCAT_CLASSPATH}:${JAR}"<br>
done<br>
for JAR in ${TOMCAT_HOME}/shared/lib/*.jar; do<br>
TOMCAT_CLASSPATH="${TOMCAT_CLASSPATH}:${JAR}"<br>
done<br>
# Support for tomcat 6<br>
for JAR in ${TOMCAT_HOME}/lib/*.jar; do<br>
TOMCAT_CLASSPATH="${TOMCAT_CLASSPATH}:${JAR}"<br>
done<br>
<br>
OPENCMS_CLASSPATH=""<br>
for JAR in ${OPENCMS_BASE}/lib/*.jar; do<br>
OPENCMS_CLASSPATH="${OPENCMS_CLASSPATH}:${JAR}"<br>
done<br>
<br>
SERVLET_API=/usr/share/java/servlet-api-3.0.jar<br>
JSP_API=/usr/share/java/jsp-api-2.2.jar<br>
<br>
java -classpath
"${SERVLET_API}:${JSP_API}:${OPENCMS_CLASSPATH}:${TOMCAT_CLASSPATH}:classes"
org.opencms.main.CmsShell -base="${OPENCMS_BASE}" "$@"<br>
</font></small></small><br>
<br>
But executing cmsshell.sh results in just hanging without
issueing any prompt:<br>
<small><small><font face="Courier New, Courier, monospace"><br>
root@kuku:/var/lib/tomcat7/webapps/ROOT/WEB-INF#
./cmsshell.sh<br>
OpenCms WEB-INF path:
"/var/lib/tomcat7/webapps/ROOT/WEB-INF".<br>
OpenCms property file:
"/var/lib/tomcat7/webapps/ROOT/WEB-INF/config/opencms.properties".<br>
<br>
Not starting JLAN server because no config file was found
at
/var/lib/tomcat7/webapps/ROOT/WEB-INF/config/jlanConfig.xml<br>
<br>
Welcome to the OpenCms shell!<br>
<br>
<br>
This is OpenCms 9.5.0.<br>
<br>
Copyright (c) 2014 Alkacon Software GmbH<br>
OpenCms comes with ABSOLUTELY NO WARRANTY<br>
This is free software, and you are welcome to<br>
redistribute it under certain conditions.<br>
Please see the GNU Lesser General Public Licence for<br>
further details.</font></small></small><br>
<br>
Hangs here....<br>
<br>
-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de </div>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>