tomcat9 - Connection refused/closed and parse error

2025-04-28 Thread Ramesh B R
Hell all, The application hosted on tomcat9 exposes soap api which is consumed by SAP. On a daily basis we are getting 200 thousands transactions and out of that we could see around 1000 to 2000 failed transactions due to CONNECTION REFUSED, CONNECTION CLOSED and PARSE ERROR. The application is r

Best practices to set heap memory

2025-04-20 Thread Ramesh B R
Hello team, How to decide on heap memory size? is it 25% of total memory? or 50% total memory? What is the ideal value (in %) for heap memory ? Regards, Ramesh

Re: Tomcat9 - unresponsive

2024-12-17 Thread Ramesh B R
ne? 3. How to restart the server without impacting current transactions. Regards, Ramesh Regards, Ramesh On Tue, Dec 17, 2024 at 6:06 PM Mark Thomas wrote: > On 17/12/2024 11:36, Ramesh B R wrote: > > Hello team, > > > > Need your help to resolve the unrespo

Tomcat9 - unresponsive

2024-12-17 Thread Ramesh B R
Hello team, Need your help to resolve the unresponsive behaviour of tomcat9 very frequently which made us to restart the server to fix the issue which is not a right thing. Tomcat 9 Java8 Linux 8 Please let me know if you need any other details. Regards, Ramesh

Re: [solved] How to debug 404s / How to enable error log

2023-02-01 Thread Michael B Allen
E=/path/to/myapp-base ${CATALINA_HOME}/bin/catalina.sh run "$@" A minimal bin\run.bat for Windows might look like: setlocal set "JRE_HOME=C:\tmp\java17" set "CATALINA_HOME=C:\tmp\tomcat10" set "CATALINA_BASE=C:\tmp\myapp-base" %CATALINA_HOME%\bin\catalina.ba

Re: [solved] How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
On Tue, Jan 31, 2023 at 4:33 PM Konstantin Kolinko wrote: > > INFO: No global web.xml found > > The above message is odd. > Essentially, it means that the file %CATALINA_BASE%\conf\web.xml does not > exist. > Solved. That was it. After copying over the conf/web.xml into myapp-base/conf, the app

How to debug 404s / How to enable error log

2023-01-31 Thread Michael B Allen
This is embarrassing. I have apparently forgotten how to operate Tomcat. I just downloaded openjdk 17, Tomcat 10.1.5 to a clean Windows 10, upacked everything, created a myapp-base with a .bat like: --8<-- bin\start.bat --8<-- setlocal set "JRE_HOME=C:\tmp\java17" set "CATALINA_HOME=C:\tmp\tomc

Farm deploy random failures

2022-12-02 Thread Dave B
I'm having intermittent failures when I deploy to a cluster. I see the war file sent to slave nodes but it then becomes zero size. It happens on different nodes and not all the time. Upon failure, Master node .out shows SEVERE [Catalina-utility-1] org.apache.catalina.ha.tcp.SimpleTcpCluster.s

Re: javax.servlet vs jakarta.servlet?

2021-12-30 Thread Michael B Allen
lication see that the file is updated without reloading the webapp (maybe even if the app is packaged as a war) is very useful. On the other hand I don't think I would want another 10 classes just to create some kind of ancillary webapp storage abstraction. Mike -- Michael B Allen Java Active

Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread Michael B Allen
On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: > One of the advantages of moving to Eclipse is that everyone involved in > the spec, not just the spec lead, has an equal say in what goes into the > spec. That sounds like design by committee which is my concern. IMO the only way to design a re

Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread Michael B Allen
On Tue, Dec 28, 2021 at 10:52 AM Mark Thomas wrote: > > On 28/12/2021 14:58, Michael B Allen wrote: > > On Tue, Dec 28, 2021 at 3:29 AM Johan Compagner > > wrote: > >> > >> Will that really work? > > > > No. > > > > Clearly I'm n

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Michael B Allen
would be required for Tomcat to support both javax.servlet and jakarta.servlet even if it were difficult to do for some reason I'm not seeing. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To

javax.servlet vs jakarta.servlet?

2021-12-27 Thread Michael B Allen
but I assume one just has to add whatever javax.servlet jar to make Tomcat 10 work with a javax.servlet lib or app? Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail:

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
On Tue, Nov 23, 2021 at 2:59 PM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > Short Addendum: > > The "destroyed" flag gets set, when the dispose-method of the > GSSCredentialImpl was invoked. > Currently, I have no clue when and how it happens, but I have seen this > problem every few months. >

Re: Authentication with Browser stopped working / missing exception handling in getRemainingLifetime

2021-11-23 Thread Michael B Allen
AP BTW. But I think the only real short term solution for now would be to catch the IllegalStateException and just set left = 0. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Michael B Allen
y a Windows service would know the difference between a link and the directory it points to. If it did, that would make mklink pretty useless. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To uns

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
On Wed, Nov 17, 2021 at 9:05 PM Mark Eggers wrote: > CATALINA_HOME and CATALINA_BASE are links to an appropriate Tomcat > installation, and one configured for that particular service. > > Then to upgrade to a new Tomcat, you do the following: > > 1. Unpack the new reference version of Tomcat somew

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Michael B Allen
vate servers and docker and so on. So I think the self-contained $CATALINA_BASE/bin/run.sh method is probably a little better for most cases (although I still need to study the Windows service use-case which is probably important). Mike -- Michael B Allen J

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-16 Thread Michael B Allen
e this would completely separate the installation from the host and environment. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
issue completely. I no longer get 404's and the application works. But I would like to further understand this as much as possible to document it for my customers. Thanks, Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ --

How to *properly* create and use a CATALINA_BASE installation

2021-11-15 Thread Michael B Allen
how this all is supposed to work and not so much just seeing it work. Thanks, Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Password Protected

2018-01-30 Thread Vicky B
Hi , Can i check if (xlx,xlsx, doc ) file is password protected through apache poi and can i use apache PDFBOX to check if PDF file is password protected. -- *Thanks & Regards Vickyb*

Re: Tomcat Xml parser issue

2017-11-16 Thread Vicky B
> Hash: SHA256 > > Vicky, > > On 11/16/17 12:24 PM, Vicky B wrote: > > It is XML parser (DOM and SAX ) from oracle (doc > > <https://docs.oracle.com/cd/B10501_01/appdev.920/a96609/arj_xmlparserv > 2.htm>) > > > > > . > > Why do you

Re: Tomcat Xml parser issue

2017-11-16 Thread Vicky B
he one provided by REDHat . how does class loading work in tomcat. On Thu, Nov 16, 2017 at 8:15 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Vicky, > > On 11/16/17 6:53 AM, Vicky B wrote: > > Hi All,

Tomcat Xml parser issue

2017-11-16 Thread Vicky B
Hi All, I have application which is using spring , ESAPI and oracle xmlparserv2.jar , this application works fine in my local tomcat on windows but when i deployed in linux server with linux based apache tomcat i got below error when spring container was trying to parse application specific xml

Re: tomcat 8 windows service logs

2017-05-25 Thread Gili B
hi In case anyone wonders .. I used another logging.properties in the application to overcome that. (placed under WEB_INF/classes) Thanks -gili From: Gili B Sent: Wednesday, May 24, 2017 3:56 PM To: users@tomcat.apache.org Subject: tomcat 8 windows service

tomcat 8 windows service logs

2017-05-24 Thread Gili B
hi Im using tomcat 8 as a windows service. Most of the logs are going to .stderr I use the same logging.config as I use in linux (and it works in linux). The files are created under logs directory, but are empty. When I configure tomcat LogLevel to WARNING, I still see INFO messages in stder

Re: tomcat 8 startup issue

2015-11-18 Thread Vicky B
Hi Christopher, I deleted existing tomcat and re-extracted and deployed it worked.Thanks. On Wed, Nov 18, 2015 at 2:46 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Vicky, > > On 11/17/15 7:41 AM, Vicky B wrote: > > I downloaded latest tomcat 8.20 v

tomcat 8 startup issue

2015-11-17 Thread Vicky B
Hi All, I downloaded latest tomcat 8.20 version zip and extracted in my local. I have java 7 in my local machine . When i am trying to run tomecat in eclipse i get below stack trace java.lang.NoClassDefFoundError: org/apache/tomcat/util/digester/Rule at java.lang.Class.getDeclaredConstructors0(N

Re: [OT] timeout

2014-04-08 Thread Vicky B
> On Sun, Apr 6, 2014 at 9:24 PM, Vicky B wrote: > > > The question i asked was generic one every firewall have some common > > fucntionality . > > For someone who previously "had no clue that firewall would drop > the connection" you assert that with a great d

Re: [OT] timeout

2014-04-06 Thread Vicky B
Apr 6, 2014 at 3:00 AM, Hassan Schroeder wrote: > On Sat, Apr 5, 2014 at 8:35 AM, Vicky B wrote: > > > The problem is solved now . > > Erm, well. Perhaps for some definition of "solved"... > > > I had no clue that firewall would drop the connection if it does

Re: [OT] timeout

2014-04-05 Thread Vicky B
: > On 3/31/2014 4:18 AM, Vicky B wrote: > >> there is a firewall between browser and apache httpd and i am not sure if >> there is a firewall between apache and tomcat (mostly no). >> > > Mostly? Mostly? As in sometimes there's a firewall, and other times >

Re: [OT] timeout

2014-03-31 Thread Vicky B
there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). But why would this firewall drop the connection ? On Mon, Mar 31, 2014 at 3:16 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Mar 31, 2014 3:48 AM,

Re: timeout

2014-03-30 Thread Vicky B
m response from tomcat if waiting time cross 1 min I feel apache httpd fails the request or timesout On Sun, Mar 30, 2014 at 10:43 PM, Mark Eggers wrote: > On 3/30/2014 8:44 AM, Vicky B wrote: > >> HI All, >> >>Below are the inforamtion >> >>OS : Solar

Re: timeout

2014-03-30 Thread Vicky B
or the >> reqeust and i also see below message >> > > Which "apache logs" ? > > > >> broken pipe : connection reset by peer : writing data to network. >> > > In which logfile did you find this ? > Please copy the entire message line here. >

Re: timeout

2014-03-28 Thread Vicky B
reset by peer : writing data to network. timeout is the direcive in apache which is set to 300 . On Sat, Mar 29, 2014 at 3:05 AM, André Warnier wrote: > Vicky B wrote: > >> HI All, >> >> i have configured apache and apache tomcat i.e apache is my http server >>

Re: timeout

2014-03-28 Thread Vicky B
I mean 1 min to process the request and thats due to the huge logic and processing involved. On Sat, Mar 29, 2014 at 12:11 AM, Weiquan wrote: > Why your code take one min to response? Find out the reason > > Sent from my iPhone > > > On Mar 28, 2014, at 2:37 PM, Vicky B wro

Re: timeout

2014-03-28 Thread Vicky B
D MESSAGE- > Hash: SHA256 > > Vicky, > > On 3/28/14, 2:18 PM, Vicky B wrote: > > HI All, > > > > i have configured apache and apache tomcat i.e apache is my http > > server and tomcat is my webserver. i am having an isssue where some > > of reques

timeout

2014-03-28 Thread Vicky B
HI All, i have configured apache and apache tomcat i.e apache is my http server and tomcat is my webserver. i am having an isssue where some of request take 1-2 min to process but i get 500 internal serer message . IS this something related to timeout value. The value of timeout in my apache is

Problem using maven-tomcat7-plugin with RESTEasy

2014-02-12 Thread Evan B
Hello, I am wondering if someone form this mailing list will be able to take a look at a question that I posted on Stackoverflow regarding using maven-tomcat7-plugin with a RESTEasy Maven project: http://stackoverflow.com/questions/21734564/unable-to-startup-resteasy-maven-project-through-tomcat7-

Re: Deny Put & Delete

2014-01-26 Thread Vicky B
Thanks neven,mark On Sun, Jan 26, 2014 at 4:00 PM, Neven Cvetkovic wrote: > On Sun, Jan 26, 2014 at 12:32 AM, Vicky B wrote: > > > if I have a privilege to ask a question on this topic if can anyone help > me > > on how an user fire a put request or delete request ( I am n

Re: Deny Put & Delete

2014-01-25 Thread Vicky B
if I have a privilege to ask a question on this topic if can anyone help me on how an user fire a put request or delete request ( I am not a hacker) .All my life I just used post and get I never thought about these put and delete, so if someone helps I would appreciate On Fri, Jan 24, 2014 at 4:2

Re: webservices deployment.

2014-01-20 Thread Vicky B
if I don't have to do anything special for soap or rest then when going for paid app server we don't get any other advantage other then support + ejb container? On Sun, Jan 19, 2014 at 7:21 PM, Daniel Mikusa wrote: > On Jan 19, 2014, at 4:34 AM, Vicky B wrote: > > > HI A

webservices deployment.

2014-01-19 Thread Vicky B
HI All, If I want to deploy the webapplication which uses webservice like soap or rest do I need a soap engine or rest engine in tomcat ? or including libraries in the war file is enough? -- *Thanks & Regards Vickyb*

Re: Http url connection : server returned http response code 400

2013-11-16 Thread vicky b
t> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Vicky, > > On 11/11/13, 10:02 AM, vicky b wrote: > > I am getting server returned http response code 400 when i run > > below code from my tomcat however it works fine when i run it in > > W

Http url connection : server returned http response code 400

2013-11-11 Thread vicky b
HI All, I am getting server returned http response code 400 when i run below code from my tomcat however it works fine when i run it in WAS whch has proxy server settings. URL url = new URL(reqUrl); HttpURLConnection con = (HttpURLConnection)url.openConnection(); con.setDoOutput(true); con

Re: Migrating from GlassFish to Tomcat 7

2013-08-26 Thread B W
Looks like catalina.properties it is ! On Thu, Aug 22, 2013 at 6:30 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > B W, > > On 8/22/13 4:30 PM, B W wrote: > > What is the advantage to using ca

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
What is the advantage to using catalina.properties vs setenv.sh? On Thu, Aug 22, 2013 at 11:37 AM, Konstantin Kolinko wrote: > 2013/8/22 Daniel Mikusa : > > On Aug 22, 2013, at 8:48 AM, B W wrote: > > > >> I have a GWT application which currently is running on Glass

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
Thank you - it's working! On Thu, Aug 22, 2013 at 9:04 AM, Daniel Mikusa wrote: > On Aug 22, 2013, at 8:48 AM, B W wrote: > > > I have a GWT application which currently is running on GlassFish 3.x. I > > want to migrate to Tomcat 7. Previously, I would store proper

Migrating from GlassFish to Tomcat 7

2013-08-22 Thread B W
I have a GWT application which currently is running on GlassFish 3.x. I want to migrate to Tomcat 7. Previously, I would store properties that the GWT application could retrieve by org.apache.commons.configuration.SystemConfiguration. I would put these settings in my domain.xml for GlassFish. What

Re: Tomcat Concurrency

2013-07-16 Thread vicky b
HI All, Just out of curiosity can you please let me know if there are 10 clients who access 10 different browsers and make request at the same time what is the expected output On Tue, Jul 16, 2013 at 10:14 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED M

Re: Share info across different sessions & servers

2013-07-03 Thread mailingl...@j-b-s.de
Hi! what about treating this problem as a chat system? You want to broadcast messages, right? Maybe http://cometd.org/ is of any help (did not use it now personally) Jens Sent from my iPhone On 04.07.2013, at 00:14, Vince Stewart wrote: > Hi Jose, > > a couple of things, > 1) I use embedded

Re: Share info across different sessions & servers

2013-07-02 Thread mailingl...@j-b-s.de
he session registers itself as listener of that topic ( the only one > listener ) > - publish the name of this topic by some way , so it can be found by > another session in Tomcat B > > I don't know if somebody has used something like this sometime, and how > he/she did it >

SSL Issue- Support required.

2013-06-11 Thread B S, Veena
hanks Regards Veena B S

Re: Best practices for shared classloader use?

2013-06-04 Thread mailingl...@j-b-s.de
Hi Don! Usually each Webapp has its own classloader thus two webapps can have different versions of the same class. Classloaders are chained so if a class is not found search continues in the next classloader. Shared just means one classloader is used by different webapps thus you may run into

Re: Best practices for shared classloader use?

2013-06-04 Thread mailingl...@j-b-s.de
Hi Don! You can try to move only common libs shared by all yor different webapps to the shared classloader but leave the application core in seperate war files? Jens Sent from my iPhone On 04.06.2013, at 17:36, Don Asper wrote: > I am considering using the Tomcat 7 shared classloader to r

RE: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread B T
> Date: Fri, 24 May 2013 09:32:46 -0700 > From: its_toas...@yahoo.com > To: users@tomcat.apache.org > Subject: Re: 6.0.16 vs 6.0.37 puzzle > > On 5/24/2013 9:04 AM, Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > >

6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread B T
Hello, I was wondering if anyone here might have some insight in different behaviors between 6.0.16 and 6.0.37. I've been using version 6.0.16 (With CentOS 5) for quite some time - and it has worked very well. I was in the process of testing a new configuration and was exploring the possibil

Re: Ideal way to minimize resources used by Tomcat for sessions

2012-11-18 Thread mailingl...@j-b-s.de
Why do you need a Webserver at all? What about plain Java Sockets instead? Jens Von meinem iPad gesendet Am 19.11.2012 um 03:34 schrieb Baron Von Awsm : > My web app consists of a single servlet, no JSPs and no static content. The > servlet retrieves XML from POST submissions and hands the XML

Re: high CPU usage on tomcat 7

2012-09-30 Thread mailingl...@j-b-s.de
ond > But a shortage on memory is hard to recover > > Jeff > > Le vendredi 28 septembre 2012, mailingl...@j-b-s.de a écrit : > >> Maybe an infinite loop? We observed something similar due to a bug in the >> java regex impl and certain user input causes this regex looping

Re: high CPU usage on tomcat 7

2012-09-27 Thread mailingl...@j-b-s.de
preview_diag_dir) or die "Can't chdir into $preview_diag_dir $!\n"; >> >> # Capture Preview thread dump >> my $process_pattern = "preview"; >> my $preview_pid = `/usr/bin/pgrep -f $process_pattern`; >> my $login = getpwuid($<) ; >>

Re: R: how to read files in file system

2012-09-17 Thread mailingl...@j-b-s.de
Try: URI uri = new URI("file//c:/.."); // win Or "file:///yourdir/.." on unix (note 3 "/"). From uri you can get the url and from here you can open an inputstream or you can use "new File(url.toFile())" To access a resource from your classpath the following will do: URL url = Thread.curren

Re: redirecting people to maintenance mode

2012-08-20 Thread mailingl...@j-b-s.de
What about a non-tomcat solution like a load balancer (apache, nginx?) in front of your tomcats? Sent from my iPhone On 21.08.2012, at 12:25, Miguel González Castaños wrote: > Dear all, > > I have a Tomcat web server. From time to time, I need to do some > maintenance and want people not

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
Thanks all - it is building now. Here is what I did: Right click on the project Select Properties Select Libraries Select compile tab Removed the libraries that could not be found Added the library to be found OK Question for the Tomcat list: Isnt /WEB-INF/lib a Tomcat folder? It is refered

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
ot no answers on the NetBeans list? Nor the Ant list? On Tue, 2012-07-24 at 15:11 -0400, Cotton, Joseph B wrote: > This question concerns a Project that used to work nicely. Now it > will not build. > I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this > project alone

Project will not build

2012-07-24 Thread Cotton, Joseph B
This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this project alone for a few months. Now when I come back and try to build or run, it errors with this message: Copying 1 file to D:\Documents and S

Re: Tomcat error -54

2012-07-23 Thread Kavya C B
lient connection aborted or network problems ". On Mon, Jul 23, 2012 at 2:21 PM, André Warnier wrote: > Kavya C B wrote: > >> Can you tell, why this error is coming : >>> >>> can't receive the response message from tomcat, network >>> >&

Re: Tomcat error -54

2012-07-23 Thread Kavya C B
> > Can you tell, why this error is coming : > > can't receive the response message from tomcat, network > >> problems or tomcat is down (10.182.18.2:8009), err=-54 > > >

RE: Wish to use an independent class module in Tomcat

2012-06-28 Thread Cotton, Joseph B
A link to the Tomcat documentation: http://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html#Shared_Li brary_Files -Terence Bandoian Thanks, Terence. Now I have a related question... This is perhaps more a Java question than a Tomcat question. I have copied a jar file into the shared lib

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
I found a really good explanation for what I want to do in "Java Servlet Programming", Jason Hunter et al, chapter 11 "Servlet Collaboration". Thanks to all. Joe -Original Message- From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us] Sent: Tuesday, June 26, 201

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
26, 2012 12:16 PM To: Tomcat Users List Subject: Re: Wish to use an independent class module in Tomcat 2012/6/26 Cotton, Joseph B : > My question may be covered by the Tomcat documentation and I am just > confused by all the new terminology.  I have spent hours in reading > and still I am

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
I looked at the Realm documentation for a few minutes, but it appears to be intended for User ID and Password verification. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, June 26, 2012 11:28 AM To: Tomcat Users List Subject: RE: Wish to use an indep

Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
My question may be covered by the Tomcat documentation and I am just confused by all the new terminology. I have spent hours in reading and still I am looking to an answer. We wish to have a class running on Tomcat that contains system wide info and multiple database connections into DB2 on the

Re: [OT] Observer pattern?

2012-06-12 Thread mailingl...@j-b-s.de
JMS (like ActiceMQ) Terracotta DSO? Jens Sent from my iPhone On 13.06.2012, at 06:12, Albert Kam wrote: > If you are talking about how to notify other webapps, i think you're > actually talking about integration between existing applications here, > which can be done using RMI (java only an

Client Side caching

2012-02-11 Thread vicky b
HI All, I want to enable client side cache for my http request , can any body please let me know the configuration for this. -- *Thanks & Regards Vickyb *

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 6:55 PM, Konstantin Kolinko wrote: > 2011/12/27 S B : > > On Tue, Dec 27, 2011 at 4:53 PM, Pid * wrote: > > > >> On 27 Dec 2011, at 11:16, S B wrote: > >> > >> > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > &

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:53 PM, Pid * wrote: > On 27 Dec 2011, at 11:16, S B wrote: > > > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > > > >> On 27 Dec 2011, at 01:33, S B wrote: > >> > >>> On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: &

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > On 27 Dec 2011, at 01:33, S B wrote: > > > On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > > > >> On 26 Dec 2011, at 09:50, S B wrote: > >> > >>> On Sat, Dec 24, 2011 at 6:29 PM, Pid wr

Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread S B
On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > On 26 Dec 2011, at 09:50, S B wrote: > > > On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > > > >> On 23/12/2011 04:57, S B wrote: > >>> On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > >>> &

Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread S B
On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > On 23/12/2011 04:57, S B wrote: > > On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > > > >> On 22/12/2011 10:34, Konstantin Kolinko wrote: > >>> 2011/12/20 S B : > >>>> Hi, > >>>> >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-22 Thread S B
On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > On 22/12/2011 10:34, Konstantin Kolinko wrote: > > 2011/12/20 S B : > >> Hi, > >> > >> I created and deployed an MBean in my tomcat. It uses datasource to > connect > >> to DB. > >> >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-21 Thread S B
On Wed, Dec 21, 2011 at 12:09 AM, Pid * wrote: > On 20 Dec 2011, at 15:47, S B wrote: > > > On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > > > >> On 20/12/2011 11:57, S B wrote: > >>> MBeanImpl code is packaged as a war and deployed in tomcat along wit

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > On 20/12/2011 11:57, S B wrote: > > MBeanImpl code is packaged as a war and deployed in tomcat along with > it's > > mbeans-descriptor.xml > > I am not using ServletContextListener in my code. (mbean registration i

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
s are not being put in order as mailing list expects.) On Tue, Dec 20, 2011 at 5:18 PM, Pid wrote: > On 20/12/2011 11:46, S B wrote: > > Code Sample that fails with exception(I am invoking reload() from > jconsole > > ): > > > > class MBeanImpl implements MBeanInterface

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
fine as I am not creating new InitialContext here. ... ... } } On Tue, Dec 20, 2011 at 4:59 PM, S B wrote: > Hi, > I am using : > > Server version: Apache Tomcat/6.0.32 > OS Name:Mac OS X > OS Version: 10.6.8 > Archi

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
Hi, I am using : Server version: Apache Tomcat/6.0.32 OS Name:Mac OS X OS Version: 10.6.8 Architecture: x86_64 JVM Version:1.6.0_29-b11-402-10M3527 Thanks, Ravi On Tue, Dec 20, 2011 at 4:52 PM, Pid * wrote: > On 20 Dec 2011, at 11:02, S B wrote: > > > Hi, >

MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
Hi, I created and deployed an MBean in my tomcat. It uses datasource to connect to DB. My questions is: When I create InitialContext() inside MBean's constructor and pass the envContext to DBManager class to lookup datasource it works fine. However when I create InitialContext() in DBManager cl

Re: GC algorithm

2011-05-23 Thread vicky b
com> wrote: > > From: vicky b [mailto:vickyb2...@gmail.com] > > Subject: Re: GC algorithm > > > then why do i see a difference in behaviour for tomcat 6 > > and tomcat 7 when i undeploy my app the objects that are > > collected in tomcat6 are not collected in

Re: GC algorithm

2011-05-23 Thread vicky b
then why do i see a difference in behaviour for tomcat 6 and tomcat 7 when i undeploy my app the objects that are collected in tomcat6 are not collected in tomcat7? On Mon, May 23, 2011 at 7:19 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: vicky b [ma

GC algorithm

2011-05-23 Thread vicky b
HI, How can i come to know the GC algorithm used in tomcat... and all GC configuarations.. -- *Thanks & Regards Vickyb *

difference in behaviour of tomcat 6 and tomcat 7 very imp

2011-05-23 Thread vicky b
Hi, I have done analysis on static references and found a interesting point al;so i find a difference in behaviour in tomcat 6 andtomcat 7 I created a class (TestStatic) which has a static reference to VO(java bean) in my servlet i declared TestStatic as member variable and initialized it t

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread B. Balakrishna Rao
Hi, We have enabled the GC logs on our production and our tomcat server crashed too!! Apparently, GC logs takes high CPU and eventually, tomcat server crashes due to high CPU utilization of GC logs. Remove them, your problem will be solved. What I believe is, enabling GC logs are not suggestible

RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved

2010-08-05 Thread B. Balakrishna Rao
. Thanks, Bala. -Original Message- From: B. Balakrishna Rao Sent: Thursday, August 05, 2010 10:17 AM To: Tomcat Users List Subject: RE: Memory leak in using SSL with Tomcat 6.0.18 Hi Chris, Attached is the image for incoming references for com.sun.net.ssl.internal.ssl.SSLSocketImpl objects

Prioritizing incoming requests

2010-08-04 Thread B. Balakrishna Rao
Hi, I would like to know if we can prioritizing the incoming requests in Tomcat. Let's say, I have a report module and a cart module in my web application. I would like to give more priority to report module than the cart module as Report modules seems to take longer period of time. By doing so,

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
, 2010 10:14 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: > Please note that, the 2,996 count is on production environment. > The counts 7 and 10 are on my

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Sent: Wednesday, August 04, 2010 7:43 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: > I have implemented your suggestion. I have deployed my application > in T

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
org] Sent: Wednesday, August 04, 2010 6:19 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 13:40, B. Balakrishna Rao wrote: > Hi Mark, > > I am trying to apply the patch that is available for the fix below: > https://issues.apache.org/bugzil

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
.org] Sent: Wednesday, August 04, 2010 4:28 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 11:54, B. Balakrishna Rao wrote: > Hi Mark, > > Thanks for your reply. > I tried reading the change log. It appears that in Tomcat 6.0.20 there

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
[mailto:ma...@apache.org] Sent: Wednesday, August 04, 2010 4:18 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 10:49, B. Balakrishna Rao wrote: > Hi, > > We are using Tomcat<http://www.coderanch.com/forums/f-56/Tomcat> 6.0.18 on > Lin

Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Hi, We are using Tomcat 6.0.18 on Linux environment(Red hat Linux) for our production. We have enabled SSL by deploying SSL certificates. We observed that, over a period of time, the memory consumption is increasing and we are facing serious performa

  1   2   3   >