Hello again all,
Here is what I am trying to do. I have three vitrual hosts, and I need to
have JSP active on one of them. I cannot get JSP to run on it at all.
The most recent error is the following.
[Mon Jul 26 08:53:01 2004] [error] VirtualHost 10.198.105.33:0 -- mixing *
ports
and non-* ports with a NameVirtualHost address is not supported,
proceeding wit
h undefined results
d:/webserver/apache/conf/httpd.conf: Syntax OK
When I take the Include Directive for the mod_jk.conf auto config file out
of httpd.conf, Apache does not give me an error.
What I need is for JSP to run on the IP 10.198.123.1/whatever.jsp so to
speak. If it works on the rest of the IP's (10.198.105.33 and 10.198.123.2)
that is fine too. I need it to run from / though.
Below is the workers.properties, mod_jk.conf and server.xml files.
Any help is appreciated.
Thanks in advance,
Phil
---mod_jk.conf ---
########## Auto generated on Mon Jul 26 08:34:13 EDT 2004##########
LoadModule jk_module modules/mod_jk.dll
JkWorkersFile "d:/webserver/tomcat4/conf/jk/workers.properties"
JkLogFile "d:/webserver/logs/mod_jk.log"
JkLogLevel info
ServerName 10.198.105.33
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
-- workers.properties --
workers.tomcat_home=d:\webserver\tomcat4
workers.java_home=$(JAVA_HOME)
workers.th=$(workers.tomcat_home)
ps=\
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.th)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.th)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.th)$(ps)logs$(ps)inprocess.stderr
-- server.xml --
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
usersa
password
driverClassName
org.hsql.jdbcDriver
driverName
jdbc:HypersonicSQL:database
mail.smtp.host
localhost
--- virtualhosts from Apache httpd.conf ---
NameVirtualHost 10.198.105.33
NameVirtualHost 10.198.123.1
NameVirtualHost 10.198.123.2
ServerAdmin pblancher@x
DocumentRoot d:/webserver/www
ServerName 10.198.105.33
ErrorLog logs/105.33.com-error_log
CustomLog logs/105.33.com-access_log common
ServerAdmin pblancher@x
DocumentRoot d:/webserver/web1
ServerName 10.198.123.1
ErrorLog logs/123.1.com-error_log
CustomLog logs/123.1.com-access_log common
ServerAdmin pblancher@x
DocumentRoot d:/webserver/web2
ServerName 10.198.123.2
ErrorLog logs/123.2.com-error_log
CustomLog logs/123.2.com-access_log common
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org