Hi all

I'm having problems starting Tomcat after my home account (in which Tomcat is installed) was moved from one server to another.

The most visible thing that has changed is that my home directory now has a different path. Before the move, my installation of Tomcat worked fine. Now it won't start (not quite true, see below). I have searched for references to the old home directory path (only in files such as conf/Catalina/localhost/my-web-app.xml) and modified them accordingly, but this doesn't fix the problem.

I have modified my JAVA_HOME and CATALINA_HOME environment variables to point to the correct directories. They are correctly reported when I run startup.sh and shutdown.sh.

To be more precise, Tomcat does seem to start, but doesn't seem to respond to any HTTP requests. The error that is reported in the logs is given at the end of this email, but Google hasn't been able to help me shed any light on this. The error makes reference to 'UserDatabase', but I've never touched such a thing; grepping for it in the Tomcat directory shows that it's used all over the place, but nowhere that I've been playing.

Suggestions are very welcome.

Chris

Error in the catalina.out log:

SEVERE: Catalina.start:
LifecycleException:  No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:259) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:476) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        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:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to