
September 29th, 2003, 06:51 PM
|
|
Registered User
|
|
Join Date: Sep 2003
Location: Middlesbrough
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Apache + Tomcat Installation Issues
I've just followed the 'Slapping Together a JSP Development Environment' and everything was going fine until I got to the 'Joining the Dots' section. I realise there is a thread for the 'STaJDE' tutorial but it hasn't had any posts since April so I thought this would be the better place.
After modifying the httpd.conf and tomcat-apache.conf I tried to run the Apache server I got:
[warn] mdoule jserv_module is already loaded, skipping
Syntax error on line 2 of c:/program files/apache group/tomcat/conf/tomcat-apache.conf:
Invalid command 'ApJServManual', perhaps mis-spelled or defined by a module not included in the server configuration.
I've searched for ApJServManual on these boards and it came up blank. The tutorial recommends wrapping the long filenames in double quotes but they already were. I've also made sure all the filenames are forward slashed. Not knowing enough about conf files I am loathe to just start deleting lines.
Here's the first few lines of my tomcat-apache.conf file:
LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
ApJServDefaultPort 8007
My set up:
Win2K+sp4
JSDK1.3.1_09 - c:\program files\jdk1.3.1_09
Apache 1.3.28 - C:\Program Files\Apache Group\Apache
Tomcat 3.2.3 - C:\Program Files\Apache Group\Tomcat
I know this Tomcat isn't the latest, but I've made my environment the same as my webhost, and they have no plans to upgrade since they get the JSP racks off another company.
I've also tried to run Tomcat as a standalone, but now it refuses to run complaining my environment variables aren't set despite working on the 'One Tomcat, Standing Alone' page with the variables set in my Environment Options. If I set them manually at the command prompt it starts working again.
I hope this is enough for people to help me.
Take care, Mournblade.
Last edited by Mournblade : September 29th, 2003 at 06:55 PM.
|