Red Hat Bugzilla – Bug 113286
Tomcat has exceptions when run
Last modified: 2007-04-18 13:01:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp
220.127.116.11; .NET CLR 1.0.3705)
Description of problem:
When I start Tomcat, 'service tomcat start'., Tomcat starts normally.
After Tomcat has started, a null pointer execption occurs. There are
a lot of funny characters in the log file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Type 'service tomcat start'
2.Type 'tail -f /usr/share/tomcat/logs/tomcat.out'
3.Go to http://ashcraftfamily.net:8080
The link is internal ONLY.
Actual Results: A strange log entry appeared.
Expected Results: Tomcat should have started normally.
It's a Compaq Proliant 850R, Dual Processor.
Created attachment 96888 [details]
Hope this helps
Looks like you're pointing your browser at the AJP port. If you want
Tomcat to serve HTTP directly then you need to uncomment the connector
labelled "non-SSL Coyote HTTP/1.1 Connector" in
/etc/tomcat/server.xml. If you want to access Tomcat via AJP
(recommended, and the default) then you need to configure httpd with
mod_jk2 and access Tomcat through that. Configuring mod_jk2 basically
comprises installing the mod_jk2 rpm, adding a pair of lines to
/etc/httpd/conf/workers2.properties for each application, and
reloading httpd (service httpd reload). The relevant lines for the
examples webapp are:
info=Map the whole webapp
Let me know how you get on.
Thanks! I have another problem now though. I will file another bug, as
it is with CCM/CMS