RE: Apache TomCat 5.5

2016-09-21 Thread Jeffrey Janner
Mary -
First, sorry for the top-post.

I noticed in your original post that you have upgraded to the latest Java 8, 
and nearly latest Windows version (at least new than the release available when 
Tomcat 5.5 was first available).  I don't understand why you can't just go 
ahead and upgrade to the latest Tomcat 8 or 8.5 implementation.  As others have 
said, it is quite likely that your application will run just fine.
Without more details of your exact implementation environment, I can't give 
full advice, but here are some things to take into account:

1) If you are terminating SSL at the IIS7 client interface, then that is where 
you need to enable HSTS. It only needs to be on the IIS7-Tomcat conversation if 
that is also using SSL on its linkage (not normally needed for an internal 
network, but your requirements may specify otherwise).  Strip it out of headers 
on the way to Tomcat and add it back on the way to client if necessary.

2) When going from such an old Version of Tomcat to a newer one, be aware that 
Tomcat configuration files and options HAVE changed.  You cannot just copy 
server.xml, context.xml, etc. files from the old version to the new.  You must 
migrate your settings to the new versions.  This is not that difficult or 
time-consuming, but it is best to do this manually.

3) Beware of any changes to provided valves/filters that you rely on.  Changes 
to those in new versions may require you to handle them differently.

4) Do this all in a test/dev environment, possibly several times, before even 
thinking about changing production.

5) If the addition of an additional/unknown HTTP header is causing problems 
with your backend processing, then you have more problems than you think you 
do. You application is in violation of the most basic tenets of the HTTP 
protocol stack, as those headers should just be ignored according to the 
protocol.  Your application may stop working correctly in the next few months 
even without you doing anything to your current setup.

Respectfully,
Jeff


> -Original Message-
> From: Pham, Mary (NIH/OD/ORS) [E] [mailto:maryp...@mail.nih.gov]
> Sent: Wednesday, September 21, 2016 9:52 AM
> To: 'Tomcat Users List' 
> Subject: RE: Apache TomCat 5.5
> 
> Thank you.  Chris, Chuck, Andre, Mark who had answered and I've done
> this far.
> My report.
> - I installed the "URL rewrite" module on IIS 7.  To make short, it
> worked.  http to https redirected then enforced hsts on the IIS site.
> - but broke all the scripts run on Tomcat due to Strick Transport
> Security when HTTPS.
> - so I have to disable in/outbound of URL rewrite.
> Back to square one.  We will not be able to upgrade Tomcat at this time.
> 
> Please help.
> 
> -Mary
> 
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, September 15, 2016 11:01 AM
> To: Tomcat Users List 
> Subject: Re: Apache TomCat 5.5
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> André,
> 
> On 9/14/16 7:04 PM, André Warnier (tomcat) wrote:
> > Mary, have a look here :
> > http://tomcat.apache.org/whichversion.html Tomcat 5.5 was first
> > released about 10 years ago, and the last modification to it was in
> > 2012. The current "stable" version is Tomcat 8.5.5.
> >
> > For Open Source and free software such as Apache Tomcat, that means
> > that your chances of getting support and help for such an old version
> > are really not good, because most of the people which would be able to
> > help you probably do not run that version anywhere anymore. Even the
> > documentation is not directly available on-line anymore.
> >
> > Regarding your particular issue, it is even possible that the
> > requirement which you are mentioning is younger than Tomcat 5.5 and
> > cannot be met by such an old software version. It is even likely that,
> > considering the age of your Tomcat and the age of the Java JVM it is
> > probably running under, there are a whole lot of other security issues
> > with your server, which make it impossible to make it "secure as the
> > government requires".
> >
> > What I am saying is that you are probably wasting your time, and
> > ultimately your employer's time, with this approach.
> >
> > You seem to mention below that you are using Tomcat "with IIS".
> > Maybe this IIS is a front-end to Tomcat, and users access Tomcat
> > always through IIS. If so, then as long as the connection between IIS
> > and Tomcat is secure (e.g. they run on the same host), then you should
> > probably take care of the SSL/HTTPS (and header) aspect on the IIS
> > front-end. That is, if you /really/ cannot upgrade Tomcat an

Re: Apache TomCat 5.5

2016-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mary,

On 9/21/16 10:51 AM, Pham, Mary (NIH/OD/ORS) [E] wrote:
> Thank you.  Chris, Chuck, Andre, Mark who had answered and I've
> done this far. My report.
> 
> - I installed the "URL rewrite" module on IIS 7.  To make short,
> it worked.  http to https redirected then enforced hsts on the IIS 
> site. - but broke all the scripts run on Tomcat due to Strick
> Transport Security when HTTPS. - so I have to disable in/outbound
> of URL rewrite.
> 
> Back to square one.  We will not be able to upgrade Tomcat at this
> time.

So you have several requirements, here:

1. Stay on Tomcat 5.5
2. Implement HSTS
3. Have your scripts all work

It sounds like #2 and #3 conflict, since evidently HSTS "broke all the
scripts to run on Tomcat".

Your only option is to fix your application so that it will work with
HSTS enabled.

Upgrading Tomcat doesn't really have any bearing on any of this, since
you could upgrade Tomcat and still not enable HSTS.

- -chris

> -Original Message- From: Christopher Schultz
> [mailto:ch...@christopherschultz.net] Sent: Thursday, September 15,
> 2016 11:01 AM To: Tomcat Users List  
> Subject: Re: Apache TomCat 5.5
> 
> André,
> 
> On 9/14/16 7:04 PM, André Warnier (tomcat) wrote:
>> Mary, have a look here : 
>> http://tomcat.apache.org/whichversion.html Tomcat 5.5 was first 
>> released about 10 years ago, and the last modification to it was
>> in 2012. The current "stable" version is Tomcat 8.5.5.
> 
>> For Open Source and free software such as Apache Tomcat, that
>> means that your chances of getting support and help for such an
>> old version are really not good, because most of the people which
>> would be able to help you probably do not run that version
>> anywhere anymore. Even the documentation is not directly
>> available on-line anymore.
> 
>> Regarding your particular issue, it is even possible that the 
>> requirement which you are mentioning is younger than Tomcat 5.5
>> and cannot be met by such an old software version. It is even
>> likely that, considering the age of your Tomcat and the age of
>> the Java JVM it is probably running under, there are a whole lot
>> of other security issues with your server, which make it
>> impossible to make it "secure as the government requires".
> 
>> What I am saying is that you are probably wasting your time, and
>>  ultimately your employer's time, with this approach.
> 
>> You seem to mention below that you are using Tomcat "with IIS". 
>> Maybe this IIS is a front-end to Tomcat, and users access Tomcat
>>  always through IIS. If so, then as long as the connection
>> between IIS and Tomcat is secure (e.g. they run on the same
>> host), then you should probably take care of the SSL/HTTPS (and
>> header) aspect on the IIS front-end. That is, if you /really/
>> cannot upgrade Tomcat and if your applications /really/ do not
>> run under a newer version of Tomcat and Java.
> 
> HSTS is just an HTTP header thing. It can be deployed on any
> version of anything basically back until the beginning of (HTTP)
> time.
> 
> It's slightly easier to do with more recent Tomcats because of the
> inclusion of both the HTTP Header Security Filter[1] and the
> rewrite valve[2] (oddly not mentioned in the "Valves" section of
> the "Configuration" reference), but anyone can write a simple
> Filter and add it to their web application to add these headers. In
> fact, I wouldn't surprised if Tomcat's HTTP Header Security Filter
> included with Tomcat 8+ would work just fine on Tomcat 5.5. You
> just need to grab the code, compile it, and drop it into your own
> application.
> 
> Since you mentioned IIS, I think you're right that IIS is probably
> a better place to configure these HSTS headers.
> 
> Mary, ultimately, Tomcat 5.5 should definitely be upgraded to
> Tomcat 8 or later. You should take your web application and deploy
> it on Tomcat 8.0 or Tomcat 8.5 in a testing environment and just
> see what happens. You might be surprised: it will probably with
> right away without any modifications.
> 
> Hope that helps, -chris
> 
> [1] http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html [2]
> http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html
> 
> -
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> -
>
> 
To unsubscribe, e-ma

RE: Apache TomCat 5.5

2016-09-21 Thread Pham, Mary (NIH/OD/ORS) [E]
Thank you.  Chris, Chuck, Andre, Mark who had answered and I've done this far.  
My report.
- I installed the "URL rewrite" module on IIS 7.  To make short, it worked.  
http to https redirected then enforced hsts on the IIS site.
- but broke all the scripts run on Tomcat due to Strick Transport Security when 
HTTPS.
- so I have to disable in/outbound of URL rewrite.
Back to square one.  We will not be able to upgrade Tomcat at this time.

Please help.

-Mary

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, September 15, 2016 11:01 AM
To: Tomcat Users List 
Subject: Re: Apache TomCat 5.5

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

André,

On 9/14/16 7:04 PM, André Warnier (tomcat) wrote:
> Mary, have a look here :
> http://tomcat.apache.org/whichversion.html Tomcat 5.5 was first 
> released about 10 years ago, and the last modification to it was in 
> 2012. The current "stable" version is Tomcat 8.5.5.
> 
> For Open Source and free software such as Apache Tomcat, that means 
> that your chances of getting support and help for such an old version 
> are really not good, because most of the people which would be able to 
> help you probably do not run that version anywhere anymore. Even the 
> documentation is not directly available on-line anymore.
> 
> Regarding your particular issue, it is even possible that the 
> requirement which you are mentioning is younger than Tomcat 5.5 and 
> cannot be met by such an old software version. It is even likely that, 
> considering the age of your Tomcat and the age of the Java JVM it is 
> probably running under, there are a whole lot of other security issues 
> with your server, which make it impossible to make it "secure as the 
> government requires".
> 
> What I am saying is that you are probably wasting your time, and 
> ultimately your employer's time, with this approach.
> 
> You seem to mention below that you are using Tomcat "with IIS".
> Maybe this IIS is a front-end to Tomcat, and users access Tomcat 
> always through IIS. If so, then as long as the connection between IIS 
> and Tomcat is secure (e.g. they run on the same host), then you should 
> probably take care of the SSL/HTTPS (and header) aspect on the IIS 
> front-end. That is, if you /really/ cannot upgrade Tomcat and if your 
> applications /really/ do not run under a newer version of Tomcat and 
> Java.

HSTS is just an HTTP header thing. It can be deployed on any version of 
anything basically back until the beginning of (HTTP) time.

It's slightly easier to do with more recent Tomcats because of the inclusion of 
both the HTTP Header Security Filter[1] and the rewrite valve[2] (oddly not 
mentioned in the "Valves" section of the "Configuration" reference), but anyone 
can write a simple Filter and add it to their web application to add these 
headers. In fact, I wouldn't surprised if Tomcat's HTTP Header Security Filter 
included with Tomcat 8+ would work just fine on Tomcat 5.5. You just need to 
grab the code, compile it, and drop it into your own application.

Since you mentioned IIS, I think you're right that IIS is probably a better 
place to configure these HSTS headers.

Mary, ultimately, Tomcat 5.5 should definitely be upgraded to Tomcat 8 or 
later. You should take your web application and deploy it on Tomcat
8.0 or Tomcat 8.5 in a testing environment and just see what happens.
You might be surprised: it will probably with right away without any 
modifications.

Hope that helps,
- -chris

[1] http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html
[2] http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJX2reWAAoJEBzwKT+lPKRYp7MQAJ6nRq3m47o2BEX6nwTBNFFb
lcOfn/2L0dTfhESp/7EHqAcJaTvCHT6JH+RKplQ4gito4cJ8F2tp0HBiLRNukxjB
dxnZL7q5j6Z/41vrLMWX94WI4zz1PMqlhrEMI0/pEtRQFx07h0aE7WLp4CY6JMTl
dCGcuqkEgzNmjL1se+3+Aj3uVd0QAYESfT24AbLK0MHyrkmtIhRfr8W03C/ouD8M
9xcZ9f9BemvneI2zwiUelXaTvE4sCkPf3ULp/xw0MNYGLgl6VS8yByt1KwQsFzal
YPK+UL+k/JK6sxvGpsVLTvmY6StWYXOJZzp4C38YHxj7L5exDpDc/gCAClGm5kM/
uS1vVLL8jlkxby6k3mk5eU43M/HZkgAL+3FNjYCOcnvlsyJKsvQ9qai7Mal2N1Zt
jolFNDZCxWxfXLBPM/BLnfaYTYS6FXWZmAT5QrbnqAoxG9iKWsiMloPym8xdO36+
vIxOeNevWZif7MbpRUw84oOtcCAm1aZcyjXjwxQwWNciczocZg8d3DSJY53wqcrL
nAx5zVbxE5h3nBKSuuNl3s1WGXf7hySYxWyCg7Ya67EsGGeDT1rlLaotXI8PdKOL
qB32fz6PRJZspxJDefQGSHWrjq3gBAqeNFzp/3vj9tmvdCDkdzT0xNJH9s/6YGVE
7whnGB6jlseII/fYe6s1
=hetE
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache TomCat 5.5

2016-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

André,

On 9/14/16 7:04 PM, André Warnier (tomcat) wrote:
> Mary, have a look here :
> http://tomcat.apache.org/whichversion.html Tomcat 5.5 was first
> released about 10 years ago, and the last modification to it was in
> 2012. The current "stable" version is Tomcat 8.5.5.
> 
> For Open Source and free software such as Apache Tomcat, that means
> that your chances of getting support and help for such an old
> version are really not good, because most of the people which would
> be able to help you probably do not run that version anywhere
> anymore. Even the documentation is not directly available on-line
> anymore.
> 
> Regarding your particular issue, it is even possible that the 
> requirement which you are mentioning is younger than Tomcat 5.5
> and cannot be met by such an old software version. It is even
> likely that, considering the age of your Tomcat and the age of the
> Java JVM it is probably running under, there are a whole lot of 
> other security issues with your server, which make it impossible to
> make it "secure as the government requires".
> 
> What I am saying is that you are probably wasting your time, and 
> ultimately your employer's time, with this approach.
> 
> You seem to mention below that you are using Tomcat "with IIS".
> Maybe this IIS is a front-end to Tomcat, and users access Tomcat
> always through IIS. If so, then as long as the connection between
> IIS and Tomcat is secure (e.g. they run on the same host), then you
> should probably take care of the SSL/HTTPS (and header) aspect on
> the IIS front-end. That is, if you /really/ cannot upgrade Tomcat
> and if your applications /really/ do not run under a newer version
> of Tomcat and Java.

HSTS is just an HTTP header thing. It can be deployed on any version
of anything basically back until the beginning of (HTTP) time.

It's slightly easier to do with more recent Tomcats because of the
inclusion of both the HTTP Header Security Filter[1] and the rewrite
valve[2] (oddly not mentioned in the "Valves" section of the
"Configuration" reference), but anyone can write a simple Filter and
add it to their web application to add these headers. In fact, I
wouldn't surprised if Tomcat's HTTP Header Security Filter included
with Tomcat 8+ would work just fine on Tomcat 5.5. You just need to
grab the code, compile it, and drop it into your own application.

Since you mentioned IIS, I think you're right that IIS is probably a
better place to configure these HSTS headers.

Mary, ultimately, Tomcat 5.5 should definitely be upgraded to Tomcat 8
or later. You should take your web application and deploy it on Tomcat
8.0 or Tomcat 8.5 in a testing environment and just see what happens.
You might be surprised: it will probably with right away without any
modifications.

Hope that helps,
- -chris

[1] http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html
[2] http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJX2reWAAoJEBzwKT+lPKRYp7MQAJ6nRq3m47o2BEX6nwTBNFFb
lcOfn/2L0dTfhESp/7EHqAcJaTvCHT6JH+RKplQ4gito4cJ8F2tp0HBiLRNukxjB
dxnZL7q5j6Z/41vrLMWX94WI4zz1PMqlhrEMI0/pEtRQFx07h0aE7WLp4CY6JMTl
dCGcuqkEgzNmjL1se+3+Aj3uVd0QAYESfT24AbLK0MHyrkmtIhRfr8W03C/ouD8M
9xcZ9f9BemvneI2zwiUelXaTvE4sCkPf3ULp/xw0MNYGLgl6VS8yByt1KwQsFzal
YPK+UL+k/JK6sxvGpsVLTvmY6StWYXOJZzp4C38YHxj7L5exDpDc/gCAClGm5kM/
uS1vVLL8jlkxby6k3mk5eU43M/HZkgAL+3FNjYCOcnvlsyJKsvQ9qai7Mal2N1Zt
jolFNDZCxWxfXLBPM/BLnfaYTYS6FXWZmAT5QrbnqAoxG9iKWsiMloPym8xdO36+
vIxOeNevWZif7MbpRUw84oOtcCAm1aZcyjXjwxQwWNciczocZg8d3DSJY53wqcrL
nAx5zVbxE5h3nBKSuuNl3s1WGXf7hySYxWyCg7Ya67EsGGeDT1rlLaotXI8PdKOL
qB32fz6PRJZspxJDefQGSHWrjq3gBAqeNFzp/3vj9tmvdCDkdzT0xNJH9s/6YGVE
7whnGB6jlseII/fYe6s1
=hetE
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache TomCat 5.5

2016-09-14 Thread tomcat

Mary,
have a look here : http://tomcat.apache.org/whichversion.html
Tomcat 5.5 was first released about 10 years ago, and the last modification to 
it was in 2012.
The current "stable" version is Tomcat 8.5.5.

For Open Source and free software such as Apache Tomcat, that means that your chances of 
getting support and help for such an old version are really not good, because most of the 
people which would be able to help you probably do not run that version anywhere anymore.

Even the documentation is not directly available on-line anymore.

Regarding your particular issue, it is even possible that the requirement which you are 
mentioning is younger than Tomcat 5.5 and cannot be met by such an old software version.
It is even likely that, considering the age of your Tomcat and the age of the Java JVM it 
is probably running under, there are a whole lot of other security issues with your 
server, which make it impossible to make it "secure as the government requires".


What I am saying is that you are probably wasting your time, and ultimately your 
employer's time, with this approach.


You seem to mention below that you are using Tomcat "with IIS".  Maybe this IIS is a 
front-end to Tomcat, and users access Tomcat always through IIS.
If so, then as long as the connection between IIS and Tomcat is secure (e.g. they run on 
the same host), then you should probably take care of the SSL/HTTPS (and header) aspect on 
the IIS front-end.
That is, if you /really/ cannot upgrade Tomcat and if your applications /really/ do not 
run under a newer version of Tomcat and Java.



On 14.09.2016 20:49, Pham, Mary (NIH/OD/ORS) [E] wrote:

Hi Daniel,

A new bee has to learn on an outdated systems!  We cann't up upgrade due to 
dependency of apps and forms, that's what I've learned.
Thank you for the link.  To be honest I do not know what to do yet.  I've 
checked and seen several web.xml files, in different directoriesSome I 
think is original, some had modified.

Regards,

-Mary

-Original Message-
From: Daniel Küppers [mailto:dan...@tetralog.com]
Sent: Wednesday, September 14, 2016 11:17 AM
To: Tomcat Users List 
Subject: Re: Apache TomCat 5.5



Hello EveryOne,

As new bee of Apache.  We have been using one of the old Apache TomCat on windows server 
2008R2, IIS 7.  After we purchased and installed the SSL certificate.  We need to apply a 
header directive in Apache "Strict-Transport-Security" so that our web site 
would be secured as the Government required.  My question is where can I insert this 
line?  In which and where's the files in Apache TomCat 5.5, JDK 8 updated 102.  Is it in 
the same server.xml file as we modified the connector for SSL.
Look forward to hearing from your supports.

Regards,


Mary Pham
Information Technology Specialist
National Institutes of Health Library
Division of Library Services
Office of Research Services
10 Center Drive, Room 1L07, MSC 1150
Bethesda, MD 20892-1150
T. 301.496.1506
maryp...@mail.nih.gov<mailto:maryp...@mail.nih.gov>

Hello Mary,

you are using a quite outdated tomcat. A quick googling brought me to 
stackoverflow, which might solve the problem for your tomcat 5.5. the easiest 
way possible is to add a filter to your webapp and apply the HSTS header in the 
response. You can make use of the buildin HSTS support, if its possible to 
upgrade your tomcat to a recent version.
Related SO-Question:
http://stackoverflow.com/questions/27541755/add-hsts-feature-to-tomcat

Best regards,

Daniel

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Apache TomCat 5.5

2016-09-14 Thread Caldarale, Charles R
> From: Pham, Mary (NIH/OD/ORS) [E] [mailto:maryp...@mail.nih.gov] 
> Subject: Apache TomCat 5.5

> We have been using one of the old Apache TomCat on windows server 2008R2, IIS 
> 7.

Firstly, it's Tomcat, not TomCat.

> We need to apply a header directive in Apache "Strict-Transport-Security" so 
> that our web site 
> would be secured as the Government required.

Your web site is pretty much guaranteed to be _insecure_ as long as you're 
running that old - and unsupported - version of Tomcat.  The last Tomcat 5.5 
release was nearly four years ago, and many, many vulnerabilities have been 
addressed since then.  SSL does not protect you against those.  You really must 
upgrade to a supported level (preferably 8.5), after carefully reading the 
migration guides:
http://tomcat.apache.org/migration.html

Not doing so makes anything else you try pointless.

> My question is where can I insert this line?

As suggested by Daniel, a filter is your best bet - but upgrade Tomcat first.  
Not doing so leaves you subject to many more liabilities than lack of HSTS.

 - Chuck 


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Apache TomCat 5.5

2016-09-14 Thread Pham, Mary (NIH/OD/ORS) [E]
Hi Daniel,

A new bee has to learn on an outdated systems!  We cann't up upgrade due to 
dependency of apps and forms, that's what I've learned.
Thank you for the link.  To be honest I do not know what to do yet.  I've 
checked and seen several web.xml files, in different directoriesSome I 
think is original, some had modified.

Regards,

-Mary

-Original Message-
From: Daniel Küppers [mailto:dan...@tetralog.com] 
Sent: Wednesday, September 14, 2016 11:17 AM
To: Tomcat Users List 
Subject: Re: Apache TomCat 5.5


> Hello EveryOne,
>
> As new bee of Apache.  We have been using one of the old Apache TomCat on 
> windows server 2008R2, IIS 7.  After we purchased and installed the SSL 
> certificate.  We need to apply a header directive in Apache 
> "Strict-Transport-Security" so that our web site would be secured as the 
> Government required.  My question is where can I insert this line?  In which 
> and where's the files in Apache TomCat 5.5, JDK 8 updated 102.  Is it in the 
> same server.xml file as we modified the connector for SSL.
> Look forward to hearing from your supports.
>
> Regards,
>
>
> Mary Pham
> Information Technology Specialist
> National Institutes of Health Library
> Division of Library Services
> Office of Research Services
> 10 Center Drive, Room 1L07, MSC 1150
> Bethesda, MD 20892-1150
> T. 301.496.1506
> maryp...@mail.nih.gov<mailto:maryp...@mail.nih.gov>
Hello Mary,

you are using a quite outdated tomcat. A quick googling brought me to 
stackoverflow, which might solve the problem for your tomcat 5.5. the easiest 
way possible is to add a filter to your webapp and apply the HSTS header in the 
response. You can make use of the buildin HSTS support, if its possible to 
upgrade your tomcat to a recent version.
Related SO-Question: 
http://stackoverflow.com/questions/27541755/add-hsts-feature-to-tomcat

Best regards,

Daniel

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache TomCat 5.5

2016-09-14 Thread Daniel Küppers



Hello EveryOne,

As new bee of Apache.  We have been using one of the old Apache TomCat on windows server 
2008R2, IIS 7.  After we purchased and installed the SSL certificate.  We need to apply a 
header directive in Apache "Strict-Transport-Security" so that our web site 
would be secured as the Government required.  My question is where can I insert this 
line?  In which and where's the files in Apache TomCat 5.5, JDK 8 updated 102.  Is it in 
the same server.xml file as we modified the connector for SSL.
Look forward to hearing from your supports.

Regards,


Mary Pham
Information Technology Specialist
National Institutes of Health Library
Division of Library Services
Office of Research Services
10 Center Drive, Room 1L07, MSC 1150
Bethesda, MD 20892-1150
T. 301.496.1506
maryp...@mail.nih.gov<mailto:maryp...@mail.nih.gov>

Hello Mary,

you are using a quite outdated tomcat. A quick googling brought me to 
stackoverflow, which might solve the problem for your tomcat 5.5. the 
easiest way possible is to add a filter to your webapp and apply the 
HSTS header in the response. You can make use of the buildin HSTS 
support, if its possible to upgrade your tomcat to a recent version.
Related SO-Question: 
http://stackoverflow.com/questions/27541755/add-hsts-feature-to-tomcat


Best regards,

Daniel

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Apache TomCat 5.5

2016-09-14 Thread Pham, Mary (NIH/OD/ORS) [E]
Hello EveryOne,

As new bee of Apache.  We have been using one of the old Apache TomCat on 
windows server 2008R2, IIS 7.  After we purchased and installed the SSL 
certificate.  We need to apply a header directive in Apache 
"Strict-Transport-Security" so that our web site would be secured as the 
Government required.  My question is where can I insert this line?  In which 
and where's the files in Apache TomCat 5.5, JDK 8 updated 102.  Is it in the 
same server.xml file as we modified the connector for SSL.
Look forward to hearing from your supports.

Regards,


Mary Pham
Information Technology Specialist
National Institutes of Health Library
Division of Library Services
Office of Research Services
10 Center Drive, Room 1L07, MSC 1150
Bethesda, MD 20892-1150
T. 301.496.1506
maryp...@mail.nih.gov<mailto:maryp...@mail.nih.gov>

Stay connected with the NIH Library
NIH Library: http://nihlibrary.nih.gov<http://nihlibrary.nih.gov/>
Facebook: http://www.facebook.com/nihlibrary
Twitter: http://www.twitter.com/nihlib


Mary Pham, BS
Information Technology Specialist
National Institutes of Health Library
Division of Library Services
Office of Research Services
10 Center Drive, Room 1L07, MSC 1150
Bethesda, MD 20892-1150
T. 301.496.1506
maryp...@mail.nih.gov

Stay connected with the NIH Library
NIH Library: http://nihlibrary.nih.gov<http://nihlibrary.nih.gov/>
Facebook: http://www.facebook.com/nihlibrary
Twitter: http://www.twitter.com/nihlib
_



RE: Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-25 Thread Seema Patel


> Date: Tue, 24 Feb 2015 20:45:09 +0100
> From: a...@ice-sa.com
> To: users@tomcat.apache.org
> Subject: Re: Active Directory User Authentication Apache Tomcat 5.5 Struts 
> Servlets JSP
> 
> Seema Patel wrote:
> > Hi,
> > 
> > We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal on our 
> > intranet which is written in java jsp struts and jsp.
> > I know that the tomcat and Java versions are old, but upgrading isn't a 
> > quick thing to do without lots of testing.
> > 
> > The issue we have is that the users keep getting the authentication box 
> > popping up asking for username and password when using the portal in 
> > Internet Explorer.
> > One of the users has noticed that when they use Chrome, they don't seem to 
> > get this popup constantly.  Authentication is against the Active Directory 
> > using JCIFS (I know it's discontinued, but to re-write and test is not 
> > feasible at the moment).  The users are meant to be using Internet Explorer 
> > as not everything works in Chrome. 
> > 
> > We have been trying to work out this issue for some time, with no success.  
> > The user saying that it works in Chrome makes us wonder if there's 
> > something within Internet Explorer that is possibly dropping the connection 
> > or something for it to keep asking the user for username and password.  Or 
> > is there something that Internet Explorer doesn't like with Apache Tomcat?
> > 
> > 
> > Any  help/guidance on this issue is greatly appreciated.
> > 
> Hi.
> 
> Tomcat 5.5 is old.
> The JCIFS http/NTLM authentication filter is old and deprecated and does not 
> work anymore 
> in any recent Windows Domain setup, because it only works with NTLM v1.
> Please read the first paragraph in blue here : 
> http://jcifs.samba.org/src/docs/ntlmhttpauth.html
> and *believe what it says, it is true*.
> (Look at Jespa @ www.ioplex.com for a painless replacement)
> (look at a more recent version of Tomcat and the SPNEGO authentication valve 
> for another 
> possible replacement)
> 
> A login dialog that pops up in the browser when it should not, indicates one 
> thing for 
> sure : /something/ is not working in the WIA (Windows Integrated 
> Authentication).
> But what that something is in your case, is impossible to say from outside of 
> your network.
> It is almost certainly not a browser problem.
> It may be things like :
> - some of the clients are running newer versions of Windows and/or browsers 
> which will not 
> accept NTLMv1 authentication anymore
> - in your network, there are multiple Domain Controllers, some of which 
> younger than 
> others. Some still accept to do NTLMv1 authentication, some do not.  As your 
> clients get 
> one or the other (quasi randomly) it sometimes works, and sometimes not.
> - and a large number of possible other reasons
> 
> The one certainty is : you are using obsolete software and solutions, and 
> nobody will be 
> able to give you any miracle solution for that.   The sooner you accept that, 
> the less 
> time you will lose in the end.
> 


Thanks Andre.  I think we do use NTLM v2, so that could be why we're getting 
the issues.
I have been looking into upgrading, on and off, so not sure if what I have done 
is right or not as I've not looked at it in a while.

I do remember looking into Jespa and SPNEGO but I don't think we want to go 
down those routes.
I have been looking at and trying to get traditional LDAP authentication, but I 
don't know much about this (previous developers have said to use this method 
but are no longer available to assist).

I am hoping if you could guide/assist me in knowing if what I have done and am 
trying to do is right.
So in my server.xml I now have:




   
  


I have also removed all JCIFS and NTLM filters etc from my web.xml, I now have:


ADGroupFilter
com.xxx.xxx.ADGroupFilter

AllowedGroups
xxx,xxx,xxx



Auth Filter
com.xxx.xxx.RequestFilter

LogonPage
xxx.do


UnsecuredPages
xxx.do,UnauthorisedAccess.jsp 

  

NoCacheFilter
com.xxx.xxx.NoCacheFilter



NoCacheFilter
/includes/*


NoCacheFilter
/



ADGroupFilter
*.do


ADGroupFilter
*.jsp


Auth Filter

*.do
REQUEST


  
your web app display name  
  
Protected Area  
/*  
  
  
G-MIS
G-PORTAL-FINANCE
  

Re: Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread André Warnier

Seema Patel wrote:

Hi,

We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal on our 
intranet which is written in java jsp struts and jsp.
I know that the tomcat and Java versions are old, but upgrading isn't a quick 
thing to do without lots of testing.

The issue we have is that the users keep getting the authentication box popping 
up asking for username and password when using the portal in Internet Explorer.
One of the users has noticed that when they use Chrome, they don't seem to get this popup constantly.  Authentication is against the Active Directory using JCIFS (I know it's discontinued, but to re-write and test is not feasible at the moment).  The users are meant to be using Internet Explorer as not everything works in Chrome. 


We have been trying to work out this issue for some time, with no success.  The 
user saying that it works in Chrome makes us wonder if there's something within 
Internet Explorer that is possibly dropping the connection or something for it 
to keep asking the user for username and password.  Or is there something that 
Internet Explorer doesn't like with Apache Tomcat?


Any  help/guidance on this issue is greatly appreciated.


Hi.

Tomcat 5.5 is old.
The JCIFS http/NTLM authentication filter is old and deprecated and does not work anymore 
in any recent Windows Domain setup, because it only works with NTLM v1.
Please read the first paragraph in blue here : 
http://jcifs.samba.org/src/docs/ntlmhttpauth.html

and *believe what it says, it is true*.
(Look at Jespa @ www.ioplex.com for a painless replacement)
(look at a more recent version of Tomcat and the SPNEGO authentication valve for another 
possible replacement)


A login dialog that pops up in the browser when it should not, indicates one thing for 
sure : /something/ is not working in the WIA (Windows Integrated Authentication).

But what that something is in your case, is impossible to say from outside of 
your network.
It is almost certainly not a browser problem.
It may be things like :
- some of the clients are running newer versions of Windows and/or browsers which will not 
accept NTLMv1 authentication anymore
- in your network, there are multiple Domain Controllers, some of which younger than 
others. Some still accept to do NTLMv1 authentication, some do not.  As your clients get 
one or the other (quasi randomly) it sometimes works, and sometimes not.

- and a large number of possible other reasons

The one certainty is : you are using obsolete software and solutions, and nobody will be 
able to give you any miracle solution for that.   The sooner you accept that, the less 
time you will lose in the end.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Seema,

On 2/24/15 7:59 AM, Seema Patel wrote:
> We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal
> on our intranet which is written in java jsp struts and jsp. I know
> that the tomcat and Java versions are old, but upgrading isn't a
> quick thing to do without lots of testing.
> 
> The issue we have is that the users keep getting the
> authentication box popping up asking for username and password when
> using the portal in Internet Explorer. One of the users has noticed
> that when they use Chrome, they don't seem to get this popup
> constantly.  Authentication is against the Active Directory using
> JCIFS (I know it's discontinued, but to re-write and test is not
> feasible at the moment).  The users are meant to be using Internet
> Explorer as not everything works in Chrome.
> 
> We have been trying to work out this issue for some time, with no 
> success.  The user saying that it works in Chrome makes us wonder
> if there's something within Internet Explorer that is possibly
> dropping the connection or something for it to keep asking the user
> for username and password.  Or is there something that Internet
> Explorer doesn't like with Apache Tomcat?

So, this was a system working in the past, and now it does not work?
Or you have been having problems for years and you are finally
investigating it?

If something changed recently, what was it? Are your users using a
newer version of Internet Explorer (i.e. they finally migrated from
MSIE 6 to something more modern)?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJU7JG5AAoJEBzwKT+lPKRYWy4P/1a2xLQEr4PWIpFvZ8+QVc27
CZ4fEJ5TVzCrOE0WqwN4COe/9M5XjvACYbLH1dKaDKXTVc/1R8sZpiQyXDGBZ7De
+C5Gs76JibsmYgwECRHwJozrKbm0cZNu1JZLjTBnhHgxAxAXHw99a+EPZBisutSu
3keEL64BYmMRboKW50qVYP2PiYpcqtyCgO2uew8nwca6nPDTt2AXMAC2vd/dgNds
IQ8g1RIe8ndPIl0g7YvW7t4oMzm/keMPEvLew5cbs8q47ZnE4mlukC9HtyoDEjcU
NW0FvDxktF9kdnLll//xqrPB6PkF4zW+5wENBvgJcQqoZbjaNc5sUf+SOUJj+iH5
5k/klIydaCHnMjmANOwvu0z/doj3wpKVNiS12D5FTlRNzEkrmqwNlvTA2xy5P8Kt
LbJwDGhBzAFQBPQGmLCKJeQMOvWn5GzXv/zzAAM1D062yaNH855JPNbUYZo0ZOub
FroFiBeNdm5rLRTm4EHbFAMc2VCvpCWlAtUYh/ltTTC7ZN6tYWC8M2erfm2/8tqS
/PHcnoXjAB0ADS/Yd1cNwx4//jsDmfeXZIlOPwS63gjs7goRQKbvkIdTBhRKEJYU
ghOnI3vALYq7bMMjRUc6xfrfLnqt3DzGayUTTjEw7efTgO6Z436qo4hu8js2TJ6H
6GctCFmQou5ZK6I+693Z
=DM3L
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Active Directory User Authentication Apache Tomcat 5.5 Struts Servlets JSP

2015-02-24 Thread Seema Patel
Hi,

We are using Apache Tomcat 5.5, JDK 1.5 and have a internal portal on our 
intranet which is written in java jsp struts and jsp.
I know that the tomcat and Java versions are old, but upgrading isn't a quick 
thing to do without lots of testing.

The issue we have is that the users keep getting the authentication box popping 
up asking for username and password when using the portal in Internet Explorer.
One of the users has noticed that when they use Chrome, they don't seem to get 
this popup constantly.  Authentication is against the Active Directory using 
JCIFS (I know it's discontinued, but to re-write and test is not feasible at 
the moment).  The users are meant to be using Internet Explorer as not 
everything works in Chrome. 

We have been trying to work out this issue for some time, with no success.  The 
user saying that it works in Chrome makes us wonder if there's something within 
Internet Explorer that is possibly dropping the connection or something for it 
to keep asking the user for username and password.  Or is there something that 
Internet Explorer doesn't like with Apache Tomcat?


Any  help/guidance on this issue is greatly appreciated.

Thanks
Seema
  

Re: [ANN] End of life for Apache Tomcat 5.5.x

2013-01-02 Thread Mark Thomas
On 10/08/2011 13:00, Mark Thomas wrote:
> The Apache Tomcat team announces that support for Apache Tomcat 5.5.x
> will end on 30 September 2012.
> 
> This means that after 30 September 2012:
> - releases from the 5.5.x branch are highly unlikely
> - bugs affecting only the 5.5.x branch will not be addressed
> - security vulnerability reports will not be checked against the 5.5.x
> branch
> 
> Three months later (i.e. after 31 December 2012)
> - the 5.5.x download pages will be removed
> - the latest 5.5.x release will be removed from the mirror system
> - the 5.5.x branch in svn will move from /tomcat/tc5.5.x to
> /tomcat/archive/tc5.5.x
> - the links to the 5.5.x documentation will be removed from
> tomcat.apache.org
> - The bugzilla project for 5.5.x will be made read-only

This has all been completed.


> Note that all 5.5.x releases will always be available from the archive.
> 
> It is anticipated that the final 5.5.x release will be made shortly
> before 30 September 2012.

The final release was 5.5.36 on 10 Oct 2012 and is, and will always
remain, available from the archives.

Mark



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck,

On 7/12/12 6:49 PM, Caldarale, Charles R wrote:
> tar.gz (pgp, md5)

Should be labelled "competent software engineers should download this
one".

;)

I kid: I feel bad for anyone who is forced to run any Microsoft
Windows-based server, though.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAA2oEACgkQ9CaO5/Lv0PB56wCgh6WT1Y29IqRqS+FLY5Dv+RIG
GQIAoJ5WFUfg6SAfaCGW2S1DKtWiGc9C
=8LMd
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-12 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] 
> Subject: Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP 
> container

> Considering the number of times this has come up on the list, I do not 
> understand why the people who make the Service installer don't just add
> the missing files in (tomcat)/bin and bring this matter to rest once and
> for all.

> Of course, then we'd still have to explain that the Service, once installed,
> does not use the .bat files when running as a service.

Possibly exactly because of that - the service users will be wondering why 
their highly inappropriate muckings about with startup.bat and catalina.bat 
aren't effective.  I think it would be better if the links on the download page 
looked something like this:

zip (pgp, md5) - runs only via scripts on Windows
tar.gz (pgp, md5)
32-bit Windows zip (pgp, md5) - runs via scripts or as a service
64-bit Windows zip (pgp, md5) - runs via scripts or as a service
32-bit/64-bit Windows Service Installer (pgp, md5) - runs only as a service

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-12 Thread André Warnier

Pid wrote:

On 11/07/2012 22:26, Wei, Mingzhen wrote:
Konstantin, 

I followed the RUNNING.TXT after installing the binary release of Tomcat 5.5. But I cannot find the catalina.bat and catalina.sh for more environmental variables to set. 

Why tomcat is such a pain for installation? 


It's not.  You're making it harder.

Seriously, just download the actual binaries:

 http://tomcat.apache.org/download-70.cgi
 http://tomcat.apache.org/download-60.cgi
 http://tomcat.apache.org/download-55.cgi

Those are for Tomcat 7.0, 6.0 and 5.5.


My quarter :
Yes, but I believe that the OP's confusion is due (again) to the fact that for Windows, 
there are two possibilities (the zip and the Service installer), and that the Service 
installer version does not contain all the same files as the zip version.


Considering the number of times this has come up on the list, I do not understand why the 
people who make the Service installer don't just add the missing files in (tomcat)/bin and 
bring this matter to rest once and for all.


Of course, then we'd still have to explain that the Service, once installed, does not use 
the .bat files when running as a service.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-12 Thread Pid
On 11/07/2012 22:26, Wei, Mingzhen wrote:
> Konstantin, 
> 
> I followed the RUNNING.TXT after installing the binary release of Tomcat 5.5. 
> But I cannot find the catalina.bat and catalina.sh for more environmental 
> variables to set. 
> 
> Why tomcat is such a pain for installation? 

It's not.  You're making it harder.

Seriously, just download the actual binaries:

 http://tomcat.apache.org/download-70.cgi
 http://tomcat.apache.org/download-60.cgi
 http://tomcat.apache.org/download-55.cgi

Those are for Tomcat 7.0, 6.0 and 5.5.


p


> Thanks for your help. 
> 
> -Original Message-
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
> Sent: Tuesday, July 10, 2012 10:57 AM
> To: Tomcat Users List
> Subject: Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP 
> container
> 
> 2012/7/10 Wei, Mingzhen :
>> Konstantin Kolinko,
>>
>> Could you tell me the point in more detail? I am new with Tomcat and need it 
>> badly to be able to run another application.
>>
>> Do you mean I need to try the combination of ant5.5 download + Ant 1.8.4 and 
>> JDK 1.4.2_19?
> 
> 1. Why are you trying to build it from source?
> Why the existing binary releases are not good enough for you?
> 
> 2. Have you read the BUILDING.txt file?
> 
> 
> Best regards,
> Konstantin Kolinko
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-- 

[key:62590808]





signature.asc
Description: OpenPGP digital signature


RE: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-11 Thread Wei, Mingzhen
Konstantin, 

I followed the RUNNING.TXT after installing the binary release of Tomcat 5.5. 
But I cannot find the catalina.bat and catalina.sh for more environmental 
variables to set. 

Why tomcat is such a pain for installation? 

Thanks for your help. 

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Tuesday, July 10, 2012 10:57 AM
To: Tomcat Users List
Subject: Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012/7/10 Wei, Mingzhen :
> Konstantin Kolinko,
>
> Could you tell me the point in more detail? I am new with Tomcat and need it 
> badly to be able to run another application.
>
> Do you mean I need to try the combination of ant5.5 download + Ant 1.8.4 and 
> JDK 1.4.2_19?

1. Why are you trying to build it from source?
Why the existing binary releases are not good enough for you?

2. Have you read the BUILDING.txt file?


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-10 Thread Konstantin Kolinko
2012/7/10 Wei, Mingzhen :
> Konstantin Kolinko,
>
> Could you tell me the point in more detail? I am new with Tomcat and need it 
> badly to be able to run another application.
>
> Do you mean I need to try the combination of ant5.5 download + Ant 1.8.4 and 
> JDK 1.4.2_19?

1. Why are you trying to build it from source?
Why the existing binary releases are not good enough for you?

2. Have you read the BUILDING.txt file?


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-10 Thread Wei, Mingzhen
Konstantin Kolinko,

Could you tell me the point in more detail? I am new with Tomcat and need it 
badly to be able to run another application. 

Do you mean I need to try the combination of ant5.5 download + Ant 1.8.4 and 
JDK 1.4.2_19?

Thanks. 

---
Mingzhen Wei, PhD
Assistant Research Professor
Petroleum Engineering Program
Department of Geological Sciences and Engineering
330 McNutt Hall, 1400 N. Bishop Ave.
Missouri University of Science and Technology
Rolla, Missouri   65409-0410

Email:  w...@mst.edu 

Office phone:  (573) 341-4657  
Cell phone:  (573) 201-3924
Fax: (573)-341-6935
---

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Friday, July 06, 2012 2:56 PM
To: Tomcat Users List
Subject: Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012/7/6 Christopher Schultz :
>
> On 7/6/12 12:54 PM, Konstantin Kolinko wrote:
>> 2012/7/6 Wei, Mingzhen :
>>> I was trying to build Apache Tomcat 5.5 Servelet for another 
>>> application. I followed the steps from the link:
>>> http://tomcat.apache.org/tomcat-5.5-doc/building.html. I have done 
>>> the following:
>>>
>>> 1.   Installed JDK1.6
>>>
>>> 2.   Download and installed Apache Ant 1.8.4
>>>
>>> 3.   Download Tomcat 5.5 source package in zip file
>>>
>>> 4.   Set and updated the environment parameters for
>>> JAVA_HOME, PATH, ANT_HOME
>>>
>>> I cannot run the following step "ant download" correctly. It 
>>> complains the "includeantruntime" setup, and alerting me with errors 
>>> for classes as BasicDataSource, DelegatingStatement, 
>>> DelegatingPreparedStatement, and many more. The errors say that 
>>> those classes as not abstract and do not override the abstract 
>>> methods in other sources.
>>
>> 1. You need JDK 1.4 to build Tomcat 5.5. 2. The version of Ant 
>> targeted by the build script is 1.6.2.
>
> With only a little bit of digging, I couldn't find an earliest-version 
> of Ant that supports the "includeAntRuntime" attribute for .
> But, I suspect that 1.6.2 *does* support it, so there doesn't seem to 
> be a reason not to specify a value for it in the build file. That will 
> allow Tomcat 5.5 to be built with later ant versions (but, of course, 
> using the proper JDK version).

It is an interesting note. Anyway,
1. "ant download deploy" in 5.5 builds correctly with Ant 1.8.4 and JDK 
1.4.2_19.  So I do not see what the fix will bring besides a silenced warning.

2. Anyone may propose a patch for 5.5 (either in STATUS or in bugzilla).

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Konstantin Kolinko
2012/7/6 Christopher Schultz :
>
> On 7/6/12 12:54 PM, Konstantin Kolinko wrote:
>> 2012/7/6 Wei, Mingzhen :
>>> I was trying to build Apache Tomcat 5.5 Servelet for another
>>> application. I followed the steps from the link:
>>> http://tomcat.apache.org/tomcat-5.5-doc/building.html. I have
>>> done the following:
>>>
>>> 1.   Installed JDK1.6
>>>
>>> 2.   Download and installed Apache Ant 1.8.4
>>>
>>> 3.   Download Tomcat 5.5 source package in zip file
>>>
>>> 4.   Set and updated the environment parameters for
>>> JAVA_HOME, PATH, ANT_HOME
>>>
>>> I cannot run the following step "ant download" correctly. It
>>> complains the "includeantruntime" setup, and alerting me with
>>> errors for classes as BasicDataSource, DelegatingStatement,
>>> DelegatingPreparedStatement, and many more. The errors say that
>>> those classes as not abstract and do not override the abstract
>>> methods in other sources.
>>
>> 1. You need JDK 1.4 to build Tomcat 5.5. 2. The version of Ant
>> targeted by the build script is 1.6.2.
>
> With only a little bit of digging, I couldn't find an earliest-version
> of Ant that supports the "includeAntRuntime" attribute for .
> But, I suspect that 1.6.2 *does* support it, so there doesn't seem to
> be a reason not to specify a value for it in the build file. That will
> allow Tomcat 5.5 to be built with later ant versions (but, of course,
> using the proper JDK version).

It is an interesting note. Anyway,
1. "ant download deploy" in 5.5 builds correctly with Ant 1.8.4 and
JDK 1.4.2_19.  So I do not see what the fix will bring besides a
silenced warning.

2. Anyone may propose a patch for 5.5 (either in STATUS or in bugzilla).

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Konstantin,

On 7/6/12 12:54 PM, Konstantin Kolinko wrote:
> 2012/7/6 Wei, Mingzhen :
>> I was trying to build Apache Tomcat 5.5 Servelet for another
>> application. I followed the steps from the link:
>> http://tomcat.apache.org/tomcat-5.5-doc/building.html. I have
>> done the following:
>> 
>> 1.   Installed JDK1.6
>> 
>> 2.   Download and installed Apache Ant 1.8.4
>> 
>> 3.   Download Tomcat 5.5 source package in zip file
>> 
>> 4.   Set and updated the environment parameters for
>> JAVA_HOME, PATH, ANT_HOME
>> 
>> I cannot run the following step "ant download" correctly. It
>> complains the "includeantruntime" setup, and alerting me with
>> errors for classes as BasicDataSource, DelegatingStatement,
>> DelegatingPreparedStatement, and many more. The errors say that
>> those classes as not abstract and do not override the abstract
>> methods in other sources.
> 
> 1. You need JDK 1.4 to build Tomcat 5.5. 2. The version of Ant
> targeted by the build script is 1.6.2.

With only a little bit of digging, I couldn't find an earliest-version
of Ant that supports the "includeAntRuntime" attribute for .
But, I suspect that 1.6.2 *does* support it, so there doesn't seem to
be a reason not to specify a value for it in the build file. That will
allow Tomcat 5.5 to be built with later ant versions (but, of course,
using the proper JDK version).

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/3JJ8ACgkQ9CaO5/Lv0PDrGQCgt8WyLNF65G+bc+VReUE2hiEd
IXUAn2vf6qqGa/+r7TzlJ1c94A3qpdpj
=3kIJ
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Konstantin Kolinko
2012/7/6 Wei, Mingzhen :
> I was trying to build Apache Tomcat 5.5 Servelet for another application. I 
> followed the steps from the link: 
> http://tomcat.apache.org/tomcat-5.5-doc/building.html.
> I have done the following:
>
> 1.   Installed JDK1.6
>
> 2.   Download and installed Apache Ant 1.8.4
>
> 3.   Download Tomcat 5.5 source package in zip file
>
> 4.   Set and updated the environment parameters for JAVA_HOME, PATH, 
> ANT_HOME
>
> I cannot run the following step "ant download" correctly. It complains the 
> "includeantruntime" setup, and alerting me with errors for classes as 
> BasicDataSource, DelegatingStatement, DelegatingPreparedStatement, and many 
> more. The errors say that those classes as not abstract and do not override 
> the abstract methods in other sources.

1. You need JDK 1.4 to build Tomcat 5.5.
2. The version of Ant targeted by the build script is 1.6.2.

One of the reasons why you cannot build it with Java 6, is that the
version of Apache Commons DBCP used in it has to run on Java 1.4 and
cannot be built with Java 6 because of java.sql API changes.


See also BUILDING.txt in the source distributive or in svn repository.
It is more authoritative than building.html.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Wei, Mingzhen
I was trying to build Apache Tomcat 5.5 Servelet for another application. I 
followed the steps from the link: 
http://tomcat.apache.org/tomcat-5.5-doc/building.html.
I have done the following:

1.   Installed JDK1.6

2.   Download and installed Apache Ant 1.8.4

3.   Download Tomcat 5.5 source package in zip file

4.   Set and updated the environment parameters for JAVA_HOME, PATH, 
ANT_HOME

I cannot run the following step "ant download" correctly. It complains the 
"includeantruntime" setup, and alerting me with errors for classes as 
BasicDataSource, DelegatingStatement, DelegatingPreparedStatement, and many 
more. The errors say that those classes as not abstract and do not override the 
abstract methods in other sources.

Please tell me how to fix the problem, thank you very much.

Mingzhen


[ANN] End of life for Apache Tomcat 5.5.x

2011-08-10 Thread Mark Thomas
The Apache Tomcat team announces that support for Apache Tomcat 5.5.x
will end on 30 September 2012.

This means that after 30 September 2012:
- releases from the 5.5.x branch are highly unlikely
- bugs affecting only the 5.5.x branch will not be addressed
- security vulnerability reports will not be checked against the 5.5.x
branch

Three months later (i.e. after 31 December 2012)
- the 5.5.x download pages will be removed
- the latest 5.5.x release will be removed from the mirror system
- the 5.5.x branch in svn will move from /tomcat/tc5.5.x to
/tomcat/archive/tc5.5.x
- the links to the 5.5.x documentation will be removed from
tomcat.apache.org
- The bugzilla project for 5.5.x will be made read-only

Note that all 5.5.x releases will always be available from the archive.

It is anticipated that the final 5.5.x release will be made shortly
before 30 September 2012.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
Ok thanks guys

On Wed, Jun 30, 2010 at 4:43 PM, Pid  wrote:

> On 30/06/2010 14:13, Michael Rodov wrote:
> > this is the link, but its not 100% sure since it depends on the
> > installed directories
> >
> > C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web*
>
> So the clue there is in the package name.
>
> This is not an Apache package, let alone Tomcat: com.hp.ov.cwc.web, it's
> something to do with your application - or an app / jar you're using.
>
>
> p
>
> > On Wed, Jun 30, 2010 at 4:08 PM, Pid  > > wrote:
> >
> > On 30/06/2010 13:13, Michael Rodov wrote:
> > > Hi All,
> > > I have the following question:
> > > In the apache 5.0 there was a file called cwc_labels.properties,
> its
> > > attached
> >
> > The list strips attachments.
> >
> > Where, exactly, was this file?
> >
> > > It had some interesting properties in it, such as ErrorPage.Message
> -
> > > you could set a customer error message in it, and others
> > >
> > > In 5.5 we could not find this file, theres the
> app_labels.properties
> >
> > Where is this file?
> >
> >
> > p
> >
> > > file, but it does not contain such settings as ErrorPage and many
> > more.
> > >
> > > Do you know if this or similar labels file exist in the 5.5 and
> older
> > > Tomcats?
> > > Or maybe how can I change the error message displayed on Tomcat
> > errors?
> > > thanks
> > >
> > >
> > >
> > >
> > >
> -
> > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > 
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
> >
> >
> >
>
>
>


Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Rainer Jung

On 30.06.2010 15:43, Pid wrote:

On 30/06/2010 14:13, Michael Rodov wrote:

this is the link, but its not 100% sure since it depends on the
installed directories

C:\Program Files\Apache Software Foundation\Tomcat
5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web*


So the clue there is in the package name.

This is not an Apache package, let alone Tomcat: com.hp.ov.cwc.web, it's
something to do with your application - or an app / jar you're using.


Likely the application in question is HP Service Manager. It seems the 
file was part of that. It is definitely not a Tomcat file. Talk to hP or 
your integration partner, why they dropped the file and where you can 
find the missing functionality.


Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Pid
On 30/06/2010 14:13, Michael Rodov wrote:
> this is the link, but its not 100% sure since it depends on the
> installed directories
> 
> C:\Program Files\Apache Software Foundation\Tomcat
> 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web*

So the clue there is in the package name.

This is not an Apache package, let alone Tomcat: com.hp.ov.cwc.web, it's
something to do with your application - or an app / jar you're using.


p

> On Wed, Jun 30, 2010 at 4:08 PM, Pid  > wrote:
> 
> On 30/06/2010 13:13, Michael Rodov wrote:
> > Hi All,
> > I have the following question:
> > In the apache 5.0 there was a file called cwc_labels.properties, its
> > attached
> 
> The list strips attachments.
> 
> Where, exactly, was this file?
> 
> > It had some interesting properties in it, such as ErrorPage.Message -
> > you could set a customer error message in it, and others
> >
> > In 5.5 we could not find this file, theres the app_labels.properties
> 
> Where is this file?
> 
> 
> p
> 
> > file, but it does not contain such settings as ErrorPage and many
> more.
> >
> > Do you know if this or similar labels file exist in the 5.5 and older
> > Tomcats?
> > Or maybe how can I change the error message displayed on Tomcat
> errors?
> > thanks
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> 
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 




signature.asc
Description: OpenPGP digital signature


RE: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Caldarale, Charles R
> From: Michael Rodov [mailto:rodov.mich...@gmail.com]
> Subject: Apache Tomcat 5.5 and labels.properties
> 
> In the apache 5.0 there was a file called cwc_labels.properties

Assuming you mean Tomcat 5.0 (Apache is an organization, not a product), there 
was no such file.  If you had one in your installation of Tomcat, someone added 
it locally - likely part of a webapp.  Note that the work directory in a Tomcat 
distribution is empty; deployment and execution of the webapp can result in 
files being placed there.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
this is the link, but its not 100% sure since it depends on the installed
directories

C:\Program Files\Apache Software Foundation\Tomcat
5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web*



On Wed, Jun 30, 2010 at 4:08 PM, Pid  wrote:

> On 30/06/2010 13:13, Michael Rodov wrote:
> > Hi All,
> > I have the following question:
> > In the apache 5.0 there was a file called cwc_labels.properties, its
> > attached
>
> The list strips attachments.
>
> Where, exactly, was this file?
>
> > It had some interesting properties in it, such as ErrorPage.Message -
> > you could set a customer error message in it, and others
> >
> > In 5.5 we could not find this file, theres the app_labels.properties
>
> Where is this file?
>
>
> p
>
> > file, but it does not contain such settings as ErrorPage and many more.
> >
> > Do you know if this or similar labels file exist in the 5.5 and older
> > Tomcats?
> > Or maybe how can I change the error message displayed on Tomcat errors?
> > thanks
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>


Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Pid
On 30/06/2010 13:13, Michael Rodov wrote:
> Hi All,
> I have the following question:
> In the apache 5.0 there was a file called cwc_labels.properties, its
> attached 

The list strips attachments.

Where, exactly, was this file?

> It had some interesting properties in it, such as ErrorPage.Message -
> you could set a customer error message in it, and others
> 
> In 5.5 we could not find this file, theres the app_labels.properties

Where is this file?


p

> file, but it does not contain such settings as ErrorPage and many more.
> 
> Do you know if this or similar labels file exist in the 5.5 and older
> Tomcats?
> Or maybe how can I change the error message displayed on Tomcat errors?
> thanks
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org




signature.asc
Description: OpenPGP digital signature


Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
Hi All,
I have the following question:
In the apache 5.0 there was a file called cwc_labels.properties, its
attached
It had some interesting properties in it, such as ErrorPage.Message - you
could set a customer error message in it, and others

In 5.5 we could not find this file, theres the app_labels.properties file,
but it does not contain such settings as ErrorPage and many more.

Do you know if this or similar labels file exist in the 5.5 and older
Tomcats?
Or maybe how can I change the error message displayed on Tomcat errors?
thanks

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Apache Tomcat 5.5.X End of Life

2009-01-07 Thread Mark Thomas
> -Original Message-
> From: Chad Kellerman [mailto:sunck...@gmail.com]
> Sent: 07 January 2009 16:38
> To: Tomcat Users List
> Subject: Apache Tomcat 5.5.X End of Life
> 
> Tomcat Users,
> Is there an expected End of Life date for Tomcat 5.5.x?  I couldn't
> find
> anything on the apache site or google?

No firm plans as yet. Best guess is that it will move to security fixes only
some time later this year. Security fixes are likely to continue for several
years.

Mark



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Apache Tomcat 5.5.X End of Life

2009-01-07 Thread Chad Kellerman
Tomcat Users,
Is there an expected End of Life date for Tomcat 5.5.x?  I couldn't find
anything on the apache site or google?


Thanks,
Chad


Re: FW: HTTP Status 500 - with Apache Tomcat/5.5

2008-12-15 Thread Piller Sébastien
Somewhere in your code, you're trying to decode a date which isn't on 
the right format:


   javax.servlet.ServletException: Unparseable date: "Mon Dec 15
   16:29:38 GMT+08:00 2008"

You can either use a compatible SimpleDateFormat (with a pattern which 
goes fine) or remove that part of code.


But this has nothing to do with tomcat at all, this is pure java


hsuan a écrit :

Hi all:

when I run the http://localhost:8180/geant2-java-rrd-ma in the browser ,it's
show the error message as follows :

 

 

 


HTTP Status 500 -

  _  


type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /index.jsp:77

 

74:


75:java.text.DateFormat dateFormat = new
java.text.SimpleDateFormat("EEE MMM dd HH:mm:ss zzz ");

76:java.util.Date now=  new java.util.Date();

77:java.util.Date date= dateFormat.parse(now.toString());

78:String confPath = "WEB-INF/classes/perfsonar/conf/";

79:String ServicePropertiesPath = confPath+ "service.properties";

80:ServletContext sc = getServletContext();

 

 


Stacktrace:

 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra

pper.java:451)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3

55)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)


org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

javax.servlet.ServletException: Unparseable date: "Mon Dec 15 16:29:38
GMT+08:00 2008"

 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI

mpl.java:841)

 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp

l.java:774)

org.apache.jsp.index_jsp._jspService(index_jsp.java:239)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3

31)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)


org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.text.ParseException: Unparseable date: "Mon Dec 15 16:29:38 GMT+08:00
2008"

java.text.DateFormat.parse(DateFormat.java:335)

org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3

31)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)


org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

  _  


Apache Tomcat/5.5

 

 


What's the problem ?

How can I to solve the problem ?

 


Thanks!


  



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



FW: HTTP Status 500 - with Apache Tomcat/5.5

2008-12-15 Thread hsuan
Hi all:

when I run the http://localhost:8180/geant2-java-rrd-ma in the browser ,it's
show the error message as follows :

 

 

 

HTTP Status 500 -

  _  

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /index.jsp:77

 

74:

75:java.text.DateFormat dateFormat = new
java.text.SimpleDateFormat("EEE MMM dd HH:mm:ss zzz ");

76:java.util.Date now=  new java.util.Date();

77:java.util.Date date= dateFormat.parse(now.toString());

78:String confPath = "WEB-INF/classes/perfsonar/conf/";

79:String ServicePropertiesPath = confPath+ "service.properties";

80:ServletContext sc = getServletContext();

 

 

Stacktrace:

 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
pper.java:451)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
55)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

javax.servlet.ServletException: Unparseable date: "Mon Dec 15 16:29:38
GMT+08:00 2008"

 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:841)

 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:774)

org.apache.jsp.index_jsp._jspService(index_jsp.java:239)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.text.ParseException: Unparseable date: "Mon Dec 15 16:29:38 GMT+08:00
2008"

java.text.DateFormat.parse(DateFormat.java:335)

org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

  _  

Apache Tomcat/5.5

 

 

What's the problem ?

How can I to solve the problem ?

 

Thanks!



RE: HTTP Status 404 with Apache Tomcat/5.5

2008-12-14 Thread Caldarale, Charles R
> From: hsuan [mailto:hs...@nchc.org.tw]
> Subject: HTTP Status 404 with Apache Tomcat/5.5
>
> What's the problem ! How can I to solve the problem?

http://marc.info/?l=tomcat-user&m=122823060425367&w=2
http://www.catb.org/~esr/faqs/smart-questions.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: HTTP Status 404 with Apache Tomcat/5.5

2008-12-14 Thread Martin Gainty

Hsuan-

could you post your
.\WEB-INF\web.xml
.\META-INF\context.xml

Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> From: hs...@nchc.org.tw
> To: users@tomcat.apache.org
> Subject: HTTP Status 404  with Apache Tomcat/5.5
> Date: Mon, 15 Dec 2008 09:18:11 +0800
> 
>  
> 
> Hi all:
> 
> When I browse http://localhost:8180/geant2-java-rrd-ma the following is
> returned:
> 
>  
> 
>  
> 
>  
> 
> HTTP Status 404 -
> 
> 
> 
> type Status report
> 
> message
> 
> description The requested resource () is not available.
> 
> 
> 
> Apache Tomcat/5.5
> 
>  
> 
>  
> 
>  
> 
>  
> 
> What's the problem ! How can I to solve the problem?
> 
> thanks!
> 
>  
> 

_
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008

HTTP Status 404 with Apache Tomcat/5.5

2008-12-14 Thread hsuan
 

Hi all:

When I browse http://localhost:8180/geant2-java-rrd-ma the following is
returned:

 

 

 

HTTP Status 404 -



type Status report

message

description The requested resource () is not available.



Apache Tomcat/5.5

 

 

 

 

What's the problem ! How can I to solve the problem?

thanks!

 



Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread thunderhead

Thanks a lot. That clarifies it.

I need to write a servlet which can handle such requests and code the
retrieval of the artefact from there.

It complicates the programming, but I understand the logic behind it. I will
get back to these forums if I need help implementing the same.

Regards.


Mark Thomas-18 wrote:
> 
> thunderhead wrote:
>> I understand your observation. But how am I (or anyone for that matter)
>> to
>> work around this? If I have a progam that is going to access content that
>> is
>> stored remotely, or content from a repository, is it not impractical to
>> expect the content to be available from tomcat? How do developers work
>> around a situation to link or access content that is remote from the
>> server
>> in which their web application is deployed?
> 
> They write a servlet that retrieves the content from the repository and 
> passes it through to the client.
> 
> Mark
> 
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTML-hyperlink-problem-in-Apache-Tomcat-5.5-tp17332016p17336931.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread Mark Thomas

thunderhead wrote:

I understand your observation. But how am I (or anyone for that matter) to
work around this? If I have a progam that is going to access content that is
stored remotely, or content from a repository, is it not impractical to
expect the content to be available from tomcat? How do developers work
around a situation to link or access content that is remote from the server
in which their web application is deployed?


They write a servlet that retrieves the content from the repository and 
passes it through to the client.


Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread thunderhead
er elsewhere.
>>>
>>> Again, http:// paths work, but local paths don't even if they refer to
>>> my
>>> own workstation (the one in which I am running Tomcat).
>>>
>>> One thing I must point out is that I don't have a configuration file in
>>> my
>>> web application's folder (currently it does not use any JSP, and the
>>> only
>>> Java involved is in an applet (.jar) which is embedded into a HTML
>>> document). Should I make a configuration file? If so, what must I put
>>> into
>>> it such that these links work?
>>>
>>> Thanks for looking into this.
>>>
>>>
>>>
>>>
>>> Caldarale, Charles R wrote:
>>> 
>>>>> From: thunderhead [mailto:[EMAIL PROTECTED] 
>>>>> Subject: HTML hyperlink problem in Apache Tomcat 5.5
>>>>>
>>>>> I tried linking some local files on my workstation for 
>>>>> testing purposes.
>>>>> 
>>>> You can't do that.  Each link is evaluated in the environment of the
>>>> *client* (browser, in your case).  Unless the files are located on the
>>>> client system, they won't be found.  Put the files inside the webapp
>>>> and
>>>> access them via the proper webapp-relative references.
>>>>
>>>>  - Chuck
>>>>
>>>>
>>>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
>>>> PROPRIETARY
>>>> MATERIAL and is thus for use only by the intended recipient. If you
>>>> received this in error, please contact the sender and delete the e-mail
>>>> and its attachments from all computers.
>>>>
>>>> -
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>   
>>> 
>>
>>   
> 
> 
> -- 
> David Smith
> Network Operations Supervisor
> Department of Entomology
> Cornell University
> 2132 Comstock Hall
> Ithaca, NY 14853
> Phone: (607) 255-9571
> Fax: (607) 255-0940
> 
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTML-hyperlink-problem-in-Apache-Tomcat-5.5-tp17332016p17336650.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread David Smith
You may be running into a cross-scripting issue with your browser.  The 
security in browsers doesn't normally allow online content any access to 
local files.  Make sure all the content you are trying to access from 
the page offered by tomcat is available from tomcat.


--David

thunderhead wrote:

Hi again,

This is an addendum to my earlier post, which highlights the linking problem
mentioned earlier and introduces another one (sigh).

The directory structure of my web application is the following:

GSDC5P1 (root)
---
docs | images | lib | mindmaps
index.html
---
docs > GSDC_PolicyManual.mht

The index.html file is in the root and from this file, I want to link to the
GSDC_PolicyManual.mht present under the directory docs.

In my index.html file, I tried linking to this file in six different ways
(NOTE: In some of these links, I tried linking to a specific sub-section of
the MIME HTML [.mht] document by using the anchors present, because that is
my ultimate aim in creating these links). 


In particular, I tried using a relative path, absolute path and the full web
container path (localhost and my workstation IP address, considering I'm
running Tomcat in my own workstation) to link to the file.

The HTML code for the links is below:
docs/GSDC_PolicyManual.mht  Test 1  
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\GSDC5P1\docs\GSDC_PolicyManual.mht  Test 2  
docs/GSDC_PolicyManual.mht#_Toc175474678  Test 3  
C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.5\webapps\GSDC5P1\docs\GSDC_PolicyManual.mht#_Toc175474678 
Test 4  
http://localhost:8080/GSDC5P1/docs/GSDC_PolicyManual.mht#_Toc175474678  Test
5  
http://10.194.118.58:8080/GSDC5P1/docs/GSDC_PolicyManual.mht#_Toc175474678 
Test 6  


The results are that the relative paths and http:// paths work. But when the
.mht file opens up, it throws the following error:

MIME-Version: 1.0 Content-Type: multipart/related;
boundary="=_NextPart_01C8B51A.46DAF130" This document is a Single File
Web Page, also known as a Web Archive file. If you are seeing this message,
your browser or editor doesn't support Web Archive files. Please download a
browser that supports Web Archive, such as Microsoft Internet Explorer.
--=_NextPart_01C8B51A.46DAF130 Content-Location:
file:///C:/E048E08C/GSDC_PolicyManual.htm Content-Transfer-Encoding:
quoted-printable Content-Type: text/html; charset="us-ascii" 


I cannot make much sense of this because when I double click on the .mht
file and open it in Internet Explorer (my workstation has version 6
installed), the document shows up fine.

Again, the absolute links to this document don't work at all. No errors, no
messages of the kind above.

I'm really keen to get to the bottom of this and somehow make the .mht file
work, while keeping in mind that it may be on a remote server (so I must be
able to link to it outside of my webapps folder).

Hope that throws much more light on the situation.





thunderhead wrote:
  

I understand what you're getting at. I am running a local instance of
Tomcat, which means that both the client and the server are in my
workstation. So shouldn't the local linkages work then?

Now, bringing the files into the webapps folder is a convenient solution.
But the issue is that this web application is ultimately going to be
deployed on a production/test server, and the application has to refer to
the direct path of files lying on a remote server elsewhere.

Again, http:// paths work, but local paths don't even if they refer to my
own workstation (the one in which I am running Tomcat).

One thing I must point out is that I don't have a configuration file in my
web application's folder (currently it does not use any JSP, and the only
Java involved is in an applet (.jar) which is embedded into a HTML
document). Should I make a configuration file? If so, what must I put into
it such that these links work?

Thanks for looking into this.




Caldarale, Charles R wrote:

From: thunderhead [mailto:[EMAIL PROTECTED] 
Subject: HTML hyperlink problem in Apache Tomcat 5.5


I tried linking some local files on my workstation for 
testing purposes.


You can't do that.  Each link is evaluated in the environment of the
*client* (browser, in your case).  Unless the files are located on the
client system, they won't be found.  Put the files inside the webapp and
access them via the proper webapp-relative references.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona

RE: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-19 Thread thunderhead

Hi again,

This is an addendum to my earlier post, which highlights the linking problem
mentioned earlier and introduces another one (sigh).

The directory structure of my web application is the following:

GSDC5P1 (root)
---
docs | images | lib | mindmaps
index.html
---
docs > GSDC_PolicyManual.mht

The index.html file is in the root and from this file, I want to link to the
GSDC_PolicyManual.mht present under the directory docs.

In my index.html file, I tried linking to this file in six different ways
(NOTE: In some of these links, I tried linking to a specific sub-section of
the MIME HTML [.mht] document by using the anchors present, because that is
my ultimate aim in creating these links). 

In particular, I tried using a relative path, absolute path and the full web
container path (localhost and my workstation IP address, considering I'm
running Tomcat in my own workstation) to link to the file.

The HTML code for the links is below:
docs/GSDC_PolicyManual.mht  Test 1  
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\GSDC5P1\docs\GSDC_PolicyManual.mht  Test 2  
docs/GSDC_PolicyManual.mht#_Toc175474678  Test 3  
C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.5\webapps\GSDC5P1\docs\GSDC_PolicyManual.mht#_Toc175474678
 
Test 4  
http://localhost:8080/GSDC5P1/docs/GSDC_PolicyManual.mht#_Toc175474678  Test
5  
http://10.194.118.58:8080/GSDC5P1/docs/GSDC_PolicyManual.mht#_Toc175474678 
Test 6  

The results are that the relative paths and http:// paths work. But when the
.mht file opens up, it throws the following error:

MIME-Version: 1.0 Content-Type: multipart/related;
boundary="=_NextPart_01C8B51A.46DAF130" This document is a Single File
Web Page, also known as a Web Archive file. If you are seeing this message,
your browser or editor doesn't support Web Archive files. Please download a
browser that supports Web Archive, such as Microsoft Internet Explorer.
--=_NextPart_01C8B51A.46DAF130 Content-Location:
file:///C:/E048E08C/GSDC_PolicyManual.htm Content-Transfer-Encoding:
quoted-printable Content-Type: text/html; charset="us-ascii" 

I cannot make much sense of this because when I double click on the .mht
file and open it in Internet Explorer (my workstation has version 6
installed), the document shows up fine.

Again, the absolute links to this document don't work at all. No errors, no
messages of the kind above.

I'm really keen to get to the bottom of this and somehow make the .mht file
work, while keeping in mind that it may be on a remote server (so I must be
able to link to it outside of my webapps folder).

Hope that throws much more light on the situation.





thunderhead wrote:
> 
> I understand what you're getting at. I am running a local instance of
> Tomcat, which means that both the client and the server are in my
> workstation. So shouldn't the local linkages work then?
> 
> Now, bringing the files into the webapps folder is a convenient solution.
> But the issue is that this web application is ultimately going to be
> deployed on a production/test server, and the application has to refer to
> the direct path of files lying on a remote server elsewhere.
> 
> Again, http:// paths work, but local paths don't even if they refer to my
> own workstation (the one in which I am running Tomcat).
> 
> One thing I must point out is that I don't have a configuration file in my
> web application's folder (currently it does not use any JSP, and the only
> Java involved is in an applet (.jar) which is embedded into a HTML
> document). Should I make a configuration file? If so, what must I put into
> it such that these links work?
> 
> Thanks for looking into this.
> 
> 
> 
> 
> Caldarale, Charles R wrote:
>> 
>>> From: thunderhead [mailto:[EMAIL PROTECTED] 
>>> Subject: HTML hyperlink problem in Apache Tomcat 5.5
>>> 
>>> I tried linking some local files on my workstation for 
>>> testing purposes.
>> 
>> You can't do that.  Each link is evaluated in the environment of the
>> *client* (browser, in your case).  Unless the files are located on the
>> client system, they won't be found.  Put the files inside the webapp and
>> access them via the proper webapp-relative references.
>> 
>>  - Chuck
>> 
>> 
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>> 
>> -------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>&g

RE: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-19 Thread thunderhead

I understand what you're getting at. I am running a local instance of Tomcat,
which means that both the client and the server are in my workstation. So
shouldn't the local linkages work then?

Now, bringing the files into the webapps folder is a convenient solution.
But the issue is that this web application is ultimately going to be
deployed on a production/test server, and the application has to refer to
the direct path of files lying on a remote server elsewhere.

Again, http:// paths work, but local paths don't even if they refer to my
own workstation (the one in which I am running Tomcat).

One thing I must point out is that I don't have a configuration file in my
web application's folder (currently it does not use any JSP, and the only
Java involved is in an applet (.jar) which is embedded into a HTML document.
Should I make a configuration file? If so, what must I put into it such that
these links work?

Thanks for looking into this.




Caldarale, Charles R wrote:
> 
>> From: thunderhead [mailto:[EMAIL PROTECTED] 
>> Subject: HTML hyperlink problem in Apache Tomcat 5.5
>> 
>> I tried linking some local files on my workstation for 
>> testing purposes.
> 
> You can't do that.  Each link is evaluated in the environment of the
> *client* (browser, in your case).  Unless the files are located on the
> client system, they won't be found.  Put the files inside the webapp and
> access them via the proper webapp-relative references.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTML-hyperlink-problem-in-Apache-Tomcat-5.5-tp17332016p17332599.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-19 Thread Caldarale, Charles R
> From: thunderhead [mailto:[EMAIL PROTECTED] 
> Subject: HTML hyperlink problem in Apache Tomcat 5.5
> 
> I tried linking some local files on my workstation for 
> testing purposes.

You can't do that.  Each link is evaluated in the environment of the
*client* (browser, in your case).  Unless the files are located on the
client system, they won't be found.  Put the files inside the webapp and
access them via the proper webapp-relative references.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



HTML hyperlink problem in Apache Tomcat 5.5

2008-05-19 Thread thunderhead

Hey everyone,

I am building a simple web page in JSP with an embedded java applet that
runs an application (the page does not contain any JSP code *yet*, but is
saved as a JSP file).

I am using Apache Tomcat 5.5 to render the page. On this page, I tried
linking some local files on my workstation for testing purposes. Some
samples are shown below:

C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.5\webapps\GSDCRBTMindMapTest\GSDC_PolicyManual.mht
 
Test  
C:\gsdcrbtframework.jpg  Test 2  

When I access the page through Tomcat by typing localhost:8080/ into my
browser, these links don't work. Clicking on them does absolutely nothing.

I then created a new HTML file in my application directory just to make sure
it wasn't a problem with JSP and put the same links there. They work when I
double click the file (access it locally), while they don't do anything
again if I access the page using the Tomcat port (i.e. localhost:8080/).

What is going on here? The links don't work even if the path is relative to
the application directory. The embedded java applet works fine, but it has
an application with hyperlinks. And these hyperlinks too don't work if I try
to link them to a file present in my hard drive (they work when the links
begin with a http://).

Appreciate your help on this. Will be glad to provide more information if
needed.
-- 
View this message in context: 
http://www.nabble.com/HTML-hyperlink-problem-in-Apache-Tomcat-5.5-tp17332016p17332016.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] 
> Would you happen to know of any good references that walks through how
> to trouble shoot Apache related performance issues?

I don't, so I'm going to throw that open to the list here :-).

A few obvious pointers from me:

- Performance Monitor: %CPU, Memory pages/second, average disk queue
length.  Over 80% sustained, over 100, or over 2 per spindle in your
disk array are "finger in the air" figures for bottlenecks on that kind
of resource.

- Remember to monitor your database server if it's separate - and the
traffic across your net link to/from the RDBMS.  I've seen plenty of
people scratching their heads over an almost-idle Web server when the
database server was thrashing away.

- Turn on verbose GCs in the Java VM and watch for significant GC
activity.  This can also show as spikes of CPU usage, and generally
indicates you're short of Java heap space.

- The single most common cause of poor webapp performance, in my
experience, is poor use of the database.  It's easy to send thousands of
small queries to the RDBMS - at which point you'll be crippled by time
to parse and execute all these queries, plus latency if the RDBMS is on
another machine.  It's also easy to create big queries that make poor
use of indexes, and saturate the RDBMS that way.  In general, more
hardware doesn't solve the problem; sending the person who built the
database and/or webapp on a course on RDB optimisation is the way to go
;-).

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Peter,

Would you happen to know of any good references that walks through how
to trouble shoot Apache related performance issues?  If I can zone in on
the key issues I can obviously address them appropriately.

Thanks,
Tony Fountain
Benefit Concepts, Inc.
(419) 244-9936 x9010 (office)
(419) 249-7221 (fax)

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 11:53 AM
To: Tomcat Users List
Subject: RE: Apache Tomcat (5.5) configuration suggestions

> From: Tony Fountain [mailto:[EMAIL PROTECTED]
> from the perspective of
> performance, will the x64 yield much better performance for this type 
> of thing over x32?  Obviously it will from a systems standpoint but is

> it evident from an end user perspective?

Depends entirely on your application and your system configuration.  For
most server applications, network bandwidth, disk latency and throughput
and the amount of RAM available for caching are far more relevant than
CPU grunt.  Intel have done a superb job of branding the CPU as *the*
key system component.  It isn't - servers need to be balanced systems,
and x86 vs x64 is only a small part of the overall balance.

Bottom line: if you have an application that's too slow, a change in CPU
architecture isn't going to save you :-).

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This Email has been scanned for all viruses by PAETEC Email Scanning
Services, utilizing MessageLabs proprietary SkyScan infrastructure. For
more information on a proactive anti-virus service working around the
clock, around the globe, visit http://www.paetec.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] 
> from the perspective of
> performance, will the x64 yield much better performance for 
> this type of
> thing over x32?  Obviously it will from a systems standpoint but is it
> evident from an end user perspective?

Depends entirely on your application and your system configuration.  For
most server applications, network bandwidth, disk latency and throughput
and the amount of RAM available for caching are far more relevant than
CPU grunt.  Intel have done a superb job of branding the CPU as *the*
key system component.  It isn't - servers need to be balanced systems,
and x86 vs x64 is only a small part of the overall balance.

Bottom line: if you have an application that's too slow, a change in CPU
architecture isn't going to save you :-).

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Peter,

Thanks for the response.  I have our network guy looking into that
avenue for me.  Just another question though, from the perspective of
performance, will the x64 yield much better performance for this type of
thing over x32?  Obviously it will from a systems standpoint but is it
evident from an end user perspective?

Thanks,
Tony Fountain
Benefit Concepts, Inc.
(419) 244-9936 x9010 (office)
(419) 249-7221 (fax)

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 11:14 AM
To: Tomcat Users List
Subject: RE: Apache Tomcat (5.5) configuration suggestions

> From: Tony Fountain [mailto:[EMAIL PROTECTED]
> is there some sort of "server" type mode for Apache to run in that 
> will allow me to make use of more than 1.5 GB of memory?

You'll need the 64-bit JVM - and a 64-bit OS!  Other than that, 1.5G is
about as large a contiguous heap as Java can allocate in the 32-bit
Windows address space.  Windows reserves the upper 2G for itself and its
DLLs, and there are some other bits'n'pieces in the lower 2G that
fragment it.

If your 2k3 server is already 64-bit, a simple change of JVM will do the
job.  Otherwise, you have a reinstall on your hands.

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This Email has been scanned for all viruses by PAETEC Email Scanning
Services, utilizing MessageLabs proprietary SkyScan infrastructure. For
more information on a proactive anti-virus service working around the
clock, around the globe, visit http://www.paetec.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] 
> is there some sort of "server" type mode
> for Apache to run in that will allow me to make use of more 
> than 1.5 GB of memory?

You'll need the 64-bit JVM - and a 64-bit OS!  Other than that, 1.5G is
about as large a contiguous heap as Java can allocate in the 32-bit
Windows address space.  Windows reserves the upper 2G for itself and its
DLLs, and there are some other bits'n'pieces in the lower 2G that
fragment it.

If your 2k3 server is already 64-bit, a simple change of JVM will do the
job.  Otherwise, you have a reinstall on your hands.

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Hi,
 
Windows 2003 Server R2 SP2
Apache Tomcat/5.5.23
JVM 1.5.0_12-b04
 
We are using a reporting product written in Java 1.4 from another vendor
that integrates into our web application via frames and URL requests.  
 
We have been noticing various performance & stability related issues
(i.e. slow performance, degraded performance, and stability of Apache).
My first thought is I do not have Apache configured optimally to (a) run
at an enterprise service level and (2) work with this webapp from the
vendor optimally.  I believe that (a) our web interface, (b) our network
and (c) the 3rd party product are all ok.  I do come from a non-Java
background so some of this is rather new to me.  Can anyone suggestion
pointers or references that can discuss (a) the various configuration
options for running Apache Tomcat as a windows service and (b) options
for Apache Tomcat to run optimally with a specific webapp.
 
Just as an FYI, the server this runs on is a HP ProLiant BL20p G4 server
blade.  Looking at this server and seeing the issues I stated above I
really think I need to configure Apache differently since the machine
can obviously handle it.  Also, is there some sort of "server" type mode
for Apache to run in that will allow me to make use of more than 1.5 GB
of memory?
 
Thanks,
Tony Fountain
Benefit Concepts, Inc.
(419) 244-9936 x9010 (office)
(419) 249-7221 (fax)
 


RE: Apache Tomcat 5.5 install issues.

2007-08-05 Thread William Rui
Hi, Kristian

Thanks for your help,

>>(a) You don't have a JDK installed but just a JRE which
[CODE]
[EMAIL PROTECTED] apache-tomcat-5.5.23> ls -a ..
.   apache-tomcat-5.5.23 jdk1.5.0_12  jre1.5.0_12
..  apache-tomcat-5.5.23.tar.gz  jdk-1_5_0_12-linux-i586.bin
jre-1_5_0_12-linux-i586.bin
[EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jdk
[EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jre
[EMAIL PROTECTED] apache-tomcat-5.5.23>
[/CODE]
It seems that I've not install jdk&jre, but actually I just installed them
by their manual (such as http://java.sun.com/j2se/1.5.0/install-linux.html).


>> which java
>> which javac
[CODE]
[EMAIL PROTECTED] apache-tomcat-5.5.23> which java
/usr/bin/which: no java in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/
bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1
1R6/bin:/root/bin)
[EMAIL PROTECTED] apache-tomcat-5.5.23> which javac
/usr/bin/which: no javac in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/
bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1
1R6/bin:/root/bin)
[/CODE]

It really seems that I've not successfully installed them, but how can I?

Thanks and regards,


-Original Message-
From: Kristian Rink [mailto:[EMAIL PROTECTED] 
Sent: 2007?8?3? 16:30
To: users@tomcat.apache.org
Subject: Re: Apache Tomcat 5.5 install issues.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

William;


["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007
16:19:17 +0800]

> *** Host support ***
> checking C flags dependant on host system type... ok
> *** Java compilation tools ***
> checking for javac... NONE
> checking for javac... NONE
> configure: error: javac not found

There could be two things causing this issue:

(a) You don't have a JDK installed but just a JRE which, well, just
provides the features required to run Java application but actually
lacks everything required to build Java apps from source. Solution
would be to install an up-to-date JDK.

(b) you don't have your PATH set up so your shell can't find javac.
To set this right, best is putting something like this to your shell
configuration file:

export JAVA_HOME=/path/to/your/jdk
export PATH=$JAVA_HOME/bin:$PATH

(assuming a bash-like shell).


By the way you can check pretty well how things are by trying to
manually entering "java" or "javac" in your terminal, or by using

which java
which javac

to locate where these friends are. Maybe, however, you'll be better /
quicker off installing a pre-built tomcat binary. :)

Cheers,
Kristian

- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsueWcxBAPOA1m6wRAjF9AJ92sDDUMX4+rLplBn7GNtxvS2j2JQCdE4yk
Psy9OUqGng9xy3pXOdKFaVM=
=woaR
-END PGP SIGNATURE-



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Tomcat 5.5 install issues.

2007-08-03 Thread Kristian Rink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

William;


["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007
16:19:17 +0800]

> *** Host support ***
> checking C flags dependant on host system type... ok
> *** Java compilation tools ***
> checking for javac... NONE
> checking for javac... NONE
> configure: error: javac not found

There could be two things causing this issue:

(a) You don't have a JDK installed but just a JRE which, well, just
provides the features required to run Java application but actually
lacks everything required to build Java apps from source. Solution
would be to install an up-to-date JDK.

(b) you don't have your PATH set up so your shell can't find javac.
To set this right, best is putting something like this to your shell
configuration file:

export JAVA_HOME=/path/to/your/jdk
export PATH=$JAVA_HOME/bin:$PATH

(assuming a bash-like shell).


By the way you can check pretty well how things are by trying to
manually entering "java" or "javac" in your terminal, or by using

which java
which javac

to locate where these friends are. Maybe, however, you'll be better /
quicker off installing a pre-built tomcat binary. :)

Cheers,
Kristian

- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsueWcxBAPOA1m6wRAjF9AJ92sDDUMX4+rLplBn7GNtxvS2j2JQCdE4yk
Psy9OUqGng9xy3pXOdKFaVM=
=woaR
-END PGP SIGNATURE-


RE: Apache Tomcat 5.5 install issues.

2007-08-03 Thread William Rui
Kristian:

Thank you for your reply. I did as you said, got following info:
[CODE]
[EMAIL PROTECTED] jsvc-src> autoconf
[EMAIL PROTECTED] jsvc-src> sh ./configure
*** Current host ***
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking for javac... NONE
checking for javac... NONE
configure: error: javac not found
[EMAIL PROTECTED] jsvc-src>
[/CODE]

I wander if above info maybe something error, for somebody has installed
tomcat some early time on this pc but failed.


Br, william

-Original Message-
From: Kristian Rink [mailto:[EMAIL PROTECTED] 
Sent: 2007?8?3? 16:08
To: users@tomcat.apache.org
Subject: Re: Apache Tomcat 5.5 install issues.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


William;

["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007
15:43:18 +0800]
...
> [EMAIL PROTECTED] bin> cd jsvc-src/
> 
> [EMAIL PROTECTED] jsvc-src> autoconf
> 
> [EMAIL PROTECTED] jsvc-src> ./configure
> 
> -bash: ./configure: Permission denied

First bet would be that configure is not actually marked as executable,
try either

sh ./configure 

or do a 

chmod u+x configure 


prior to running ./configure to move on.

Cheers,
Kristian

- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsuKBcxBAPOA1m6wRApH4AJ4+ox35fpsgMPBvC3e+pKMcWUB9PgCgjn3I
ATlUyJUqLeO4Xv074eTo59Y=
=7mGT
-END PGP SIGNATURE-



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Tomcat 5.5 install issues.

2007-08-03 Thread Kristian Rink
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


William;

["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007
15:43:18 +0800]
...
> [EMAIL PROTECTED] bin> cd jsvc-src/
> 
> [EMAIL PROTECTED] jsvc-src> autoconf
> 
> [EMAIL PROTECTED] jsvc-src> ./configure
> 
> -bash: ./configure: Permission denied

First bet would be that configure is not actually marked as executable,
try either

sh ./configure 

or do a 

chmod u+x configure 


prior to running ./configure to move on.

Cheers,
Kristian

- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsuKBcxBAPOA1m6wRApH4AJ4+ox35fpsgMPBvC3e+pKMcWUB9PgCgjn3I
ATlUyJUqLeO4Xv074eTo59Y=
=7mGT
-END PGP SIGNATURE-


Apache Tomcat 5.5 install issues.

2007-08-03 Thread William Rui
Hi, all

 

During the process of installing Apache Tomcat 5.5 on redhat 9, pop following 
error:

Code:

[EMAIL PROTECTED] bin> cd jsvc-src/

[EMAIL PROTECTED] jsvc-src> autoconf

[EMAIL PROTECTED] jsvc-src> ./configure

-bash: ./configure: Permission denied

 

 

It should be following as the instruction 
(http://tomcat.apache.org/tomcat-5.5-doc/setup.html):

 

cd $CATALINA_HOME/bin

tar xvfz jsvc.tar.gz

cd jsvc-src

autoconf

./configure

make

cp jsvc ..

cd ..

 

Any suggestion is highly appreciated!

 

Best regards,

 

William

 



RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread ChristineAvrin
Good to know - thanks!


Christine A. Avrin
Information Technology
InterBay Funding, LLC
Office: (215) 793-8835
Fax: (305) 817-5221

"Change the way you look at things, 
and the things you look at will change"
  -Dr. Wayne Dyer






"Caldarale, Charles R" <[EMAIL PROTECTED]> 
11/27/2006 02:59 PM
Please respond to
"Tomcat Users List" 


To
"Tomcat Users List" 
cc

Subject
RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5






> From: David Smith [mailto:[EMAIL PROTECTED] 
> Subject: Re: No Start/Stop Options under Start/Programs 
> Apache Tomcat 5.5
>
> The same list should include "Apache Tomcat" (toward the top 
> as the list is alphabetic).  Click on it and use the Start, 
> Stop, and Restart links that get displayed with the description.

Although that will let you start and stop the Tomcat service, it doesn't
give you the customized configuration tabs that tomcat5w.exe does.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread ChristineAvrin
Thank you all for your feedback.  I don't have the icon in my system tray, 
but I am able to start and stop using the other suggestions I have 
received.

Thanks again!


Christine A. Avrin
Information Technology
InterBay Funding, LLC
Office: (215) 793-8835
Fax: (305) 817-5221

"Change the way you look at things, 
and the things you look at will change"
  -Dr. Wayne Dyer






David Smith <[EMAIL PROTECTED]> 
11/27/2006 02:55 PM
Please respond to
"Tomcat Users List" 


To
Tomcat Users List 
cc

Subject
Re: No Start/Stop Options under Start/Programs Apache Tomcat 5.5






Another way to handle this (assuming a Windows 2000, XP, or 2003 system):

Right click on "My Computer" and choosing "Manage" from the pop-up menu.

When the Computer Management window opens, expand "Services and
Applications" on the left side.

Click on "Services" in the expanded Services and Applications branch.

The right side will populate with a whole list of services running in
the background of your computer

The same list should include "Apache Tomcat" (toward the top as the list
is alphabetic).  Click on it and use the Start, Stop, and Restart links
that get displayed with the description.

--David

[EMAIL PROTECTED] wrote:

>Thanks for the feedback.  Unfortunately, I don't see anything in my 
system 
>tray either.  Is that an option I need to enable?
>
>
>Christine A. Avrin
>Information Technology
>InterBay Funding, LLC
>Office: (215) 793-8835
>Fax: (305) 817-5221
>
>"Change the way you look at things, 
>and the things you look at will change"
>  -Dr. Wayne Dyer
>
>
>
>
>
>
>"Caldarale, Charles R" <[EMAIL PROTECTED]> 
>11/27/2006 02:36 PM
>Please respond to
>"Tomcat Users List" 
>
>
>To
>"Tomcat Users List" 
>cc
>
>Subject
>RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5
>
>
>
>
>
>
> 
>
>>From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] 
>>Subject: Re: No Start/Stop Options under Start/Programs 
>>Apache Tomcat 5.5
>>
>>I think you need to run the start.bat and stop.bat scripts, 
>>they should be somewhere in your install dir.
>> 
>>
>
>No, those are not used to run Tomcat as a service - only from the
>command prompt.  And, if you download and run the .exe installer, you
>don't even get the .bat scripts.
>
>There aren't supposed to be any start/stop options under the Start ->
>All Programs -> Apache Tomcat 5.5 folder.  Once you install Tomcat as a
>Windows service, there is an icon in the system tray you can use to
>control the service.
>
> - Chuck
>
>
>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>MATERIAL and is thus for use only by the intended recipient. If you
>received this in error, please contact the sender and delete the e-mail
>and its attachments from all computers.
>
>-
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> 
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] 
> Subject: Re: No Start/Stop Options under Start/Programs 
> Apache Tomcat 5.5
>
> The same list should include "Apache Tomcat" (toward the top 
> as the list is alphabetic).  Click on it and use the Start, 
> Stop, and Restart links that get displayed with the description.

Although that will let you start and stop the Tomcat service, it doesn't
give you the customized configuration tabs that tomcat5w.exe does.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread David Smith
Another way to handle this (assuming a Windows 2000, XP, or 2003 system):

Right click on "My Computer" and choosing "Manage" from the pop-up menu.

When the Computer Management window opens, expand "Services and
Applications" on the left side.

Click on "Services" in the expanded Services and Applications branch.

The right side will populate with a whole list of services running in
the background of your computer

The same list should include "Apache Tomcat" (toward the top as the list
is alphabetic).  Click on it and use the Start, Stop, and Restart links
that get displayed with the description.

--David

[EMAIL PROTECTED] wrote:

>Thanks for the feedback.  Unfortunately, I don't see anything in my system 
>tray either.  Is that an option I need to enable?
>
>
>Christine A. Avrin
>Information Technology
>InterBay Funding, LLC
>Office: (215) 793-8835
>Fax: (305) 817-5221
>
>"Change the way you look at things, 
>and the things you look at will change"
>  -Dr. Wayne Dyer
>
>
>
>
>
>
>"Caldarale, Charles R" <[EMAIL PROTECTED]> 
>11/27/2006 02:36 PM
>Please respond to
>"Tomcat Users List" 
>
>
>To
>"Tomcat Users List" 
>cc
>
>Subject
>RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5
>
>
>
>
>
>
>  
>
>>From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] 
>>Subject: Re: No Start/Stop Options under Start/Programs 
>>Apache Tomcat 5.5
>>
>>I think you need to run the start.bat and stop.bat scripts, 
>>they should be somewhere in your install dir.
>>
>>
>
>No, those are not used to run Tomcat as a service - only from the
>command prompt.  And, if you download and run the .exe installer, you
>don't even get the .bat scripts.
>
>There aren't supposed to be any start/stop options under the Start ->
>All Programs -> Apache Tomcat 5.5 folder.  Once you install Tomcat as a
>Windows service, there is an icon in the system tray you can use to
>control the service.
>
> - Chuck
>
>
>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>MATERIAL and is thus for use only by the intended recipient. If you
>received this in error, please contact the sender and delete the e-mail
>and its attachments from all computers.
>
>-
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Subject: RE: No Start/Stop Options under Start/Programs 
> Apache Tomcat 5.5
> 
> Unfortunately, I don't see anything in my system 
> tray either.  Is that an option I need to enable?

The icon doesn't look like a Tomcat - it's a very small version of the
ASF feather with a Services gear on top of it, with a small red or green
symbol in a circle.  Hovering over it should show it as Apache Tomcat.
I don't recall having to select any particular option when installing
from the .exe, but it's been a while.

You can also run the tomcat5w.exe program from the bin directory to
configure the service.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread ChristineAvrin
Thanks for the feedback.  Unfortunately, I don't see anything in my system 
tray either.  Is that an option I need to enable?


Christine A. Avrin
Information Technology
InterBay Funding, LLC
Office: (215) 793-8835
Fax: (305) 817-5221

"Change the way you look at things, 
and the things you look at will change"
  -Dr. Wayne Dyer






"Caldarale, Charles R" <[EMAIL PROTECTED]> 
11/27/2006 02:36 PM
Please respond to
"Tomcat Users List" 


To
"Tomcat Users List" 
cc

Subject
RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5






> From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] 
> Subject: Re: No Start/Stop Options under Start/Programs 
> Apache Tomcat 5.5
> 
> I think you need to run the start.bat and stop.bat scripts, 
> they should be somewhere in your install dir.

No, those are not used to run Tomcat as a service - only from the
command prompt.  And, if you download and run the .exe installer, you
don't even get the .bat scripts.

There aren't supposed to be any start/stop options under the Start ->
All Programs -> Apache Tomcat 5.5 folder.  Once you install Tomcat as a
Windows service, there is an icon in the system tray you can use to
control the service.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread Caldarale, Charles R
> From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] 
> Subject: Re: No Start/Stop Options under Start/Programs 
> Apache Tomcat 5.5
> 
> I think you need to run the start.bat and stop.bat scripts, 
> they should be somewhere in your install dir.

No, those are not used to run Tomcat as a service - only from the
command prompt.  And, if you download and run the .exe installer, you
don't even get the .bat scripts.

There aren't supposed to be any start/stop options under the Start ->
All Programs -> Apache Tomcat 5.5 folder.  Once you install Tomcat as a
Windows service, there is an icon in the system tray you can use to
control the service.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread EDMOND KEMOKAI

I think you need to run the start.bat and stop.bat scripts, they should be
somewhere in your install dir.

On 11/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:



Hi,

I have installed Tomcat 5.5 but I do not have any Start or Stop options
under Start/Programs Apache Tomcat 5.5 (see screenshot below).

Any help would be greatly appreciated.

Thanks!


Christine A. Avrin
Information Technology
InterBay Funding, LLC
Office: (215) 793-8835
Fax: (305) 817-5221

"Change the way you look at things,
and the things you look at will change"
 -Dr. Wayne Dyer









--
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)


No Start/Stop Options under Start/Programs Apache Tomcat 5.5

2006-11-27 Thread ChristineAvrin
Hi,

I have installed Tomcat 5.5 but I do not have any Start or Stop options 
under Start/Programs Apache Tomcat 5.5 (see screenshot below). 

Any help would be greatly appreciated.

Thanks!


Christine A. Avrin
Information Technology
InterBay Funding, LLC
Office: (215) 793-8835
Fax: (305) 817-5221

"Change the way you look at things, 
and the things you look at will change"
  -Dr. Wayne Dyer