RE: Urgent Help

2021-06-30 Thread Mohan T
Hi,

Thanks as suggested by you the issue was there were duplicate class and after 
removal the issue is resolved.

Thanks once again

Mohan

-Original Message-
From: Christopher Schultz 
Sent: 24 June 2021 00:33
To: users@tomcat.apache.org
Subject: Re: Urgent Help

CAUTION: You received this email from external Domain. Check reliability of 
sender’s email ID. Do not click links, open attachments unless you recognize 
the sender and know the content is safe. – Ramco IMG



Mohan,

On 6/23/21 07:20, Mark Thomas wrote:
> On 23/06/2021 11:32, Mohan T wrote:
>> Attaching the Catalina.out file also
>
> Nearly all attachments to this mailing list are blocked.
>
>> MY manifest info is as under.
>>
>> Manifest-Version: 1.0
>> Ant-Version: Apache Ant 1.9.9
>> Created-By: 1.7.0_80-b15 (Oracle Corporation)
>> X-Compile-Source-JDK: 1.7
>> X-Compile-Target-JDK: 1.7
>>
>> Name: javax/servlet/
>> Specification-Title: Java API for Servlets
>> Specification-Version: 3.1
>> Specification-Vendor: Sun Microsystems, Inc.
>> Implementation-Title: javax.servlet
>> Implementation-Version: 3.1.FR
>> Implementation-Vendor: Apache Software Foundation
>
> That looks like the standard Servlet API JAR provided by Tomcat.
>
> Please provide a list of all the JAR files under WEB-INF/lib in your
> WAR file.

+1 and maybe also everything in $CATALINA_BASE/lib as well, just in case
your Tomcat lib directory has had things added.

-chris

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

DISCLAIMER: This communication contains information which is confidential and 
the copyright of Ramco Systems Ltd, its subsidiaries or a third party 
(“Ramco”). This email may also contain legally privileged information. 
Confidentiality and legal privilege attached to this communication are not 
waived or lost by reason of mistaken delivery to you.This email is intended to 
be read or used by the addressee only. If you are not the intended recipient, 
any use, distribution, disclosure or copying of this email is strictly 
prohibited without the express written approval of Ramco. Please delete and 
destroy all copies and email Ramco at le...@ramco.com immediately. Any views 
expressed in this communication are those of the individual sender, except 
where the sender specifically states them to be the views of Ramco. Except as 
required by law, Ramco does not represent, warrant and/or guarantee that the 
integrity of this communication has been maintained nor that the communication 
is free of errors, virus, interception or interference. If you do not wish to 
receive such communications, please forward this communication to 
market...@ramco.com and express your wish not to receive such communications 
henceforth.

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



Re: Urgent Help

2021-06-23 Thread Rob Sargent

I dropped a couple lines in the C/P, ammended below

On 6/23/21 1:35 PM, Rob Sargent wrote:



Please provide a list of all the JAR files under WEB-INF/lib in your 
WAR file.


+1 and maybe also everything in $CATALINA_BASE/lib as well, just in 
case your Tomcat lib directory has had things added.


-chris

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


If looking for the source(s) of a given class, here's a bash function

function jargrep {
    sdir=`pwd`
    target=$1
    if [[ "$target"x == "x" ]]
    then
    printf "need at least search value, with optional starting dir\n"
    printf "use colon sep'd list for multiple, non-redundant dirs
(eg CLASSPATH)"
    return
    fi
    cdir=`pwd`
    finded=
    if [ "$2"x != "x" ]
    then
    cdir=( $(echo "$2" | sed s/:/\ /g) )
    fi

    for d in ${cdir[@]}; do
    cd $d
    if [[ $JARGREP_DEBUG ]]; then printf "TOPDIR is now: %s\n" $d; fi
 for jlist in `find . -name \*.jar`
 do
     if [[ $JARGREP_DEBUG ]]; then printf "checking %s/%s for
%s\n" $d $jlist $target; fi
     for founds in `jar tf $jlist | grep $1`
     do
        if [[ $JARGREP_DEBUG ]]; then printf "full founds: %s\n"
"$founds"; fi
    printf "Found in %s as %s\n" $jlist ${founds}
     finded=1
     done
 done
    cd ..
    done


    if [ ! $finded ]; then echo "I got nothin' from ${cdir[@]}"; fi
    cd $sdir

}
which takes the class name (e.g. ServletContext) and an optional 
starting dir (default to .) and scans any found jars for anything 
remotely similar.







Re: Urgent Help

2021-06-23 Thread Christopher Schultz

Mohan,

On 6/23/21 07:20, Mark Thomas wrote:

On 23/06/2021 11:32, Mohan T wrote:

Attaching the Catalina.out file also


Nearly all attachments to this mailing list are blocked.


MY manifest info is as under.

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.9
Created-By: 1.7.0_80-b15 (Oracle Corporation)
X-Compile-Source-JDK: 1.7
X-Compile-Target-JDK: 1.7

Name: javax/servlet/
Specification-Title: Java API for Servlets
Specification-Version: 3.1
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: javax.servlet
Implementation-Version: 3.1.FR
Implementation-Vendor: Apache Software Foundation


That looks like the standard Servlet API JAR provided by Tomcat.

Please provide a list of all the JAR files under WEB-INF/lib in your WAR 
file.


+1 and maybe also everything in $CATALINA_BASE/lib as well, just in case 
your Tomcat lib directory has had things added.


-chris

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



Re: Urgent Help

2021-06-23 Thread Mark Thomas

On 23/06/2021 11:32, Mohan T wrote:

Attaching the Catalina.out file also


Nearly all attachments to this mailing list are blocked.


MY manifest info is as under.

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.9
Created-By: 1.7.0_80-b15 (Oracle Corporation)
X-Compile-Source-JDK: 1.7
X-Compile-Target-JDK: 1.7

Name: javax/servlet/
Specification-Title: Java API for Servlets
Specification-Version: 3.1
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: javax.servlet
Implementation-Version: 3.1.FR
Implementation-Vendor: Apache Software Foundation


That looks like the standard Servlet API JAR provided by Tomcat.

Please provide a list of all the JAR files under WEB-INF/lib in your WAR 
file.


Mark

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



RE: Urgent Help

2021-06-23 Thread Mohan T
Attaching the Catalina.out file also


MY manifest info is as under.

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.9
Created-By: 1.7.0_80-b15 (Oracle Corporation)
X-Compile-Source-JDK: 1.7
X-Compile-Target-JDK: 1.7

Name: javax/servlet/
Specification-Title: Java API for Servlets
Specification-Version: 3.1
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: javax.servlet
Implementation-Version: 3.1.FR
Implementation-Vendor: Apache Software Foundation



-Original Message-
From: Jean-Pierre Urkens 
Sent: 23 June 2021 15:55
To: Tomcat Users List 
Subject: RE: Urgent Help

CAUTION: You received this email from external Domain. Check reliability of 
sender’s email ID. Do not click links, open attachments unless you recognize 
the sender and know the content is safe. – Ramco IMG



What is the servlet-api version indicated in the META-INF/MANIFEST.mf file 
contained in the servlet-api.jar. If it is v3.1 (or higher) the 
ServletContext.class should contain the method getCloassLoader()? If it is 2.x, 
it won't.
You might want to check your classpath (checkout Catalina.out to see a dump of 
the classpath) to see if there is another jar that might contain javax.servlet 
classes that get loaded even before servlet-api.jar.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 12:09
To: Tomcat Users List 
Subject: RE: Urgent Help

Hi,

Thanks for the immediate response. I am attaching my file that is used for 
starting the tomcat instance. Infact I have  the  servlet-api.jar in tomcat lib.

I am unable to conclude on this.

Kindly guide me.

Thanks

Mohan
-Original Message-
From: Jean-Pierre Urkens 
Sent: 23 June 2021 15:17
To: Tomcat Users List 
Subject: RE: Urgent Help

CAUTION: You received this email from external Domain. Check reliability of 
sender’s email ID. Do not click links, open attachments unless you recognize 
the sender and know the content is safe. – Ramco IMG



From where is the ServletContext.class loaded? Is it from 
/lib/servlet-api.jar or from another jar-library on the classpath? 
My guess is that you have multiple jars  containing the ServletContext.class 
and not all of these are related to the same servlet-api version and thus not 
supporting the getClassLoader() method.
You might be loading the wrong SevletContext class file.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 11:35
To: Tomcat Users List 
Subject: Urgent Help

Hi,

While starting tomcat, I am getting this error .

Neither the console is starting nor the application is working .

It is tomcat 8.5.35 on linux

Please help

Mohan

23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web 
application archive 
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war]
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:758)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)

23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application 
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has 
finished in [608] ms
23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application 
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war]
23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]]
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:754)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.jav

RE: Urgent Help

2021-06-23 Thread Jean-Pierre Urkens
What is the servlet-api version indicated in the META-INF/MANIFEST.mf file
contained in the servlet-api.jar. If it is v3.1 (or higher) the
ServletContext.class should contain the method getCloassLoader()? If it is
2.x, it won't.
You might want to check your classpath (checkout Catalina.out to see a dump
of the classpath) to see if there is another jar that might contain
javax.servlet classes that get loaded even before servlet-api.jar.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 12:09
To: Tomcat Users List 
Subject: RE: Urgent Help

Hi,

Thanks for the immediate response. I am attaching my file that is used for
starting the tomcat instance. Infact I have  the  servlet-api.jar in tomcat
lib.

I am unable to conclude on this.

Kindly guide me.

Thanks

Mohan
-Original Message-
From: Jean-Pierre Urkens 
Sent: 23 June 2021 15:17
To: Tomcat Users List 
Subject: RE: Urgent Help

CAUTION: You received this email from external Domain. Check reliability of
sender’s email ID. Do not click links, open attachments unless you recognize
the sender and know the content is safe. – Ramco IMG



>From where is the ServletContext.class loaded? Is it from
/lib/servlet-api.jar or from another jar-library on the
classpath? My guess is that you have multiple jars  containing the
ServletContext.class and not all of these are related to the same
servlet-api version and thus not supporting the getClassLoader() method.
You might be loading the wrong SevletContext class file.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 11:35
To: Tomcat Users List 
Subject: Urgent Help

Hi,

While starting tomcat, I am getting this error .

Neither the console is starting nor the application is working .

It is tomcat 8.5.35 on linux

Please help

Mohan

23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war]
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:758)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)

23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has
finished in [608] ms
23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war]
23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1]
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]]
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:754)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
   at
org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar
Scanner.java:246)
   at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav
a:229)
 

RE: Urgent Help

2021-06-23 Thread Mohan T
Hi,

Thanks for the immediate response. I am attaching my file that is used for 
starting the tomcat instance. Infact I have  the  servlet-api.jar in tomcat lib.

I am unable to conclude on this.

Kindly guide me.

Thanks

Mohan
-Original Message-
From: Jean-Pierre Urkens 
Sent: 23 June 2021 15:17
To: Tomcat Users List 
Subject: RE: Urgent Help

CAUTION: You received this email from external Domain. Check reliability of 
sender’s email ID. Do not click links, open attachments unless you recognize 
the sender and know the content is safe. – Ramco IMG



From where is the ServletContext.class loaded? Is it from 
/lib/servlet-api.jar or from another jar-library on the classpath? 
My guess is that you have multiple jars  containing the ServletContext.class 
and not all of these are related to the same servlet-api version and thus not 
supporting the getClassLoader() method.
You might be loading the wrong SevletContext class file.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 11:35
To: Tomcat Users List 
Subject: Urgent Help

Hi,

While starting tomcat, I am getting this error .

Neither the console is starting nor the application is working .

It is tomcat 8.5.35 on linux

Please help

Mohan

23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web 
application archive 
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war]
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:758)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)

23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application 
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has 
finished in [608] ms
23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application 
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war]
23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]]
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:754)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
   at
org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar
Scanner.java:246)
   at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav
a:229)
   at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Conte
xtConfig.java:1892)
   at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:112
0)
   at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.jav
a:769)
   at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.jav
a:299)
   at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja
va:94)
   at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav
a:5154)
   at
org.apache.catalina.util.LifecycleBase.start

RE: Urgent Help

2021-06-23 Thread Jean-Pierre Urkens
>From where is the ServletContext.class loaded? Is it from
/lib/servlet-api.jar or from another jar-library on the
classpath? My guess is that you have multiple jars  containing the
ServletContext.class and not all of these are related to the same
servlet-api version and thus not supporting the getClassLoader() method.
You might be loading the wrong SevletContext class file.



-Original Message-
From: Mohan T 
Sent: woensdag 23 juni 2021 11:35
To: Tomcat Users List 
Subject: Urgent Help

Hi,

While starting tomcat, I am getting this error .

Neither the console is starting nor the application is working .

It is tomcat 8.5.35 on linux

Please help

Mohan

23-Jun-2021 14:42:09.857 SEVERE [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war]
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:758)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)

23-Jun-2021 14:42:09.864 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive
[/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/admin.war] has
finished in [608] ms
23-Jun-2021 14:42:09.880 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/audit.war]
23-Jun-2021 14:42:09.927 SEVERE [localhost-startStop-1]
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/audit]]
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:754)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:624)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
   at
org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJar
Scanner.java:246)
   at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav
a:229)
   at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Conte
xtConfig.java:1892)
   at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:112
0)
   at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.jav
a:769)
   at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.jav
a:299)
   at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja
va:94)
   at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav
a:5154)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
DISCLAIMER: This communication contains information which is confidential
and the copyright of Ramco Systems Ltd, its subsidiaries or a third party
("Ramco"). This email may also contain legally privileged information.
Confidentiality and legal privilege attached to this communication are not
waived or lost by reason of mistaken delivery to you.This email is
intended to be read or used by the addressee only. If you are not the
intended recipient, any use, distribution, disclosure or copying of this
email is strictly prohibited without

Re: Urgent help tomcat 9 and https 8443

2020-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Siva,

On 3/12/20 23:13, siva.saravanamu...@csl.com.au wrote:
> Below is the catalina.log output
>
> 12-Mar-2020 19:57:18.885 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-openssl-apr-8443"] 12-Mar-2020 19:57:18.969 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-openssl-apr-8443"] 12-Mar-2020 19:57:18.969 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying
> ProtocolHandler ["https-openssl-apr-8443"]

You are running an APR connector on 8443.

> 12-Mar-2020 23:05:10.776 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing
> ProtocolHandler ["https-jsse-nio-8443"] 12-Mar-2020 23:05:10.798
> SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException
> Failed to initialize component [Connector[HTTP/1.1-8443]]
> 12-Mar-2020 23:09:23.385 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-jsse-nio-8443"] 12-Mar-2020 23:09:23.439 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-jsse-nio-8443"] 12-Mar-2020 23:09:23.440 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying
> ProtocolHandler ["https-jsse-nio-8443"]

You are also trying to run an NIO connector on port 8443.

If these are on the same interface, they cannot both be started at
once: choose one.

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl5r2JEACgkQHPApP6U8
pFiUsA//WVR3fPMC6LFLwu227cspTIwj3Gj2tVpZTehLChGEqY20dAQz4SS9x0cm
XOQpJJ65fNNlOEgnzUZB0VFv+rgyH3UfzLZiYe7Wu6GuPfGK2ySLuwlZA0Tlbeo5
ddzYIaq2YMelnpf9PFn2IKDpVhPOhpbVtHGfmZgcGfwlg56uKsrc54tuTav1r1B9
f/KHg3vF+mJUiFvaicfTPLN7X+vwJYTUgfeln4/2VONF3qsT3HO7LuUT1Z277ZPJ
9IPkyQHvK/vtcupBy8yx/9JZV/wGkKtKScz0CAwSnVBMUTy7+QUehWqT6QwhDQyC
Kc2OBerWmsFY3e+SByGjouet0bVJDbe6yESNkgCYbOFGWbrcuvqR3px/IfMbsxsN
XjfZXf7DRO8/tdgRf10Ea/v9WYVJjyC05X6HQts4yKNBCH0I/9LThylg1wFZJ1vU
DwhJ28NgrlIfFOWqNizjjEMdaUQ8eV1IVcRI9vW7wXda/d/jxih8ISEOQodJgTzK
wsalOWk0M8kC/+KHu/C3VpAg+CXf9rWEzXmYCeZTr2muQHvU5RRTY4XTwibYKGfb
KR0ouiM25ejyYo0/MUYqC3Jlh5clrvQHUmlSp/ygWAbIJD3Y3RrVaWuJ8YXdo41A
Udu7easgVYZq6VUwnuZqYCp7fJMGoRgJOiO6/87HGDv59SV3364=
=wu1M
-END PGP SIGNATURE-

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



RE: Re: Urgent help tomcat 9 and https 8443

2020-03-13 Thread Siva.Saravanamuthu
Mark,

Thanks. You waken my frozen concentration. Yes I was able to identify the error 
which is related APR library and I followed the step as per this article

https://www.openkm.com/wiki/index.php/Tomcat_native_libraries

which made port 8443 listen and able to load the URL with the certificate.

Regards,
Siva

-Original Message-
From: Mark Thomas 
Sent: Friday, 13 March 2020 6:30 PM
To: users@tomcat.apache.org
Subject: [EXT] Re: Urgent help tomcat 9 and https 8443


EXTERNAL:  This email originated from outside of the organization. Do not click 
any links or open any attachments unless you trust the sender and know the 
content is safe.

==
Please provide the complete catalina.log for a clean failed start.

To be specific:
- make sure Tomcat is not running
- delete all the files in the logs directory
- start Tomcat
- wait for start-up to complete
- provide us with the full catalina.log

Mark



On 13/03/2020 03:13, siva.saravanamu...@csl.com.au wrote:
> Below is the catalina.log output
>
> 12-Mar-2020 19:57:18.885 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 19:57:18.969 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 19:57:18.969 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 20:34:44.758 SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed
> to initialize component
> [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
> 12-Mar-2020 20:36:34.657 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:34.704 INFO [1]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:34.705 INFO [1]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:36.981 SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed
> to initialize component
> [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
> 12-Mar-2020 23:05:08.376 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:08.426 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:08.426 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:10.776 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:05:10.798 SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed
> to initialize component [Connector[HTTP/1.1-8443]]
> 12-Mar-2020 23:09:23.385 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:23.439 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:23.440 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:25.703 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:25.723 SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed
> to initialize component [Connector[HTTP/1.1-8443]]
> 12-Mar-2020 23:10:47.171 INFO [main]
> org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:47.225 INFO [main]
> org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:47.225 INFO [main]
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:49.473 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:49.494 SEVERE [main]
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed
> to initialize component [Connector[HTTP/1.1-8443]]
>
> From: Arvind Kumar (ZNetLive) 
> Sent: Friday, 13 March 2020 12:24 PM
> To: Tomcat Users List 
> Cc: Saravanamuthu, Sivakumar (Siva) AU/PKV
> 
> Subjec

Re: Urgent help tomcat 9 and https 8443

2020-03-13 Thread Mark Thomas
Please provide the complete catalina.log for a clean failed start.

To be specific:
- make sure Tomcat is not running
- delete all the files in the logs directory
- start Tomcat
- wait for start-up to complete
- provide us with the full catalina.log

Mark



On 13/03/2020 03:13, siva.saravanamu...@csl.com.au wrote:
> Below is the catalina.log output
> 
> 12-Mar-2020 19:57:18.885 INFO [main] org.apache.coyote.AbstractProtocol.pause 
> Pausing ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 19:57:18.969 INFO [main] org.apache.coyote.AbstractProtocol.stop 
> Stopping ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 19:57:18.969 INFO [main] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["https-openssl-apr-8443"]
> 12-Mar-2020 20:34:44.758 SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component 
> [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
> 12-Mar-2020 20:36:34.657 INFO [main] org.apache.coyote.AbstractProtocol.pause 
> Pausing ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:34.704 INFO [1] org.apache.coyote.AbstractProtocol.stop 
> Stopping ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:34.705 INFO [1] org.apache.coyote.AbstractProtocol.destroy 
> Destroying ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 20:36:36.981 SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component 
> [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
> 12-Mar-2020 23:05:08.376 INFO [main] org.apache.coyote.AbstractProtocol.pause 
> Pausing ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:08.426 INFO [main] org.apache.coyote.AbstractProtocol.stop 
> Stopping ProtocolHandler ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:08.426 INFO [main] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["https-openssl-apr-8443"]
> 12-Mar-2020 23:05:10.776 INFO [main] org.apache.coyote.AbstractProtocol.init 
> Initializing ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:05:10.798 SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component [Connector[HTTP/1.1-8443]]
> 12-Mar-2020 23:09:23.385 INFO [main] org.apache.coyote.AbstractProtocol.pause 
> Pausing ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:23.439 INFO [main] org.apache.coyote.AbstractProtocol.stop 
> Stopping ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:23.440 INFO [main] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:25.703 INFO [main] org.apache.coyote.AbstractProtocol.init 
> Initializing ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:09:25.723 SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component [Connector[HTTP/1.1-8443]]
> 12-Mar-2020 23:10:47.171 INFO [main] org.apache.coyote.AbstractProtocol.pause 
> Pausing ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:47.225 INFO [main] org.apache.coyote.AbstractProtocol.stop 
> Stopping ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:47.225 INFO [main] 
> org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
> ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:49.473 INFO [main] org.apache.coyote.AbstractProtocol.init 
> Initializing ProtocolHandler ["https-jsse-nio-8443"]
> 12-Mar-2020 23:10:49.494 SEVERE [main] 
> org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
> initialize component [Connector[HTTP/1.1-8443]]
> 
> From: Arvind Kumar (ZNetLive) 
> Sent: Friday, 13 March 2020 12:24 PM
> To: Tomcat Users List 
> Cc: Saravanamuthu, Sivakumar (Siva) AU/PKV 
> Subject: [EXT] RE: Urgent help tomcat 9 and https 8443
> 
> EXTERNAL: This email originated from outside of the organization. Do not 
> click any links or open any attachments unless you trust the sender and know 
> the content is safe.
> 
> 
> 
> FYI
> From: Arvind Kumar (ZNetLive)
> Sent: 13 March 2020 06:53
> To: Tomcat Users List 
> mailto:users@tomcat.apache.org>>
> Subject: RE: Urgent help tomcat 9 and https 8443
> 
> Please make sure port 8443 is listing if not try to restart your tomcat once 
> and then check the listing, once you get it is listing, please run below 
> command to allow 8443 to open outside of your server.
> 
> iptables -I INPUT -m tcp -p tcp -s  0.

RE: Urgent help tomcat 9 and https 8443

2020-03-12 Thread Siva.Saravanamuthu
Below is the catalina.log output

12-Mar-2020 19:57:18.885 INFO [main] org.apache.coyote.AbstractProtocol.pause 
Pausing ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 19:57:18.969 INFO [main] org.apache.coyote.AbstractProtocol.stop 
Stopping ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 19:57:18.969 INFO [main] org.apache.coyote.AbstractProtocol.destroy 
Destroying ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 20:34:44.758 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component 
[Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
12-Mar-2020 20:36:34.657 INFO [main] org.apache.coyote.AbstractProtocol.pause 
Pausing ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 20:36:34.704 INFO [1] org.apache.coyote.AbstractProtocol.stop 
Stopping ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 20:36:34.705 INFO [1] org.apache.coyote.AbstractProtocol.destroy 
Destroying ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 20:36:36.981 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component 
[Connector[org.apache.coyote.http11.Http11AprProtocol-8443]]
12-Mar-2020 23:05:08.376 INFO [main] org.apache.coyote.AbstractProtocol.pause 
Pausing ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 23:05:08.426 INFO [main] org.apache.coyote.AbstractProtocol.stop 
Stopping ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 23:05:08.426 INFO [main] org.apache.coyote.AbstractProtocol.destroy 
Destroying ProtocolHandler ["https-openssl-apr-8443"]
12-Mar-2020 23:05:10.776 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:05:10.798 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component [Connector[HTTP/1.1-8443]]
12-Mar-2020 23:09:23.385 INFO [main] org.apache.coyote.AbstractProtocol.pause 
Pausing ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:09:23.439 INFO [main] org.apache.coyote.AbstractProtocol.stop 
Stopping ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:09:23.440 INFO [main] org.apache.coyote.AbstractProtocol.destroy 
Destroying ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:09:25.703 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:09:25.723 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component [Connector[HTTP/1.1-8443]]
12-Mar-2020 23:10:47.171 INFO [main] org.apache.coyote.AbstractProtocol.pause 
Pausing ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:10:47.225 INFO [main] org.apache.coyote.AbstractProtocol.stop 
Stopping ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:10:47.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy 
Destroying ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:10:49.473 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-jsse-nio-8443"]
12-Mar-2020 23:10:49.494 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component [Connector[HTTP/1.1-8443]]

From: Arvind Kumar (ZNetLive) 
Sent: Friday, 13 March 2020 12:24 PM
To: Tomcat Users List 
Cc: Saravanamuthu, Sivakumar (Siva) AU/PKV 
Subject: [EXT] RE: Urgent help tomcat 9 and https 8443

EXTERNAL: This email originated from outside of the organization. Do not click 
any links or open any attachments unless you trust the sender and know the 
content is safe.



FYI
From: Arvind Kumar (ZNetLive)
Sent: 13 March 2020 06:53
To: Tomcat Users List mailto:users@tomcat.apache.org>>
Subject: RE: Urgent help tomcat 9 and https 8443

Please make sure port 8443 is listing if not try to restart your tomcat once 
and then check the listing, once you get it is listing, please run below 
command to allow 8443 to open outside of your server.

iptables -I INPUT -m tcp -p tcp -s  0.0.0.0/0 --dport 8080 -j ACCEPT

How to check 8443 Is listing,

Netstat -tnap | grep 8443

From: siva.saravanamu...@csl.com.au<mailto:siva.saravanamu...@csl.com.au> 
mailto:siva.saravanamu...@csl.com.au>>
Sent: 13 March 2020 06:17
To: users@tomcat.apache.org<mailto:users@tomcat.apache.org>
Subject: Urgent help tomcat 9 and https 8443

Hello Everyone,

I am new to this group and tomcat.

I am having issue with tomcat 9 using port 8443. I configured tomcat 8443  
using CA certificate and my configuration are as follow.




I verified the certificate file using openssl command and certificate working 
fine and there is no issue with the certificate.

#openssl verify dlkopatu001.crt
dlkopatu001.crt

RE: Urgent help tomcat 9 and https 8443

2020-03-12 Thread Siva.Saravanamuthu
Thanks for the reply.

There is no firewall or selinux and it is not listening that is the problem.  
Not sure where it is failing ?

From: Arvind Kumar (ZNetLive) 
Sent: Friday, 13 March 2020 12:24 PM
To: Tomcat Users List 
Cc: Saravanamuthu, Sivakumar (Siva) AU/PKV 
Subject: [EXT] RE: Urgent help tomcat 9 and https 8443

EXTERNAL: This email originated from outside of the organization. Do not click 
any links or open any attachments unless you trust the sender and know the 
content is safe.



FYI
From: Arvind Kumar (ZNetLive)
Sent: 13 March 2020 06:53
To: Tomcat Users List mailto:users@tomcat.apache.org>>
Subject: RE: Urgent help tomcat 9 and https 8443

Please make sure port 8443 is listing if not try to restart your tomcat once 
and then check the listing, once you get it is listing, please run below 
command to allow 8443 to open outside of your server.

iptables -I INPUT -m tcp -p tcp -s  0.0.0.0/0 --dport 8080 -j ACCEPT

How to check 8443 Is listing,

Netstat -tnap | grep 8443

From: siva.saravanamu...@csl.com.au<mailto:siva.saravanamu...@csl.com.au> 
mailto:siva.saravanamu...@csl.com.au>>
Sent: 13 March 2020 06:17
To: users@tomcat.apache.org<mailto:users@tomcat.apache.org>
Subject: Urgent help tomcat 9 and https 8443

Hello Everyone,

I am new to this group and tomcat.

I am having issue with tomcat 9 using port 8443. I configured tomcat 8443  
using CA certificate and my configuration are as follow.




I verified the certificate file using openssl command and certificate working 
fine and there is no issue with the certificate.

#openssl verify dlkopatu001.crt
dlkopatu001.crt: OK


But for unknown reason port 8443 is not listening and because of that I am not 
able to access url using 
https://url:8443<https://urldefense.proofpoint.com/v2/url?u=https-3A__url-3A8443&d=DwMFAg&c=iYwH3J27U_MBSsOvqcb8y8L0YvDEWvwF8fJyvC56xZM&r=skIkIH_QXTEZR3BEt6FeRMjoXQbfmE83b8AyfPxh3nc&m=RtRGesgJFKJSzkQpps0V7Rj-UV6ePw4JttXM-XZRBMY&s=V6hxOfmjky_Qc47PSvHv8wYAdZFW03iL39cyDN_ZRVI&e=>

Please help me to resolve this issue.


Regards,

Sivakumar Saravanamuthu
Senior Systems Engineer, Open Systems
CSL Limited
POA2 , 189-209 Camp Road, Broadmeadows | VIC 3047 | Australia
siva.saravanamu...@csl.com.au<mailto:siva.saravanamu...@csl.com.au>
http://www.csl.com.au<http://www.csl.com.au/>
Mobile: +61 419 835 682
Please consider the environment before printing this email.
[cid:image002.jpg@01D3F0F5.A4968CE0]




This email, including any attachments, is confidential and contains proprietary 
content and may be legally privileged. This transmission is intended only for 
the designated recipient(s), and any duplication or distribution, in any form 
or part, without the written consent of the sender is strictly prohibited. Any 
confidentiality or privilege is not waived or lost if this email has been sent 
to you by mistake, in which case you should not read, copy, adapt, use or 
disclose this message. If you've received this email by mistake, please delete 
the message, disregard its contents and notify the sender of the mistake. Any 
personal information in this email must be handled in accordance with 
applicable privacy laws.




This email, including any attachments, is confidential and contains proprietary 
content and may be legally privileged. This transmission is intended only for 
the designated recipient(s), and any duplication or distribution, in any form 
or part, without the written consent of the sender is strictly prohibited. Any 
confidentiality or privilege is not waived or lost if this email has been sent 
to you by mistake, in which case you should not read, copy, adapt, use or 
disclose this message. If you've received this email by mistake, please delete 
the message, disregard its contents and notify the sender of the mistake. Any 
personal information in this email must be handled in accordance with 
applicable privacy laws.


RE: Urgent help tomcat 9 and https 8443

2020-03-12 Thread Arvind Kumar (ZNetLive)

FYI
From: Arvind Kumar (ZNetLive)
Sent: 13 March 2020 06:53
To: Tomcat Users List 
Subject: RE: Urgent help tomcat 9 and https 8443

Please make sure port 8443 is listing if not try to restart your tomcat once 
and then check the listing, once you get it is listing, please run below 
command to allow 8443 to open outside of your server.

iptables -I INPUT -m tcp -p tcp -s  0.0.0.0/0 --dport 8080 -j ACCEPT

How to check 8443 Is listing,

Netstat -tnap | grep 8443

From: siva.saravanamu...@csl.com.au<mailto:siva.saravanamu...@csl.com.au> 
mailto:siva.saravanamu...@csl.com.au>>
Sent: 13 March 2020 06:17
To: users@tomcat.apache.org<mailto:users@tomcat.apache.org>
Subject: Urgent help tomcat 9 and https 8443

Hello Everyone,

I am new to this group and tomcat.

I am having issue with tomcat 9 using port 8443. I configured tomcat 8443  
using CA certificate and my configuration are as follow.




I verified the certificate file using openssl command and certificate working 
fine and there is no issue with the certificate.

#openssl verify dlkopatu001.crt
dlkopatu001.crt: OK


But for unknown reason port 8443 is not listening and because of that I am not 
able to access url using https://url:8443

Please help me to resolve this issue.


Regards,

Sivakumar Saravanamuthu
Senior Systems Engineer, Open Systems
CSL Limited
POA2 , 189-209 Camp Road, Broadmeadows | VIC 3047 | Australia
siva.saravanamu...@csl.com.au<mailto:siva.saravanamu...@csl.com.au>
http://www.csl.com.au<http://www.csl.com.au/>
Mobile: +61 419 835 682
Please consider the environment before printing this email.
[cid:image002.jpg@01D3F0F5.A4968CE0]




This email, including any attachments, is confidential and contains proprietary 
content and may be legally privileged. This transmission is intended only for 
the designated recipient(s), and any duplication or distribution, in any form 
or part, without the written consent of the sender is strictly prohibited. Any 
confidentiality or privilege is not waived or lost if this email has been sent 
to you by mistake, in which case you should not read, copy, adapt, use or 
disclose this message. If you've received this email by mistake, please delete 
the message, disregard its contents and notify the sender of the mistake. Any 
personal information in this email must be handled in accordance with 
applicable privacy laws.


RE: Urgent help tomcat 9 and https 8443

2020-03-12 Thread Arvind Kumar (ZNetLive)
Please make sure port 8443 is listing if not try to restart your tomcat once 
and then check the listing, once you get it is listing, please run below 
command to allow 8443 to open outside of your server.

iptables -I INPUT -m tcp -p tcp -s  0.0.0.0/0 --dport 8080 -j ACCEPT

How to check 8443 Is listing,

Netstat -tnap | grep 8443

From: siva.saravanamu...@csl.com.au 
Sent: 13 March 2020 06:17
To: users@tomcat.apache.org
Subject: Urgent help tomcat 9 and https 8443

Hello Everyone,

I am new to this group and tomcat.

I am having issue with tomcat 9 using port 8443. I configured tomcat 8443  
using CA certificate and my configuration are as follow.




I verified the certificate file using openssl command and certificate working 
fine and there is no issue with the certificate.

#openssl verify dlkopatu001.crt
dlkopatu001.crt: OK


But for unknown reason port 8443 is not listening and because of that I am not 
able to access url using https://url:8443

Please help me to resolve this issue.


Regards,

Sivakumar Saravanamuthu
Senior Systems Engineer, Open Systems
CSL Limited
POA2 , 189-209 Camp Road, Broadmeadows | VIC 3047 | Australia
siva.saravanamu...@csl.com.au
http://www.csl.com.au
Mobile: +61 419 835 682
Please consider the environment before printing this email.
[cid:image002.jpg@01D3F0F5.A4968CE0]




This email, including any attachments, is confidential and contains proprietary 
content and may be legally privileged. This transmission is intended only for 
the designated recipient(s), and any duplication or distribution, in any form 
or part, without the written consent of the sender is strictly prohibited. Any 
confidentiality or privilege is not waived or lost if this email has been sent 
to you by mistake, in which case you should not read, copy, adapt, use or 
disclose this message. If you've received this email by mistake, please delete 
the message, disregard its contents and notify the sender of the mistake. Any 
personal information in this email must be handled in accordance with 
applicable privacy laws.


Re: urgent help needed

2007-05-17 Thread bhavik shah

I remove the jar file and it worked fine

Regards
bhavik


On 5/17/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:


there is something wrong in this sucker
/opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar

are you using symlinks?
if so,
http://tomcat.apache.org/tomcat-4.1-doc/config/context.html#allowLinking

you end up getting a FileNotFoundException, turning on debug logging,
might yield more info

Filip

bhavik shah wrote:
> Hi,
> We have tomcat4.1 installed on HPUX Box.
> I stopped the tomcat server
> I deploy one application on the tomcat server and start it
>
> when I tried to navigate to http://hostname:portno it gives me the
> following
> error:
> HTTP Status 404 - /
> --
>
> *type* Status report
>
> *message* */*
>
> *description* *The requested resource (/) is not available.*
>
> **
>
> But when i tried to navigate to my application I can navigate it.
>
> i.e. http://hostname:portno/virtual_dir
>
> after that I saw the following error in localhost_log file:
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path /admin
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path /webdav
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path /examples
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path /tomcat-docs
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path /manager
>
> 2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
> context path
>
> 2007-05-17 10:38:14 WebappLoader[]: Deploying class repositories to work
> directory /bdhp4238/opt/docu/tst/tomcat4/work/Standalone/localhost/_
>
> 2007-05-17 10:38:14 WebappLoader[]: Deploy JAR
> /WEB-INF/lib/dmvirtuallink.jar to
> /opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar
>
> 2007-05-17 10:38:14 ContextConfig[] Exception processing JAR at resource
> path /WEB-INF/lib/dmvirtuallink.jar
>
> javax.servlet.ServletException: Exception processing JAR at resource
path
> /WEB-INF/lib/dmvirtuallink.jar
>
> at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown
> Source)
>
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
>
> at org.apache.catalina.core.StandardContext.start(Unknown Source)
>
> at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>
> at org.apache.catalina.core.StandardHost.start(Unknown Source)
>
> at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>
> at org.apache.catalina.core.StandardEngine.start(Unknown Source)
>
> at org.apache.catalina.core.StandardService.start(Unknown Source)
>
> at org.apache.catalina.core.StandardServer.start(Unknown Source)
>
> at org.apache.catalina.startup.Catalina.start(Unknown Source)
>
> at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>
> at org.apache.catalina.startup.Catalina.process(Unknown Source)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java
> :39)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
>
> at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
>
> - Root Cause -
>
> java.io.FileNotFoundException
>
> at
> org.apache.naming.resources.DirContextURLConnection.getInputStream
(Unknown
>
> Source)
>
> at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:161)
>
> at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
>
> at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
>
> at
> sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java
> :85)
>
> at sun.net.www.protocol.jar.JarURLConnection.getJarFile(
> JarURLConnection.java:69)
>
> at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
>
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown
> Source)
>
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
> Source)
>
> at org.apache.catalina.core.StandardContext.start(Unknown Source)
>
> at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>
> at org.apache.catalina.core.StandardHost.start(Unknown Source)
>
> at org.apache.catalina.core.ContainerBase.start(Unknown Source)
>
> at org.apache.catalina.core.StandardEngine.start(Unknown Source)
>
> at org.apache.catalina.core.StandardService.start(Unknown Source)
>
> at org.apache.catalina.core.S

Re: urgent help needed

2007-05-17 Thread Filip Hanik - Dev Lists

there is something wrong in this sucker
/opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar

are you using symlinks?
if so, 
http://tomcat.apache.org/tomcat-4.1-doc/config/context.html#allowLinking


you end up getting a FileNotFoundException, turning on debug logging, 
might yield more info


Filip

bhavik shah wrote:

Hi,
We have tomcat4.1 installed on HPUX Box.
I stopped the tomcat server
I deploy one application on the tomcat server and start it

when I tried to navigate to http://hostname:portno it gives me the 
following

error:
HTTP Status 404 - /
--

*type* Status report

*message* */*

*description* *The requested resource (/) is not available.*

**

But when i tried to navigate to my application I can navigate it.

i.e. http://hostname:portno/virtual_dir

after that I saw the following error in localhost_log file:

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path /admin

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path /webdav

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path /examples

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path /tomcat-docs

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path /manager

2007-05-17 09:08:52 StandardHost[localhost]: Removing web application at
context path

2007-05-17 10:38:14 WebappLoader[]: Deploying class repositories to work
directory /bdhp4238/opt/docu/tst/tomcat4/work/Standalone/localhost/_

2007-05-17 10:38:14 WebappLoader[]: Deploy JAR
/WEB-INF/lib/dmvirtuallink.jar to
/opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar

2007-05-17 10:38:14 ContextConfig[] Exception processing JAR at resource
path /WEB-INF/lib/dmvirtuallink.jar

javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/dmvirtuallink.jar

at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)

at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)

at org.apache.catalina.startup.ContextConfig.start(Unknown Source)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown 
Source)


at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)

at org.apache.catalina.core.StandardContext.start(Unknown Source)

at org.apache.catalina.core.ContainerBase.start(Unknown Source)

at org.apache.catalina.core.StandardHost.start(Unknown Source)

at org.apache.catalina.core.ContainerBase.start(Unknown Source)

at org.apache.catalina.core.StandardEngine.start(Unknown Source)

at org.apache.catalina.core.StandardService.start(Unknown Source)

at org.apache.catalina.core.StandardServer.start(Unknown Source)

at org.apache.catalina.startup.Catalina.start(Unknown Source)

at org.apache.catalina.startup.Catalina.execute(Unknown Source)

at org.apache.catalina.startup.Catalina.process(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java

:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

- Root Cause -

java.io.FileNotFoundException

at 
org.apache.naming.resources.DirContextURLConnection.getInputStream(Unknown 


Source)

at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:161)

at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)

at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)

at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java

:85)

at sun.net.www.protocol.jar.JarURLConnection.getJarFile(
JarURLConnection.java:69)

at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source)

at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source)

at org.apache.catalina.startup.ContextConfig.start(Unknown Source)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown 
Source)


at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)

at org.apache.catalina.core.StandardContext.start(Unknown Source)

at org.apache.catalina.core.ContainerBase.start(Unknown Source)

at org.apache.catalina.core.StandardHost.start(Unknown Source)

at org.apache.catalina.core.ContainerBase.start(Unknown Source)

at org.apache.catalina.core.StandardEngine.start(Unknown Source)

at org.apache.catalina.core.StandardService.start(Unknown Source)

at org.apache.catalina.core.StandardServer.start(Unknown Source)

at org.apache.catalina.startup.Catalina.start(Unknown Source)

at org.apache.catalina.startup.Catalina.execute(Unknown Source)

at org.apache.catalina.startup.Catalina.process(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(Nat

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-10 Thread Edmon Begoli

Each Tomcat machine is running in 512 MB Max.
(We recently increased that to ~850 MB. We are trying not to go up to far to
avoid prolonged garbage collector pauses)

CPU, I/O utilization under heavy loads is not excessive. 80% max usually 60%

Max. thread settings are default.

I was thinking to bump it by 35-50% as well as the backlog.

BTW - What would be the impoact/side effects of increasing the Connectors
max threads and backlog size.

Thanks,
Edmon


_



What is your load average under these circumstance?


Is each of the 10 tomcats on a seperate physical machine?

What are your max thread settings in Tomcat?

Are your tomcat machines CPU bound or I/O bound under full load?

Alex

On 7/9/06, Edmon Begoli <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> First of all - thanks Rainer for willing to look into this issue.
>
> Environment description:
>
> Web Server: Apache 2.0.52
> mod_jk: 1.2.15
> OS: RedHat ES 4.2
> App. Server: Tomcat 5.5.15
>
> Cluster topology: 4 webservers with mod_jk doing sticky loadbalancing
into
> 10 tomcats
>
> MOD_JK Configuration: Pretty much basic mod_jk and Tomcat settings for
> AJP13
>
> Description of the issue:
>
> Under very heavy loads for our standards (about thousand of concurrent
> users)
> we start seeing errors (listed at end botton of this e-mail) in the
mod_jk
> error log.
>
> Our concern is mod_jk behavior on the web server. We closely monitor
> apache
> and Apache itself is not under heavy stress. However, shortly after we
> start
> seeing these messages in the mod_jk's error log, web server becomes
> unresponsive
> and we have to re-start it.
>
> While the web server server is unresponsive we monitor 8009 port -
nothing
> is going on it.
>
> We monitor Tomcats and they are fine.
>
> As soon as we re-start web servers traffic resumes. Then under heavy
loads
> things break again
>
> We are planning on increasing the number of max threads on the Tomcats'
> AJP connector to imrpove the throughput of the Tomcats.
>
> However, our concern is with the web server side lock ups. It seems that
> mod_jk cannot
> recover after this oversaturation.
>
>
> TAIL -F FROM THE MOD_JK LOG RIGHT BEFORE  IT "DIES"
> __
>
>
> [Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1721):
> Receiving from tomcat failed, recoverable operation attempt=0
>
> [Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed,  recoverable operation attempt=1
>
> [Fri Jul 07 09:59:44 2006] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
> response message from tomcat, network problems or tomcat is down ( REMOVED>:8009), err=-110
>
> [Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c
(1503):
> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
> Receiving from tomcat failed, recoverable operation attempt=0
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed,  recoverable operation attempt=1
>
> [Fri Jul 07 09:59:44 2006] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
> response message from tomcat, network problems or tomcat is down ( REMOVED>:8009), err=-110
>
> [Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c
(1503):
> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
> Receiving from tomcat failed, recoverable operation attempt=0
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed,  recoverable operation attempt=1
>
> [Fri Jul 07 09:59:44 2006] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
> response message from tomcat, network problems or tomcat is down ( REMOVED>:8009), err=-110
>
> [Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c
(1503):
> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
> Receiving from tomcat failed, recoverable operation attempt=0
>
> [Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed,  recoverable operation attempt=1
>
> [Fri Jul 07 09:59:45 2006] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
> response message from tomcat, network problems or tomcat is down ( REMOVED>:8009), err=-110
>
> [Fri Jul 07 09:59:45 2006] [error] ajp_get_reply::jk_ajp_common.c
(1503):
> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
>
> [Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1721):
> Receiving from tomcat failed, recove

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-09 Thread Alex Turner

What is your load average under these circumstance?

Is each of the 10 tomcats on a seperate physical machine?

What are your max thread settings in Tomcat?

Are your tomcat machines CPU bound or I/O bound under full load?

Alex

On 7/9/06, Edmon Begoli <[EMAIL PROTECTED]> wrote:


Hi,

First of all - thanks Rainer for willing to look into this issue.

Environment description:

Web Server: Apache 2.0.52
mod_jk: 1.2.15
OS: RedHat ES 4.2
App. Server: Tomcat 5.5.15

Cluster topology: 4 webservers with mod_jk doing sticky loadbalancing into
10 tomcats

MOD_JK Configuration: Pretty much basic mod_jk and Tomcat settings for
AJP13

Description of the issue:

Under very heavy loads for our standards (about thousand of concurrent
users)
we start seeing errors (listed at end botton of this e-mail) in the mod_jk
error log.

Our concern is mod_jk behavior on the web server. We closely monitor
apache
and Apache itself is not under heavy stress. However, shortly after we
start
seeing these messages in the mod_jk's error log, web server becomes
unresponsive
and we have to re-start it.

While the web server server is unresponsive we monitor 8009 port - nothing
is going on it.

We monitor Tomcats and they are fine.

As soon as we re-start web servers traffic resumes. Then under heavy loads
things break again

We are planning on increasing the number of max threads on the Tomcats'
AJP connector to imrpove the throughput of the Tomcats.

However, our concern is with the web server side lock ups. It seems that
mod_jk cannot
recover after this oversaturation.


TAIL -F FROM THE MOD_JK LOG RIGHT BEFORE  IT "DIES"
__


[Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:45 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:45 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:46 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:46 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:46 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:46 2006] [info]  ajp_service::jk_ajp_common

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-09 Thread Edmon Begoli

Hi,

First of all - thanks Rainer for willing to look into this issue.

Environment description:

Web Server: Apache 2.0.52
mod_jk: 1.2.15
OS: RedHat ES 4.2
App. Server: Tomcat 5.5.15

Cluster topology: 4 webservers with mod_jk doing sticky loadbalancing into
10 tomcats

MOD_JK Configuration: Pretty much basic mod_jk and Tomcat settings for AJP13

Description of the issue:

Under very heavy loads for our standards (about thousand of concurrent
users)
we start seeing errors (listed at end botton of this e-mail) in the mod_jk
error log.

Our concern is mod_jk behavior on the web server. We closely monitor apache
and Apache itself is not under heavy stress. However, shortly after we
start
seeing these messages in the mod_jk's error log, web server becomes
unresponsive
and we have to re-start it.

While the web server server is unresponsive we monitor 8009 port - nothing
is going on it.

We monitor Tomcats and they are fine.

As soon as we re-start web servers traffic resumes. Then under heavy loads
things break again

We are planning on increasing the number of max threads on the Tomcats'
AJP connector to imrpove the throughput of the Tomcats.

However, our concern is with the web server side lock ups. It seems that
mod_jk cannot
recover after this oversaturation.


TAIL -F FROM THE MOD_JK LOG RIGHT BEFORE  IT "DIES"
__


[Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:43 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:44 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:44 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:44 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:45 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:45 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:46 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 09:59:46 2006] [error] ajp_get_reply::jk_ajp_common.c (1503):
Tomcat is down or refused connection. No response has been sent to the
client (yet)

[Fri Jul 07 09:59:46 2006] [info]  ajp_service::jk_ajp_common.c (1721):
Receiving from tomcat failed, recoverable operation attempt=0

[Fri Jul 07 09:59:46 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

[Fri Jul 07 09:59:46 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the
response message from tomcat, network problems or tomcat is down (:8009), err=-110

[Fri Jul 07 

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-08 Thread Rainer Jung
Hello,

if you would give detailed information about your problems, we could
advise you, whether it is known, and whether it has been fixed in some
version.

The latest release is 1.2.15, we tried to produce a 1.2.16 release, that
but it has now been withdrawn because of a regression bug. Another
release (1.2.17) will be tried next week.

Rainer

Edmon Begoli schrieb:
> We are running into some serious load and scalability issues related to the
> mod_jk.
> 
> I read some threads that indicate that these issues may have been fixed in
> post 1.2.15 version.
> 
> Available downoalds are only for 1.2.15.
> 
> Some websites are indicating that the latest one should be 1.2.16.
> 
> Can someone please tell me what is the latest version of mod_jk that we
> should be using.
> 
> 
> We are running 1.2.15 complied on RedHat ES 4.2.x. with Apache 2.0.52
> 

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