how to refresh connection pool before it gets completely busy

2011-01-31 Thread Rhonny David
Dear All, We are facing connection pool busy problem in tomcat 6.0.29. Till we finalize our investigation, we need connection pool to be refreshed before all connections get busy. Say for example if we have connection pool size 60, then it should get refresh when 15 connections get busy. We kno

Re: Tomcat 6 sessino timeout problem

2011-01-31 Thread Rhonny David
From: Rhonny David To: Tomcat Users List Sent: Thu, January 20, 2011 10:34:51 PM Subject: Re: Tomcat 6 sessino timeout problem When our application forces to terminate a user session explicitly,  then session listener logs print as follows: 12:16:37,812

Re: Tomcat Devloader issues (Class not found)

2011-01-31 Thread yapkm01
Sorry. I thought picture speaks louder than words. The attachments has figures on it which shows exactly my issue. Also i thought it is much easier to understand my problem if i show it in print format. Trying one more time on loading the file. http://old.nabble.com/file/p30813435/TomcatDevloader

Re: war app, Tomcat, public IP and port 8080 - remote access

2011-01-31 Thread Amilcar De Leon
thanks for your suggestions guys, sorry for the delay, but after all, it was a firewall problem, I tried to connect in another location and It wored fine; the location where I first tried to connect had some kind of firewall restrictions but I could not configure it. Thanks! -- Amílcar de León "T

Re: custom class as resource

2011-01-31 Thread alexis
sure. This class is the one that starts all threads for processing (this one is started from a Listener) --- public class LCMS3 implements ServletContextListener { private DAO dao = null; private org.apache.log4j.Logger log = Logger.getLogger(LCMS3.class); pr

Re: deploying a war file and starting the application

2011-01-31 Thread Robert.Jenkin
Christopher I got everthing working Sent from my iPhone On Jan 31, 2011, at 5:03 PM, "Christopher Schultz" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Robert, > > On 1/31/2011 9:09 AM, robert.jen...@surecomp.com wrote: >> I am trying to figure out why my web services do no

It makes problem when we use JSTL with 1.3 class to build on Oracle JDK6.

2011-01-31 Thread Donggyu A. Lee
I knew that Oracle JDK6 compile 1.3 Java source. But when that source do not use generics, Oracle compiler sometimes seems to compile with not but . It makes problem when we use JSTL with 1.3 class to build on Oracle JDK6. Thanks. Very busy day to all because of 64bit or Generics. -- --

RE: cannot access welcome page on Windows Server 2003 R2 SP2

2011-01-31 Thread Caldarale, Charles R
> From: Philip Anil-QBW348 [mailto:anil.phi...@motorolasolutions.com] > Subject: cannot access welcome page on Windows Server 2003 R2 SP2 > I did the same on Windows Server 2003 R2 SP2 and it does not bring up > the web page. I get "Under Construction. The site you are trying to view > does not h

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread Mark Thomas
On 31/01/2011 22:51, Christopher Schultz wrote: > John, > > On 1/31/2011 10:23 AM, John Bargos wrote: >> Yeah, I checked that doc b4 starting, I also checked catalina.tasks in >> catalina-ant.jar and the new jasper.jar libs in the deployer\lib, so >> yesterday I thought the task def was ok and I w

RE: verboseGC output on tomcat runing as a service

2011-01-31 Thread Pant, Ashish
Ofcourse substituted with log file name -Original Message- From: Pant, Ashish [mailto:ashish.p...@libertymutual.com] Sent: Monday, January 31, 2011 5:56 PM To: Tomcat Users List Subject: RE: verboseGC output on tomcat runing as a service I added -verbose:gc and also -Xloggc:logs/ in th

RE: verboseGC output on tomcat runing as a service

2011-01-31 Thread Pant, Ashish
I added -verbose:gc and also -Xloggc:logs/ in the java options area but no joy :( -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, January 31, 2011 4:37 PM To: Tomcat Users List Subject: RE: verboseGC output on tomcat runing as a service

Re: custom class as resource

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, On 1/31/2011 5:23 PM, alexis wrote: > Sure, find attached 3 files This list strips attachments. > This app is intended to do the following (extremely [abridged]) How about a snip of the code that actually loads instantiates the servlet obje

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 1/31/2011 10:23 AM, John Bargos wrote: > Yeah, I checked that doc b4 starting, I also checked catalina.tasks in > catalina-ant.jar and the new jasper.jar libs in the deployer\lib, so > yesterday I thought the task def was ok and I was ready t

Re: custom class as resource

2011-01-31 Thread alexis
Sure, find attached 3 files 1. LCMS3, started as Listener. 2. Queue (started from LCMS3 and responsible to start threads connecting to a device and get information see QueueExec on this class) 3. Parser , responsible to parse and process results obtained from Queue.QueueExec This app is inte

Re: Tomcat Devloader issues (Class not found)

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/31/2011 3:32 PM, Caldarale, Charles R wrote: >> From: yapkm01 [mailto:yapk...@hotmail.com] >> Subject: Tomcat Devloader issues (Class not found) > >> All my process and issues is in the attachments. > > In general, it's considered bad f

Re: custom class as resource

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, On 1/31/2011 4:48 PM, alexis wrote: > The only difference i found is the class that sets the attribute on > the servletcontext extends ServletContextListener. > > the class that access and reads the context extends HttpServlet and > shows the

Re: OutOfMemory issue

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aparna, On 1/31/2011 8:42 AM, Aparna1 V wrote: > I am facing a frequent OutOfMemoryError on the Java heap space after just > a few hits on the application. (The page buffer for a few jsps are of the > range 4000kb) 4000kb is 4MiB. Is that what you

Re: deploying a war file and starting the application

2011-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 1/31/2011 9:09 AM, robert.jen...@surecomp.com wrote: > I am trying to figure out why my web services do not work in Tomcat. > > The following shows my web service code in eclipse > > package com.surecomp.allMATCH.client.webservices; > >

Re: custom class as resource

2011-01-31 Thread alexis
The only difference i found is the class that sets the attribute on the servletcontext extends ServletContextListener. the class that access and reads the context extends HttpServlet and shows the content upon an http request. the class that gets the null pointer, also extends HttpServlet but

RE: verboseGC output on tomcat runing as a service

2011-01-31 Thread Caldarale, Charles R
> From: Pant, Ashish [mailto:ashish.p...@libertymutual.com] > Subject: verboseGC output on tomcat runing as a service > We are running tomcat as a windows service. Tomcat version > 6.x running on windows 2003 sp2. I would like to get the > verboseGC logs. I would like to know where in do I put

Re: verboseGC output on tomcat runing as a service

2011-01-31 Thread rajeshwar bharathi
Ashish -Did you try adding adding the -verbose:gc argument to your CATALINA_OPTS environment variable. When enabled logs get written to catalina.out log file and will have additional logs for every garbage collection including the duration. Please let me know if it worked. Rajeshwar

verboseGC output on tomcat runing as a service

2011-01-31 Thread Pant, Ashish
Hello We are running tomcat as a windows service. Tomcat version 6.x running on windows 2003 sp2. I would like to get the verboseGC logs. I would like to know where in do I put in the parameter so that I can get a verboseGC output Thanks Ashish Ashish Pant PM IT Architecture - Distribution and

RE: Tomcat Devloader issues (Class not found)

2011-01-31 Thread Caldarale, Charles R
> From: yapkm01 [mailto:yapk...@hotmail.com] > Subject: Tomcat Devloader issues (Class not found) > All my process and issues is in the attachments. In general, it's considered bad form to make the volunteer user assistance people take extra steps to even get an idea of what your problem is. P

Tomcat Devloader issues (Class not found)

2011-01-31 Thread yapkm01
I would appreciate any help on the above. All my process and issues is in the attachments. ps: Java 1.6 tomcat 5.0.28 http://old.nabble.com/file/p30810340/TomcatDevloaderIssue.doc TomcatDevloaderIssue.doc -- View this message in context: http://old.nabble.com/Tomcat-Devloader-issues-%28Class-n

RE: Shared context.xml on WIndows XP

2011-01-31 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan > Rosenberg > Subject: Re: Shared context.xml on WIndows XP > 1) I (think I) understand about the case-insensitivity issue. But I > thought that was only a security concern & this machine does not face > the public net.

Re: Shared context.xml on WIndows XP

2011-01-31 Thread Jonathan Rosenberg
1) I (think I) understand about the case-insensitivity issue. But I thought that was only a security concern & this machine does not face the public net. 2) Does this mean I can;t do what I want this way on Windows? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuar

Re: custom class as resource

2011-01-31 Thread alexis
yes actually i did, sorry i forgot. here's where i create the object public class LCMS3 implements ServletContextListener { public void contextInitialized(ServletContextEvent sce) { log.info("Starting LCMS3 daemon"); ServletContext sc = sce.getServletContext(); LiveI

RE: custom class as resource

2011-01-31 Thread Caldarale, Charles R
> From: alexis [mailto:alz...@gmail.com] > Subject: Re: custom class as resource > LiveInfo li = (LiveInfo) sc.getAttribute("live"); > why im getting a null pointer on the sc.getAttribute line? Because you never created an attribute named "live" in the ServletContext. - Chuck THIS COMMU

Re: Shared context.xml on WIndows XP

2011-01-31 Thread Konstantin Kolinko
2011/1/31 Jonathan Rosenberg : > I'm new to Tomcat so I'm probably missing something simple here.  Any > help appreciated. > > I'm trying to allow symlinking form any app on my development PC.  I > added the following to $CATALINA_HOME/conf/context.xml > >     >     >     allowLinking="true" shoul

RE: Shared context.xml on WIndows XP

2011-01-31 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan > Rosenberg > Subject: Shared context.xml on WIndows XP > I'm trying to allow symlinking form any app on my development PC. Platform? You may have a bit of a problem doing symlinks on Windows... > I added the followin

Re: custom class as resource

2011-01-31 Thread alexis
package com.lesi.lcms3.core; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; public class NewClass extends HttpServlet { private ServletContext sc; public String aVer() { LiveI

Shared context.xml on WIndows XP

2011-01-31 Thread Jonathan Rosenberg
I'm new to Tomcat so I'm probably missing something simple here. Any help appreciated. I'm trying to allow symlinking form any app on my development PC. I added the following to $CATALINA_HOME/conf/context.xml I restarted Tomcat, but it doesn't appear to be following my symlinks

RE: Tomcat in CentOS 5.5

2011-01-31 Thread Caldarale, Charles R
> From: Christian Garling [mailto:christian.garl...@cg-networks.de] > Subject: Tomcat in CentOS 5.5 > CentOS 5.5 ships Tomcat 6.0.18, so this version is available at > customers site. The developer who writes the java parts of our > application told me, that we cant use the Tomcat version shipp

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
Fixed it, Apparently this was classpath hell again. Ant and jasper also need the complete tomcat lib in classpath 2 suggestion for build.xml: 1. Add a property for the base tomcat dir: 2. Add the /lib path into a. both in the deployer classpath: -> -> -

RE: Tomcat in CentOS 5.5

2011-01-31 Thread Jason Pyeron
> -Original Message- > From: Christian Garling > Sent: Monday, January 31, 2011 10:37 > To: Tomcat Users List > Subject: Tomcat in CentOS 5.5 > > Hi there, > > I am new on this list, so first I want to say hello to you. > But now to my problem. > > We develop software for the touristic

Tomcat in CentOS 5.5

2011-01-31 Thread Christian Garling
Hi there, I am new on this list, so first I want to say hello to you. But now to my problem. We develop software for the touristical branch which runs mainly under CentOS. Our customers are big companies. Of course they have SLAs with their server providers, so they cant use any software ver

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
On Mon, Jan 31, 2011 at 5:06 PM, Konstantin Kolinko wrote: > 2011/1/31 John Bargos : >> 1) I checked the libs in ant 1.8.2. >> apparently ant ships with: >> >> jasper-compiler.version=4.1.36 >> jasper-runtime.version=${jasper-compiler.version} >> >> ..in libraries.properties and you fetch those ja

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread Mark Thomas
On 31/01/2011 14:26, John Bargos wrote: > I tried to find the jars in tomcat 7.0.6 \lib: there's jasper.jar and > jasper-el.jar so I'm at a loss to deduce their version, their file > sizes are very different. Look in the manifests. > I think it's early to create a bugzilla entry. Should I look f

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread Konstantin Kolinko
2011/1/31 John Bargos : > 1) I checked the libs in ant 1.8.2. > apparently ant ships with: > > jasper-compiler.version=4.1.36 > jasper-runtime.version=${jasper-compiler.version} > > ..in libraries.properties and you fetch those jars http://ant.apache.org/manual/Tasks/jspc.html Deprecated. Nobody u

rafael_muneton

2011-01-31 Thread Rafael Muneton
http://www.elargentino-web.netfirms.com/bogob.html

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
On Mon, Jan 31, 2011 at 2:04 PM, Konstantin Kolinko wrote: > 2011/1/31 John Bargos : >> Hi, >> >> last week, I was having fun with trivial examples accessing a >> datasource with the standard taglibs with success. >> Since everything was working perfectly in jsp form and morale was high, >> I deci

RE: OutOfMemory issue

2011-01-31 Thread Caldarale, Charles R
> From: Aparna1 V [mailto:aparna...@tcs.com] > Subject: OutOfMemory issue > I am facing a frequent OutOfMemoryError on the Java heap space > after just a few hits on the application. And a heap dump shows??? GC logging shows??? http://wiki.apache.org/tomcat/OutOfMemory - Chuck THIS COMMUN

RE: deploying a war file and starting the application

2011-01-31 Thread Robert.Jenkin
Hello everyone, hope all is well with you this Monday... I am trying to figure out why my web services do not work in Tomcat. I have not found useful information on the web as most searches bring back information from much older versions of Tomcat. The following shows my web service code in ec

RE: About maxThreads

2011-01-31 Thread Semih Gokalp
Thanks for all useful information Konstantin. > Date: Mon, 31 Jan 2011 16:07:16 +0300 > Subject: Re: About maxThreads > From: knst.koli...@gmail.com > To: users@tomcat.apache.org > > 2011/1/31 Semih Gokalp : > > If it is possible,how can i see real time maxThread value that was set for > > co

OutOfMemory issue

2011-01-31 Thread Aparna1 V
Hi all, I am facing a frequent OutOfMemoryError on the Java heap space after just a few hits on the application. (The page buffer for a few jsps are of the range 4000kb) The heap size for the app is 128 MB. The server i am using is TC 6.0.24 and tomcat-dbcp for pooling and MS SQL server 200

Re: About maxThreads

2011-01-31 Thread Konstantin Kolinko
2011/1/31 Semih Gokalp : > If it is possible,how can i see real time maxThread value that was set for > connectors  ? /manager/jmxproxy?qry=*%3Atype%3DThreadPool%2C* In Tomcat 6.0.30+ that will require a role of "manager" (deprecated) or of "manager-jmx" (new since 6.0.30). Best regards, Konsta

RE: About maxThreads

2011-01-31 Thread Semih Gokalp
Thanks everbody for helps. Yes,we have two connector but we changed all apache ProxyPass settings to http from ajp but still some applications may be use ajp.I will check all of them and look again logs about ThreadPool logfull warning. If it is possible,how can i see real time maxThread valu

Re: About maxThreads

2011-01-31 Thread Konstantin Kolinko
2011/1/31 Semih Gokalp : > I hope this is that you want output.The below output was printed in > catalina.log when I start tomcat.If you want further informations,I can send. > >(...) > Jan 28, 2011 6:35:34 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8

Re: About maxThreads

2011-01-31 Thread André Warnier
Can you paste the /whole/ of your server.xml file (comments and private stuff removed) ? Paste it the message, do not send it as an attachment. And, how are you starting Tomcat, and on which platform is this ? Semih Gokalp wrote: Hi, Thanks for quick reply. 1) What connectors are you using

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread Konstantin Kolinko
2011/1/31 John Bargos : > Hi, > > last week, I was having fun with trivial examples accessing a > datasource with the standard taglibs with success. > Since everything was working perfectly in jsp form and morale was high, > I decided to precompile my web app with TCD and deploy it again in tomcat

RE: About maxThreads

2011-01-31 Thread Semih Gokalp
Hi, Thanks for quick reply. >> 1) What connectors are you using? (What is printed in the logs when Tomcat >> starts?) I hope this is that you want output.The below output was printed in catalina.log when I start tomcat.If you want further informations,I can send. Jan 28, 2011 6:35:17 AM org

About maxThreads

2011-01-31 Thread Semih Gokalp
Hi all users. I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log. Could you please help me,why this parameter was not activated ? so what should i do for active this parameter ? If you help

Re: custom class as resource

2011-01-31 Thread Konstantin Kolinko
2011/1/31 alexis : > actually im already using a class extending servletcontextlistener, this > class is the responsible to start all other threads on processing. Some > threads stores results on a DB, some threads should store results in an > object to be accesed by a servlet and presented via

Re: About maxThreads

2011-01-31 Thread Konstantin Kolinko
2011/1/31 Semih Gokalp : > I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 > from 200 and restart tomcat but I have still getting below error in catalina > log. > server.xml > >             maxThreads="300" connectionTimeout="2" URIEncoding="UTF-8" /> 1) What conn

About maxThreads

2011-01-31 Thread Semih Gokalp
Hi all users. I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log. Could you please help me,why this parameter was not activated ? so what should i do for active this parameter ? If you help