I am trying to install and get working a
tomcat app on a server I don't administer. The sysadmin doesn't know tomcat. I uploaded the files but tomcat doesn't recognize anything I do.
I've added a context for my app to the server.xml file, I've created the appropriate directories in the webapps folder, and tomcat was restarted. However, tomcat can't seem to pull up anything i my directory, or any other directory ( including ROOT ). I get 'resource unavailable' messages with no error in the log.
When I go to 'remotehost;8080/manager/html/list' and try to log in to restart my web application or see if it is even listed, it refuses me. ( I've set up a clear text name/password in the tomcat-users.xml file ). I've tried accessing the manager locally using lynx and gotten the same response.
When I try this, there is an error in the catalina.log file:
Oct 22, 2004 4:33:04 PM org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at org.apache.catalina.realm.RealmBase.findSecurityConstraints(RealmBase.java:475)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
...
I've looked throughout the conf files but can't see anything wrong.
Does anyone have any idea of any configuration or installation problems that might be hampering me? Thanks!
( Because I can't even bring up the ROOT/index.jsp page, I don't know what version I'm working with. I was simply assured it was tomcat 5.x )