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.java:985

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:

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 strict

Urgent Help

2021-06-23 Thread Mohan T
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(StandardJarScanner.java:246)
   at 
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229)
   at 
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1892)
   at 
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1120)
   at 
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:769)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
   at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
   at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java: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 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, 

RE: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-18 Thread Jonnalagadda, Swathi (External)

Hi Schultz

Please find sample code below
Suffix is there in request so ..

RequestDispatcher rd = context.getRequestDispatcher(sample.xls);
String contentType =((request.getParameter(SUFFIX) 
!=null) && ((request.getParameter(SUFFIX).equalsIgnoreCase("xls" 
?"application/vnd.ms-excel":null; <--- setting explicitly
if (contentType != null)
{
response.setContentType(contentType);
}
rd.forward(request, response);

Thanks
Swathi

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Friday, January 15, 2021 7:41 PM
To: users@tomcat.apache.org
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Swathi,

On 1/15/21 08:41, Jonnalagadda, Swathi (External) wrote:
> My web application is trying to open the xls file by passing the file 
> to request.getDispatcher method. It is supposed open up download 
> dialogue box but it is not doing.
After you get a request dispatcher, what are you doing with it?

> If I set the content-type explicitly to response it is showing up the box.

Please post actual code.

> With Tomcat 7 it was never an issue and it used to consider mimetype 
> that is defined in web.xml but in Tomcat 9 not sure why it is not 
> considering mime-type.

Something seems odd, here. Post your sample code.

-chris

> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, January 15, 2021 3:25 AM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!
> 
> CAUTION:   This email originated from outside the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
> 
> Swathi,
> 
> On 1/13/21 03:27, Jonnalagadda, Swathi (External) wrote:
>> We could see that when we try to open the xls file separately the 
>> browser shows dialogue box to save it so it is nothing to do with 
>> browser settings
> What is the difference between "open[ing] the XLS file separately" and ... 
> whatever your application is doing instead?
> 
> If you want to force a download, you need to add some response headers 
> otherwise a normal browser will usually try to render the file in the browser 
> window instead of initiating a download.
> 
> The response header you need is "Content-Disposition" and its value can be 
> complex. Here is what I usually do:
> 
> Content-Disposition: attachment; filename="[filename]"; 
> filename*=utf-8''[filename in UTF-8 encoding]
> 
> Note that the above is all on one line and the two single-quotes are not a 
> typo. You will also need to escape any double-quotes in the "filename"
> and escape any semicolons in the utf8-filename.
> 
> You can find more information here as well as other places online:
> https://www.geeksforgeeks.org/http-headers-content-disposition/
> 
> The above reference happens to be particularly thorough, even moreso than 
> Mozilla's (typically very good and complete) documentation for 
> Content-Disposition.
> 
> If your application is not being hosted within a web browser (e.g. it's a 
> mobile application, or an Electron (etc.) application, etc.) then it's 
> entirely up to you to trigger the display of a download dialog when this kind 
> of thing needs to happen.
> 
> -chris
> 
>> -Original Message-
>> From: Mounika Reddy [mailto:spidermai...@gmail.com]
>> Sent: Wednesday, January 13, 2021 3:48 AM
>> To: Tomcat Users List
>> Cc: Mark Thomas
>> Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!
>>
>> CAUTION:   This email originated from outside the organization. Do not click 
>> links or open attachments unless you recognize the sender and know the 
>> content is safe.
>>
>> Pls check http response headers for the request to confirm if it's returning 
>> proper headers.
>>
>> Once they are in place then it may be to do with browser settings not 
>> processing headers.
>>
>>
>>
>> On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
>> swathi.jonnalaga...@xerox.com> wrote:
>>
>>> Hi Team
>>>
>>> We have an application deployed in tomcat9.0.38 server which 
>>> generates an xls file dynamically and saves at server end. When we 
>>> try to access th

Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread Christopher Schultz

Swathi,

On 1/15/21 08:41, Jonnalagadda, Swathi (External) wrote:

My web application is trying to open the xls file by passing the file
to request.getDispatcher method. It is supposed open up download
dialogue box but it is not doing.

After you get a request dispatcher, what are you doing with it?


If I set the content-type explicitly to response it is showing up the box.


Please post actual code.


With Tomcat 7 it was never an issue and it used to consider mimetype
that is defined in web.xml but in Tomcat 9 not sure why it is not
considering mime-type.


Something seems odd, here. Post your sample code.

-chris


-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, January 15, 2021 3:25 AM
To: users@tomcat.apache.org
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Swathi,

On 1/13/21 03:27, Jonnalagadda, Swathi (External) wrote:

We could see that when we try to open the xls file separately the
browser shows dialogue box to save it so it is nothing to do with
browser settings

What is the difference between "open[ing] the XLS file separately" and ... 
whatever your application is doing instead?

If you want to force a download, you need to add some response headers 
otherwise a normal browser will usually try to render the file in the browser 
window instead of initiating a download.

The response header you need is "Content-Disposition" and its value can be 
complex. Here is what I usually do:

Content-Disposition: attachment; filename="[filename]"; 
filename*=utf-8''[filename in UTF-8 encoding]

Note that the above is all on one line and the two single-quotes are not a typo. You will 
also need to escape any double-quotes in the "filename"
and escape any semicolons in the utf8-filename.

You can find more information here as well as other places online:
https://www.geeksforgeeks.org/http-headers-content-disposition/

The above reference happens to be particularly thorough, even moreso than 
Mozilla's (typically very good and complete) documentation for 
Content-Disposition.

If your application is not being hosted within a web browser (e.g. it's a 
mobile application, or an Electron (etc.) application, etc.) then it's entirely 
up to you to trigger the display of a download dialog when this kind of thing 
needs to happen.

-chris


-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com]
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Pls check http response headers for the request to confirm if it's returning 
proper headers.

Once they are in place then it may be to do with browser settings not 
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
swathi.jonnalaga...@xerox.com> wrote:


Hi Team

We have an application deployed in tomcat9.0.38 server which
generates an xls file dynamically and saves at server end. When we
try to access the file using application frontend, it is neither
showing up in excel format nor showing up pop up to save the file
instead it is showing the content of xls file in xml format directly on the 
browser.

Below mime type is set both at web.xml of webapplicatio end and as
well as Tomcat9038/conf/web.xml


  xls
  application/vnd.ms-excel
  

Could you please help in resolving the issue ASAP


Thanks
Swathi



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



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


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



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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread Mounika Reddy
As Niranjan said, pls validate the headers first and it may be not the case
in Tomcat7 but there are multiple points which must have updated probably
triggering it. Only way to verify is set Content-Disposition header
accurately and verify if browser can see it

On Fri, Jan 15, 2021, 8:41 AM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:

> Hi Chris
>
> My web application is trying to open the xls file by passing the file to
> request.getDispatcher method. It is supposed open up download dialogue box
> but it is not doing.
>
> If I set the content-type explicitly to response it is showing up the box.
>
> With Tomcat 7 it was never an issue and it used to consider mimetype that
> is defined in web.xml but in Tomcat 9 not sure why it is not considering
> mime-type.
>
> Thanks
> Swathi
>
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, January 15, 2021 3:25 AM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat server not considering Mime Type - Request urgent
> help!!
>
> CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> Swathi,
>
> On 1/13/21 03:27, Jonnalagadda, Swathi (External) wrote:
> > We could see that when we try to open the xls file separately the
> > browser shows dialogue box to save it so it is nothing to do with
> > browser settings
> What is the difference between "open[ing] the XLS file separately" and ...
> whatever your application is doing instead?
>
> If you want to force a download, you need to add some response headers
> otherwise a normal browser will usually try to render the file in the
> browser window instead of initiating a download.
>
> The response header you need is "Content-Disposition" and its value can be
> complex. Here is what I usually do:
>
> Content-Disposition: attachment; filename="[filename]";
> filename*=utf-8''[filename in UTF-8 encoding]
>
> Note that the above is all on one line and the two single-quotes are not a
> typo. You will also need to escape any double-quotes in the "filename"
> and escape any semicolons in the utf8-filename.
>
> You can find more information here as well as other places online:
> https://www.geeksforgeeks.org/http-headers-content-disposition/
>
> The above reference happens to be particularly thorough, even moreso than
> Mozilla's (typically very good and complete) documentation for
> Content-Disposition.
>
> If your application is not being hosted within a web browser (e.g. it's a
> mobile application, or an Electron (etc.) application, etc.) then it's
> entirely up to you to trigger the display of a download dialog when this
> kind of thing needs to happen.
>
> -chris
>
> > -Original Message-
> > From: Mounika Reddy [mailto:spidermai...@gmail.com]
> > Sent: Wednesday, January 13, 2021 3:48 AM
> > To: Tomcat Users List
> > Cc: Mark Thomas
> > Subject: Re: Tomcat server not considering Mime Type - Request urgent
> help!!
> >
> > CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
> >
> > Pls check http response headers for the request to confirm if it's
> returning proper headers.
> >
> > Once they are in place then it may be to do with browser settings not
> processing headers.
> >
> >
> >
> > On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
> swathi.jonnalaga...@xerox.com> wrote:
> >
> >> Hi Team
> >>
> >> We have an application deployed in tomcat9.0.38 server which
> >> generates an xls file dynamically and saves at server end. When we
> >> try to access the file using application frontend, it is neither
> >> showing up in excel format nor showing up pop up to save the file
> >> instead it is showing the content of xls file in xml format directly on
> the browser.
> >>
> >> Below mime type is set both at web.xml of webapplicatio end and as
> >> well as Tomcat9038/conf/web.xml
> >>
> >> 
> >>  xls
> >>  application/vnd.ms-excel
> >>  
> >>
> >> Could you please help in resolving the issue ASAP
> >>
> >>
> >> Thanks
> >> Swathi
> >>
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


RE: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread Jonnalagadda, Swathi (External)
Hi Chris

My web application is trying to open the xls file by passing the file to 
request.getDispatcher method. It is supposed open up download dialogue box but 
it is not doing.

If I set the content-type explicitly to response it is showing up the box.

With Tomcat 7 it was never an issue and it used to consider mimetype that is 
defined in web.xml but in Tomcat 9 not sure why it is not considering mime-type.

Thanks
Swathi 

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Friday, January 15, 2021 3:25 AM
To: users@tomcat.apache.org
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Swathi,

On 1/13/21 03:27, Jonnalagadda, Swathi (External) wrote:
> We could see that when we try to open the xls file separately the 
> browser shows dialogue box to save it so it is nothing to do with 
> browser settings
What is the difference between "open[ing] the XLS file separately" and ... 
whatever your application is doing instead?

If you want to force a download, you need to add some response headers 
otherwise a normal browser will usually try to render the file in the browser 
window instead of initiating a download.

The response header you need is "Content-Disposition" and its value can be 
complex. Here is what I usually do:

Content-Disposition: attachment; filename="[filename]"; 
filename*=utf-8''[filename in UTF-8 encoding]

Note that the above is all on one line and the two single-quotes are not a 
typo. You will also need to escape any double-quotes in the "filename" 
and escape any semicolons in the utf8-filename.

You can find more information here as well as other places online:
https://www.geeksforgeeks.org/http-headers-content-disposition/

The above reference happens to be particularly thorough, even moreso than 
Mozilla's (typically very good and complete) documentation for 
Content-Disposition.

If your application is not being hosted within a web browser (e.g. it's a 
mobile application, or an Electron (etc.) application, etc.) then it's entirely 
up to you to trigger the display of a download dialog when this kind of thing 
needs to happen.

-chris

> -Original Message-
> From: Mounika Reddy [mailto:spidermai...@gmail.com]
> Sent: Wednesday, January 13, 2021 3:48 AM
> To: Tomcat Users List
> Cc: Mark Thomas
> Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!
> 
> CAUTION:   This email originated from outside the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
> 
> Pls check http response headers for the request to confirm if it's returning 
> proper headers.
> 
> Once they are in place then it may be to do with browser settings not 
> processing headers.
> 
> 
> 
> On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
> swathi.jonnalaga...@xerox.com> wrote:
> 
>> Hi Team
>>
>> We have an application deployed in tomcat9.0.38 server which 
>> generates an xls file dynamically and saves at server end. When we 
>> try to access the file using application frontend, it is neither 
>> showing up in excel format nor showing up pop up to save the file 
>> instead it is showing the content of xls file in xml format directly on the 
>> browser.
>>
>> Below mime type is set both at web.xml of webapplicatio end and as 
>> well as Tomcat9038/conf/web.xml
>>
>> 
>>  xls
>>  application/vnd.ms-excel
>>  
>>
>> Could you please help in resolving the issue ASAP
>>
>>
>> Thanks
>> Swathi
>>
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

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


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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread tomcat/perl

Hi again.
Sorry for the noise.
The page which you quoted 
(https://www.geeksforgeeks.org/http-headers-content-disposition/), itself contains a 
formal reference to
RFC 5987 (https://tools.ietf.org/html/rfc5987), which formally defines the extended 
"filename*" header parameter below.


On 15.01.2021 11:48, André Warnier (tomcat/perl) wrote:

On 14.01.2021 22:55, Christopher Schultz wrote:
Content-Disposition: attachment; filename="[filename]"; filename*=utf-8''[filename in 
UTF-8 encoding]


Hi Chris.
Do you have any reference for the above ?
(the "utf8''" part is new to me)


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




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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread tomcat/perl

On 14.01.2021 22:55, Christopher Schultz wrote:
Content-Disposition: attachment; filename="[filename]"; filename*=utf-8''[filename in 
UTF-8 encoding]


Hi Chris.
Do you have any reference for the above ?
(the "utf8''" part is new to me)


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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-14 Thread Christopher Schultz

Swathi,

On 1/13/21 03:27, Jonnalagadda, Swathi (External) wrote:

We could see that when we try to open the xls file separately the
browser shows dialogue box to save it so it is nothing to do with
browser settings
What is the difference between "open[ing] the XLS file separately" and 
... whatever your application is doing instead?


If you want to force a download, you need to add some response headers 
otherwise a normal browser will usually try to render the file in the 
browser window instead of initiating a download.


The response header you need is "Content-Disposition" and its value can 
be complex. Here is what I usually do:


Content-Disposition: attachment; filename="[filename]"; 
filename*=utf-8''[filename in UTF-8 encoding]


Note that the above is all on one line and the two single-quotes are not 
a typo. You will also need to escape any double-quotes in the "filename" 
and escape any semicolons in the utf8-filename.


You can find more information here as well as other places online:
https://www.geeksforgeeks.org/http-headers-content-disposition/

The above reference happens to be particularly thorough, even moreso 
than Mozilla's (typically very good and complete) documentation for 
Content-Disposition.


If your application is not being hosted within a web browser (e.g. it's 
a mobile application, or an Electron (etc.) application, etc.) then it's 
entirely up to you to trigger the display of a download dialog when this 
kind of thing needs to happen.


-chris


-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com]
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Pls check http response headers for the request to confirm if it's returning 
proper headers.

Once they are in place then it may be to do with browser settings not 
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
swathi.jonnalaga...@xerox.com> wrote:


Hi Team

We have an application deployed in tomcat9.0.38 server which generates
an xls file dynamically and saves at server end. When we try to access
the file using application frontend, it is neither showing up in excel
format nor showing up pop up to save the file instead it is showing
the content of xls file in xml format directly on the browser.

Below mime type is set both at web.xml of webapplicatio end and as
well as Tomcat9038/conf/web.xml


 xls
 application/vnd.ms-excel
 

Could you please help in resolving the issue ASAP


Thanks
Swathi



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



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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-14 Thread Niranjan Rao

What everyone is telling you is browser is not seeing right headers..

You can modify your tomcat settings as well as apache2 settings to log 
outgoing content type header. If tomcat and apache2 headers match, 
problem is in your tomcat side. If there is a mismatch and tomcat is 
sending right headers. then problem is on apache2 side. You can directly 
connect to tomact using curl or even in the browser to bypass apache2 
and see if it works.


How is response returned? How do you set the extension of the file? You 
said file generated dynamically, are you sure your servlet or whatever 
service handler you have there is not sending incorrect header?


I am not sure, but I believe global mime type settings are only for 
static files that tomcat serves. Any dynamically generated content has 
to be managed by response handler. More knowledgeable people here can 
correct me if I am wrong.


Regards,

Niranjan

On 1/14/21 8:59 AM, Jonnalagadda, Swathi (External) wrote:

Could you please elaborate more on this as to where I need to check

From: Mounika Reddy 
Sent: Thursday, January 14, 2021 2:41 AM
To: Tomcat Users List 
Cc: Mark Thomas 
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

If you are via AJP connector, then check if Apache proxy is changing
headers. We have a similar environment and when we set content-type,
clients see the same but possible it must be overriding

On Wed, Jan 13, 2021, 3:14 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:


This issue is not resolved yet.  The extension of file is clearly .xls but
I see content-type in response header is set to text/html.

Please note that the request initially hits apache2.4 server which is
redirected to tomcat9 server after successful authentication at siteminder.

The connection is configured via ajp connector.

Is there a possibility that the apache server is overwriting the
content-type header in response ?

Please advise.

Thanks
Swathi

-Original Message-
From: Jonnalagadda, Swathi (External) [mailto:
swathi.jonnalaga...@xerox.com]
Sent: Wednesday, January 13, 2021 1:57 PM
To: Tomcat Users List
Cc: Mark Thomas
Subject: RE: Tomcat server not considering Mime Type - Request urgent
help!!

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

Thank you for the email

We could see that when we try to open the xls file separately the browser
shows dialogue box to save it so it is nothing to do with browser settings

Could you please advise if I am missing out any setting here.

Thanks
Swathi
-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com]
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent
help!!

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

Pls check http response headers for the request to confirm if it's
returning proper headers.

Once they are in place then it may be to do with browser settings not
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:


Hi Team

We have an application deployed in tomcat9.0.38 server which generates
an xls file dynamically and saves at server end. When we try to access
the file using application frontend, it is neither showing up in excel
format nor showing up pop up to save the file instead it is showing
the content of xls file in xml format directly on the browser.

Below mime type is set both at web.xml of webapplicatio end and as
well as Tomcat9038/conf/web.xml


 xls
 application/vnd.ms-excel
 

Could you please help in resolving the issue ASAP


Thanks
Swathi




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



Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-14 Thread Jonnalagadda, Swathi (External)
Could you please elaborate more on this as to where I need to check

From: Mounika Reddy 
Sent: Thursday, January 14, 2021 2:41 AM
To: Tomcat Users List 
Cc: Mark Thomas 
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

If you are via AJP connector, then check if Apache proxy is changing
headers. We have a similar environment and when we set content-type,
clients see the same but possible it must be overriding

On Wed, Jan 13, 2021, 3:14 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:

> This issue is not resolved yet.  The extension of file is clearly .xls but
> I see content-type in response header is set to text/html.
>
> Please note that the request initially hits apache2.4 server which is
> redirected to tomcat9 server after successful authentication at siteminder.
>
> The connection is configured via ajp connector.
>
> Is there a possibility that the apache server is overwriting the
> content-type header in response ?
>
> Please advise.
>
> Thanks
> Swathi
>
> -Original Message-
> From: Jonnalagadda, Swathi (External) [mailto:
> swathi.jonnalaga...@xerox.com]
> Sent: Wednesday, January 13, 2021 1:57 PM
> To: Tomcat Users List
> Cc: Mark Thomas
> Subject: RE: Tomcat server not considering Mime Type - Request urgent
> help!!
>
> CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> Thank you for the email
>
> We could see that when we try to open the xls file separately the browser
> shows dialogue box to save it so it is nothing to do with browser settings
>
> Could you please advise if I am missing out any setting here.
>
> Thanks
> Swathi
> -Original Message-
> From: Mounika Reddy [mailto:spidermai...@gmail.com]
> Sent: Wednesday, January 13, 2021 3:48 AM
> To: Tomcat Users List
> Cc: Mark Thomas
> Subject: Re: Tomcat server not considering Mime Type - Request urgent
> help!!
>
> CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> Pls check http response headers for the request to confirm if it's
> returning proper headers.
>
> Once they are in place then it may be to do with browser settings not
> processing headers.
>
>
>
> On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
> swathi.jonnalaga...@xerox.com> wrote:
>
> > Hi Team
> >
> > We have an application deployed in tomcat9.0.38 server which generates
> > an xls file dynamically and saves at server end. When we try to access
> > the file using application frontend, it is neither showing up in excel
> > format nor showing up pop up to save the file instead it is showing
> > the content of xls file in xml format directly on the browser.
> >
> > Below mime type is set both at web.xml of webapplicatio end and as
> > well as Tomcat9038/conf/web.xml
> >
> > 
> > xls
> > application/vnd.ms-excel
> > 
> >
> > Could you please help in resolving the issue ASAP
> >
> >
> > Thanks
> > Swathi
> >
>


Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-13 Thread Mounika Reddy
If you are via AJP connector, then check if Apache proxy is changing
headers. We have a similar environment and when we set content-type,
clients see the same but possible it must be overriding

On Wed, Jan 13, 2021, 3:14 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:

> This issue is not resolved yet.  The extension of file is clearly .xls but
> I see content-type in response header is set to text/html.
>
> Please note that the request initially hits apache2.4 server which is
> redirected to tomcat9 server after successful authentication at siteminder.
>
> The connection is configured via ajp connector.
>
> Is there a possibility that the apache server is overwriting the
> content-type header in response ?
>
> Please advise.
>
> Thanks
> Swathi
>
> -Original Message-
> From: Jonnalagadda, Swathi (External) [mailto:
> swathi.jonnalaga...@xerox.com]
> Sent: Wednesday, January 13, 2021 1:57 PM
> To: Tomcat Users List
> Cc: Mark Thomas
> Subject: RE: Tomcat server not considering Mime Type - Request urgent
> help!!
>
> CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> Thank you for the email
>
> We could see that when we try to open the xls file separately the browser
> shows dialogue box to save it so it is nothing to do with browser settings
>
> Could you please advise if I am missing out any setting here.
>
> Thanks
> Swathi
> -Original Message-
> From: Mounika Reddy [mailto:spidermai...@gmail.com]
> Sent: Wednesday, January 13, 2021 3:48 AM
> To: Tomcat Users List
> Cc: Mark Thomas
> Subject: Re: Tomcat server not considering Mime Type - Request urgent
> help!!
>
> CAUTION:   This email originated from outside the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> Pls check http response headers for the request to confirm if it's
> returning proper headers.
>
> Once they are in place then it may be to do with browser settings not
> processing headers.
>
>
>
> On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
> swathi.jonnalaga...@xerox.com> wrote:
>
> > Hi Team
> >
> > We have an application deployed in tomcat9.0.38 server which generates
> > an xls file dynamically and saves at server end. When we try to access
> > the file using application frontend, it is neither showing up in excel
> > format nor showing up pop up to save the file instead it is showing
> > the content of xls file in xml format directly on the browser.
> >
> > Below mime type is set both at web.xml of webapplicatio end and as
> > well as Tomcat9038/conf/web.xml
> >
> > 
> > xls
> > application/vnd.ms-excel
> > 
> >
> > Could you please help in resolving the issue ASAP
> >
> >
> > Thanks
> > Swathi
> >
>


RE: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-13 Thread Jonnalagadda, Swathi (External)
This issue is not resolved yet.  The extension of file is clearly .xls but I 
see content-type in response header is set to text/html. 

Please note that the request initially hits apache2.4 server which is 
redirected to tomcat9 server after successful authentication at siteminder. 

The connection is configured via ajp connector.

Is there a possibility that the apache server is overwriting the content-type 
header in response ?

Please advise.

Thanks
Swathi 

-Original Message-
From: Jonnalagadda, Swathi (External) [mailto:swathi.jonnalaga...@xerox.com] 
Sent: Wednesday, January 13, 2021 1:57 PM
To: Tomcat Users List
Cc: Mark Thomas
Subject: RE: Tomcat server not considering Mime Type - Request urgent help!!

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

Thank you for the email

We could see that when we try to open the xls file separately the browser shows 
dialogue box to save it so it is nothing to do with browser settings

Could you please advise if I am missing out any setting here.

Thanks
Swathi
-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com]
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Pls check http response headers for the request to confirm if it's returning 
proper headers.

Once they are in place then it may be to do with browser settings not 
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
swathi.jonnalaga...@xerox.com> wrote:

> Hi Team
>
> We have an application deployed in tomcat9.0.38 server which generates 
> an xls file dynamically and saves at server end. When we try to access 
> the file using application frontend, it is neither showing up in excel 
> format nor showing up pop up to save the file instead it is showing 
> the content of xls file in xml format directly on the browser.
>
> Below mime type is set both at web.xml of webapplicatio end and as 
> well as Tomcat9038/conf/web.xml
>
> 
> xls
> application/vnd.ms-excel
> 
>
> Could you please help in resolving the issue ASAP
>
>
> Thanks
> Swathi
>


Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-13 Thread Greg Huber
I have found getting browsers to handle objects correctly is problematic 
and needs to be specific to the use case in the html link.




On 13/01/2021 08:27, Jonnalagadda, Swathi (External) wrote:

Thank you for the email

We could see that when we try to open the xls file separately the browser shows 
dialogue box to save it so it is nothing to do with browser settings

Could you please advise if I am missing out any setting here.

Thanks
Swathi
-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com]
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Pls check http response headers for the request to confirm if it's returning 
proper headers.

Once they are in place then it may be to do with browser settings not 
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
swathi.jonnalaga...@xerox.com> wrote:


Hi Team

We have an application deployed in tomcat9.0.38 server which generates
an xls file dynamically and saves at server end. When we try to access
the file using application frontend, it is neither showing up in excel
format nor showing up pop up to save the file instead it is showing
the content of xls file in xml format directly on the browser.

Below mime type is set both at web.xml of webapplicatio end and as
well as Tomcat9038/conf/web.xml


 xls
 application/vnd.ms-excel
 

Could you please help in resolving the issue ASAP


Thanks
Swathi


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



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



RE: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-13 Thread Jonnalagadda, Swathi (External)
Thank you for the email

We could see that when we try to open the xls file separately the browser shows 
dialogue box to save it so it is nothing to do with browser settings

Could you please advise if I am missing out any setting here.

Thanks
Swathi
-Original Message-
From: Mounika Reddy [mailto:spidermai...@gmail.com] 
Sent: Wednesday, January 13, 2021 3:48 AM
To: Tomcat Users List
Cc: Mark Thomas
Subject: Re: Tomcat server not considering Mime Type - Request urgent help!!

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

Pls check http response headers for the request to confirm if it's returning 
proper headers.

Once they are in place then it may be to do with browser settings not 
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) < 
swathi.jonnalaga...@xerox.com> wrote:

> Hi Team
>
> We have an application deployed in tomcat9.0.38 server which generates 
> an xls file dynamically and saves at server end. When we try to access 
> the file using application frontend, it is neither showing up in excel 
> format nor showing up pop up to save the file instead it is showing 
> the content of xls file in xml format directly on the browser.
>
> Below mime type is set both at web.xml of webapplicatio end and as 
> well as Tomcat9038/conf/web.xml
>
> 
> xls
> application/vnd.ms-excel
> 
>
> Could you please help in resolving the issue ASAP
>
>
> Thanks
> Swathi
>


Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-12 Thread Mounika Reddy
Pls check http response headers for the request to confirm if it's
returning proper headers.

Once they are in place then it may be to do with browser settings not
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:

> Hi Team
>
> We have an application deployed in tomcat9.0.38 server which generates an
> xls file dynamically and saves at server end. When we try to access the
> file using application frontend, it is neither showing up in excel format
> nor showing up pop up to save the file instead it is showing the content of
> xls file in xml format directly on the browser.
>
> Below mime type is set both at web.xml of webapplicatio end and as well as
> Tomcat9038/conf/web.xml
>
> 
> xls
> application/vnd.ms-excel
> 
>
> Could you please help in resolving the issue ASAP
>
>
> Thanks
> Swathi
>


Tomcat server not considering Mime Type - Request urgent help!!

2021-01-12 Thread Jonnalagadda, Swathi (External)
Hi Team

We have an application deployed in tomcat9.0.38 server which generates an xls 
file dynamically and saves at server end. When we try to access the file using 
application frontend, it is neither showing up in excel format  nor showing up 
pop up to save the file instead it is showing the content of xls file in xml 
format directly on the browser.

Below mime type is set both at web.xml of webapplicatio end and as well as 
Tomcat9038/conf/web.xml


xls
application/vnd.ms-excel


Could you please help in resolving the issue ASAP


Thanks
Swathi


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

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=DwMFAg=iYwH3J27U_MBSsOvqcb8y8L0YvDEWvwF8fJyvC56xZM=skIkIH_QXTEZR3BEt6FeRMjoXQbfmE83b8AyfPxh3nc=RtRGesgJFKJSzkQpps0V7Rj-UV6ePw4JttXM-XZRBMY=V6hxOfmjky_Qc47PSvHv8wYAdZFW03iL39cyDN_ZRVI=>

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<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.


Urgent help tomcat 9 and https 8443

2020-03-12 Thread Siva.Saravanamuthu
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: Two Way authentication - Urgent Help

2014-06-16 Thread Grip In
Hi,

Yes the problem got fixed the spelling of truststorefile was truststoreFile
and truststorepass was truststorePass.

Looks fixed for now!


On Mon, Jun 16, 2014 at 5:20 AM, Dino Ciuffetti d...@tuxweb.it wrote:

 Already imported your client.p12 into firefox?

 http://www.utexas.edu/its/help/user-certs/817

 Il 16/giu/2014 00:22 Grip In gripic...@gmail.com ha scritto:
 
  Getting
 
  An error occurred during a connection to localhost:8443.
  SSL peer cannot verify your certificate.
  (Error code: ssl_error_bad_cert_alert)
 
  In firefox on windows 7 with tomcat 7
 
  Here is what I did as per
 
 http://tomcat.10.x6.nabble.com/tomcat-mutual-authentication-doesn-t-work-td2133404.html#a5018750
 
  1. keytool.exe -genkeypair -keystore tomcat.keystore
 
  2. keytool.exe  -genkeypair -keystore client.keystore
 
  3a. keytool.exe  -exportcert -keystore client.keystore -file
 client.cert
 
  3b. keytool.exe  -importcert -keystore server.truststore -file
 client.cert
 
  4. keytool.exe  -importkeystore -srckeystore client.keystore
  -srcstoretype jks  -destkeystore client.p12 -deststoretype pkcs12
 
  keytool.exe  -list -keystore tomcat.keystore
  Enter keystore password:
 
  Keystore type: JKS
  Keystore provider: SUN
 
  Your keystore contains 1 entry
 
  mykey, Jun 16, 2014, PrivateKeyEntry,
  Certificate fingerprint (SHA1):
  E7:5E:F8:1F:BC:24:96:E2:D6:87:BF:3A:94:CD:53:14:C6:0E:A6:A5
 
  keytool.exe  -list -keystore server.truststore
  Enter keystore password:
 
  Keystore type: JKS
  Keystore provider: SUN
 
  Your keystore contains 1 entry
 
  mykey, Jun 16, 2014, trustedCertEntry,
  Certificate fingerprint (SHA1):
  81:C9:BF:20:E9:D8:18:7E:E5:F7:54:B1:68:0B:00:65:DB:13:8E:52
 
 
  My server.xml enteries are
 
  Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
  keystoreFile=path\tomcat.keystore keystorePass=tomcat
  truststorefile=path\server.truststore truststorepass=client
  maxThreads=1500 scheme=https secure=true clientAuth=true
  sslProtocol=TLS /
 
  My tomcat user enteries are
 
  user username=CN=Server, OU=Gripic, O=TechnoPotence, L=Pune, ST=MH,
 C=IN
  password=null roles=admin/
 
 
  But could not get the resolution
 
  Please help urgent.



Two Way authentication - Urgent Help

2014-06-15 Thread Grip In
Getting

An error occurred during a connection to localhost:8443.
SSL peer cannot verify your certificate.
 (Error code: ssl_error_bad_cert_alert)

In firefox on windows 7 with tomcat 7

Here is what I did as per
http://tomcat.10.x6.nabble.com/tomcat-mutual-authentication-doesn-t-work-td2133404.html#a5018750

1. keytool.exe -genkeypair -keystore tomcat.keystore

2. keytool.exe  -genkeypair -keystore client.keystore

3a. keytool.exe  -exportcert -keystore client.keystore -file client.cert

3b. keytool.exe  -importcert -keystore server.truststore -file client.cert

4. keytool.exe  -importkeystore -srckeystore client.keystore
-srcstoretype jks  -destkeystore client.p12 -deststoretype pkcs12

keytool.exe  -list -keystore tomcat.keystore
Enter keystore password:

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

mykey, Jun 16, 2014, PrivateKeyEntry,
Certificate fingerprint (SHA1):
E7:5E:F8:1F:BC:24:96:E2:D6:87:BF:3A:94:CD:53:14:C6:0E:A6:A5

keytool.exe  -list -keystore server.truststore
Enter keystore password:

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

mykey, Jun 16, 2014, trustedCertEntry,
Certificate fingerprint (SHA1):
81:C9:BF:20:E9:D8:18:7E:E5:F7:54:B1:68:0B:00:65:DB:13:8E:52


My server.xml enteries are

Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
keystoreFile=path\tomcat.keystore keystorePass=tomcat
truststorefile=path\server.truststore truststorepass=client
maxThreads=1500 scheme=https secure=true clientAuth=true
sslProtocol=TLS /

My tomcat user enteries are

user username=CN=Server, OU=Gripic, O=TechnoPotence, L=Pune, ST=MH, C=IN
password=null roles=admin/


But could not get the resolution

Please help urgent.


Re: Two Way authentication - Urgent Help

2014-06-15 Thread Dino Ciuffetti
Already imported your client.p12 into firefox?

http://www.utexas.edu/its/help/user-certs/817

Il 16/giu/2014 00:22 Grip In gripic...@gmail.com ha scritto:

 Getting 

 An error occurred during a connection to localhost:8443. 
 SSL peer cannot verify your certificate. 
 (Error code: ssl_error_bad_cert_alert) 

 In firefox on windows 7 with tomcat 7 

 Here is what I did as per 
 http://tomcat.10.x6.nabble.com/tomcat-mutual-authentication-doesn-t-work-td2133404.html#a5018750
  

 1. keytool.exe -genkeypair -keystore tomcat.keystore 

 2. keytool.exe  -genkeypair -keystore client.keystore 

 3a. keytool.exe  -exportcert -keystore client.keystore -file client.cert 

 3b. keytool.exe  -importcert -keystore server.truststore -file client.cert 

 4. keytool.exe  -importkeystore -srckeystore client.keystore 
 -srcstoretype jks  -destkeystore client.p12 -deststoretype pkcs12 

 keytool.exe  -list -keystore tomcat.keystore 
 Enter keystore password: 

 Keystore type: JKS 
 Keystore provider: SUN 

 Your keystore contains 1 entry 

 mykey, Jun 16, 2014, PrivateKeyEntry, 
 Certificate fingerprint (SHA1): 
 E7:5E:F8:1F:BC:24:96:E2:D6:87:BF:3A:94:CD:53:14:C6:0E:A6:A5 

 keytool.exe  -list -keystore server.truststore 
 Enter keystore password: 

 Keystore type: JKS 
 Keystore provider: SUN 

 Your keystore contains 1 entry 

 mykey, Jun 16, 2014, trustedCertEntry, 
 Certificate fingerprint (SHA1): 
 81:C9:BF:20:E9:D8:18:7E:E5:F7:54:B1:68:0B:00:65:DB:13:8E:52 


 My server.xml enteries are 

 Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true 
 keystoreFile=path\tomcat.keystore keystorePass=tomcat 
 truststorefile=path\server.truststore truststorepass=client 
 maxThreads=1500 scheme=https secure=true clientAuth=true 
 sslProtocol=TLS / 

 My tomcat user enteries are 

 user username=CN=Server, OU=Gripic, O=TechnoPotence, L=Pune, ST=MH, C=IN 
 password=null roles=admin/ 


 But could not get the resolution 

 Please help urgent. 


Fwd: Need urgent help - Removing jvmoptions from tomcat service

2014-03-31 Thread Mukul Bhatnagar
-- Forwarded message --
From: Mukul Bhatnagar mukul@gmail.com
Date: Mon, Mar 31, 2014 at 10:59 PM
Subject: Need urgent help - Removing jvmoptions from tomcat service
To: users-h...@tomcat.apache.org


Hi all,

I am using tomcat as Windows service for my application. I created JVM
options. lets say -Djava.library some path.
Now everything runs fine and i do see the java properties using the command
line:

tomcat7w.exe //ES//applId

Now, since everything i am doing is in batch script.When i am uninstalling
the service, the JVMoptions donot get deleted. they stay there forever and
on installing/executing the service, the JVMoptions get duplicated.

how do i remove JVMoptions in my script during uninstalltion of tomcat
service, what is the command line for that?

-- 
Warm Regards,
Mukul Bhatnagar



-- 
Warm Regards,
Mukul Bhatnagar


RE: Need urgent help - Removing jvmoptions from tomcat service

2014-03-31 Thread Jeffrey Janner
 -Original Message-
 From: Mukul Bhatnagar [mailto:mukul@gmail.com]
 Sent: Monday, March 31, 2014 12:40 PM
 To: users@tomcat.apache.org
 Subject: Fwd: Need urgent help - Removing jvmoptions from tomcat
 service
 
 -- Forwarded message --
 From: Mukul Bhatnagar mukul@gmail.com
 Date: Mon, Mar 31, 2014 at 10:59 PM
 Subject: Need urgent help - Removing jvmoptions from tomcat service
 To: users-h...@tomcat.apache.org
 
 
 Hi all,
 
 I am using tomcat as Windows service for my application. I created JVM
 options. lets say -Djava.library some path.
 Now everything runs fine and i do see the java properties using the
 command
 line:
 
 tomcat7w.exe //ES//applId
 
 Now, since everything i am doing is in batch script.When i am
 uninstalling the service, the JVMoptions donot get deleted. they stay
 there forever and on installing/executing the service, the JVMoptions
 get duplicated.
 
 how do i remove JVMoptions in my script during uninstalltion of tomcat
 service, what is the command line for that?
 
 --
 Warm Regards,
 Mukul Bhatnagar
 

How are you installing/uninstalling the service/options?
Normally, the recommending way of working with the windows service runner (aka 
Apache Commons Daemon) will uninstall any added/changed options.
Perhaps reading the documentation on ACD will give you some insight.


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



Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread abhishek jain
Dear friends,
I have a website in Struts 1.2 and i want to install another Struts
application made by me, in a subfolder of the website. I don't know will
this work,
Both are struts 1.2 applications.
I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

I think one of the possible sol might be mapping the location tag in
httpd.conf to diff webapp , i dont know how to do so.

Pl. help,
-- 
Thanks and kind Regards,
Abhishek jain


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Paweł Zuzelski
No, it is not „Urgent” for anyone but you. If you one it to be
urgent for anyone else, pay for it :)

 Dear friends,
 I have a website in Struts 1.2 and i want to install another Struts
 application made by me, in a subfolder of the website. I don't know will
 this work,
 Both are struts 1.2 applications.
 I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

I would define context of these applications explicite in Catalina
config. I mean:

unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

then create files

(home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml
(home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

app.xml should be something like:
?xml version=1.0 encoding=UTF-8?
Context path=/app docBase=/usr/local/share/app1 privileged=false 
allowLinking=true
/Context

app#subapp.xml:
?xml version=1.0 encoding=UTF-8?
Context path=/app/subapp docBase=/usr/local/share/app2 privileged=false 
allowLinking=true
/Context

Note that “path” attribute must match xml context file name (note:
'/' becomes '#' in filename)

Hope it helps.

 I think one of the possible sol might be mapping the location tag in
 httpd.conf to diff webapp , i dont know how to do so.

IMO it's better to configure it at tomcat level.

-- 
Regards,
Paweł Zuzelski

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



Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread abhishek jain
hi
thanks for the email,
but the path is like
  /usr/local/share/apps

and for the second application:

  /usr/local/share/apps/app2

i mean it is a subfolder.

will this still work?

2010/6/25 Paweł Zuzelski z...@xatka.net

 No, it is not „Urgent” for anyone but you. If you one it to be
 urgent for anyone else, pay for it :)

  Dear friends,
  I have a website in Struts 1.2 and i want to install another Struts
  application made by me, in a subfolder of the website. I don't know will
  this work,
  Both are struts 1.2 applications.
  I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

 I would define context of these applications explicite in Catalina
 config. I mean:

 unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

 then create files

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context

 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context

 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

 Hope it helps.


-- 
Thanks and kind Regards,
Abhishek jain


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread abhishek jain
On Fri, Jun 25, 2010 at 4:16 PM, abhishek jain
abhishek.netj...@gmail.comwrote:

 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 sorry i think you are right i will give it a try.
please , ignore previous email.


 will this still work?

 2010/6/25 Paweł Zuzelski z...@xatka.net

 No, it is not „Urgent” for anyone but you. If you one it to be
 urgent for anyone else, pay for it :)

  Dear friends,
  I have a website in Struts 1.2 and i want to install another Struts
  application made by me, in a subfolder of the website. I don't know will
  this work,
  Both are struts 1.2 applications.
  I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

 I would define context of these applications explicite in Catalina
 config. I mean:

 unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

 then create files

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context

 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context

 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

 Hope it helps.





Please ignore previous email
- abhi


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Pid
On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps
 
 and for the second application:
 
   /usr/local/share/apps/app2
 
 i mean it is a subfolder.
 
 will this still work?

Depends which Tomcat version you actually have.  I don't think
multilevel paths are supported in 5.0.n, (but I might be wrong).


p

 2010/6/25 Paweł Zuzelski z...@xatka.net
 
 No, it is not „Urgent” for anyone but you. If you one it to be
 urgent for anyone else, pay for it :)

 Dear friends,
 I have a website in Struts 1.2 and i want to install another Struts
 application made by me, in a subfolder of the website. I don't know will
 this work,
 Both are struts 1.2 applications.
 I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

 I would define context of these applications explicite in Catalina
 config. I mean:

 unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

 then create files

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context

 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context

 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

 Hope it helps.

 




signature.asc
Description: OpenPGP digital signature


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Mark Thomas
On 25/06/2010 11:50, Pid wrote:
 On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 will this still work?
 
 Depends which Tomcat version you actually have.  I don't think
 multilevel paths are supported in 5.0.n, (but I might be wrong).

It isn't (but that doesn't matter). Overlapping values for docBase are
never valid. This configuration cannot work.

Mark

 
 
 p
 
 2010/6/25 Paweł Zuzelski z...@xatka.net

 No, it is not „Urgent” for anyone but you. If you one it to be
 urgent for anyone else, pay for it :)

 Dear friends,
 I have a website in Struts 1.2 and i want to install another Struts
 application made by me, in a subfolder of the website. I don't know will
 this work,
 Both are struts 1.2 applications.
 I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

 I would define context of these applications explicite in Catalina
 config. I mean:

 unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

 then create files

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context

 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context

 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

 Hope it helps.


 
 




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



Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread abhishek jain
On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:

 On 25/06/2010 11:50, Pid wrote:
  On 25/06/2010 11:46, abhishek jain wrote:
  hi
  thanks for the email,
  but the path is like
/usr/local/share/apps
 
  and for the second application:
 
/usr/local/share/apps/app2
 
  i mean it is a subfolder.
 
  will this still work?
 
  Depends which Tomcat version you actually have.  I don't think
  multilevel paths are supported in 5.0.n, (but I might be wrong).

 It isn't (but that doesn't matter). Overlapping values for docBase are
 never valid. This configuration cannot work.


but are the overlapping values of context path valid, ?

- abhi


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Pid
On 25/06/2010 11:56, Mark Thomas wrote:
 On 25/06/2010 11:50, Pid wrote:
 On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 will this still work?

 Depends which Tomcat version you actually have.  I don't think
 multilevel paths are supported in 5.0.n, (but I might be wrong).
 
 It isn't (but that doesn't matter). Overlapping values for docBase are
 never valid. This configuration cannot work.

Ah yes.  Fail.


p


 Mark
 


 p

 2010/6/25 Paweł Zuzelski z...@xatka.net

 No, it is not „Urgent” for anyone but you. If you one it to be
 urgent for anyone else, pay for it :)

 Dear friends,
 I have a website in Struts 1.2 and i want to install another Struts
 application made by me, in a subfolder of the website. I don't know will
 this work,
 Both are struts 1.2 applications.
 I am using apache 2.x and  Tomcat 5, on Cpanel , linux centos 5.5.

 I would define context of these applications explicite in Catalina
 config. I mean:

 unpack your war files into some directories, let say:
   /usr/local/share/app1
   /usr/local/share/app2

 then create files

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app.xml

 (home_of_your_tomcat_installation)/tomcat/conf/Catalina/localhost/app#subapp.xml

 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context

 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context

 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

 Hope it helps.




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




signature.asc
Description: OpenPGP digital signature


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Pid
On 25/06/2010 12:02, abhishek jain wrote:
 On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
 
 On 25/06/2010 11:50, Pid wrote:
 On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 will this still work?

 Depends which Tomcat version you actually have.  I don't think
 multilevel paths are supported in 5.0.n, (but I might be wrong).

 It isn't (but that doesn't matter). Overlapping values for docBase are
 never valid. This configuration cannot work.


 but are the overlapping values of context path valid, ?

Depends on which version of Tomcat you have.
And whether you've configured it correctly.


p

 - abhi
 




signature.asc
Description: OpenPGP digital signature


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Mark Thomas
On 25/06/2010 12:19, Pid wrote:
 On 25/06/2010 12:02, abhishek jain wrote:
 On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:

 On 25/06/2010 11:50, Pid wrote:
 On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 will this still work?

 Depends which Tomcat version you actually have.  I don't think
 multilevel paths are supported in 5.0.n, (but I might be wrong).

 It isn't (but that doesn't matter). Overlapping values for docBase are
 never valid. This configuration cannot work.


 but are the overlapping values of context path valid, ?
 
 Depends on which version of Tomcat you have.

Actually, overlapping context paths are always valid. Consider:
/
and
/docs

 And whether you've configured it correctly.

+1. Especially if you want /my/context/path

Correct varies by version.

Mark



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



Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread abhishek jain
On Fri, Jun 25, 2010 at 4:51 PM, Mark Thomas ma...@apache.org wrote:

 On 25/06/2010 12:19, Pid wrote:
  On 25/06/2010 12:02, abhishek jain wrote:
  On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:
 
  On 25/06/2010 11:50, Pid wrote:
  On 25/06/2010 11:46, abhishek jain wrote:
  hi
  thanks for the email,
  but the path is like
/usr/local/share/apps
 
  and for the second application:
 
/usr/local/share/apps/app2
 
  i mean it is a subfolder.
 
  will this still work?
 
  Depends which Tomcat version you actually have.  I don't think
  multilevel paths are supported in 5.0.n, (but I might be wrong).
 
  It isn't (but that doesn't matter). Overlapping values for docBase are
  never valid. This configuration cannot work.
 
 
  but are the overlapping values of context path valid, ?
 
  Depends on which version of Tomcat you have.

 Actually, overlapping context paths are always valid. Consider:
 /
 and
 /docs

  And whether you've configured it correctly.

 +1. Especially if you want /my/context/path

 Correct varies by version.





I am using tomcat 5.5 and cpanel is configuring it,
but i think for this configuration i will have to go to file server.xml and
add the additional  context path row in the xml , something like:

Host name=xxx appBase=/home/xxx/public_html
  Aliasxxx/Alias
*  Context path= reloadable=true docBase=/x/public_html
debug=1/
  Context path=/subfolder reloadable=true
docBase=//public_html debug=1/
*  Context path=/manager debug=0 privileged=true
  docBase=/usr/local/jakarta/tomcat/server/webapps/manager
  /Context
   /Host

is this the right way?

-- 
Thanks and kind Regards,
Abhishek jain


Re: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Pid
On 25/06/2010 12:27, abhishek jain wrote:
 On Fri, Jun 25, 2010 at 4:51 PM, Mark Thomas ma...@apache.org wrote:
 
 On 25/06/2010 12:19, Pid wrote:
 On 25/06/2010 12:02, abhishek jain wrote:
 On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote:

 On 25/06/2010 11:50, Pid wrote:
 On 25/06/2010 11:46, abhishek jain wrote:
 hi
 thanks for the email,
 but the path is like
   /usr/local/share/apps

 and for the second application:

   /usr/local/share/apps/app2

 i mean it is a subfolder.

 will this still work?

 Depends which Tomcat version you actually have.  I don't think
 multilevel paths are supported in 5.0.n, (but I might be wrong).

 It isn't (but that doesn't matter). Overlapping values for docBase are
 never valid. This configuration cannot work.


 but are the overlapping values of context path valid, ?

 Depends on which version of Tomcat you have.

 Actually, overlapping context paths are always valid. Consider:
 /
 and
 /docs

 And whether you've configured it correctly.

 +1. Especially if you want /my/context/path

 Correct varies by version.


 
 
 
 I am using tomcat 5.5 and cpanel is configuring it,
 but i think for this configuration i will have to go to file server.xml and
 add the additional  context path row in the xml , something like:
 
 Host name=xxx appBase=/home/xxx/public_html

appBase should not equal docBase.

   Aliasxxx/Alias
 *  Context path= reloadable=true docBase=/x/public_html
 debug=1/

see above.

   Context path=/subfolder reloadable=true
 docBase=//public_html debug=1/

That's just the same docBase again.

 *  Context path=/manager debug=0 privileged=true
   docBase=/usr/local/jakarta/tomcat/server/webapps/manager
   /Context
/Host
 
 is this the right way?


Let's start over.

Exactly which version: 5.5.what?

... and which JVM version; also are you using HTTPD  mod_jk in front of
Tomcat - if so, what versions are they?


p






signature.asc
Description: OpenPGP digital signature


RE: Two applications, one in a sub folder - Urgent help needed

2010-06-25 Thread Caldarale, Charles R
 From: Paweł Zuzelski [mailto:z...@xatka.net]
 Subject: Re: Two applications, one in a sub folder - Urgent help needed
 
 app.xml should be something like:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app docBase=/usr/local/share/app1 privileged=false
 allowLinking=true
 /Context
 
 app#subapp.xml:
 ?xml version=1.0 encoding=UTF-8?
 Context path=/app/subapp docBase=/usr/local/share/app2
 privileged=false allowLinking=true
 /Context
 
 Note that “path” attribute must match xml context file name (note:
 '/' becomes '#' in filename)

Actually, the path attribute must be removed - it's not allowed here.  The path 
is derived from the name of the .xml file.

Otherwise, the above configuration is exactly what the OP needs, and seems to 
be studiously avoiding.

 - 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.



Re: refresh bad db connection on tomcat - urgent help

2008-11-04 Thread Flavio Reis

Hi Srinivas,

Have you already solved this problem?
I have the same, an i can`t get the solution.

Regards.


Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Srinivas,
 
 Srinivas Jonnalagadda wrote:
 what is the syntaxt to refresh bad db connection on tomcat -
 context.xml? We are using tomcata 5.5.9 connecting to oracle 10. The
 issue is that our jvm crashed because in the connection pool we had
 bad db connection and it the connections were out of limit. we could
 not detect and it happened in our prod environment. if there is any
 command for that it would be great help.
 
 Just to be clear: you ran out of database connections, or your database
 connections went stale and you just need to replace one connection at a
 time?
 
 If you are getting stale connections, you just need to set a validation
 query in your connection configuration. In your application's
 META-INF/context.xml, you should have a Resource element which defines
 your data source (this may also be in Tomcat's server.xml if you have a
 global data source). Just add
 
 validationQuery=SELECT 1 FROM DUAL
 
 to detect stale connections. The query itself is irrelevant, except that
 it needs to return successfully and you want something that's not going
 to put a load on the server. Some drivers/servers support a 'ping' query
 that is super lightweight (for instance, recent versions of MySQL's
 Connector/J allows a query starting with '/* ping */' to be used as a
 lightweight communications check).
 
 If you are leaking connections from your pool, you should review your
 application for proper try/finally processing of JDBC connections.
 Tomcat's connection pool (which is really commons-dbcpo in disguise) can
 help you find places where connection are being leaked using a few other
 attributes:
 
 logAbandoned=true
 removeAbandoned=true
 removeAbandonedTimeout=30
 
 These settings tell the connection pool that it should keep track of
 where connections are borrowed from the connection pool. If the
 connection hasn't been returned to the pool within
 removeAbandonedTimeout seconds, then the connection will be purged
 from the pool, and a stack trace showing the code that borrowed the
 connection will be dumped into your log.
 
 See http://commons.apache.org/dbcp/configuration.html for more
 information.
 
 Hope that helps,
 - -chris
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkjvcOEACgkQ9CaO5/Lv0PDVWACfTxkUIKm/M6mcGVnFQ9yQjsKe
 RfYAnjnaW8aSH4ZGOJqrg4GAXshyasyk
 =FsRS
 -END PGP SIGNATURE-
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/refresh-bad-db-connection-on-tomcat---urgent-help-tp19919463p20332763.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



refresh bad db connection on tomcat - urgent help

2008-10-10 Thread Srinivas Jonnalagadda
Hi All,

what is the syntaxt to refresh bad db connection on tomcat - context.xml? We 
are using tomcata 5.5.9 connecting to oracle 10. The issue is that our jvm 
crashed because in the connection pool we had bad db connection and it the 
connections were out of limit. we could not detect and it happened in our prod 
environment. if there is any command for that it would be great help.

Thanks,
Srinivas Jonnalagadda

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



Re: refresh bad db connection on tomcat - urgent help

2008-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Srinivas,

Srinivas Jonnalagadda wrote:
 what is the syntaxt to refresh bad db connection on tomcat -
 context.xml? We are using tomcata 5.5.9 connecting to oracle 10. The
 issue is that our jvm crashed because in the connection pool we had
 bad db connection and it the connections were out of limit. we could
 not detect and it happened in our prod environment. if there is any
 command for that it would be great help.

Just to be clear: you ran out of database connections, or your database
connections went stale and you just need to replace one connection at a
time?

If you are getting stale connections, you just need to set a validation
query in your connection configuration. In your application's
META-INF/context.xml, you should have a Resource element which defines
your data source (this may also be in Tomcat's server.xml if you have a
global data source). Just add

validationQuery=SELECT 1 FROM DUAL

to detect stale connections. The query itself is irrelevant, except that
it needs to return successfully and you want something that's not going
to put a load on the server. Some drivers/servers support a 'ping' query
that is super lightweight (for instance, recent versions of MySQL's
Connector/J allows a query starting with '/* ping */' to be used as a
lightweight communications check).

If you are leaking connections from your pool, you should review your
application for proper try/finally processing of JDBC connections.
Tomcat's connection pool (which is really commons-dbcpo in disguise) can
help you find places where connection are being leaked using a few other
attributes:

logAbandoned=true
removeAbandoned=true
removeAbandonedTimeout=30

These settings tell the connection pool that it should keep track of
where connections are borrowed from the connection pool. If the
connection hasn't been returned to the pool within
removeAbandonedTimeout seconds, then the connection will be purged
from the pool, and a stack trace showing the code that borrowed the
connection will be dumped into your log.

See http://commons.apache.org/dbcp/configuration.html for more information.

Hope that helps,
- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjvcOEACgkQ9CaO5/Lv0PDVWACfTxkUIKm/M6mcGVnFQ9yQjsKe
RfYAnjnaW8aSH4ZGOJqrg4GAXshyasyk
=FsRS
-END PGP SIGNATURE-

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



urgent help needed

2007-05-17 Thread bhavik shah

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(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)

2007-05-17 10:38:14 ContextConfig[]: Marking this application unavailable
due to previous error(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 

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.StandardServer.start(Unknown Source)

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

 at 

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 (IP
 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 (IP
 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 (IP
 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 (IP
 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, recoverable operation attempt=0

 [Fri Jul 07 09:59:45 2006] [info]  ajp_service::jk_ajp_common.c (1749):
 

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 (IP
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 (IP
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 (IP
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 (IP
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, 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 (IP
REMOVED: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 

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 (IP
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 (IP
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 (IP
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 (IP
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, 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 (IP
REMOVED: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 

URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-08 Thread Edmon Begoli

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

--
Thank you,
Edmon


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]