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

2017-07-22 Thread kidambi madhu
Hi Chris,

Bad advice all around:

1. Windows 2k8 was EOL 2015-01-13 [security risk]  - I agree with you
2. Windows Server and "workstation" use the same kernel [no difference] -
May be you are right and I don't have much exposure of Windows at the
Kernel level
3. Java runtime is the same regardless of the OS flavor [no difference] -
Pls don't forget that JVM is written in native code and hence platform/OS
agnostic. So JVM has different stability on diff OSes and hence your next
statement below is true (That Java on windows nightmare and stable linux)
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 :)  - yes I agree with you but at the time of learning
anybody in this world prefers Windows than UX platforms

Thanks,
Madhu

On Thu, Jul 20, 2017 at 7:03 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible
> for Automatic Cleanup! (ch...@christopherschultz.net) Add cleanup rule
> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DdLp2yzitH5YneuL8%252BWHSPJTKaPtAsS3q34m2YcA561I%253D%26token%3DbWg%252FKuGUDMTcLCCwNXtyxtjZA9qi22EJQpVhJ7o%252B2ClIn0fyNkEaJ4CI6CFVTUW7edN%252BOvV6JzKONTFh20NWGOVzWCpwzL7LjHESyi10pDCKAHmUmpSAmxuvKcJ9Q23oYlLLTMRj9aJ0KH2Ws2PHzg%253D%253D&tc_serial=31572950871&tc_rand=584965690&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
> | More info
> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=31572950871&tc_rand=584965690&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>
> -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 [security risk]
> 2. Windows Server and "workstation" use the same kernel [no difference]
> 3. Java runtime is the same regardless of the OS flavor [no difference]
> 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 :)
>
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJZcPBmAAoJEBzwKT+lPKRYIeEP/1Hf8HWSVC8RU5+oGmO1Xlro
> wSykSpgzOYGQO5ZGsUwcJCi0sHmcKYM9QFOp5KxaQ2cMZLSRMtZavpWWF+78UDxG
> lJNxZr++kIt1wxqcGAUUZjdZBFAExl4g+IsjouyZOtCZn1gjptxhQP3JDPAGnTe5
> jHaLqBvoQYhQDUGN3Tc/F+TCpnSpcXH3BvPtOtmLBz+8f7wRkQy2+x2lG1DDXFS0
> GlKyx5Xp3MkeHt+PO+jc/2CvqFCIj/sI7YvDp8muVPSJjo+2zch72djVKncgnQNg
> ylDUw9V8mQfGRIST9TxJT9NpLAVPcfJlBPYu/JMgVIGGX4GQZtihpmHT4bxebe/T
> uJMFjtBs9n4g/gKWQlY9jGff0mqbmihgYxcFqitzCHCK5xFApFNFS+Kx3y+f0yFd
> ncMPIv/BXlAKvtJkiXNAGT3UxuNgAnYJFfrQ3IsjT807RPW2bzkQ5EPg1o7h19pn
> VlmwY+4Z5ALMfIu8v6cFyM9HMF3cEL246R0qnLTnBARNxlRNN1KUNJWSRDzIZ1nf
> NkxVkbwXE5CaC4+It31MD0adjuxx8LJH0SimqQ6WYtvY2+Kw1C0m28VPJz9mrqze
> 713b/OnZr1jWtc4LFki2Eto9844TWA9NGaYz5Q6eentY33l/6aQO42gcVwJOoin0
> XUERHaJad0r0DTZCYcGK
> =1bmL
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>


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:
>
>
> > 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
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: FW: Re: tomcat 6.0.41 heap size issue

2016-01-28 Thread kidambi madhu
Ok What's the size of the war file you have deployed to Tomcat?

I suspect the problem is with PermSize (The class loading part of JVM) than
Heap though the error points out Java Heap.

Pls set the PermSize with -XX:PermSize and -XX:MaxPermSize options and test.

Thanks,
Madhu

On Fri, Jan 29, 2016 at 8:53 AM, Guo, Denny  wrote:

> Thanks for quick response. Here is the information.
>
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
>
>
> -----Original Message-
> From: kidambi madhu [mailto:madhu.kida...@gmail.com]
> Sent: Thursday, January 28, 2016 10:15 PM
> To: Tomcat Users List
> Subject: Re: FW: Re: tomcat 6.0.41 heap size issue
>
> Hi Denny,
>
> Which JDK you are using Oracle JDK/JRockit and which version.
>
> Some memory tuning options depend on JDK product used.
>
> Thanks,
> Madhu
>
> On Fri, Jan 29, 2016 at 8:39 AM, Guo, Denny 
> wrote:
>
> >
> > Hi All,
> >
> > Looking for help on tomcat heap size issue.
> >
> > We are see below GC activity before tomcat reports the heap size error.
> > Please see below message. However, we assign -Xmx=24G to the heap
> > size, why tomcat reports error even not reach 20G heap size usage ?
> > Can someone please help. How the tomcat decides how much memory
> > allocate to young/old generation?
> >
> > We are running tomcat 6.0.41 on red hat linux as per our vendor.
> >
> > Thanks,
> > Denny
> >
> > 2016-01-28T21:20:56.173-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222720K)], 26.7667120 secs] [Times:
> > user=26.77 sys=0.01, real=26.76 secs]
> > 2016-01-28T21:21:22.942-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222720K)], 26.5016220 secs] [Times:
> > user=26.51 sys=0.01, real=26.50 secs]
> > 2016-01-28T21:21:49.444-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222912K)], 26.7081550 secs] [Times:
> > user=26.70 sys=0.01, real=26.70 secs]
> > 2016-01-28T21:22:16.154-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222912K)], 26.7299520 secs] [Times:
> > user=26.73 sys=0.01, real=26.72 secs]
> > 2016-01-28T21:22:42.884-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222912K)], 26.7488570 secs] [Times:
> > user=26.75 sys=0.00, real=26.75 secs]
> > 2016-01-28T21:23:09.635-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777215K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222912K)], 26.7899470 secs] [Times:
> > user=26.80 sys=0.00, real=26.79 secs]
> > 2016-01-28T21:23:36.425-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> > [PSOldGen: 16777215K->16777216K(16777216K)]
> > 16777977K->16777977K(16780096K)
> > [PSPermGen: 222628K-222628K(222912K)], 43.0072820 secs] [Times:
> > user=43.01 sys=0.02, real=43.00 secs]
> > 2016-01-28T21:24:19.435-0500: [Full GC [PSYoungGen: 761K->0K(2880K)]
> > [PSOldGen: 16777216K->632811K(4342144K)] 16777977K->632811K(4345024K)
> > [PSPermGen: 222628K->222628K(222912K)], 4.9992850 secs] [Times:
> > user=4.96 sys=0.04, real=5.00 secs]
> > 2016-01-28T21:24:19.435-0500: [Full GC [PSYoungGen: 761K->0K(2880K)]
> > [PSOldGen: 16777216K->632811K(4342144K)] 16777977K->632811K(4345024K)
> > [PSPermGen: 222628K->222628K(222912K)], 4.9992850 secs] [Times:
> > user=4.96 sys=0.04, real=5.00 secs] Exception in thread "Low Memory
> > Detector" java.lang.OutOfMemoryError: Java heap space
> > 2016-01-28T21:24:24.438-0500: [GC [PSYoungGen: 128K->224K(8960K)]
> > 632939K->633035K(4351104K), 0.0045990 secs] [Times: user=0.02
> > 632939K->sys=0.00,
> > real=0.01 secs]
> > 2016-01-28T21:24:24.444-0500: [GC [PSYoungGen: 288K->192K(9088K)]
> > 633099K->633003K(4351232K), 0.0032440 secs] [Times: user=0.02
> > 633099K->sys=0.00,
> > real=0.00 secs]
> > 2016-01-28T21:24:24.449-0500: [GC [PSYoungGen:

Re: FW: Re: tomcat 6.0.41 heap size issue

2016-01-28 Thread kidambi madhu
Hi Denny,

Which JDK you are using Oracle JDK/JRockit and which version.

Some memory tuning options depend on JDK product used.

Thanks,
Madhu

On Fri, Jan 29, 2016 at 8:39 AM, Guo, Denny  wrote:

>
> Hi All,
>
> Looking for help on tomcat heap size issue.
>
> We are see below GC activity before tomcat reports the heap size error.
> Please see below message. However, we assign -Xmx=24G to the heap size, why
> tomcat reports error even not reach 20G heap size usage ?  Can someone
> please help. How the tomcat decides how much memory allocate to young/old
> generation?
>
> We are running tomcat 6.0.41 on red hat linux as per our vendor.
>
> Thanks,
> Denny
>
> 2016-01-28T21:20:56.173-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222720K)], 26.7667120 secs] [Times: user=26.77
> sys=0.01, real=26.76 secs]
> 2016-01-28T21:21:22.942-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222720K)], 26.5016220 secs] [Times: user=26.51
> sys=0.01, real=26.50 secs]
> 2016-01-28T21:21:49.444-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222912K)], 26.7081550 secs] [Times: user=26.70
> sys=0.01, real=26.70 secs]
> 2016-01-28T21:22:16.154-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222912K)], 26.7299520 secs] [Times: user=26.73
> sys=0.01, real=26.72 secs]
> 2016-01-28T21:22:42.884-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222912K)], 26.7488570 secs] [Times: user=26.75
> sys=0.00, real=26.75 secs]
> 2016-01-28T21:23:09.635-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777215K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222912K)], 26.7899470 secs] [Times: user=26.80
> sys=0.00, real=26.79 secs]
> 2016-01-28T21:23:36.425-0500: [Full GC [PSYoungGen: 761K->761K(2880K)]
> [PSOldGen: 16777215K->16777216K(16777216K)] 16777977K->16777977K(16780096K)
> [PSPermGen: 222628K-222628K(222912K)], 43.0072820 secs] [Times: user=43.01
> sys=0.02, real=43.00 secs]
> 2016-01-28T21:24:19.435-0500: [Full GC [PSYoungGen: 761K->0K(2880K)]
> [PSOldGen: 16777216K->632811K(4342144K)] 16777977K->632811K(4345024K)
> [PSPermGen: 222628K->222628K(222912K)], 4.9992850 secs] [Times: user=4.96
> sys=0.04, real=5.00 secs]
> 2016-01-28T21:24:19.435-0500: [Full GC [PSYoungGen: 761K->0K(2880K)]
> [PSOldGen: 16777216K->632811K(4342144K)] 16777977K->632811K(4345024K)
> [PSPermGen: 222628K->222628K(222912K)], 4.9992850 secs] [Times: user=4.96
> sys=0.04, real=5.00 secs]
> Exception in thread "Low Memory Detector" java.lang.OutOfMemoryError: Java
> heap space
> 2016-01-28T21:24:24.438-0500: [GC [PSYoungGen: 128K->224K(8960K)]
> 632939K->633035K(4351104K), 0.0045990 secs] [Times: user=0.02 sys=0.00,
> real=0.01 secs]
> 2016-01-28T21:24:24.444-0500: [GC [PSYoungGen: 288K->192K(9088K)]
> 633099K->633003K(4351232K), 0.0032440 secs] [Times: user=0.02 sys=0.00,
> real=0.00 secs]
> 2016-01-28T21:24:24.449-0500: [GC [PSYoungGen: 254K->160K(9280K)]
> 633098K->633003K(4351424K), 0.0032180 secs] [Times: user=0.02 sys=0.00,
> real=0.01 secs]
> Jan 28, 2016 9:24:24 PM
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
> processChildren
> SEVERE: Exception invoking periodic operation:
> java.lang.OutOfMemoryError: Java heap space
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:139)
> at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
> at java.lang.Thread.run(Thread.java:662)
> Jan 28, 2016 9:24:24 PM org.apache.coyote.http11.Http11Processor process
> SEVERE: Error processing request
>
>
> [Facebook] 
> [Twitter]  [LinkedIn]  <
> http://www.linkedin.com/company/livingston-international>  [Google+]  <
> https://plus.google.com/+Livingstonintl/posts>
> [Livingston Logo]
>
>
>
>
>
> This e-mail may contain privileged and confidential information. If you
> are not the intended recipient, you are hereby notified that any review,
> dissemination, distribution or duplication of this communication is
> strictly prohibited. You are requested to notify the sender and delete this
> message and all copies thereof. Internet e-mail is not guarante

Re: Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread kidambi madhu
Hi Chiranga,

Are you providing the SSO feature as a server side single Sign on or as a
Servlet that can be used as a Controller in the desired apps to enable
Application SSO?

Regards,
Madhu

On Wed, Dec 9, 2015 at 8:43 PM, Chiranga Alwis 
wrote:

> Hi,
>
> I have been attempting to extend the Single Sign On feature of Apache
> Tomcat by extending the org.apache.catalina.authenticator.SingleSignOn
> class.
>
> My attempt is to create a Java Maven project extending the above class
> which outputs a jar and add the resultant jar file to the
> $CATALINA_HOME/lib folder of the Tomcat distribution. Further, in order to
> use the implementation, add it as a Valve in the server.xml file.
>
> I am quite new to these technologies and I am not entirely sure whether
> this is the correct approach.
>
> Any help or suggestions with regards to this approach and validity of the
> steps is highly appreciated.
>
>
> Yours sincerely,
>
> Chiranga
>


Re: Conditional Deployment

2015-12-02 Thread kidambi madhu
Thanks Chuck for the info.

I will try the Parallel Deployment option you have suggested.

-Madhu

On Wed, Dec 2, 2015 at 7:15 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: kidambi madhu [mailto:madhu.kida...@gmail.com]
> > Subject: Conditional Deployment
>
> > We are facing an issue related to Deployment (Specifically Auto
> Deployment)
> > in Tomcat 7
>
> > We have a build process setup from Jenkins tool to build and auto ftp the
> > war file to the "Webapps" folder of Tomcat.
>
> > When the application is executing the long running taks, though the war
> > file is placed/updated in web apps, tomcat is unable to stop the
> > application due to task execution and we are unable to stop Tomcat as
> well
>
> > We are forced to kill Tomcat and re trigger the Jenkins build.
>
> Try using parallel deployment:
>
> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment
>
> This should let you leave the existing tasks running, but new requests
> will utilize the new version of the webapp.
>
> Obviously, the details of your deployment process will need to change to
> include a version on the .war file.
>
>  - 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
>
>


Conditional Deployment

2015-12-01 Thread kidambi madhu
Hi,

We are facing an issue related to Deployment (Specifically Auto Deployment)
in Tomcat 7

Here is the scenario

We have a build process setup from Jenkins tool to build and auto ftp the
war file to the “Webapps” folder of Tomcat.

In Tomcat we have deployed the SailPoin’t IdentityIQ toll which is a 300mb
war file.

Often the IdentityIQ application will be running few Tasks which take
longer duration (5-6 hours)

When the application is executing the long running taks, though the war
file is placed/updated in web apps, tomcat is unable to stop the
application due to task execution and we are unable to stop Tomcat as well

We are forced to kill Tomcat and re trigger the Jenkins build.

I am looking on few options to configure on the Tomcat server side to check
for any Active sessions OR threads running related to the application and
abort the Redeployment/Auto Deployment

Will it be possible?

Thanks,
Madhu