Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 8:44 PM, Mark Thomas wrote: > On 20/07/17 19:16, Roparzh Hemon wrote: >> I am a long-time >> Mac fan, but on my mac I got stuck by a configuration problem in JEE >> and got ZERO feedback on half a dozen forums and mailing lists, >> including this one. >

RE: Issue with static file in Tomcat 8.5.17

2017-07-20 Thread George Stanchev
>> The problem is related to the new code that handles the case when a >> file is stored in one encoding but served in another. Since changing >> encodings can change the value and number of bytes served (for example >> serving £ in UTF-8 requires two bytes but only one in ISO-8859-1). >>

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Eggers
Roparzh, On 7/20/2017 6:45 AM, Roparzh Hemon wrote: > Hello all, > > I am currently unable to install Tomcat 9.0 on my Windows 10 > system (I didn't install any other version of Tomcat so far). > I've retried several times and the same problem appears over and > over again : >

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi, just to explain you what exactly is happening. We are taking back up of the server at 12:00 AM daily.which is a type of offline backup.After backup server is running fine for 2 hours and exactly at 2:00am server is stopping on its own. This issue of stopping is not occurring daily.And when

Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20/07/17 19:16, Roparzh Hemon wrote: > On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz > wrote: > >> 4. Java on Windows is a nightmare. If you want to quip about moving to >> a "real server OS," then suggest switching to a UNIX-like OS, where >> the Real

Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org
On 7/20/2017 11:16 AM, Roparzh Hemon wrote: On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz wrote: 4. Java on Windows is a nightmare. If you want to quip about moving to a "real server OS," then suggest switching to a UNIX-like OS, where the Real Servers run

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi All, This is to add that I found some interesting thing. I order to enable debugging in tomcat I changed the logging level from Fine to Finest .Upon changing the log level we see that tomcat is not getting stopped on its own.This is he strange behaviour we observed. can you please elaborate

Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz wrote: > 4. Java on Windows is a nightmare. If you want to quip about moving to > a "real server OS," then suggest switching to a UNIX-like OS, where > the Real Servers run :) I am quite curious and interested

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Mark Eggers
Chaitanya, This will be long and somewhat speculative. On 7/20/2017 9:00 AM, Christopher Schultz wrote: > Chaitanya, > > On 7/20/17 11:03 AM, Chaitanya Sabbineni wrote: >> Stop script in the sense it's Catalina script only but we usually >> stop tomcat using the command Catalina.sh stop. But in

Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 kidambi, On 7/20/17 10:49 AM, kidambi madhu wrote: > Hi Hemon, > > Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation > OS. > > Servers will perform good on Servers only Bad advice all around: 1. Windows 2k8 was EOL 2015-01-13

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:59 PM, Suvendu Sekhar Mondal wrote: > Sounds like you have downloaded the binary version of Tomcat. Can you > please right-click on it and check the properties? If you see a > "unblocked" checkbox, then unblock it first. Then try to install it > with

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chaitanya, On 7/20/17 11:03 AM, Chaitanya Sabbineni wrote: > Stop script in the sense it's Catalina script only but we usually > stop tomcat using the command Catalina.sh stop. But in our case we > are not manually executing this script to stop

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi All, can you please let me know on how to identify which component or the application is making the main thread in the tomcat to stop. Is there way to check what would be the reason because of which tomcat is stopping. Thanks & Regards, Chaitanya On Thu, 20 Jul 2017 9:09 pm Christopher

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Suvendu, On 7/20/17 11:25 AM, Suvendu Sekhar Mondal wrote: > Chaitanya, > > On Thu, Jul 20, 2017 at 8:33 PM, Chaitanya Sabbineni > wrote: >> Hi Chris, >> >> Stop script in the sense it's Catalina script only but we

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi, I checked the memory ,we are running on the 4 gb ram machine where 3.8 gb is almost full we are left with 150 mb free memory. If that is issue with memory then it should stop during the start time only but when ever it stop its stopping at 2:00 am. On Thu, 20 Jul 2017 8:56 pm Suvendu

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20 July 2017 15:49:25 BST, kidambi madhu wrote: >Hi Hemon, > >Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation OS. > >Servers will perform good on Servers only That statement is highly debatable and irrelevant to the problem the original poster

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Suvendu Sekhar Mondal
Chaitanya, On Thu, Jul 20, 2017 at 8:33 PM, Chaitanya Sabbineni wrote: > Hi Chris, > > Stop script in the sense it's Catalina script only but we usually stop > tomcat using the command Catalina.sh stop. But in our case we are not > manually executing this script to stop

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org
On 7/20/2017 8:06 AM, Roparzh Hemon wrote: Should I create that Apps directory ? Yes. You can name it anything you want, but "Apps" is short and semantic in my opinion, so that's the simplest way. Then you don't have to worry about the space nor permissions. Igal Sapir Lucee Core

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:51 PM, Igal @ Lucee.org wrote: > > > C:\Program Files\... is a bad place in my opinion, for two reasons: > > 1) There is a stupid space there added by some "genius" from Microsoft > 2) It often requires elevated rights for "write" > > I recommend

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi Chris, Stop script in the sense it's Catalina script only but we usually stop tomcat using the command Catalina.sh stop. But in our case we are not manually executing this script to stop tomcat and tomcat is stopping on its own. our main problem here us tomcat is stopping on its own and it

Re: [OT] Strange 404 errors

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, Please don't hijack threads. Please post a new message to the list if you want to ask a new question. - -chris On 7/20/17 9:52 AM, George I. Develekos wrote: > Hi folks, > > On a Tomcat 7.0.67 installation on CentOS 7, I have defined a

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:51 PM, M. Manna wrote: > what does the following show on command line > echo %TMP% > echo %TEMP% > Both those commands yield C:\Users\ROPARZ~1\AppData\Local\Temp - To unsubscribe,

Re: DB Connection pool returns stale connections

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jean-Pierre, On 7/20/17 6:03 AM, Jean Pierre Urkens wrote: > I’m running Tomcat-8.-5.15 with following Oracle datasource > definition: > > type="javax.sql.DataSource" username="xxx" password="yyy" > driverClassName="oracle.jdbc.OracleDriver" >

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Suvendu Sekhar Mondal
On Thu, Jul 20, 2017 at 7:53 PM, Mark Thomas wrote: > On 20/07/17 14:45, Roparzh Hemon wrote: >> Hello all, >> >> I am currently unable to install Tomcat 9.0 on my Windows 10 >> system (I didn't install any other version of Tomcat so far). >> I've retried several

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread M. Manna
what does the following show on command line echo %TMP% echo %TEMP% On 20 July 2017 at 15:44, Roparzh Hemon wrote: > I created a C:\Program Files\Apache > Software Foundation\Tomcat 9.0 again directory next to the original > one, and retried the installation process with

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org
On 7/20/2017 7:44 AM, Roparzh Hemon wrote: I created a C:\Program Files\Apache Software Foundation\Tomcat 9.0 again directory next to the original one, and retried the installation process with that location for the install directory, but the problem and error message stayed the same.

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread kidambi madhu
Hi Hemon, Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation OS. Servers will perform good on Servers only Thanks, Madhu On Thu, Jul 20, 2017 at 3:46 PM, Roparzh Hemon wrote: > On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas wrote: > >

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas wrote: > You probably need to install with admin privs. How would I do that ? Unless I missed something the installation wizard never mentions priviledges before the step where I get an error message

Re: Do symlinks under aliased directories require any special handing/configuration (tomcat = 7.0.56)?

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Terence, On 7/20/17 6:14 AM, Mark Thomas wrote: > On 19/07/17 22:28, Terence Lee wrote: >> Please forgive any misuse of terminology here. I am a sysadmin >> involved in devops deployments of tomcat servers and >> applications, but I don't really

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
I created a C:\Program Files\Apache Software Foundation\Tomcat 9.0 again directory next to the original one, and retried the installation process with that location for the install directory, but the problem and error message stayed the same.

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chaitanya, On 7/20/17 2:57 AM, Chaitanya Sabbineni wrote: > i am using tomcat 7.0.069 version where tomcat is stopping at a > specified time(02:00AM) even though the stop script of the tomcat > is not executed. Why do you say that the stop script

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:20 PM, M. Manna wrote: > Where is your TMP folder location? Is it somewhere inside Windows? > Try a different TMP folder location and restart. Not sure what you mean by TMP folder location. The default install directory in the wizard is C:\Program

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20/07/17 14:45, Roparzh Hemon wrote: > Hello all, > > I am currently unable to install Tomcat 9.0 on my Windows 10 > system (I didn't install any other version of Tomcat so far). > I've retried several times and the same problem appears over and > over again : > The install

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread M. Manna
Where is your TMP folder location? Is it somewhere inside Windows? Try a different TMP folder location and restart. On 20 July 2017 at 14:45, Roparzh Hemon wrote: > Hello all, > > I am currently unable to install Tomcat 9.0 on my Windows 10 > system (I didn't

Strange 404 errors

2017-07-20 Thread George I. Develekos
Hi folks, On a Tomcat 7.0.67 installation on CentOS 7, I have defined a context alias in /usr/local/tomcat/conf/context.xml . This is common practice for many installations I manage, it normally works 100%. Yet here that alias and its content are giving me 404 errors. The context alias is

Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
Hello all, I am currently unable to install Tomcat 9.0 on my Windows 10 system (I didn't install any other version of Tomcat so far). I've retried several times and the same problem appears over and over again : The install process goes on smoothly with the install wizard, up to

Re: DB Connection pool returns stale connections

2017-07-20 Thread Mark Thomas
On 20/07/17 11:03, Jean Pierre Urkens wrote: > Hi All, > > > > I’m running Tomcat-8.-5.15 with following Oracle datasource definition: > > auth="Container" type="javax.sql.DataSource" > > username="xxx" > password="yyy"

Re: Do symlinks under aliased directories require any special handing/configuration (tomcat = 7.0.56)?

2017-07-20 Thread Mark Thomas
On 19/07/17 22:28, Terence Lee wrote: > Please forgive any misuse of terminology here. I am a sysadmin involved in > devops deployments of tomcat servers and applications, but I don't really > know much about how tomcat actually works. I am a unix guy! > > We recently had a deployment of a

DB Connection pool returns stale connections

2017-07-20 Thread Jean Pierre Urkens
Hi All, I'm running Tomcat-8.-5.15 with following Oracle datasource definition: Tomcat is using the ojdbc6.jar driver library to connect to an Oracle 12c DB instance. Initially this datasource declaration seems to work fine. However when resuming a HTTP session after a

Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Chaitanya Sabbineni
Hi All, i am using tomcat 7.0.069 version where tomcat is stopping at a specified time(02:00AM) even though the stop script of the tomcat is not executed. Below is the *error *which i can see in the tomcat log at 2:00 AM when the server is stopped.In order to start the sever we need to execute