Apache2...TC4.1.30...mod_jk odd behavior

2005-08-17 Thread Chris Pat
Hello
I am getting odd behavior w/TC4.1.30 and the
configurations below.  
www.vhost01.com  www.vhost01.com/hello.jsp work and
as expected
www.vhost02.com  www.vhost02.com/sb/hello.jsp work
NOT as expected.  As implied in the server.xml
snipette the tomcat serving directory is the typical
/webapps/op for vhost01  /webapps/sb for vhost02.
(Its a perverse mgt story why they are not vhost01 
vhost02).  The configs are, afaiks, identical
parameterized as needed.  www.vhost02.com/hello.jsp
should work.  Ideas?  tia


httpd.conf
VirtualHost 192.168.2.100
ServerName www.vhost01.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot D:/Projects01/vhost01/site
ErrorLog D:/Projects01/vhost01/logs/error_log
CustomLog D:/Projects01/vhost01/logs/access_log
common
JkMount /*.jsp connect_cp   
JkMount /servlet/* connect_cp


/VirtualHost

VirtualHost 192.168.2.100
ServerName www.vhost02.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot D:/Projects01/vhost02/site
ErrorLog D:/Projects01/vhost02/logs/error_log
CustomLog D:/Projects01/vhost02/logs/access_log
common
JkMount /*.jsp connect_sb
JkMount /servlet/* connect_sb

/VirtualHost

server.xml
 Host name=www.vhost01.com debug=0
unpackWARs=true
Logger
className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=op.
suffix=.txt timestamp=true/
Context path= docBase=webapps/op
debug=1 appBase=webapps/op reloadable=true/
Valve
className=org.apache.catalina.valves.AccessLogValve
 directory=logs 
prefix=virtual_log. suffix=.txt
 pattern=common/
/Host 
Host name=www.vhost02.com debug=0
unpackWARs=true
Logger
className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=sb.
suffix=.txt timestamp=true/
Context path= docBase=webapps/sb
debug=1 appBase=webapps/sb reloadable=true/
Valve
className=org.apache.catalina.valves.AccessLogValve
 directory=logs 
prefix=virtual_log. suffix=.txt
 pattern=common/
/Host 

properties
workers.tomcat_home E:\Program Files\Tomcat 4.1
workers.java_home=$JAVA_HOME
ps\
worker.list=ajp12, ajp13, connect_cp, connect_sb
worker.connect_cp.port=8009
worker.connect_cp.host=www.vhost01.com
worker.connect_cp.type=ajp13

worker.connect_sb.port=8009
worker.connect_sb.host=www.vhost02.com
worker.connect_sb.type=ajp13

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tc4 tc4

2005-07-19 Thread Chris Pat
Hi 
I have tc4 working fine.  Installed tc5.5.9 and set
the port to 9080 and of course a diff dir.  However I
cant connect to it at that port even tough I have his
from the tc5 server.xml

!--  Define a non-SSL HTTP/1.1 Connector on port 8080

  -- 
  Connector port=9080 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75 enableLookups=false
redirectPort=8443 acceptCount=100
connectionTimeout=2 disableUploadTimeout=true
/ 

Can someone explain what additional config is
necessary to run both tc4  tc5 on 8080 and 9080 on
the same localhost?  tia.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tc4 tc4

2005-07-19 Thread Chris Pat
Hi David
Thanks for the response, however I set it to 8006,
checked to make sure nothing in that file of tc4 was
on that port, bounced tc5 and I still cant get in on
that port.  This is the second un/reinstall reboot
today.  Yes, it is a wintel box w2ksrvsp4.  Any ideas?

--- David Smith [EMAIL PROTECTED] wrote:

 Also set the shutdown port at the top of the
 server.xml to something 
 other than 8005 .
 
  --David
 
 Chris Pat wrote:
 
 Hi 
 I have tc4 working fine.  Installed tc5.5.9 and set
 the port to 9080 and of course a diff dir.  However
 I
 cant connect to it at that port even tough I have
 his
 from the tc5 server.xml
 
 !--  Define a non-SSL HTTP/1.1 Connector on port
 8080
 
   -- 
   Connector port=9080 maxHttpHeaderSize=8192
 maxThreads=150 minSpareThreads=25
 maxSpareThreads=75 enableLookups=false
 redirectPort=8443 acceptCount=100
 connectionTimeout=2
 disableUploadTimeout=true
 / 
 
 Can someone explain what additional config is
 necessary to run both tc4  tc5 on 8080 and 9080 on
 the same localhost?  tia.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
   
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tc4 tc4

2005-07-19 Thread Chris Pat
Hi Rogerio
Thanks.  But isnt that the same environment var for
TC4 excluding simultaneous instances?

--- Rogerio Baldini das Neves
[EMAIL PROTECTED] wrote:

 Hi Chris
 
 Check if there is a enviroment variable called
 CATALINA_HOME.
 It can make things donĀ“t work.
 
 Rogerio
 
 
 - Original Message - 
 From: David Smith [EMAIL PROTECTED]
 To: Tomcat Users List
 tomcat-user@jakarta.apache.org
 Sent: Tuesday, July 19, 2005 4:32 PM
 Subject: Re: tc4  tc4
 
 
  Take a look at the log file catalina.out and see
 if there are any errors
  there. An exception is most likely causing it to
 fail on startup.
 
  Chris Pat wrote:
 
  Hi David
  Thanks for the response, however I set it to
 8006,
  checked to make sure nothing in that file of tc4
 was
  on that port, bounced tc5 and I still cant get in
 on
  that port.  This is the second un/reinstall
 reboot
  today.  Yes, it is a wintel box w2ksrvsp4.  Any
 ideas?
  
  --- David Smith [EMAIL PROTECTED] wrote:
  
  
  
  Also set the shutdown port at the top of the
  server.xml to something
  other than 8005 .
  
   --David
  
  Chris Pat wrote:
  
  
  
  Hi
  I have tc4 working fine.  Installed tc5.5.9 and
 set
  the port to 9080 and of course a diff dir. 
 However
  
  
  I
  
  
  cant connect to it at that port even tough I
 have
  
  
  his
  from the tc5 server.xml
  
  
  !--  Define a non-SSL HTTP/1.1 Connector on
 port
  
  
  8080
  
  
   --
   Connector port=9080
 maxHttpHeaderSize=8192
  maxThreads=150 minSpareThreads=25
  maxSpareThreads=75 enableLookups=false
  redirectPort=8443 acceptCount=100
  connectionTimeout=2
  
  
  disableUploadTimeout=true
  
  
  /
  
  Can someone explain what additional config is
  necessary to run both tc4  tc5 on 8080 and
 9080 on
  the same localhost?  tia.
  
 

__
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  
  
  protection around
  
  
  http://mail.yahoo.com
  
  
  
 

-
  
  
  To unsubscribe, e-mail:
  
  
  [EMAIL PROTECTED]
  
  
  For additional commands, e-mail:
  
  
  [EMAIL PROTECTED]
  
  
  
  
  
  
  
  
  
 

-
  
  
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
  
  
  
  
 
 __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tc4 tc4

2005-07-19 Thread Chris Pat
Hi David
Thanks.  I sheepishly have to be a, temporary,
subscriber to RTFM.  The log complains that it needs
jdk1.5, of course I knew that but was still thinking
that there was a way to run it on jkd1.4.  Is there? 
Or can I give tc5 the location of the jdk1.5 not as an
environment variable and keep tc4 using the environ as
now is?  I also assume that tc5 on jdk1.4 is for
development only?  Sorry for the newbie barrage.

--- David Smith [EMAIL PROTECTED] wrote:

 Take a look at the log file catalina.out and see if
 there are any errors 
 there. An exception is most likely causing it to
 fail on startup.
 
 Chris Pat wrote:
 
 Hi David
 Thanks for the response, however I set it to 8006,
 checked to make sure nothing in that file of tc4
 was
 on that port, bounced tc5 and I still cant get in
 on
 that port.  This is the second un/reinstall reboot
 today.  Yes, it is a wintel box w2ksrvsp4.  Any
 ideas?
 
 --- David Smith [EMAIL PROTECTED] wrote:
 
   
 
 Also set the shutdown port at the top of the
 server.xml to something 
 other than 8005 .
 
  --David
 
 Chris Pat wrote:
 
 
 
 Hi 
 I have tc4 working fine.  Installed tc5.5.9 and
 set
 the port to 9080 and of course a diff dir. 
 However
   
 
 I
 
 
 cant connect to it at that port even tough I have
   
 
 his
 from the tc5 server.xml
 
 
 !--  Define a non-SSL HTTP/1.1 Connector on port
   
 
 8080
 
 
  -- 
  Connector port=9080 maxHttpHeaderSize=8192
 maxThreads=150 minSpareThreads=25
 maxSpareThreads=75 enableLookups=false
 redirectPort=8443 acceptCount=100
 connectionTimeout=2
   
 
 disableUploadTimeout=true
 
 
 / 
 
 Can someone explain what additional config is
 necessary to run both tc4  tc5 on 8080 and 9080
 on
 the same localhost?  tia.
 

__
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
   
 
 protection around 
 
 
 http://mail.yahoo.com 
 
   
 

-
 
 
 To unsubscribe, e-mail:
   
 
 [EMAIL PROTECTED]
 
 
 For additional commands, e-mail:
   
 
 [EMAIL PROTECTED]
 
 
  
 
   
 
 
 
 

-
   
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
   
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]