Hi All:
I have installed Apache Tomcat 4.1.29 and have configured it
appropriately on port 8080 as descirbed at
<a style='text-decoration: underline;' href="http://www.moreservlets.com/Using-Tomcat-4.html" target="_blank">http://www.moreservlets.com/Using-Tomcat-4.html</a>
I've set the JAVA_HOME variable and I have Java SDK 1.4.2 installed.
I've got servlet reloading and have enabled the ROOT context in
server.xml file in the conf folder.
I've turned on the invoker servlet over in the web.xml file in the
conf folder.
I've set CLASSPATH to include /common/lib/servlet.jar, my development
directory and the current directory (.)
I've dropped a short hello.htm file into C:\Program Files\Apache
Group\Tomcat 4.1\webapps\ROOT and tried accessing it with
<a style='text-decoration: underline;' href="http://localhost:8080/hello.htm" target="_blank">http://localhost:8080/hello.htm</a> only to get page cannot be displayed
message.
I do note that everytime I execute the Tomcat startup batch file, that
the following entry gets added to a Catalina log file in the logs
folder. I'm sure this is my problem but I have no idea what's causing
it.
I'm running Windows 2000, SP4. Does anyone have any advice on where
I'm going wrong? I'd appreciate it very much!
Drew
2004-02-01 15:00:40 UserDatabaseRealm[Standalone]: Exception looking
up UserDatabase under key UserDatabase
javax.naming.NamingException: The entity name must immediately follow
the '&' in the entity reference.
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: tomcat installation problem