RE: 503 Service Temporarily Unavailable

2005-06-27 Thread John Lindley
It turns out that it was an issue with load balancing.  The client had decided 
that they wanted to
setup their own OS-level load balancing, so I had disabled it in Apache/Tomcat 
setup.  Apparently,
when they applied the patches to the servers, this must have affected their 
load balancing.  When
I restored the Apache/Tomcat load balancing, all was fine.

Thank you for everyone's suggestions on this!

John

--- [EMAIL PROTECTED] wrote:

 Apache and Tomcat use ports other than 80 to communicate with each other.
 probably something like 8080 8007 8009  or something similar.
 netstat -noa works on XP, so presumable on WS2003 etc
 Cheap trick is to temporarily disable the firewall to see if that makes a
 difference.
 
 Reenabling 80 (default used by every web server) and not reenabling
 unknown ports (like for tomcat) is quite plausible.
 If you're lucky it's something that easy.
 I wish you luck.
 
 -Original Message-
 From: charly [mailto:[EMAIL PROTECTED]
 Sent: Saturday, June 25, 2005 2:52 AM
 To: Tomcat Users List
 Subject: Re: 503 Service Temporarily Unavailable
 
 
 Have you checked the tomcat/mod_jk  logs (catalina,localhost)?
 And only to be sure... have you checked the modification dates of your
 apache/mod_jk config files?
 
 of course you have tried restarting tomcat and apache?
 
 I have done a quick check and it seems ok.  The front page of the site is
 just
 html and it serves
  that up just fine, so port 80 should be fine.  Is there something I'm not
  thinking of?
 
  John
 
  --- [EMAIL PROTECTED] wrote:
 
  I'm sure you have already, but check the Windows Firewall settings.
  Also check what is actually running and listening on what ports.
 
  -Original Message-
  From: John Lindley [mailto:[EMAIL PROTECTED]
  Sent: Saturday, June 25, 2005 12:41 AM
  To: tomcat-user@jakarta.apache.org
  Subject: 503 Service Temporarily Unavailable
 
 
  I am a consultant running Windows server 2003, Apache 2.0.54, Tomcat
 5.0.28,
  mod_jk2 2.0.4
 
  This machine is stored on site of my client.  Last night, they applied
 some
  server patches which
  apparently should have had nothing to do with the Apache/Tomcat setup.
  Before these patches were
  applied, everything was working completely fine.  After the patches were
  applied and the machine
  was restarted, we now get a 503 Service Temporarily Unavailable error.
 
  Apache is correctly serving html, and when port 8080 is specified Tomcat
  serves the jsp pages
  fine.
 
  I saw that someone posted almost the exact same problem on another site
  earlier today.  Did anyone
  else have this problem pop up?  Does anyone have any ideas?  I
 essentially
  need to get this fixed
  before Monday, so any help would be greatly appreciated.  Thanks!
 
  John
 
 
 
 
 
 
 ___
 Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden:
 http://mail.yahoo.de
 
 -
 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]
 
 




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



RE: 503 Service Temporarily Unavailable

2005-06-25 Thread John Lindley
I have done a quick check and it seems ok.  The front page of the site is just 
html and it serves
that up just fine, so port 80 should be fine.  Is there something I'm not 
thinking of?

John

--- [EMAIL PROTECTED] wrote:

 I'm sure you have already, but check the Windows Firewall settings.
 Also check what is actually running and listening on what ports.
 
 -Original Message-
 From: John Lindley [mailto:[EMAIL PROTECTED]
 Sent: Saturday, June 25, 2005 12:41 AM
 To: tomcat-user@jakarta.apache.org
 Subject: 503 Service Temporarily Unavailable
 
 
 I am a consultant running Windows server 2003, Apache 2.0.54, Tomcat 5.0.28,
 mod_jk2 2.0.4
 
 This machine is stored on site of my client.  Last night, they applied some
 server patches which
 apparently should have had nothing to do with the Apache/Tomcat setup.
 Before these patches were
 applied, everything was working completely fine.  After the patches were
 applied and the machine
 was restarted, we now get a 503 Service Temporarily Unavailable error.
 
 Apache is correctly serving html, and when port 8080 is specified Tomcat
 serves the jsp pages
 fine.
 
 I saw that someone posted almost the exact same problem on another site
 earlier today.  Did anyone
 else have this problem pop up?  Does anyone have any ideas?  I essentially
 need to get this fixed
 before Monday, so any help would be greatly appreciated.  Thanks!
 
 John
 
 
 
 
 Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
 http://football.fantasysports.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]



503 Service Temporarily Unavailable

2005-06-24 Thread John Lindley
I am a consultant running Windows server 2003, Apache 2.0.54, Tomcat 5.0.28, 
mod_jk2 2.0.4

This machine is stored on site of my client.  Last night, they applied some 
server patches which
apparently should have had nothing to do with the Apache/Tomcat setup.  Before 
these patches were
applied, everything was working completely fine.  After the patches were 
applied and the machine
was restarted, we now get a 503 Service Temporarily Unavailable error.  

Apache is correctly serving html, and when port 8080 is specified Tomcat serves 
the jsp pages
fine.  

I saw that someone posted almost the exact same problem on another site earlier 
today.  Did anyone
else have this problem pop up?  Does anyone have any ideas?  I essentially need 
to get this fixed
before Monday, so any help would be greatly appreciated.  Thanks!

John



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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



Re: Differences between service startup and batch startup

2005-06-23 Thread John Lindley
I was finally able to get this working.  I'm not sure if it's a bug, but when I 
enter in the user
information on the Log On tab of the Tomcat service interface, it doesn't seem 
to actually apply
the information to the Windows service.  I finally tried entering the same info 
into the Windows
service interface and then it worked fine.

John

--- Jason Bainbridge [EMAIL PROTECTED] wrote:

 On 6/20/05, John Lindley [EMAIL PROTECTED] wrote:
  I have noticed a difference between starting Tomcat 5.0.28 using the 
  service and the batch
 file.
  When I run startup.bat, everything seems to be running fine.  I have an 
  ODBC node defined,
  connecting to an Access database, and I have no trouble retrieving the data 
  through Tomcat.
  However, when I start Tomcat using the Windows service, Tomcat comes up 
  without any errors,
 but I
  cannot retrieve the data from the database.  I get the following error:
  
  
  2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for 
  servlet jsp threw
 exception
  com.borland.dx.dataset.DataSetException: General error
 
 May be you need to check the Allow interact with desktop (or
 whatever it is) option on the Logon details for the Windows Service?
 
 Regards,
 -- 
 Jason Bainbridge
 http://kde.org - [EMAIL PROTECTED]
 Personal Site - http://jasonbainbridge.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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



Re: Differences between service startup and batch startup

2005-06-21 Thread John Lindley
I tried checking the box to allow interaction with the desktop, but it didn't 
seem to make a
difference.  It's just so strange that it works completely fine when started 
from the batch file,
but not the service?

John

--- Jason Bainbridge [EMAIL PROTECTED] wrote:

 On 6/20/05, John Lindley [EMAIL PROTECTED] wrote:
  I have noticed a difference between starting Tomcat 5.0.28 using the 
  service and the batch
 file.
  When I run startup.bat, everything seems to be running fine.  I have an 
  ODBC node defined,
  connecting to an Access database, and I have no trouble retrieving the data 
  through Tomcat.
  However, when I start Tomcat using the Windows service, Tomcat comes up 
  without any errors,
 but I
  cannot retrieve the data from the database.  I get the following error:
  
  
  2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for 
  servlet jsp threw
 exception
  com.borland.dx.dataset.DataSetException: General error
 
 May be you need to check the Allow interact with desktop (or
 whatever it is) option on the Logon details for the Windows Service?
 
 Regards,
 -- 
 Jason Bainbridge
 http://kde.org - [EMAIL PROTECTED]
 Personal Site - http://jasonbainbridge.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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



Differences between service startup and batch startup

2005-06-19 Thread John Lindley
I have noticed a difference between starting Tomcat 5.0.28 using the service 
and the batch file. 
When I run startup.bat, everything seems to be running fine.  I have an ODBC 
node defined,
connecting to an Access database, and I have no trouble retrieving the data 
through Tomcat. 
However, when I start Tomcat using the Windows service, Tomcat comes up without 
any errors, but I
cannot retrieve the data from the database.  I get the following error:


2005-06-18 23:13:06 StandardWrapperValve[jsp]: Servlet.service() for servlet 
jsp threw exception
com.borland.dx.dataset.DataSetException: General error


I am wondering if it has to do with the user accounts.  I know that in the 
Tomcat service
configuration, you can specify the account to log on as.  I have tried entering 
in my account
info, but it doesn't seem to make a difference.  Plus, the ODBC node is defined 
as a system node,
which should be available to all users.

Anyway, if anyone can offer any ideas, I would greatly appreciate it.  Thanks.

John



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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



Unable to connect to Access DB using service startup

2005-06-15 Thread John Lindley
(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:536)


Can anyone point me in the right direction to solve this?  Thanks!

John Lindley



__ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html

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



Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-19 Thread John Lindley
Hi all, we recently upgraded from 4.0.4 to 5.0.28.  We had a login page under 
4.0.4 that worked
fine.  Now under 5.0.28, after we enter the username and password, we get a 
Page cannot be found
and the address it's looking for is
http://ipaddress:8080/WebApp/jsp/security/login/j_security_check.  I have 
checked the
tomcat-users.xml file and it looks fine.  I believe that the web.xml file is 
fine.  As I said, all
was fine under 4.0.4 with the same web.xml.  Does anyone have any suggestions?  
Thanks!

John




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



Masking JSP URL

2005-04-01 Thread John Lindley
Hi all, I have what seems to be a straighforward need, but I have not yet been 
able to accomplish
it. I am running Apache 2.0.52, Tomcat 5.0.28, mod_jk2, on Windows Server 2003. 
 Everything seems
to be running fine, but I want to be able to hide, mask, map, whatever, the URL 
to the jsp pages.
Here is my workers2.properties file: 

Code: 

[shm] 
info=Scoreboard. Requried for reconfiguration and status with multiprocess 
servers. 
file=anon 

# Defines a load balancer named lb. Use even if you only have one machine. 
[lb:lb] 

# Example socket channel, override port and host. 
[channel.socket:localhost:8009] 
port=8009 
host=127.0.0.1 

# define the worker 
[ajp13:localhost:8009] 
channel=channel.socket:localhost:8009 
group=lb 

# Map the Tomcat webapp to the Web server uri space 
[uri:/appname/*] 
group=lb 

[status:] 
info=Status worker, displays runtime information 

[uri:/jkstatus/*] 
info=The Tomcat /jkstatus handler 
group=status: 
 


I setup an alias in the httpd.conf file: 

Code: 

Alias /standalone/ D:/Program Files/Apache
Group/Tomcat5.0.28/webapps/appname/jsp/usr/standalone/ 

Directory D:/Program Files/Apache 
Group/Tomcat5.0.28/webapps/appname/jsp/usr/standalone 
Options Indexes MultiViews 
AllowOverride None 
Order allow,deny 
Allow from all 
/Directory 
 


So, if I enter http: //ipaddress/appname/jsp/usr/standalone/file.jsp, the file 
loads and is
properly passed to Tomcat. 

If I enter http: //ipaddress/standalone/file.jsp, the file loads but is not 
passed to Tomcat. 

I don't want my users seeing the long, ugly URL. What is the best/easiest way 
to accomplish this?
Any help is greatly appreciated! 

John



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


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



Tomcat Site

2003-07-15 Thread John Lindley
Hi All. There is a site that has some info on Tomcat.
They have some listings of programs and tools. Plus
there is a support forum. Anyway, if you are looking
for some Tomcat-related stuff or want to post a cool
program, check them out. It's free to post.

www.tomcatsolutions.com

John

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



TomcatSolutions.com

2003-06-03 Thread John Lindley
Hi All.  I found a pretty cool site dedicated to
Tomcat-based programs and support.  It's
www.tomcatsolutions.com.  It seems pretty new, but
hopefully some more stuff will be added soon.

John


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



Adding Tomcat As A Service After Zip Install

2003-01-17 Thread John Lindley
Hi all.  I have already installed Tomcat 4.0.4 from zip and now want to add it as a 
service in Win2K.  I know that newer versions of the exe installer give the option to 
install as a service, but I just want to adjust my current system to run it as a 
service.  I would appreciate any help anyone can offer.  Thanks!

Sincerely,
John Lindley