RE: Apache Tomcat 9.0.8 install check

2018-06-18 Thread Shailendra Kumar Verma
Where? Can you be more specific which key are you talking about?

Thanks,
Shailendra

-Original Message-
From: Suvendu Sekhar Mondal  
Sent: Monday, June 18, 2018 6:21 PM
To: Tomcat Users List 
Subject: Re: Apache Tomcat 9.0.8 install check

***CAUTION: This email originated from outside of the organization. Do not open 
attachments or click links unless you recognize sender and know content is 
safe.*** Forward suspicious email to suspici...@convergys.com 
___

Shailendra,

On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma 
 wrote:
> Hello,
>
> I am trying to find out through registry checking whether or not Apache 
> Tomcat 9.0.8 is already installed or not. If the below registry is not there, 
> then my program installs Apache Tomcat 9.0.8 installer otherwise it moves on 
> to other installation and completes. It's kind of prerequisite check program.
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 
> Foundation\Tomcat\9.0\Tomcat9
>
> However, everytime program just proceeds to install Tomcat despite it is 
> already installed? Am I checking wrong registry?
>
> Thanks,
> Shailendra
>

That is the correct registry path for installed TC. Additionally you can also 
try to read value of InstallPath.

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



Re: Apache Tomcat 9.0.8 install check

2018-06-18 Thread Suvendu Sekhar Mondal
Shailendra,

On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma
 wrote:
> Hello,
>
> I am trying to find out through registry checking whether or not Apache 
> Tomcat 9.0.8 is already installed or not. If the below registry is not there, 
> then my program installs Apache Tomcat 9.0.8 installer otherwise it moves on 
> to other installation and completes. It's kind of prerequisite check program.
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\9.0\Tomcat9
>
> However, everytime program just proceeds to install Tomcat despite it is 
> already installed? Am I checking wrong registry?
>
> Thanks,
> Shailendra
>

That is the correct registry path for installed TC. Additionally you
can also try to read value of InstallPath.

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



Apache Tomcat 9.0.8 install check

2018-06-18 Thread Shailendra Kumar Verma
Hello,

I am trying to find out through registry checking whether or not Apache Tomcat 
9.0.8 is already installed or not. If the below registry is not there, then my 
program installs Apache Tomcat 9.0.8 installer otherwise it moves on to other 
installation and completes. It's kind of prerequisite check program.

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\9.0\Tomcat9

However, everytime program just proceeds to install Tomcat despite it is 
already installed? Am I checking wrong registry?

Thanks,
Shailendra



Re: Production Tomcat 8.5.5 suddenly started to give ClassNotFoundError

2018-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mladen,

On 6/16/18 5:37 AM, Mladen Adamović wrote:
> Hi all,
> 
> I have a production Tomcat server and this morning it started to
> give strange ClassNotFoundError for stuff which was working for
> years without a problem.
> 
> I did redeploy app (by copying into the dir and deleting their
> ROOT), but it didn't solve the issue, same ClassNotFoundException.
> 
> On the development machine I built a new release, checked that it
> worked in my localhost (it worked, no ClassNotFoundException), and
> stopped Tomcat on the production server, moved files from work to
> work_1 directory (that's specified as deleting the cache), copied
> the new WAR files into the destination and deleted the previous
> files.
> 
> It didn't still solve the issue, now I got even bigger problem JSPs
> which were working fine previously now they don't work?
> 
> What could cause this problem? How to fix it (without setting again
> new production tomcat from scratch)?

It sounds to me like a botched upgrade from a lower version (e.g. 7.0,
8.0) to 8.5 if JSPs are no longer working.

Compare the following files in your environment to what Tomcat ships
with out of the box:

 conf/context.xml
 conf/web.xml

There should be no changes between what you have on your disk and what
comes with Tomcat.

If there are no changes, then look at your own application's
WEB-INF/web.xml to see if you ave somehow overridden the *.jsp
mapping. Finally, look in your application's META-INF/context.xml to
see if there is anything JSP-related in there. (There probably
shouldn't be anything in there, but it's better to check).

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsn8A8ACgkQHPApP6U8
pFhSaQ//fq2mr5JbsF9xueie/HHaO6lr7fwtK1VAJJObxbjCYWjVY4oly79QB5VU
lJJUi34WcZ3oBUBMGrwxThyg1+ll6IwzVJ5mh5GF0HAfwuYwUsNHhXf871a/uNqG
nGjpqQhbAFOHikZzZLdvLcgHJpVjXc24lI1C/R49gRGAhMOnYI1L3UjaLRF1SCNS
ZQrVQjWfwDpZLD0IDcsQxA0e5tR+xV3vr1bV4iNsqC7sjXcVWjf/OGLngmAenedL
ehIV9P15YceY1DCZOl8xbzFAJ4tJQvtE/s0dxvkUTZ4YXaf2zE5W/nFyVdHBhJ8C
U0oZWkvnLQv2u28MlzqK4cpA85Cpko+Y7ZDWxOIoiGhSVhBvdW3LwI0apphwIqMX
S3BA471kRzDUBgNNLU288HMF+4D7kk6MuaTJyzXLUM1vdy6fH16Hl7yYWaispj31
29vfNR2RfLdLhJ7SJ2v9FskciMkwD5LYCBL8Pybi8xUDeLyy/IrrwaNq3OrIUTIy
oAjRYd8R6rym3VB0WBvI4NlZxL2vhU2bJnDIsUGPljOuxntL/P3o19hcoqQwB3nM
Z/l9Tk5wJpSJjhlljOds3wOYHzJQR8OFAxW0kShgh3Pl9o3c2hU4o3Ff6zYKYnom
B5aRSAgGxeU9n+2DATwEakVq29ykB6o+gCIy91LmcXlEwyPdlqA=
=4Wmr
-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 9.0.8 install check

2018-06-18 Thread Suvendu Sekhar Mondal
On Mon, Jun 18, 2018 at 6:23 PM, Shailendra Kumar Verma
 wrote:
> Where? Can you be more specific which key are you talking about?

Under same registry entry. Here is the full path for installed Tomcat
8 on my laptop:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software
Foundation\Tomcat\8.0\Tomcat8_1\InstallPath

There is another key called version - if you want to verify the version again:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software
Foundation\Tomcat\8.0\Tomcat8_1\Version



> Thanks,
> Shailendra
>
> -Original Message-
> From: Suvendu Sekhar Mondal 
> Sent: Monday, June 18, 2018 6:21 PM
> To: Tomcat Users List 
> Subject: Re: Apache Tomcat 9.0.8 install check
>
> ***CAUTION: This email originated from outside of the organization. Do not 
> open attachments or click links unless you recognize sender and know content 
> is safe.*** Forward suspicious email to suspici...@convergys.com 
> ___
>
> Shailendra,
>
> On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma 
>  wrote:
>> Hello,
>>
>> I am trying to find out through registry checking whether or not Apache 
>> Tomcat 9.0.8 is already installed or not. If the below registry is not 
>> there, then my program installs Apache Tomcat 9.0.8 installer otherwise it 
>> moves on to other installation and completes. It's kind of prerequisite 
>> check program.
>>
>> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software
>> Foundation\Tomcat\9.0\Tomcat9
>>
>> However, everytime program just proceeds to install Tomcat despite it is 
>> already installed? Am I checking wrong registry?
>>
>> Thanks,
>> Shailendra
>>
>
> That is the correct registry path for installed TC. Additionally you can also 
> try to read value of InstallPath.
>
> -
> 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 9.0.8 install check

2018-06-18 Thread Shailendra Kumar Verma
Thanks! Let me try.

Thanks,
Shailendra


-Original Message-
From: Suvendu Sekhar Mondal  
Sent: Monday, June 18, 2018 6:31 PM
To: Tomcat Users List 
Subject: Re: Apache Tomcat 9.0.8 install check

***CAUTION: This email originated from outside of the organization. Do not open 
attachments or click links unless you recognize sender and know content is 
safe.*** Forward suspicious email to suspici...@convergys.com 
___

On Mon, Jun 18, 2018 at 6:23 PM, Shailendra Kumar Verma 
 wrote:
> Where? Can you be more specific which key are you talking about?

Under same registry entry. Here is the full path for installed Tomcat
8 on my laptop:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 
Foundation\Tomcat\8.0\Tomcat8_1\InstallPath

There is another key called version - if you want to verify the version again:
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 
Foundation\Tomcat\8.0\Tomcat8_1\Version



> Thanks,
> Shailendra
>
> -Original Message-
> From: Suvendu Sekhar Mondal 
> Sent: Monday, June 18, 2018 6:21 PM
> To: Tomcat Users List 
> Subject: Re: Apache Tomcat 9.0.8 install check
>
> ***CAUTION: This email originated from outside of the organization. Do 
> not open attachments or click links unless you recognize sender and 
> know content is safe.*** Forward suspicious email to 
> suspici...@convergys.com 
> ___
>
> Shailendra,
>
> On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma 
>  wrote:
>> Hello,
>>
>> I am trying to find out through registry checking whether or not Apache 
>> Tomcat 9.0.8 is already installed or not. If the below registry is not 
>> there, then my program installs Apache Tomcat 9.0.8 installer otherwise it 
>> moves on to other installation and completes. It's kind of prerequisite 
>> check program.
>>
>> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software
>> Foundation\Tomcat\9.0\Tomcat9
>>
>> However, everytime program just proceeds to install Tomcat despite it is 
>> already installed? Am I checking wrong registry?
>>
>> Thanks,
>> Shailendra
>>
>
> That is the correct registry path for installed TC. Additionally you can also 
> try to read value of InstallPath.
>
> -
> 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