RE: Partial commit (Transaction rollback )

2022-10-31 Thread Mohan T
The same piece of code works in tomcat 8.5.  with JDK 8 and Oracle DB 12C.

-Original Message-
From: Rob Sargent 
Sent: 31 October 2022 18:05
To: users@tomcat.apache.org
Subject: Re: Partial commit (Transaction rollback )

RAMCO Security WARNING: This is an external email. Do not click links or open 
attachments unless you recognize the sender and know the content is safe



On 10/30/22 23:42, Mohan T wrote:
> Dear All,
>
> We are using the Tomcat with the following combination.
>
> We are facing partial commit  (Transaction is not getting rolled back).
>
> App Server   Apache tomcat server: apache-tomcat- 9.0.65.0
> JDK version  openjdk version "11.0.16" 2022-07-19 LTS 
> OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el7openjdkportable) (build 
> 11.0.16+8-LTS)
> OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el7openjdkportable) (build 
> 11.0.16+8-LTS, mixed mode)
> Database  Oracle Database 19c Standard Edition 2 
> Release 19.0.0.0.0 - Production
> Operating System   Red Hat Enterprise Linux release 8.6 (Ootpa)
>
> How to identify / overcome this issue.

What indication do  you have that this is a Tomcat issue?


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


Partial commit (Transaction rollback )

2022-10-30 Thread Mohan T
Dear All,

We are using the Tomcat with the following combination.

We are facing partial commit  (Transaction is not getting rolled back).

App Server   Apache tomcat server: apache-tomcat- 9.0.65.0
JDK version  openjdk version "11.0.16" 2022-07-19 LTS 
OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el7openjdkportable) (build 
11.0.16+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el7openjdkportable) (build 
11.0.16+8-LTS, mixed mode)
Database  Oracle Database 19c Standard Edition 2 
Release 19.0.0.0.0 - Production
Operating System   Red Hat Enterprise Linux release 8.6 (Ootpa)

How to identify / overcome this issue.

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


Error during rollback

2022-10-12 Thread Mohan T
Hi,

We are using tomcat


apache-tomcat- 9.0.65.0 on  Red Hat Enterprise Linux release 8.6 (Ootpa)



We are hitting the below error and transaction is not getting rolled back.



java.sql.SQLException: PooledConnection has already been closed.
at 
org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:87)
at com.sun.proxy.$Proxy5.rollback(Unknown Source)



Any inputs on this would be helpful



Thanks



Mohan

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.


Difference between versions

2022-08-20 Thread Mohan T
Dear All,

Just want to know if there are any major differences between the below tomcat 
versions.

Server version
Apache Tomcat/8.5.35

Server built:
Nov 3 2018 17:39:20 UTC
unknown
Server number:
8.5.35.0
8.5.x
Status
Working fine
Error
Error message
No error message .
[AD Thread Pool-Global1] 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
Illegal access: this web application instance has been stopped already. Could 
not load [org.springframework.context.ApplicationContextInitializer]. The 
following stack trace is thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance 
has been stopped already. Could not load 
[org.springframework.context.ApplicationContextInitializer]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access



When we deploy a application it throws error. Is there any reason because of 
the tomcat version.

Thanks

Mohan












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.


RE: Issue in tomcat start

2022-08-17 Thread Mohan T
Hi,

In one of the logs I could see the below error message .

org.apache.catalina.core.ApplicationContext.log No Spring 
WebApplicationInitializer types detected on classpath

Thanks

Mohan

-Original Message-
From: Shekhar Naidu 
Sent: 18 August 2022 10:15
To: Tomcat Users List 
Subject: Re: Issue in tomcat start

RAMCO Security WARNING: This is an external email. Do not click links or open 
attachments unless you recognize the sender and know the content is safe



Did you check all other logs to see if there is additional trace available?

Thanks
Shekar
On Wed, Aug 17, 2022 at 11:36 PM Mohan T  wrote:

> Dear All,
>
> We are using tomcat 8.5 on suse linux.
>
> We have two environments where in one the issue tomcat starts without
> any errors and in thro there is issue while starting.
>
> Working
> Not working
> Server number: 8.5.35.0
> OS Name:   Windows 10
> OS Version:10.0
> Architecture:  amd64
> JVM Version:   1.8.0_241-b07
> JVM Vendor:Oracle Corporation
> Server number: 8.5.x
> OS Name:   Linux
> OS Version:3.10.0-1160.66.1.el7.x86_64
> Architecture:  amd64
> Java Home: /local/web/java/jre1.8.0_162
> JVM Version:   1.8.0_162-b12
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["http-nio-8090"]
> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
> shared selector for servlet write/read
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["ajp-nio-8020"]
> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
> shared selector for servlet write/read
> org.apache.catalina.startup.Catalina.load Initialization processed in
> 755 ms org.apache.catalina.core.StandardService.startInternal Starting
> service [Catalina]
> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
> Engine: Apache Tomcat/8.5.35
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["https-jsse-nio2-169.21.198.159-8082"]
> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
> Engine: Apache Tomcat/8.5.35
> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
> Engine:
> c.r.saml.samldemo.ServletInitializer : Starting ServletInitializer
> v0.0.1-SNAPSHOT using Java 1.8.0_241 on
> c.r.saml.samldemo.ServletInitializer : No active profile set, falling
> back to 1 default profile: "default"
> w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext:
> initialization completed in 819 ms
> [AD Thread Pool-Global1]
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResource
> Loading Illegal access: this web application instance has been stopped
> already.
> Could not load [org.springframework.context.ApplicationContextInitializer].
> The following stack trace is thrown for debugging purposes as well as
> to attempt to terminate the thread which caused the illegal access.
> java.lang.IllegalStateException: Illegal access: this web application
> instance has been stopped already. Could not load
> [org.springframework.context.ApplicationContextInitializer]. The
> following stack trace is thrown for debugging purposes as well as to
> attempt to terminate the thread which caused the illegal access.
>   at
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>   at
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>   at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
>   at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>
> Some of the observations.
>
>
>   1.  In not working there seems to only one port that opens up. The
> ajp port information is not there .
>
> Any inputs on this  would be  of great help as we have not are
> clueless on to why the same set of artifacts works in one server and
> not in other
>
> Kindly help.
>
> Thanks
>
> Mohan
> 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

Issue in tomcat start

2022-08-17 Thread Mohan T
Dear All,

We are using tomcat 8.5 on suse linux.

We have two environments where in one the issue tomcat starts without any 
errors and in thro there is issue while starting.

Working
Not working
Server number: 8.5.35.0
OS Name:   Windows 10
OS Version:10.0
Architecture:  amd64
JVM Version:   1.8.0_241-b07
JVM Vendor:Oracle Corporation
Server number: 8.5.x
OS Name:   Linux
OS Version:3.10.0-1160.66.1.el7.x86_64
Architecture:  amd64
Java Home: /local/web/java/jre1.8.0_162
JVM Version:   1.8.0_162-b12
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["http-nio-8090"]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared 
selector for servlet write/read
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["ajp-nio-8020"]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared 
selector for servlet write/read
org.apache.catalina.startup.Catalina.load Initialization processed in 755 ms
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["https-jsse-nio2-169.21.198.159-8082"]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
c.r.saml.samldemo.ServletInitializer : Starting ServletInitializer 
v0.0.1-SNAPSHOT using Java 1.8.0_241 on
c.r.saml.samldemo.ServletInitializer : No active profile set, falling back 
to 1 default profile: "default"
w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: 
initialization completed in 819 ms
[AD Thread Pool-Global1] 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
Illegal access: this web application instance has been stopped already. Could 
not load [org.springframework.context.ApplicationContextInitializer]. The 
following stack trace is thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance 
has been stopped already. Could not load 
[org.springframework.context.ApplicationContextInitializer]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
  at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
  at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
  at java.lang.Class.getDeclaredMethods0(Native Method)

Some of the observations.


  1.  In not working there seems to only one port that opens up. The ajp port 
information is not there .

Any inputs on this  would be  of great help as we have not are clueless on to 
why the same set of artifacts works in one server and not in other

Kindly help.

Thanks

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


RE: Getting error on Tomcat Start

2022-08-17 Thread Mohan T
.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.
17-Aug-2022 09:37:53.020 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application 
archive [F:\softwares\apache-tomcat-8.5.35\webapps\samldemo-0.0.1-SNAPSHOT.war] 
has finished in [5,956] ms
17-Aug-2022 09:37:53.027 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\docs]
17-Aug-2022 09:37:53.061 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\docs] has 
finished in [34] ms
17-Aug-2022 09:37:53.063 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\examples]
17-Aug-2022 09:37:53.259 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\examples] has 
finished in [196] ms
17-Aug-2022 09:37:53.260 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\host-manager]
17-Aug-2022 09:37:53.284 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\host-manager] 
has finished in [24] ms
17-Aug-2022 09:37:53.285 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\manager]
17-Aug-2022 09:37:53.313 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [F:\softwares\apache-tomcat-8.5.35\webapps\manager] has 
finished in [28] ms
17-Aug-2022 09:37:53.369 INFO [main] org.apache.coyote.AbstractProtocol.start 
Starting ProtocolHandler ["http-nio-8090"]
17-Aug-2022 09:37:53.389 INFO [main] org.apache.coyote.AbstractProtocol.start 
Starting ProtocolHandler ["ajp-nio-8020"]
17-Aug-2022 09:37:53.394 INFO [main] org.apache.catalina.startup.Catalina.start 
Server startup in 21570 ms
2

Thanks

Mohan


-Original Message-
From: Thomas Meyer 
Sent: 17 August 2022 14:53
To: Tomcat Users List ; Mohan T 

Subject: RE: Getting error on Tomcat Start

RAMCO Security WARNING: This is an external email. Do not click links or open 
attachments unless you recognize the sender and know the content is safe



Hi,


Sadly this still does not contain the stacktrace which shows why you servlet 
crashes, probably some missing bean in spring framework.

All below stacktraces seems to come from AppDynamics java agents which tries to 
load classes from webapo class loader after your webapp was already stopped. 
This is probably a bug in AppDynamics java agents.

Anyway this very much looks like an application problem and not a Tomcat 
problem.

Mfg
Thomas

Am 17. August 2022 10:48:17 MESZ schrieb Mohan T :
>Dear Thomas,
>
>See below the full stack
>
>-Aug-2022 21:43:35.731 INFO [main] org.apache.coyote.AbstractProtocol.start 
>Starting ProtocolHandler ["https-jsse-nio2-169.21.198.159-8082"]
>16-Aug-2022 21:43:35.733 INFO [main] 
>org.apache.catalina.startup.Catalina.start Server startup in 182478 ms
>16-Aug-2022 21:43:44.725 INFO [AD Thread Pool-Global1] 
>org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
>Illegal access: this web application instance has been stopped already. Could 
>not load [org.springframework.context.ApplicationContextInitializer]. The 
>following stack trace is thrown for debugging purposes as well as to attempt 
>to terminate the thread which caused the illegal access.
> java.lang.IllegalStateException: Illegal access: this web application 
> instance has been stopped already. Could not load 
> [org.springframework.context.ApplicationContextInitializer]. The following 
> stack trace is thrown for debugging purposes as well as to attempt to 
> terminate the thread which caused the illegal access.
>at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
>at 
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)
>at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(Webapp

RE: Getting error on Tomcat Start

2022-08-17 Thread Mohan T
n external email. Do not click links or open 
attachments unless you recognize the sender and know the content is safe



Hello Mohan,
Could you paste the whole stack trace please?
Even if spring stacks are usually quite long...

Von: Mohan T 
Gesendet: Dienstag, 16. August 2022 19:08:33
An: Tomcat Users List
Betreff: Getting error on Tomcat Start

Dear All,

We are using tomcat 8.5 on suselinux

We are getting the below error message on tomcat starting.

Any ideas would help me to move forward .


16-Aug-2022 21:43:44.725 INFO [AD Thread Pool-Global1] 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
Illegal access: this web application instance has been stopped already. Could 
not load [org.springframework.context.ApplicationContextInitializer]. The 
following stack trace is thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance 
has been stopped already. Could not load 
[org.springframework.context.ApplicationContextInitializer]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)

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


Getting error on Tomcat Start

2022-08-16 Thread Mohan T
Dear All,

We are using tomcat 8.5 on suselinux

We are getting the below error message on tomcat starting.

Any ideas would help me to move forward .


16-Aug-2022 21:43:44.725 INFO [AD Thread Pool-Global1] 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading 
Illegal access: this web application instance has been stopped already. Could 
not load [org.springframework.context.ApplicationContextInitializer]. The 
following stack trace is thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance 
has been stopped already. Could not load 
[org.springframework.context.ApplicationContextInitializer]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1348)
  at 
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1336)

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


RE: Error during startup

2022-08-08 Thread Mohan T
Agent Registration Info Resolver reading environment 
variable/system property

-Original Message-
From: Han Li 
Sent: 04 August 2022 12:23
To: Tomcat Users List 
Subject: Re: Error during startup

RAMCO Security WARNING: This is an external email. Do not click links or open 
attachments unless you recognize the sender and know the content is safe



在 2022年8月4日星期四,Mohan T  写道:

> Hi,
>
> Thanks for the response.
>
> How to identify the "grant" section
>
> Below is the contents of the file.
>
> Quote
>
> // Licensed to the Apache Softwarse Foundation (ASF) under one or more
> // contributor license agreements.  See the NOTICE file distributed with
> // this work for additional information regarding copyright ownership.
> // The ASF licenses this file to You under the Apache License, Version 2.0
> // (the "License"); you may not use this file except in compliance with
> // the License.  You may obtain a copy of the License at
> //
> // 
> https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache.org%2Flicenses%2FLICENSE-2.0&data=05%7C01%7CMohan.T%40ramco.com%7C61c08c2668684cce7e6808da75e5f71c%7C75f8ca7fffca4bf8a4d28a83d0d6e896%7C0%7C0%7C637951927858105370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wwzNgOsrwPtKoras2043OaHeBTPP8g%2Fo4d14Z85aRGk%3D&reserved=0
> //
> // Unless required by applicable law or agreed to in writing, software
> // distributed under the License is distributed on an "AS IS" BASIS,
> // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> // See the License for the specific language governing permissions and
> // limitations under the License.
>
> // 
> 
> // catalina.policy - Security Policy Permissions for Tomcat
> //
> // This file contains a default set of security policies to be enforced
> (by the
> // JVM) when Catalina is executed with the "-security" option.  In addition
> // to the permissions granted here, the following additional permissions
> are
> // granted to each web application:
> //
> // * Read access to the web application's document root directory
> // * Read, write and delete access to the web application's working
> directory
> // 
> 
>
>
> // == SYSTEM CODE PERMISSIONS ==
> ===
>
>
> // These permissions apply to javac
> grant codeBase "file:${java.home}/lib/-" {
> permission java.security.AllPermission;
> };
>
> // These permissions apply to all shared system extensions
> grant codeBase "file:${java.home}/jre/lib/ext/-" {
> permission java.security.AllPermission;
> };
>
> // These permissions apply to javac when ${java.home] points at
> $JAVA_HOME/jre
> grant codeBase "file:${java.home}/../lib/-" {
> permission java.security.AllPermission;
> };
>
> // These permissions apply to all shared system extensions when
> // ${java.home} points at $JAVA_HOME/jre
> grant codeBase "file:${java.home}/lib/ext/-" {
> permission java.security.AllPermission;
> };
>
>
> // == CATALINA CODE PERMISSIONS ==
> =
> grant codeBase "file:/home/ilas/rvwhome_tech/-" {
>// permission java.security.AllPermission;
> permission java.io.FilePermission "/home/ilas/rvwhome_tech/-",
> "read,write";
> permission java.io.FilePermission 
> "/home/ilas/rvwhome_tech/RVWJAdmin.conf",
> "read,write";
> permission java.io.FilePermission "/home/ilas/rvwhome_tech/
> ExportExcel/GridExport12.xlsm", "read,write";
> permission java.io.FilePermission 
> "/home/ilas/rvwhome_tech/config/cache.ccf",
> "read,write";
> permission java.io.FilePermission "<>","read";
>
> };
>
> grant codeBase "file:/home/ilas/rvwhome_tech/ExportExcel/-"{
> //permission java.security.AllPermission;
> permission java.io.FilePermission "/home/ilas/rvwhome_tech/
> ExportExcel/GridExport12.xlsm", "read,write";
> };
>
>
>
>
>
>
>
>
>
>
>
> // These permissions apply to the daemon code
> grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
> permission java.security.AllPermission;
> };
>
> // These permissions apply to the logging API
> // Note: If tomcat-juli.jar is in ${catalina.base} and not

Request For suggestion

2022-08-07 Thread Mohan T
Dear All,

We are getting this error on launch of a url in browser.

We are using tomcat 8.5 on suse linux. 7. We are using JDK 1.8.

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Any inputs on this will be of great help

Thanks

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


Error during startup

2022-08-03 Thread Mohan T
Dear All,

We are using tomcat 8.5 on suse linux 7.

We are invoking Catalina.sh in java security enabled mode.

Kindly help me in resolving this .

Thanks

Mohan

Exception:
Error in Full Agent Registration Info Resolver reading environment 
variable/system property
java.security.AccessControlException: access denied 
("java.lang.RuntimePermission" "getenv.")
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at 
java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.System.getenv(System.java:894)

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.


Error While importing certificate into keystore

2022-06-28 Thread Mohan T
Dear All.

I am trying top import the certificate into keystore and encountered the below 
error.

Would appreciate if you could throw some light on this

$ keytool -importkeystore -srckeystore /home/ilas/Downloads/okta.cert 
-srcstoretype pkcs12 -destkeystore /home/ilas/Downloads/keystore.jks 
-deststoretype JKS
Importing keystore /home/ilas/Downloads/okta.cert to 
/home/ilas/Downloads/keystore.jks...
Enter destination keystore password:
Enter source keystore password:
keytool error: java.io.IOException: toDerInputStream rejects tag type 45

Attaching the  certificate for reference.

Thanks

Mohan
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

Help Needed

2022-06-26 Thread Mohan T
Dear All,

We have deployed a application in tomcat 8.5  and  while accessing

http://sebswarcnv08.ramco:8081/samldemo-0.0.1-SNAPSHOT/hello

Error retrieving metadata from 
https://dev-67198606.okta.com/app/exk5htsyx3S4UcaHA5d7/sso/saml/metadata
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

Kindly  help us in overcoming thie.

Thanks

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


Help needed reg Context

2021-10-13 Thread Mohan T
Dear All,

We are using Tomcat 8.5 on Suse linix.

We are deploying one of our artifacts as below

hub#app#classic#admin.war

The components are also deployed and the context is also created Successfully.

Is there any other alternative way to set the context other than using # .

[cid:image001.png@01D7C063.1175FF40]

Please guide us.

Thanks

Mohan


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.


Exception in Log files

2021-09-06 Thread Mohan T
Hi,

We could see the below exception in log files .

java.io.FileNotFoundException:  apache-tomcat-8.5.35/lib/commons-cli.jar (No 
such file or directory)
The file is not there in that location.

How to get rid of this exception

Thanks in advance

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


RE: Help Needed

2021-08-08 Thread Mohan T
Hi,

There is no specific upgrade to the environment .

We are introducing new components and the permission is being set for them in 
catalina.policy file.

Attaching the Catalina.policy file for reference.

openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)

Thanks

Mohan

From: Mohan T
Sent: 07 August 2021 08:00
To: 'Tomcat Users List' 
Subject: RE: Help Needed

Dear All,

Any inputs on this. We are not getting a break in this.

Kindly help us in taking things forward.

Thanks

Mohan

From: Mohan T
Sent: 06 August 2021 09:21
To: Tomcat Users List mailto:users@tomcat.apache.org>>
Subject: Help Needed

Dear All,

We are using Tomcat 8.5 on Suse LINUX.

We enabled JAvA security in  tomcat and invoking the Catalina.sh. We are facing 
some permission issues in the environment.

We could see the below error messages.

access: access allowed ("java.util.logging.LoggingPermission" "control")
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1336)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:419)
at 
java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.util.logging.LogManager.checkPermission(LogManager.java:1586)
at java.util.logging.Logger.checkPermission(Logger.java:422)
at java.util.logging.Logger.removeHandler(Logger.java:1764)
at 
org.apache.juli.ClassLoaderLogManager.resetLoggers(ClassLoaderLogManager.java:393)
at 
org.apache.juli.ClassLoaderLogManager.shutdown(ClassLoaderLogManager.java:377)
at 
org.apache.juli.ClassLoaderLogManager$Cleaner.run(ClassLoaderLogManager.java:81)
policy: getPermissions:
PD CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )
PD ClassLoader: 
sun.misc.Launcher$AppClassLoader@3d4eac69<mailto:sun.misc.Launcher$AppClassLoader@3d4eac69>
PD Principals: 
policy: evaluate codesources:
Policy CodeSource: (file:/usr/java/jdk1.8.0_162/jre/lib/- )
Active CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )

Thanks

Mohan
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: Help Needed

2021-08-06 Thread Mohan T
Dear All,

Any inputs on this. We are not getting a break in this.

Kindly help us in taking things forward.

Thanks

Mohan

From: Mohan T
Sent: 06 August 2021 09:21
To: Tomcat Users List 
Subject: Help Needed

Dear All,

We are using Tomcat 8.5 on Suse LINUX.

We enabled JAvA security in  tomcat and invoking the Catalina.sh. We are facing 
some permission issues in the environment.

We could see the below error messages.

access: access allowed ("java.util.logging.LoggingPermission" "control")
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1336)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:419)
at 
java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.util.logging.LogManager.checkPermission(LogManager.java:1586)
at java.util.logging.Logger.checkPermission(Logger.java:422)
at java.util.logging.Logger.removeHandler(Logger.java:1764)
at 
org.apache.juli.ClassLoaderLogManager.resetLoggers(ClassLoaderLogManager.java:393)
at 
org.apache.juli.ClassLoaderLogManager.shutdown(ClassLoaderLogManager.java:377)
at 
org.apache.juli.ClassLoaderLogManager$Cleaner.run(ClassLoaderLogManager.java:81)
policy: getPermissions:
PD CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )
PD ClassLoader: 
sun.misc.Launcher$AppClassLoader@3d4eac69<mailto:sun.misc.Launcher$AppClassLoader@3d4eac69>
PD Principals: 
policy: evaluate codesources:
Policy CodeSource: (file:/usr/java/jdk1.8.0_162/jre/lib/- )
Active CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )

Thanks

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


Help Needed

2021-08-05 Thread Mohan T
Dear All,

We are using Tomcat 8.5 on Suse LINUX.

We enabled JAvA security in  tomcat and invoking the Catalina.sh. We are facing 
some permission issues in the environment.

We could see the below error messages.

access: access allowed ("java.util.logging.LoggingPermission" "control")
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1336)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:419)
at 
java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.util.logging.LogManager.checkPermission(LogManager.java:1586)
at java.util.logging.Logger.checkPermission(Logger.java:422)
at java.util.logging.Logger.removeHandler(Logger.java:1764)
at 
org.apache.juli.ClassLoaderLogManager.resetLoggers(ClassLoaderLogManager.java:393)
at 
org.apache.juli.ClassLoaderLogManager.shutdown(ClassLoaderLogManager.java:377)
at 
org.apache.juli.ClassLoaderLogManager$Cleaner.run(ClassLoaderLogManager.java:81)
policy: getPermissions:
PD CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )
PD ClassLoader: sun.misc.Launcher$AppClassLoader@3d4eac69
PD Principals: 
policy: evaluate codesources:
Policy CodeSource: (file:/usr/java/jdk1.8.0_162/jre/lib/- )
Active CodeSource: 
(file:/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/bin/tomcat-juli.jar )

Thanks

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


Request for Help

2021-07-23 Thread Mohan T
Dear All,

We are using tomcat 8.5.35 on SUse Linux.

We are facing a issue while launching the help files.

We deployed the help files in the 
/home/ilas/tomcat8.5_tech/apache-tomcat-8.5.35/webapps/hub#rvwhelp.

The help files are packaged as 
/hub/rvwhelp/implementation/1/Hlprolemaster_rolemaster_1.htm.

When launching the help file through the application the launched help file is 
not in proper format.

It must appear as below. (This is from another environment with different 
application server)

[cid:image001.png@01D78074.6218E7C0]

Whereas it appears as below.

[cid:image002.png@01D78074.6218E7C0]


Any help in sorting this would be great.

Thanks

Mohan



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.


Request for suggestion

2021-07-10 Thread Mohan T
Dear All,

We are using tomcat 8.5 on Suse linux. We would like to know the way to load a 
property file.

I infact put the file in tomcat  / lib folder.

Still I am getting the error

DEBUG 2021-07-11 07:56:15,108 [http-nio-8081-exec-8] 
control.CompositeCacheManager - Instance is null, creating with default config
INFO  2021-07-11 07:56:15,109 [http-nio-8081-exec-8] 
control.CompositeCacheManager - Creating cache manager from config file: 
/cache.ccf
ERROR 2021-07-11 07:56:15,109 [http-nio-8081-exec-8] 
control.CompositeCacheManager - Failed to load properties for name [/cache.ccf]

Thanks in advance .

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


JSESSION ID

2021-07-01 Thread Mohan T
Dear All,

We are using tomcat 8.5.35 on Linux.

We are getting two session ID for the same Http request.. Similar session ID is 
marked in yellow

This is the session ID in startup JSESSIONID=FFE8F98C012CDB4461FC8E68C109298E
This is the session ID in dispatcher 
JSESSIONID=7CAFF4519565D00381DF792E375D241C; 
JSESSIONID=FFE8F98C012CDB4461FC8E68C109298E

Request for any inputs on this

Thanks

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


Issue while launching the applicaion

2021-06-30 Thread Mohan T
Dear All,

I am getting this error while launching the application.

We are using tomcat 8.5.35 on linux .



30-Jun-2021 18:37:16.194 INFO [main] org.apache.coyote.AbstractProtocol.start 
Starting ProtocolHandler ["ajp-nio-8009"]
30-Jun-2021 18:37:16.207 INFO [main] org.apache.catalina.startup.Catalina.start 
Server startup in 17283 ms
Unexpected token END OF FILE at position 0.
at org.json.simple.parser.JSONParser.parse(Unknown Source)
at org.json.simple.parser.JSONParser.parse(Unknown Source)
at org.json.simple.parser.JSONParser.parse(Unknown Source)
at com.ramco.security.servlet.LoadCSS.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Unexpected token END OF FILE at position 0.
at org.json.simple.parser.JSONParser.parse(Unknown Source)
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.


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 Mohan T
Attaching the Catalina.out file also


MY manifest info is as under.

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

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



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

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



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



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

Hi,

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

I am unable to conclude on this.

Kindly guide me.

Thanks

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

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



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



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

Hi,

While starting tomcat, I am getting this error .

Neither the console is starting nor the application is working .

It is tomcat 8.5.35 on linux

Please help

Mohan

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

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

RE: Urgent Help

2021-06-23 Thread 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

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, virus,

RE: Request for suggestion

2021-06-22 Thread Mohan T
Hi



We are accessing the file as per the below url 
http://172.27.8.57:8081/hub/app/classic/security/Logon_ezelogin.json. In chrome 
browser.



The file Logon_ezelogin.json file is available in the path inside 
webapps\hub#app#classic#security.war



See the below deployed structure



Thanks



Mohan





[cid:image001.png@01D7678C.6CEA3650]

















-Original Message-
From: Mark Thomas 
Sent: 22 June 2021 16:27
To: users@tomcat.apache.org
Subject: Re: Request for suggestion



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







On 22/06/2021 11:43, Mohan T wrote:

> Hi,

>

> Thanks for the suggestion.

>

> We agree that .ear cannot be deployed on tomcat .

>

> Our requirement is as under

>

> 1.  We have deployed a binary as  below  in webapps 
> hub#app#classic#security.war



OK.



> 2.  The same is explored and  deployed as   hub#app#classic#security



OK. With the default settings the WAR will be unpacked to a directory for 
performance reasons.



> 3.  Now we are trying to access the file inside 
> /webapps/hub/app/classic/security/.



How, exactly, are you trying to access that file?



> 4.  The war file name is hub#app#classic#security.war



Same as point 1.



> 5.  and context path is hub/app/classic/security.



Strictly, the context path is:

/hub/app/classic/security



The leading "/" is important when you are working with paths in an application 
although I don't think it will be a factor here.



Mark





>

> Kindly suggest how to proceed

>

> Thanks

>

> Mohan

> -Original Message-

> From: Mark Thomas mailto:ma...@apache.org>>

> Sent: 22 June 2021 14:43

> To: users@tomcat.apache.org<mailto:users@tomcat.apache.org>

> Subject: Re: Request for suggestion

>

> 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

>

>

>

> On 22/06/2021 07:40, Mohan T wrote:

>> Hi,

>>

>> We are using tomcat 8.5.35 on RHEL.

>>

>> I  have a .ear file that has a application.xml file in meta-inf folder.  See 
>> below the contents  of the application.xml file .

>>

>>  > "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN"

>> "https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjav

>> a

>> .sun.com%2Fj2ee%2Fdtds%2Fapplication_1_2.dtd&data=04%7C01%7CMohan.

>> T%40ramco.com%7C6b7c563128f94d814b3e08d9355dfcb1%7C75f8ca7fffca4bf8a4

>> d

>> 28a83d0d6e896%7C0%7C0%7C637599500050593410%7CUnknown%7CTWFpbGZsb3d8ey

>> J

>> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C100

>> 0

>> &sdata=9cRF11EhNgwg%2FxPmbM0ybMUttNlsBz3iBhpmld7rNGM%3D&reser

>> v

>> ed=0">

>> 

>> Application WEB RVWJ

>> Application

>> adminWEB.war/hub/app/cl

>> a ssic/admin

>> auditWEB.war/hub/app/cl

>> a ssic/audit

>> deploymentWEB.war/hub/a

>> p p/classic/deployment

>> implementationWEB.war/h

>> u b/app/classic/implementation

>> securityWEB.war/hub/app

>> / classic/security

>> hubWEB.war/hub> -

>> root>

>> daemonWEB.war/hub/app/c

>> l assic/daemon

>> 

>>

>> In each .war file I have the contents of the component along with a web-inf 
>> folder and the web.xml file.  See sample contents of the file of audit 
>> component.

>>

>>  > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

>> "https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjav

>> a

>> .sun.com%2Fdtd%2Fweb-app_2_3.dtd&data=04%7C01%7CMohan.T%40ramco.c

>> o

>> m%7C6b7c563128f94d814b3e08d9355dfcb1%7C75f8ca7fffca4bf8a4d28a83d0d6e8

>> 9

>> 6%7C0%7C0%7C637599500050593410%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj

>> A

>> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=

>> I QDnroJTM2jmjKZECiOPyngjFYyEeWZs6FebcTGXgrs%3D&reserved=0">

>> > id="WebApp_ID">Auditweb.xml

>> for Audit component

>>

>> I am able to deploy individual .war files but the launch page is  not 
>> getting set .

>>

>> My launch page is

>>

>> http:\\localhost:8080\hub

>>

>> Kindly guide on how to deploy (Considering the launching page

>> mentioned above)

>

> You can't. Tomcat 

RE: Request for suggestion

2021-06-22 Thread Mohan T
Hi,

Thanks for the suggestion.

We agree that .ear cannot be deployed on tomcat .

Our requirement is as under

1.  We have deployed a binary as  below  in webapps 
hub#app#classic#security.war.
2.  The same is explored and  deployed as   hub#app#classic#security.
3.  Now we are trying to access the file inside 
/webapps/hub/app/classic/security/.
4.  The war file name is hub#app#classic#security.war
5.  and context path is hub/app/classic/security.

Kindly suggest how to proceed

Thanks

Mohan
-Original Message-
From: Mark Thomas 
Sent: 22 June 2021 14:43
To: users@tomcat.apache.org
Subject: Re: Request for suggestion

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



On 22/06/2021 07:40, Mohan T wrote:
> Hi,
>
> We are using tomcat 8.5.35 on RHEL.
>
> I  have a .ear file that has a application.xml file in meta-inf folder.  See 
> below the contents  of the application.xml file .
>
>   "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN"
> "https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjava
> .sun.com%2Fj2ee%2Fdtds%2Fapplication_1_2.dtd&data=04%7C01%7CMohan.
> T%40ramco.com%7C6b7c563128f94d814b3e08d9355dfcb1%7C75f8ca7fffca4bf8a4d
> 28a83d0d6e896%7C0%7C0%7C637599500050593410%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000
> &sdata=9cRF11EhNgwg%2FxPmbM0ybMUttNlsBz3iBhpmld7rNGM%3D&reserv
> ed=0">
> 
> Application WEB RVWJ
> Application
> adminWEB.war/hub/app/cla
> ssic/admin
> auditWEB.war/hub/app/cla
> ssic/audit
> deploymentWEB.war/hub/ap
> p/classic/deployment
> implementationWEB.war/hu
> b/app/classic/implementation
> securityWEB.war/hub/app/
> classic/security
> hubWEB.war/hub root>
> daemonWEB.war/hub/app/cl
> assic/daemon
> 
>
> In each .war file I have the contents of the component along with a web-inf 
> folder and the web.xml file.  See sample contents of the file of audit 
> component.
>
>   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjava
> .sun.com%2Fdtd%2Fweb-app_2_3.dtd&data=04%7C01%7CMohan.T%40ramco.co
> m%7C6b7c563128f94d814b3e08d9355dfcb1%7C75f8ca7fffca4bf8a4d28a83d0d6e89
> 6%7C0%7C0%7C637599500050593410%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I
> QDnroJTM2jmjKZECiOPyngjFYyEeWZs6FebcTGXgrs%3D&reserved=0">
>  id="WebApp_ID">Auditweb.xml
> for Audit component
>
> I am able to deploy individual .war files but the launch page is  not getting 
> set .
>
> My launch page is
>
> http:\\localhost:8080\hub
>
> Kindly guide on how to deploy (Considering the launching page
> mentioned above)

You can't. Tomcat does not support EARs.

Tomcat also ignores any ... in a WAR file.
As per the Servlet spec, any such setting may be over-ridden by container 
specific configuration and since Tomcat derives the context path from the file 
name it always overrides any 

The process Tomcat uses to determine the context path is documented at:
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftomcat.apache.org%2Ftomcat-8.5-doc%2Fconfig%2Fcontext.html%23Naming&data=04%7C01%7CMohan.T%40ramco.com%7C6b7c563128f94d814b3e08d9355dfcb1%7C75f8ca7fffca4bf8a4d28a83d0d6e896%7C0%7C0%7C637599500050603370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pgn6NvFIiU7tg2X6UTVfsqPCLyMg8xa9JE24ecnNUNI%3D&reserved=0

Mark

-
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/o

Request for suggestion

2021-06-21 Thread Mohan T
Hi,

We are using tomcat 8.5.35 on RHEL.

I  have a .ear file that has a application.xml file in meta-inf folder.  See 
below the contents  of the application.xml file .


http://java.sun.com/j2ee/dtds/application_1_2.dtd";>

Application WEB
RVWJ Application
adminWEB.war/hub/app/classic/admin
auditWEB.war/hub/app/classic/audit
deploymentWEB.war/hub/app/classic/deployment
implementationWEB.war/hub/app/classic/implementation
securityWEB.war/hub/app/classic/security
hubWEB.war/hub
daemonWEB.war/hub/app/classic/daemon


In each .war file I have the contents of the component along with a web-inf 
folder and the web.xml file.  See sample contents of the file of audit 
component.


http://java.sun.com/dtd/web-app_2_3.dtd";>
Auditweb.xml 
for Audit component

I am able to deploy individual .war files but the launch page is  not getting 
set .

My launch page is

http:\\localhost:8080\hub

Kindly guide on how to deploy (Considering the launching page mentioned above)

Thanks

Mohan

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.


Error while setting context in serer.xml

2021-06-18 Thread Mohan T
Dear All,

We are trying to set the context for a web application in tomcat 8.5. in the 
file server.xml.


  

  

It is not considering the path set.

Any changes need to be done for this to take effect ?.

Thanks

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


RE: Issue in unpacking files

2020-09-23 Thread Mohan T
Hi,

I am not able to see any response in the mail received.

Please treat the file name deployed as ems.war and not ems.wzr.

Thanks

Mohan


-Original Message-
From: Martin Grigorov 
Sent: Wednesday, September 23, 2020 6:00 PM
To: Tomcat Users List 
Subject: Re: Issue in unpacking files

Warning : This is an External Email. Check reliability of sender &  email id 
mentioned in ; use 
caution with links and attachments – IMG Team






Hi,

On Wed, Sep 23, 2020 at 3:03 PM Mohan T  wrote:

> Dear All,
>
>
>
> We have two environments where in one the .war file is getting
> extracted and on the other it is not. See the below for your
> reference. The file being deployed is ems.wzr
>
>
>
> We are using apache-tomcat-8.5.35.  Any pointers would be of great help.
>
>
>
> Catalinabase0  - Here it has been correctly deployed -
>
>
>
>
>
> Catalinabase1 – Here it has not been deployed correctly -
>
>
>
>

The mailing list server does not allow embedded images.
Please use some image pastebin service.
Or if this is plain text then better just copy/paste it.


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



Issue in unpacking files

2020-09-23 Thread Mohan T
Dear All,

We have two environments where in one the .war file is getting extracted and on 
the other it is not. See the below for your reference. The file being deployed 
is ems.wzr


We are using apache-tomcat-8.5.35.  Any pointers would be of great help.

Catalinabase0  - Here it has been correctly deployed -
[cid:image001.png@01D691CF.3AD650B0]

[cid:image002.png@01D691CF.3AD650B0]

Catalinabase1 - Here it has not been deployed correctly -
[cid:image003.png@01D691CF.3AD650B0]

[cid:image004.png@01D691CF.3AD650B0]



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.


RE: Request for Help

2020-07-29 Thread Mohan T
This is build using cruise control .  We have a similar environment wherein 
this deliverable is working fine without any error. We too k the deliverable 
from the working environment and moved to the new environment and started the 
tomcat.



-Original Message-
From: James Moliere 
Sent: Wednesday, July 29, 2020 7:53 PM
To: Tomcat Users List 
Subject: Re: Request for Help

Is the war file being built with maven? ...gradle?  ...or using Eclipse?

James

On Tue, Jul 28, 2020 at 9:34 PM Mohan T  wrote:

> Dear All,
>
>
>
> In one of the  environments we are using apache-tomcat-8.5.35.
>
>
>
> On server start we are getting this exception
>
> org.apache.catalina.core 28-Jul-2020 13:46:13.407 SEVERE
> [localhost-startStop-1]
> org.apache.catalina.core.StandardContext.loadOnStartup Servlet
> [RVW_Banner] in web application [/security] threw load() exception
>
> java.lang.NoSuchMethodError:org.eclipse.jdt.internal.compiler.Compiler.(Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Lorg/eclipse/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/internal/compiler/ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
> at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:
> 480)
>
> Any inputs to overcome this could help us in this.
>
> Thanks
>
> Mohan
>
>
>
> 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.
>


--
---v---v---v---v---v---v---v---
James Moliere
james.moli...@j2.com
---v---v---v---v---v---v---v---

--


This email, its contents and attachments contain information from J2 Global, 
Inc. and/or its affiliates which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution or use of the contents of this message is prohibited. If you have 
received this email in error, please notify the sender by reply email and 
delete the original message and any copies.

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.


Request for Help

2020-07-28 Thread Mohan T
Dear All,



In one of the  environments we are using apache-tomcat-8.5.35.



On server start we are getting this exception

org.apache.catalina.core 28-Jul-2020 13:46:13.407 SEVERE 
[localhost-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup 
Servlet [RVW_Banner] in web application [/security] threw load() exception
java.lang.NoSuchMethodError:org.eclipse.jdt.internal.compiler.Compiler.(Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Lorg/eclipse/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/internal/compiler/ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
at 
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:480)

Any inputs to overcome this could help us in this.

Thanks

Mohan



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.


Password encryption in Tomcat 8.5.35

2019-09-15 Thread Mohan T
Hi,

We are using tomcat 8.5.35, on Red Hat Enterprise Linux Server release 7.4.

Is it possible to encrypt or mask passwords that is being used in the 
datasource for connecting to database. I am mentioning the credentials in 
server.xml

Thanks

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


Exceptions in tomcat

2019-09-11 Thread Mohan T
Hi

We are using tomcat 8.5.35, on Red Hat Enterprise Linux Server release 7.4.


There are lots of warnings not thrown by our application like the below one.

How do I overcome these exceptions?

Thanks

Mohan

WARNING [localhost-startStop-1] 
org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan 
[file:/home/ilas/tomcat8.5/apache-tomcat-8.5.35/lib/commons-cli.jar] from 
classloader hierarchy
java.io.FileNotFoundException: 
/home/ilas/tomcat8.5/apache-tomcat-8.5.35/lib/commons-cli.jar (No such file or 
directory)
  at java.util.zip.ZipFile.open(Native Method)
  at java.util.zip.ZipFile.(ZipFile.java:225)
  at java.util.zip.ZipFile.(ZipFile.java:155)
  at java.util.jar.JarFile.(JarFile.java:166)
  at java.util.jar.JarFile.(JarFile.java:130)
  at 
org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:196)
  at 
org.apache.tomcat.util.scan.JarFileUrlJar.(JarFileUrlJar.java:65)
  at 
org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
  at 
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374)
  at 
org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309)
  at 
org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266)
  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)
  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)
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.


Issue after Enabling JAVA security

2019-07-04 Thread Mohan T
Hi,

We have our application setup in the below environment

Tomcat version 8.5.35
Operating system RHEL 7.4

When we do not enable the JAVA security policy, we get the following parser 
loaded and the application works fine.

com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl

After enabling security in the same environemtn the following getting loaded.

org.apache.xerces.jaxp.DocumentBuilderImpl


The error message in the log files are .

java.lang.VerifyError: class 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration overrides final 
method getFeature.(Ljava/lang/String;)Z
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at 
org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2356)
at 
org.apache.catalina.loader.WebappClassLoaderBase$PrivilegedFindClassByName.run(WebappClassLoaderBase.java:156)
at 
org.apache.catalina.loader.WebappClassLoaderBase$PrivilegedFindClassByName.run(WebappClassLoaderBase.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:828)
at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1297)
at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.(DOMParser.java:152)
at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.(DOMParser.java:132)
at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.(DocumentBuilderImpl.java:99)
at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:90)

How to make the application work with the security enabled mode

Thanks

Mohan




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.


Re: JAVA OPTIONS

2019-07-04 Thread Mohan T
I am posting here after trying options over the net



Sent from my Samsung Galaxy smartphone.


 Original message 
From: "André Warnier (tomcat)" 
Date: 04/07/2019 4:15 pm (GMT+05:30)
To: users@tomcat.apache.org
Subject: Re: JAVA OPTIONS

On 03.07.2019 14:47, Mohan T wrote:
>
> Hi,
>
> Tom cat  0- version 8.5.35
>
> Operating system- RHEL 7.4
> Thanks
>

Ok. Note that what you are asking is not a tomcat-specific question, it is more 
of a
standard Java question.

You need to find the shell script that starts Tomcat on your system.
That is likely to be in the directory /etc/init.d, or /etc/init.d/rc2.d or 
similar.
In that script, you will find the line(s) that starts the JVM that runs tomcat.
(I cannot tell you what that is exactly, because I do not have a RHEL system 
available to
look at right now).
That script should have some internal variables, such as "JAVA_OPTIONS" e.g., 
which
contain the options used on the Java command-line.
That's where you must start looking, to make you modifications.

Note that this system startup/stop script is likely to be overwritten, whenever 
you
install an OS or Tomcat package update. So it would be better to do such 
changes in a
separate file, which is "called-in" when executing the script.
The startup script probably already references such separate files just for 
that purpose.
Look at (for example) any references to a directory like /etc/tomcat8 or
/etc/default/tomcat e.g.

I believe that the person responsible for the RH tomcat package is also on this 
list.
Maybe he can provide more detailed instructions as to how to do this correctly 
for that
platform.

Of course, you could also search Google for "red hat change tomcat java 
options", which
would have given everyone the nice and comforting feeling that you had "done 
your
homework" before coming here.





> Mohan
>
>
>
>
> -Original Message-
> From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
> Sent: Wednesday, July 3, 2019 6:00 PM
> To: users@tomcat.apache.org
> Subject: Re: JAVA OPTIONS
>
> Hi.
> It's always a good idea to provide ALL the precise host/versions information 
> in advance :
> it saves time for the people answering the question, and it helps you getting 
> answers faster.
>
> On 03.07.2019 13:36, Mohan T wrote:
>> Hi ,
>>
>> We are using tomcat 8 .
> Which version precisely ? (8.x.y)
>
> On what platform ?
> And if Windows, as a service or on the command-line ?
>
>>
>> How do I set the JAVA OPTIONS for the 
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
>>
>
> It depends on the answers to the above questions.
>
>
>
> -
> 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
>


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

RE: JAVA OPTIONS

2019-07-03 Thread Mohan T

Hi,

Tom cat  0- version 8.5.35

Operating system- RHEL 7.4
Thanks

Mohan




-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Wednesday, July 3, 2019 6:00 PM
To: users@tomcat.apache.org
Subject: Re: JAVA OPTIONS

Hi.
It's always a good idea to provide ALL the precise host/versions information in 
advance :
it saves time for the people answering the question, and it helps you getting 
answers faster.

On 03.07.2019 13:36, Mohan T wrote:
> Hi ,
>
> We are using tomcat 8 .
Which version precisely ? (8.x.y)

On what platform ?
And if Windows, as a service or on the command-line ?

>
> How do I set the JAVA OPTIONS for the 
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
>

It depends on the answers to the above questions.



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


JAVA OPTIONS

2019-07-03 Thread Mohan T
Hi ,

We are using tomcat 8 .

How do I set the JAVA OPTIONS for the 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.

Thanks in advance

Mohan


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.


Issue in configuring JAVA Security policy

2019-06-25 Thread Mohan T
Dear All,

We have the following environment set at our premises.

Apache tomcat server:apache-tomcat-8.5.35
Red Hat Enterprise Linux Server release 7.4
jdk1.8.0_162

When we enable JAVA security policy the components are getting deployed. It 
throws the following error.

Anyone has encountered this issue and if it can be overcome, kindly help me out.

java.security.policy: error adding Permission, 
javax.management.MBeanPermission:java.lang.IllegalArgumentException: 
MBeanPermission: actions can't be null
25-Jun-2019 21:36:16.314 SEVERE [main] 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans 
Exception processing Global JNDI Resources
javax.naming.NamingException: Cannot create resource instance
at 
org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
at 
org.apache.naming.NamingContext.lookup(NamingContext.java:839)
at 
org.apache.naming.NamingContext.lookup(NamingContext.java:159)
at 
org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:117)
at 
org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)
at 
org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:34)
at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:138)
at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:110)
at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:82)
at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at 
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)
at 
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:339)
at 
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:786)
at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:687)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)

25-Jun-2019 21:36:16.315 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
25-Jun-2019 21:36:16.315 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
25-Jun-2019 21:36:16.399 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/security.war

Thanks

Mohan






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.