Was this a fresh Debian install? The error seems to indicate that Tomcat won't 
load the context because of a problem with the web.xml that's in the site 
directory. There shouldn't need to be a "cfmServlet" definition in the site 
directory because it's already present in the default web.xml. I'm pretty sure 
OpenBD doesn't create it's own context definitions in the web.xml file, so I'm 
guessing this is a "left-over" from a different install?

-Jordan

----- Original Message -----
From: "Christian Adelbrecht" <[email protected]>
To: "Open BlueDragon" <[email protected]>
Sent: Friday, December 16, 2011 7:44:29 AM
Subject: [OpenBD] tomcat gives me 404 after setting up vhost with openbd 
installer

Hello at first!

I love openbd and it works on one of my servers perfect!

Now I tried to install it on a vServer. Everything seems to work fine
as I setup a ip based host in the server.xml

        <Host name="X.Y.Z.A" appBase="webapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">
             <Context path="" docBase="/var/www/" />
             <Alias>X.Y.Z.A</Alias>
        </Host>

As we all know, its not good to set it up with IP - the openbd admin
will not work

so i tried it with

        <Host name="mydomain.com" appBase="webapps"
             unpackWARs="true" autoDeploy="true"
             xmlValidation="false" xmlNamespaceAware="false">
             <Context path="" docBase="/var/www/virtual/mydomain.com/
htdocs/" />
             <Alias>mydomain.com</Alias>
        </Host>

as I work here with the ISPcp - hosting panel that makes that kind of
directory.

now when I enter the domain i get:

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.

Apache Tomcat/6.0.26

and the catalina.out means:

Dec 16, 2011 6:18:16 PM org.apache.catalina.startup.ContextConfig
applicationWebConfig
SEVERE: Parse error in application web.xml file at jndi:/mydomain.com/
WEB-INF/web.xml
java.lang.IllegalArgumentException: addChild:  Child name 'cfmServlet'
is not unique
.....
Dec 16, 2011 6:18:07 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].
[mydomain.com].[/] has not been started
Dec 16, 2011 6:18:07 PM org.apache.coyote.http11.Http11Protocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8888

OS: Debian 6 with 2.6.32-042stab039.11 running on a openvz with
apache2.2 - install done by the installer

Regards
Christian

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to