Re: Memory, handles and threads increasing in Tomcat 5.5

2009-11-13 Thread Elli Albek
Hi, Without knowing what your application is doing, here is something you should look at: External dependencies. If your application is stable performance wise at steady state for a few thousands of GC cycles, and then jumps in resources out of nowhere, it is very possible that this is due to an

RE: Tomcat really need Shutdown port

2009-11-13 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Bill Barker > Subject: Re: Tomcat really need Shutdown port > > On Windows, you need the shutdown port (so that anybody with physical > access to the machine can shutdown the service by using the scripts). The above seems to conflict with the

Re: SSL Configuration Question

2009-11-13 Thread Bill Barker
"Christopher Schultz" wrote in message news:4afdb50c.70...@christopherschultz.net... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Liav, > > On 11/13/2009 10:48 AM, Liav Ezer wrote: >> I need help configuring my http connector to be a secure one via SSL. > > Are you expecting to use tcna

Re: Tomcat really need Shutdown port

2009-11-13 Thread Bill Barker
"Mark Thomas" wrote in message news:4afdf745.6000...@apache.org... > Caldarale, Charles R wrote: >>> From: Mark Thomas [mailto:ma...@apache.org] >>> Subject: Re: Tomcat really need Shutdown port >>> >>> If you set the shutdown port to -1 then the standard process >>> kill (ie kill -15 on linux)

Re: AccessLogValve calling order

2009-11-13 Thread Jason Brittain
Hi Chris. Thanks for diagnosing this problem! It appears you're right that it logs only after the session is invalidated (after the request is complete) on a logout request. That bug has existed in the code for a very long time, unnoticed. The AccessLogValve was initially implemented to log onl

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
On 13.11.2009 21:41, ndunn1979 wrote: > > I left them off because they were the same. The only difference is they are a > second apart. > > [Fri Nov 13 08:32:07.359 2009] [1916:2244] [debug] jk_ajp_common.c (1259): > 03 1F F8 61 63 74 69 6F 6E 3D 31 26 6E 61 6D 65 - ...action=1&name > >

RE: Tomcat really need Shutdown port

2009-11-13 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat really need Shutdown port > > CTRL-C if running in a console. I verified that CTRL-C does a clean shutdown. Terminating via Task Manager or the close button on the command window causes abrupt termination, not a good thing. >

Re: Tomcat really need Shutdown port

2009-11-13 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: Tomcat really need Shutdown port >> >> If you set the shutdown port to -1 then the standard process >> kill (ie kill -15 on linux) will perform a standard, >> perfectly safe shutdown identical to what you w

Re: Tomcat really need Shutdown port

2009-11-13 Thread Pid
On 13/11/2009 22:27, Caldarale, Charles R wrote: From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat really need Shutdown port If you set the shutdown port to -1 then the standard process kill (ie kill -15 on linux) will perform a standard, perfectly safe shutdown identical to what

Re: tomcat need for AJP and SSL port to run local application

2009-11-13 Thread Pid
On 13/11/2009 21:28, Caldarale, Charles R wrote: From: SRamasamy [mailto:su...@techie.com] Subject: tomcat need for AJP and SSL port to run local application I go through tomcat server.xml file its shows the following ports 1. 2. 3. Is this a fill-in-the blank question? I missed an opportu

RE: how to find tomcat binary distribution service name

2009-11-13 Thread Caldarale, Charles R
> From: SRama [mailto:su...@techie.com] > Subject: RE: how to find tomcat binary distribution service name > > if i use tomcat binary version start startup.bat how to find tomcat > wheter tomcat is stated or not ? Send Tomcat an HTTP request with a wget program. Versions exist in both C and J

RE: how to find tomcat binary distribution service name

2009-11-13 Thread SRama
Thanks for yor reply, we have problem is admin rights, our product will install and run with out admin rights,because of the reason only we are going for binary verion of tomcat, but our business requirments need to verify server stated or not? if i use tomcat binary version start startup.bat ho

RE: how to find tomcat binary distribution service name

2009-11-13 Thread Caldarale, Charles R
> From: SRama [mailto:su...@techie.com] > Subject: RE: how to find tomcat binary distribution service name > > > if want to do through command prompt using "net start" > user need admin rights to start install ? I believe that is true for all methods of starting a service. - Chuck THIS COMMU

Re: Tomcat Clustering

2009-11-13 Thread Filip Hanik - Dev Lists
you running into this? https://issues.apache.org/bugzilla/show_bug.cgi?id=47308 On 11/13/2009 03:42 PM, Mate1 Subscription wrote: Hi, I have been trying to configure clustering between 2 instances of Tomcat on the same physical server. Unfortunately it is not working. Would someone be able to

RE: how to find tomcat binary distribution service name

2009-11-13 Thread SRama
Thanks for your reply, if want to do through command prompt using "net start" user need admin rights. to start install ? o Caldarale, Charles R wrote: > >> From: SRama [mailto:su...@techie.com] >> Subject: RE: how to find tomcat binary distribution service name >> >> please let me know how to

Tomcat Clustering

2009-11-13 Thread Mate1 Subscription
Hi, I have been trying to configure clustering between 2 instances of Tomcat on the same physical server. Unfortunately it is not working. Would someone be able to help me to figure out what is the problem (assuming it is possible to cluster 2 instances of tomcat on the same server)? Here is my

RE: how to find tomcat binary distribution service name

2009-11-13 Thread Caldarale, Charles R
> From: SRama [mailto:su...@techie.com] > Subject: RE: how to find tomcat binary distribution service name > > please let me know how to start through service.bat As previously stated, the service.bat script only installs (or removes) the Tomcat service. To start the service, use the tomcat6w.e

RE: Tomcat really need Shutdown port

2009-11-13 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat really need Shutdown port > > If you set the shutdown port to -1 then the standard process > kill (ie kill -15 on linux) will perform a standard, > perfectly safe shutdown identical to what you would get if > the shutdown script

RE: how to find tomcat binary distribution service name

2009-11-13 Thread SRama
I was tryint to start through service.bat but it shows i have checked path it looks good Usage: service.bat install/remove [service_name] please let me know how to start through service.bat Caldarale, Charles R wrote: > >> From: SRama [mailto:su...@techie.com] >> Subject: Re: how to find t

Re: Tomcat really need Shutdown port

2009-11-13 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: SRamasamy [mailto:su...@techie.com] >> Subject: Tomcat really need Shutdown port >> >> I have removed port but its working. let me know how its working after >> removing shutdonw port ? > > Without the shutdown port, you will not be able to stop Tomcat via the

AccessLogValve calling order

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Amazingly enough, I had my first need to use AccessLogValve today, and one of the things I wanted to print was the user's session id. No, problem: just add "%S" to the log pattern. Well, there is one problem: you can't spit-out the session id fo

RE: Tomcat really need Shutdown port

2009-11-13 Thread Caldarale, Charles R
> From: SRamasamy [mailto:su...@techie.com] > Subject: Tomcat really need Shutdown port > > I have removed port but its working. let me know how its working after > removing shutdonw port ? Without the shutdown port, you will not be able to stop Tomcat via the normal scripts. You can terminate

RE: tomcat need for AJP and SSL port to run local application

2009-11-13 Thread Caldarale, Charles R
> From: SRamasamy [mailto:su...@techie.com] > Subject: RE: tomcat need for AJP and SSL port to run local application > > > 1. Server port="8005" shutdown="SHUTDOWN" The shutdown port must not be removed. > 2. Connector port="8080" protocol="HTTP/1.1" >connectionTimeout="2" >

Tomcat really need Shutdown port

2009-11-13 Thread SRamasamy
Please let me know tomcat really need shutdown port to shutdown server. I go though some google its show tomcat default it listen port 8005 to shutdown. I have removed port but its working. let me know how its working after removing shutdonw port ? 1. Server shutdown="SHUTDOWN" -- View this mes

RE: tomcat need for AJP and SSL port to run local application

2009-11-13 Thread SRamasamy
Charles, I have few questions regarding tomcat our web application running on tomcat version 6, I go through tomcat server.xml file its shows the following ports 1. Server port="8005" shutdown="SHUTDOWN" 2. Connector port="8080" protocol="HTTP/1.1" connectionTimeout="2"

RE: tomcat need for AJP and SSL port to run local application

2009-11-13 Thread Caldarale, Charles R
> From: SRamasamy [mailto:su...@techie.com] > Subject: tomcat need for AJP and SSL port to run local application > > I go through tomcat server.xml file its shows the following ports > 1. > > 2. > > 3. Is this a fill-in-the blank question? > Please let me know if I remove connector port AJP an

RE: SSL Configuration Question

2009-11-13 Thread Caldarale, Charles R
> From: Liav Ezer [mailto:liav.e...@gmail.com] > Subject: Re: SSL Configuration Question > > So my only wish is to know what to write in those two attributes: > keystoreFile - Which of the 4 files i have do i need to point to (my > guess is the xxx.domainname.com.key )? > keystorePass - What do i

tomcat need for AJP and SSL port to run local application

2009-11-13 Thread SRamasamy
Hi, I have few questions regarding tomcat our web application running on tomcat version 6, I go through tomcat server.xml file its shows the following ports 1. 2. 3. My application not communicates with other service like web service and other application. Our application running on lo

Re: SSL Configuration Question

2009-11-13 Thread Liav Ezer
Hi Christopher, Thanks for your elaborated reply. Regarding your first question: No, i don't use the APR connector (port #443 i assume) & the tomcat-native jar. I do use the plain old HTTP connector in server.xml. So my only wish is to know what to write in those two attributes: keystoreFile

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread ndunn1979
I left them off because they were the same. The only difference is they are a second apart. [Fri Nov 13 08:32:07.359 2009] [1916:2244] [debug] jk_ajp_common.c (1259): 03 1F F8 61 63 74 69 6F 6E 3D 31 26 6E 61 6D 65 - ...action=1&name [Fri Nov 13 08:32:08.218 2009] [1916:2244] [debug] jk

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread Rainer Jung
On 13.11.2009 15:49, Christopher Schultz wrote: > Thomas, > > On 11/13/2009 2:55 AM, thomas2004 wrote: >> Sorry, the return page this time should just contains simply text, somewhat >> like "Generated in 0 msec[query time: 22186 msec, processing time: 20 >> msec] for 36 contracts. ", not a PDF

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
On 13.11.2009 15:06, ndunn1979 wrote: > > > Rainer Jung-3 wrote: >> >> >> As said: "JkLogLevel trace" will log the full packets. >> >> > > I reran it with trace log level and I can see the break now between the > packets. Good. > One example that works (notice "inde" at the end of the first pa

Re: Memory, handles and threads increasing in Tomcat 5.5

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/13/2009 2:54 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Memory, handles and threads increasing in Tomcat 5.5 >> >> If your thread count doubles, I would expect your

Re: setServerSoTimeout(int ) and setSoTimeout(int ) functionality

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vichi, On 11/12/2009 12:45 PM, vichi wrote: > Hey Mark, many many thanks for your crystal clear clarification for > setSoTimeout(int ). is same concept applies for setServerSoTimeout(int ) or > it there for some other purpose. Check the javadocs for

RE: Memory, handles and threads increasing in Tomcat 5.5

2009-11-13 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Memory, handles and threads increasing in Tomcat 5.5 > > If your thread count doubles, I would expect your number of handles to > quadruple (each worker thread typically has an input and output handle, > so handles ~=

Re: Memory, handles and threads increasing in Tomcat 5.5

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 11/12/2009 2:41 PM, Goldsmith, Neil J. (Neil) wrote: > That graph of threads, total mem and handles for this behavior looks > like a staircase. Do they all jump up at the same time? Does your thread count increase? Does your number of handl

Re: SSL Configuration Question

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liav, On 11/13/2009 10:48 AM, Liav Ezer wrote: > I need help configuring my http connector to be a secure one via SSL. Are you expecting to use tcnative in order to use an "APR" connector, or do you want to use the plain-old Java HTTP connector? If y

Re: problem on TOMCAT 6.0.20: no access to manager pages

2009-11-13 Thread André Warnier
Marie-Christine Lagasquie wrote: Hello Marie-Christine, I will make a bet : In part because of your name, but mainly because this is the most-loved problem for the gurus on this forum, you are going to get, within the next few minutes at least 3 answers all pointing out to you, in minute det

SSL Configuration Question

2009-11-13 Thread Liav Ezer
Hi, I need help configuring my http connector to be a secure one via SSL. I have the purchased certificate's (from a CA which i don't know who is) products in 4 different files: xxx.domainname.com.cer -> I don't know what is this file.. xxx.domainname.com.key -> I believe this is the encryp

Re: problem on TOMCAT 6.0.20: no access to manager pages

2009-11-13 Thread Tobias Crefeld
Am Fri, 13 Nov 2009 16:29:22 +0100 schrieb Marie-Christine Lagasquie : > Of course, the file "/usr/local/tomcat/conf/tomcat-users.xml" has been > modified before running Tomcat and now contains : > --- > This is the start of a comment: > > BTW: If

Re: problem on TOMCAT 6.0.20: no access to manager pages

2009-11-13 Thread Pid
On 13/11/2009 15:29, Marie-Christine Lagasquie wrote: Hello I am trying to install TOMCAT 6.0.20 on linux (ubuntu 9.10, karmic distribution) and the following pb occurs : I cannot access to manager pages I use the archive file given on the page http://tomcat.apache.org/download-60.cgi#

RE: problem on TOMCAT 6.0.20: no access to manager pages

2009-11-13 Thread Caldarale, Charles R
> From: Marie-Christine Lagasquie [mailto:lagasq...@free.fr] > Subject: problem on TOMCAT 6.0.20: no access to manager pages > > > > Quick XML test: what do the tokens "" mean? (Hint: think "/*" and "*/".) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Callings CICS in Tomcat

2009-11-13 Thread Pid
On 13/11/2009 15:01, sanjay_pa...@johnlewis.co.uk wrote: Hi, Please can you advise me on below. We are currently evaluating various runtime platforms to replace our current Websphere platform so as to improve the build lifecycle time & reduce server configuration. We are on Windows platform an

Re: how to find tomcat binary distribution service name

2009-11-13 Thread André Warnier
SRama wrote: Thanks for your reply I am using binary distribution tomcat and zip format, and also I am starting through startup.bat file Ok then, you are not running Tomcat as a service, you are running it from a command window. That is a good reason why you do not find its name in the servic

problem on TOMCAT 6.0.20: no access to manager pages

2009-11-13 Thread Marie-Christine Lagasquie
Hello I am trying to install TOMCAT 6.0.20 on linux (ubuntu 9.10, karmic distribution) and the following pb occurs : I cannot access to manager pages I use the archive file given on the page http://tomcat.apache.org/download-60.cgi#6.0.20 and I obtain the file apache-tomcat-6.0.20.tar.g

Re: Tomcat 6 encoding issue

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pramodpm, On 11/12/2009 4:49 AM, pramodpm wrote: > We are getting following error: > java.io.CharConversionException: Not an ISO 8859-1 character: <83>. > It is not just <83>. Sorry I missed those last time. > > java.io.CharConversionException: Not

Callings CICS in Tomcat

2009-11-13 Thread Sanjay_Patil
Hi, Please can you advise me on below. We are currently evaluating various runtime platforms to replace our current Websphere platform so as to improve the build lifecycle time & reduce server configuration. We are on Windows platform and use Java5, RAD7 for local developments. I have been

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/13/2009 2:55 AM, thomas2004 wrote: > Sorry, the return page this time should just contains simply text, somewhat > like "Generated in 0 msec[query time: 22186 msec, processing time: 20 > msec] for 36 contracts. ", not a PDF-stream si

Re: Tomcat common/lib

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 11/13/2009 8:15 AM, Ziggy wrote: > yes i think you are right. The compiler errors are not on the Connection, > PreparedStatement objects references but rather on some specific references. > Here are a couple of examples Yes, you are using i

RE: Tomcat: two context path for one webapp

2009-11-13 Thread Caldarale, Charles R
> From: AlbundySzabolcs [mailto:albundyalbu...@freemail.hu] > Subject: RE: Tomcat: two context path for one webapp > > Is it possible to hide this redirect anyway? Configure the rewrite filter to do a forward, not a redirect, and use relative, not absolute, links in your webapp. - Chuck THIS

Re: remote debug

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/13/2009 8:53 AM, maven apache wrote: > I am a little confused. > If I deploy by myself, that is to say I copy the > "F:\mavenTest\MT-Parent\MT-web\targetMT-web.war" to the tomcat install > directory: > C:\tomcat6.0\webapp

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread ndunn1979
Rainer Jung-3 wrote: > > > As said: "JkLogLevel trace" will log the full packets. > > I reran it with trace log level and I can see the break now between the packets. One example that works (notice "inde" at the end of the first packet and "x" at the beginning of the next one: [Fri Nov 13

RE: Multiple tomcat instances

2009-11-13 Thread Caldarale, Charles R
> From: Ziggy [mailto:zigg...@gmail.com] > Subject: Multiple tomcat instances > > 1. When i have created the new folders that $CATALINA_BASE will > point to, which files do i need to copy to the 'conf' folder. I > have tested this and found that it works fine if i just move the > web.xml and serv

Re: remote debug

2009-11-13 Thread maven apache
I am a litter confusing. If I deploy by myself,that to say I copy the "F:\mavenTest\MT-Parent\MT-web\targetMT-web.war" to the tomcat install directory: C:\tomcat6.0\webapp, what does the eclipse debugger do ? Without the IDE debugger I also can visit my page by " http://localhost:9000/MT-web/helloS

RE: how to find tomcat binary distribution service name

2009-11-13 Thread Caldarale, Charles R
> From: SRama [mailto:su...@techie.com] > Subject: Re: how to find tomcat binary distribution service name > > I am using binary distribution tomcat and zip format, and also I am > starting through startup.bat file Then you're not running it as a service, so there is no service name. If you wan

Re: remote debug

2009-11-13 Thread Pid
On 13/11/2009 13:29, maven apache wrote: 2009/11/13 Pid mailto:p...@pidster.com>> On 13/11/2009 13:16, maven apache wrote: 2009/11/13 Pid mailto:p...@pidster.com> >> On 13/11/2009 02:33, maven apache wrote:

Re: remote debug

2009-11-13 Thread maven apache
2009/11/13 Pid > On 13/11/2009 02:33, maven apache wrote: > >> 2009/11/12 Christopher Schultz >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> To whom it may concern, >>> >>> On 11/11/2009 8:33 PM, maven apache wrote: >>> Thanks for your attention. Actually I did not mod

Re: Tomcat common/lib

2009-11-13 Thread Ziggy
Hi, yes i think you are right. The compiler errors are not on the Connection, PreparedStatement objects references but rather on some specific references. Here are a couple of examples compile: [echo] Compiling java sources: [javac] Compiling 146 source files to /u/build/gui2/distributio

Re: Tomcat common/lib

2009-11-13 Thread Ziggy
Thats interesting.. let me try it again and see the exact compile error that is raised. On Fri, Nov 13, 2009 at 9:18 AM, Mikolaj Rydzewski wrote: > Ziggy wrote: > >> No i dont have driver specific code. But something like this raises >> compilation errors as the jar file that includes the Conne

Re: how to find tomcat binary distribution service name

2009-11-13 Thread SRama
Thanks for your reply I am using binary distribution tomcat and zip format, and also I am starting through startup.bat file awarnier wrote: > > SRama wrote: >> Hi Guys, >> I am using tomcat v6 (binary distribution), > there are two (a zip and an exe). which one did you install ? > > tomcat

Re: how to find tomcat binary distribution service name

2009-11-13 Thread SRama
Thanks for your reply I am using binary distribution tomcat and zip format, and also I am starting through startup.bat file awarnier wrote: > > SRama wrote: >> Hi Guys, >> I am using tomcat v6 (binary distribution), > there are two (a zip and an exe). which one did you install ? > > tomcat

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
On 13.11.2009 02:39, Christopher Schultz wrote: > Rainer, > > On 11/12/2009 6:10 PM, Rainer Jung wrote: >> The 8184 refers to the AJP default max packet size of 8KB minus some >> protocol overhead. So if a bug response is send, you will see lots of >> thosse 8184, which are simply fully sized AJP

Re: remote debug

2009-11-13 Thread Pid
On 13/11/2009 02:33, maven apache wrote: 2009/11/12 Christopher Schultz -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/11/2009 8:33 PM, maven apache wrote: Thanks for your attention. Actually I did not modify the catalina.bat directly , I create a new bat named d

Re: Tomcat common/lib

2009-11-13 Thread Mikolaj Rydzewski
Ziggy wrote: No i dont have driver specific code. But something like this raises compilation errors as the jar file that includes the Connection, PreparedStatement and ResultSet objects is not accessible from the WEB-INF/lib folder. Context envCtx = (Context) initCtx.lookup("java:comp/env"); Dat

RE: Tomcat: two context path for one webapp

2009-11-13 Thread AlbundySzabolcs
Hello Chuck, thanks for you reply. The UrlRewriteFilter is almost solved my problem. But there is an unexcepted effect: when I opened the page with the http://localhost:4041/YYY the URL changed to http://localhost:8080/XXX. Is it possible to hide this redirect anyway? Caldarale, Charles R wrot

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread thomas2004
> So now, maybe you want to state your real problem again, and please send us some information that is really related to that problem. And, so far, and judging by the log that you did send, but where you also mention that nothing shows up in the browser, it does not look like either a tomcat o

Re: Tomcat common/lib

2009-11-13 Thread Ziggy
No i dont have driver specific code. But something like this raises compilation errors as the jar file that includes the Connection, PreparedStatement and ResultSet objects is not accessible from the WEB-INF/lib folder. Context envCtx = (Context) initCtx.lookup("java:comp/env"); DataSource ds = (D

Re: Tomcat common/lib

2009-11-13 Thread Mikolaj Rydzewski
Ziggy wrote: when i build the war file using ANT, it refuses to build the war file unless i have the jdbc driver in the application's WEB-INF/lib folder Do you use any driver specific calls in your code? Since you use JNDI, you should rely only on DataSource provided by container. Hence, no pie

Multiple tomcat instances

2009-11-13 Thread Ziggy
Hi, I have set up multiple Tomcat instances using the multiple CATALINA_BASE approach. Everything works fine but i have two issues that i need clarification on. I am currently using Tomcat 5.5 1. When i have created the new folders that $CATALINA_BASE will point to, which files do i need to copy

Re: Tomcat common/lib

2009-11-13 Thread Ziggy
Excellent thanks. Im only beginning to use ANT so im learning it. Thanks On Fri, Nov 13, 2009 at 8:08 AM, Mikolaj Rydzewski wrote: > Ziggy wrote: > >> When i deploy an application on Tomcat, i have to place the jdbc driver in >> the $CATALINA_HOME/common/lib folder to be able to use the JNDI >>

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread André Warnier
thomas2004 wrote: I cannot tell you what's wrong, but I can tell you that the log you show below, shows that the JBoss response is a HTML document, not a PDF. So maybe you have to revise some of your assumptions. Sorry, you are right. This time I haven't test the PDF generation since I just w

Re: how to find tomcat binary distribution service name

2009-11-13 Thread André Warnier
SRama wrote: Hi Guys, I am using tomcat v6 (binary distribution), there are two (a zip and an exe). which one did you install ? tomcat working fine here I would like to find tomcat service name, When I try to find through taskmanager ah! you are under Windows. Good to know. it will not sho

Re: Tomcat common/lib

2009-11-13 Thread Mikolaj Rydzewski
Ziggy wrote: When i deploy an application on Tomcat, i have to place the jdbc driver in the $CATALINA_HOME/common/lib folder to be able to use the JNDI facilities. This is fine but when i build the war file using ANT, it refuses to build the war file unless i have the jdbc driver in the applicati

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread thomas2004
>I cannot tell you what's wrong, but I can tell you that the log you show below, shows that the JBoss response is a HTML document, not a PDF. So maybe you have to revise some of your assumptions. Sorry, you are right. This time I haven't test the PDF generation since I just want to test the sim

Tomcat common/lib

2009-11-13 Thread Ziggy
Hi, When i deploy an application on Tomcat, i have to place the jdbc driver in the $CATALINA_HOME/common/lib folder to be able to use the JNDI facilities. This is fine but when i build the war file using ANT, it refuses to build the war file unless i have the jdbc driver in the application's WEB-I