Problems Installing Jahia: JetSpeedEngineConstants not found!

"Evan J " <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi,

I am having a problem getting jahia running on my Tomcat server. I've
using mod_jk
to bridge between Apache Tomcat server and Apache httpd -- it works
fine with other
web applicaitons I've deployed thusfar. I've the following host context in my
tomcat/conf/server.xml. My jahia deployment base is /var/www/myhost/jahia, all
the directories are owned by a tomcat user/group accordingly and have
755 permission
(for now). I am trying to run The Jahia Community Edition, latest version, 5.0
(jahia5.0_CE_r14784.tar.gz)


  <Connector address="127.0.0.1"
    port="8009"
    minProcessors="5"
    maxProcessors="75"
    enableLookups="false"
    protocol="AJP/1.3"/>

   <Engine name="appserver">



    <Host        name = "bloo.ms"
              appBase = "/var/www/myhost/"
           autoDeploy = "true"
      deployOnStartup = "true"
            upackWARs = "false"
            deployXML = "true">


              <Valve className="org.apache.catalina.valves.AccessLogValve"
              directory="logs"  prefix="myhost_jahia_access_log." suffix=".txt"
              pattern="common" resolveHosts="true"/>

       <Context path=""
                docBase="jahia"
                reloadable="true">

         <WatchedResource>WEB-INF/web.xml</WatchedResource>

       </Context>

    </Host>

   </Engine>
   ...


The following is the snipet of tomcat/logs/catalina.out when I try to
start Tomcat
server. The line that is throwing an exception is `Caused by:
java.lang.NoClassDefFoundError:
org/apache/jetspeed/engine/JetspeedEngineConstants' so obviously
Tomcat classloader is failing to load this particular class for this
application. I've `jar tfv' the
entire jahia/WEB-INF/lib/*.jar looking for this class but couldn't
find any. And
why is jahia trying to create a particular brand of database before the inital
installation jahia run up? I thought I would be able to select my
database during
the installation (obviously I can't get the jahia application to work so I don't
know at what point of the installation I'll be able to create appropriate tables
and what not).

Aug 4, 2006 10:28:56 AM org.apache.catalina.core.StandardHost init
FINE: Register host myhost.com with domain appserver
Aug 4, 2006 10:28:56 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 4, 2006 10:28:56 AM org.apache.catalina.startup.ContextConfig init
FINE: ContextConfig: Initializing
Aug 4, 2006 10:28:56 AM org.apache.catalina.startup.ContextConfig
processContextConfig
FINE: Processing context [] configuration file /usr/local/tomcat
conf/context.xml
Aug 4, 2006 10:28:56 AM org.apache.catalina.startup.ContextConfig
processContextConfig
FINE: Successfully processed context [] configuration file
/usr/local/tomcat conf/context.xml
Aug 4, 2006 10:28:56 AM org.apache.catalina.startup.ContextConfig
processContextConfig
FINE: Processing context [] configuration file /usr/local/tomcat/conf
appserver/myhost.com/context.xml.default
Aug 4, 2006 10:29:11 AM org.apache.catalina.startup.ContextConfig start
FINE: ContextConfig: Processing START
Aug 4, 2006 10:29:11 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig
FINE: Processing context [] web configuration resource
file:///usr/local/tomcat/conf/web.xml
Aug 4, 2006 10:29:11 AM org.apache.catalina.startup.ContextConfig
applicationWebConfig
FINE: Parsing application web.xml file at jndi:/myhost.com/WEB-INF/web.xml
- Set JAAS app name appserver
Aug 4, 2006 10:29:14 AM org.apache.catalina.startup.ContextConfig
authenticatorConfig
FINE: Configured an authenticator for method BASIC
Aug 4, 2006 10:29:14 AM org.apache.catalina.startup.ContextConfig start
FINE: Pipeline Configuration:
Aug 4, 2006 10:29:14 AM org.apache.catalina.startup.ContextConfig start
FINE:   org.apache.catalina.authenticator.BasicAuthenticator/1.0
Aug 4, 2006 10:29:14 AM org.apache.catalina.startup.ContextConfig start
FINE:   org.apache.catalina.core.StandardContextValve/1.0
Aug 4, 2006 10:29:14 AM org.apache.catalina.startup.ContextConfig start
FINE: ======================
- dbLocation=/WEB-INF/var/dbdata/hsqldbjahia
- realPath = /var/www/myhost/jahia/WEB-INF/var/dbdata/hsqldbjahia
- jahia.config=/WEB-INF/etc/config/jahia.properties
[Server@770d2e]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@770d2e]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@770d2e]: [Thread[main,5,main]]:
setDatabasePath(0,file:/var/www/myhost/jahia/WEB-INF/var/dbdata/hsqldbjahia)
[Server@770d2e]: [Thread[main,5,main]]: setNoSystemExit(true)
[Server@770d2e]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@770d2e]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@770d2e]: [Thread[main,5,main]]: setPort(9001)
[Server@770d2e]: [Thread[main,5,main]]: setTrace(false)
[Server@770d2e]: [Thread[main,5,main]]: setSilent(true)
- Starting HSQLDB server
[Server@770d2e]: Initiating startup sequence...
[Server@770d2e]: Server socket opened successfully in 21 ms.
[Server@770d2e]: Database [index=0, id=0,
db=file:/var/www/myhost/jahia/WEB-INF/var/dbdata/hsqldbjahia, alias=]
opened sucessfully in 1682 ms.
[Server@770d2e]: Startup sequence completed in 1838 ms.
[Server@770d2e]: 2006-08-04 10:29:22.088 HSQLDB server 1.7.3 is online
[Server@770d2e]: To close normally, connect and execute SHUTDOWN SQL
[Server@770d2e]: From command line, use [Ctrl]+[C] to abort abruptly
- Waiting for database to start...
- Filter initialized. Response buffering is enabled
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NoClassDefFoundError:
org/apache/jetspeed/engine/JetspeedEngineConstants
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        ... 6 more


And yes, that's what Tomcat writes to catalina.out and nothing more. After that
it just seems to hang and I don't get my shell prompt back. Any ideas?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.