RE: About the problem Task com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1386abc (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().

2009-12-09 Thread Hadole, Nishant IN BOM SISL
Not sure whether this is applicable here... but encountered similar issue with Tomcat and XAPOOL... When DB server fails, connection pool has maximum connection initialised (but not working). Thus with restart of DB server, Tomcat need to be restarted to initialize active connections of pool,

Re: About the problem Task com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1386abc (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().

2009-12-09 Thread Pid
On 09/12/2009 08:57, Hadole, Nishant IN BOM SISL wrote: Not sure whether this is applicable here... but encountered similar issue with Tomcat and XAPOOL... When DB server fails, connection pool has maximum connection initialised (but not working). Thus with restart of DB server, Tomcat need

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-09 Thread Alessandro Bahgat
Nishant, that didn't quite work, actually. After some struggle with our outsourcers, we added a new machine running Tomcat 6.0.20 *without tcnative* (they misplaced the .so files). That eventually resulted in a worse behaviour: within a few minutes from startup all the TP-Processor threads on

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-09 Thread Pid
On 09/12/2009 11:00, Alessandro Bahgat wrote: Nishant, that didn't quite work, actually. After some struggle with our outsourcers, we added a new machine running Tomcat 6.0.20 *without tcnative* (they misplaced the .so files). That eventually resulted in a worse behaviour: within a few minutes

deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi We have deployed same TOMCAT 6.0.20on Windows / Linux 1) In case of Windows the Catalina. out is not generated in /log folder while on Linux the same is generated on every start 2) Tomcat on windows is Slow compared to Linux in request /response Why is this ?

db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
Hi, I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to run the tomcat, server started up properly. Now I have removed these jar from common/lib and put under shared/lib, server throws an error saying

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com We have deployed same TOMCAT 6.0.20on Windows / Linux Just to check: in both cases, you downloaded the same installation files from http://tomcat.apache.org and installed them? Exactly the same JVM revision on both

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier
Karthik Nanjangude wrote: Hi We have deployed same TOMCAT 6.0.20on Windows / Linux 1) In case of Windows the Catalina. out is not generated in /log folder while on Linux the same is generated on every start 2) Tomcat on windows is Slow compared to Linux in request

Re: db jars in common/lib and shared/lib

2009-12-09 Thread Peter Crowther
2009/12/9 Mohammad, Hammad Kasim Bekur hammadkasimbekur.moham...@misys.com I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to run the tomcat, server started up properly. Now I have removed these jar from

RE: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi Os/ : Windows 2000 / Linux Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip RAM is 2 GB on Linux on Windows is 1.5 GB No extra applications are running when the same was executed Machine details Windows 2000 4 CPU

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
Tomcat: apache-tomcat-5.5.27 OS: Windows NT. Ant: 1.7 Not from OS, downloaded version. many thanks Kasim -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: 09 December 2009 19:07 To: Tomcat Users List

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Mohammad, Look in your Tomcat/conf/catalina.properties file. Within there you'll find a shared.loader= line, and I suspect it is empty. You'll likely want to enter a value there, such as shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar -Original Message- From:

Re: db jars in common/lib and shared/lib

2009-12-09 Thread Mark Thomas
Joseph Morgan wrote: Mohammad, Look in your Tomcat/conf/catalina.properties file. Within there you'll find a shared.loader= line, and I suspect it is empty. You'll likely want to enter a value there, such as shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar Nope. That

Re: db jars in common/lib and shared/lib

2009-12-09 Thread Mark Thomas
Mohammad, Hammad Kasim Bekur wrote: I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to run the tomcat, server started up properly. Now I have removed these jar from common/lib and put under shared/lib, server

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip OK. RAM is 2 GB on Linux on Windows is 1.5 GB No extra applications are running when the same was executed

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
It verified and it as given as shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/li b/*.jar many thanks Kasim -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: 09 December 2009 19:39 To: Tomcat Users List Subject: Re: db jars in common/lib and

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid
On 09/12/2009 14:12, Peter Crowther wrote: 2009/12/9 Karthik Nanjangudekarthik.nanjang...@xius-bcgi.com Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip OK. RAM is 2 GB on Linux on Windows is 1.5 GB No extra

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier
Karthik Nanjangude wrote: Also, both Windows 2000 and Java 1.5 are in the no longer supported Off the topic - Does this mean Every Hardware /S/w for 6 months needs replacement Not really off the topic, if you are talking about comparisons and benchmarks.

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread David kerber
Peter Crowther wrote: ... - A much older JVM, I think - this looks like the original 1.5 release, compared to 1.5.0_18 on Linux. - The client VM rather than the server VM is running. I would expect both of these to slow down the Windows box. Especially the client vs server vm, IME. D

Tomcat Config Question

2009-12-09 Thread steflik
I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in their application I have to restart the sever

Re: Tomcat Config Question

2009-12-09 Thread Markus Schönhaber
09.12.2009 15:31, steflik: I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in their application I

RE: Tomcat Config Question

2009-12-09 Thread Caldarale, Charles R
From: steflik [mailto:stef...@binghamton.edu] Subject: Tomcat Config Question I have created a context for each student in the server.xml file Don't do that - very strongly discouraged to have any webapp-specific information in server.xml. The Context elements should be in

RE: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi As Andre points out, you also don't give any information on the tests you're running, which makes it difficult to know what you're actually comparing. For example, if your webapp accesses an external database, the version of the database software will make a massive difference. Most of the

RE: Tomcat Config Question

2009-12-09 Thread Neil Aggarwal
The global conf/context.xml file should have a WatchedResource element for WEB-INF/web.xml; Tomcat should automatically restart the webapp unless you've removed that or disabled deployOnStartup in the Host element. In my experience, Tomcat has problems reloading webapps on occasion. This

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread David kerber
Karthik Nanjangude wrote: Hi As Andre points out, you also don't give any information on the tests you're running, which makes it difficult to know what you're actually comparing. For example, if your webapp accesses an external database, the version of the database software will make a

Re: Tomcat Config Question

2009-12-09 Thread Pid
On 09/12/2009 14:52, Neil Aggarwal wrote: The global conf/context.xml file should have a WatchedResource element for WEB-INF/web.xml; Tomcat should automatically restart the webapp unless you've removed that or disabled deployOnStartup in theHost element. In my experience, Tomcat has

Re: Tomcat Config Question

2009-12-09 Thread Peter Crowther
2009/12/9 steflik stef...@binghamton.edu I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in

Re: Question on META-INF/context.xml

2009-12-09 Thread pprun
Thanks a lot for this great tip. Can I ask one more question? What about those links in the static HTML? How does it access to context path? Thanks again, run Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Run, On 12/8/2009 4:39 PM, pprun wrote: I

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier
Karthik Nanjangude wrote: ... When something is in Production it really gets pickles to upgrade the Jdk /OS , Realy worried :( Karthik, generally speaking, the gurus on this list - of which I am not - tend to be sceptical about benchmarks. That is because, as Mark indicated in

Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
Tomcat version: 5.5.27 Java version: 1.5.0_14-b03 I have a datasource configured in global context (via present in [tomcat_home]/conf/context.xml) as follows: Context Resource name=*@tomcat.context.ece.read.ds.resource@* auth=*Container type=@tomcat.context.driver.type@ driverClassName=

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Mark Thomas
Anurag Kapur wrote: Tomcat version: 5.5.27 Java version: 1.5.0_14-b03 I have a datasource configured in global context (via present in [tomcat_home]/conf/context.xml) as follows: snip/ I know a DS defined as above is visible across all the contexts defined in the container. What I want

Re: Feedback on Tomcat Client Deployer

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tero, (Moving this discussion back onto the tomcat-user list.) On 12/9/2009 2:50 AM, Tero Karttunen wrote: In this configuration I regularly need to deploy or re-deploy new applications to all the Tomcat instances, and I was surprised to find out

Re: Control character in cookie value

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/8/2009 6:28 PM, André Warnier wrote: So now I can go to sleep peacefully, knowing that these parts of the cookie do not in effect contain control characters. I'm surprised that nobody else has noticed that the control characters in

Re: mod_proxy tomcat6 question

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/8/2009 6:58 PM, groupalias v wrote: Thanks Chris. I was beginning to realize that myself. It hit me yesterday that session management (though I have not started to deal with it yet) could cause me problems if the apache mount and the

Re: high CPU usage

2009-12-09 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: I am going to add some more information to the question I asked yesterday. I am running a TLS test case to do a TLS handshake on port 8443 of our server that is running Tomcat 5.5. I noticed in the log file that there are two threads currently running on the

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
Thanks Mark. Can you confirm that I can have one data source shared across all contexts with the following configurations: In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as follows: GlobalNamingResources ... ... Resource name=*@tomcat.context.ece.read.ds.resource@*

Re: Question on META-INF/context.xml

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Run, On 12/9/2009 10:57 AM, pprun wrote: What about those links in the static HTML? How does it access to context path? When it comes to static HTML/CSS, you have at least 4 options: 1) Hard-code the path and remember to change them if you

Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/9/2009 9:15 AM, Pid wrote: [r...@teleglb bin]# uname -a Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux So you appear to have 2 processors in the linux machine. Or maybe three: two

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
That doesn't mean someone didn't ax it. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, December 09, 2009 8:09 AM To: Tomcat Users List Subject: Re: db jars in common/lib and shared/lib Joseph Morgan wrote: Mohammad, Look in your

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Not required for the web app unless you are using connection pooling within tomcat. The DB drivers can be in shared. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, December 09, 2009 8:10 AM To: Tomcat Users List Subject: Re: db jars in common/lib and

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Kasim.. did you see Mark's note??? If you are using the connection pool under Tomcat, then the DB drivers need to be located in shared. -Original Message- From: Mohammad, Hammad Kasim Bekur [mailto:hammadkasimbekur.moham...@misys.com] Sent: Wednesday, December 09, 2009 8:14 AM To:

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Dang it... the db drivers need to be located in common/lib if being used as a source for a connection pool... Sorry for the mistake... -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: Wednesday, December 09, 2009 12:04 PM To: Tomcat Users List Subject:

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Mark Thomas
Anurag Kapur wrote: Thanks Mark. Can you confirm that I can have one data source shared across all contexts with the following configurations: In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as follows: GlobalNamingResources ... ... Resource

Re: Data Source Resource Declaration in Tomcat Context

2009-12-09 Thread Anurag Kapur
Perfect Thanks! The type I use would be: jhttp://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html avax.sql.DataSource (I was using untokenized reference in my example) Thanks for your help. Regards Anurag -- Anurag

Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid
On 09/12/2009 18:01, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/9/2009 9:15 AM, Pid wrote: [r...@teleglb bin]# uname -a Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux So you appear to have 2

Re: Control character in cookie value

2009-12-09 Thread André Warnier
Chris, Christopher Schultz wrote: I'm surprised that nobody else has noticed that the control characters in question were already posted by Itay... it's just that nobody bothered to read the error message properly :) And we are quite flabbergasted that you did not peruse the thread

Re: Can Tomcat context path be multilevel

2009-12-09 Thread Prashantha H
Hi All, I have an application which needs to be deployed and accessed with multilevel context path in the url. So I have updated the TOMCAT_HOME/Conf/Server.xml with an appropriate entry for this. For Example: If my application name is Doc.war and I want it to be accessed

Re: Question on META-INF/context.xml

2009-12-09 Thread pprun
You are absolutely right, I decided to follow your perference. Thank you very much for the suggestions. Regards, run Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Run, On 12/9/2009 10:57 AM, pprun wrote: What about those links in the static HTML? How

Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/9/2009 1:22 PM, Pid wrote: On 09/12/2009 18:01, Christopher Schultz wrote: Pid, On 12/9/2009 9:15 AM, Pid wrote: [r...@teleglb bin]# uname -a Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386

Re: tomcat, uPortal, error messages and confusion

2009-12-09 Thread Egeste
As for the mangled ubuntu version, tomcat_home is /usr/share/ tomcat5.5, here is the directory listing total 20 drwxr-xr-x 5 root root 4096 Dec 9 00:35 . drwxr-xr-x 121 root root 4096 Dec 9 00:37 .. drwxr-xr-x 2 root root 4096 Dec 9 00:35 bin drwxr-xr-x 6 root root 4096 Dec 9 00:35

Re: Control character in cookie value

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/9/2009 1:35 PM, André Warnier wrote: Chris, Christopher Schultz wrote: I'm surprised that nobody else has noticed that the control characters in question were already posted by Itay... it's just that nobody bothered to read the

Re: Can Tomcat context path be multilevel

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prashantha, On 12/9/2009 2:05 PM, Prashantha H wrote: If my application name is Doc.war and I want it to be accessed using multilevel context path dco/smartfolder. ( http://localhost:8080/dco/smartfolder/) Heh. So, you're on Windows,

Re: Control character in cookie value

2009-12-09 Thread David Fisher
Christopher Schultz wrote: I'm surprised that nobody else has noticed that the control characters in question were already posted by Itay... it's just that nobody bothered to read the error message properly :) And we are quite flabbergasted that you did not peruse the thread carefully, or

RE: tomcat, uPortal, error messages and confusion

2009-12-09 Thread Caldarale, Charles R
From: Egeste [mailto:ege...@egeste.net] Subject: Re: tomcat, uPortal, error messages and confusion As for the mangled ubuntu version, tomcat_home is /usr/share/ tomcat5.5, here is the directory listing Yup, mangled - notice the soft links to files scattered all over, rather than the

RE: Can service output be redirected to the terminal window?

2009-12-09 Thread George Sexton
-Original Message- From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com] Sent: Friday, December 04, 2009 4:49 PM To: Tomcat Users List Subject: RE: Can service output be redirected to the terminal window? I am working under Linux actually. Open a new window and change to

Contexts and Path and Authentication

2009-12-09 Thread Anthony Jay
Hi All, I am having tremendous difficulty configuring contexts on tomcat. I've had to split my perfectly working application into two applications as the jsp now requires Form based authentication and the XML components require Http Basic authentication as before. As I've learned the very hard

RE: Contexts and Path and Authentication

2009-12-09 Thread Caldarale, Charles R
From: Anthony Jay [mailto:anthony...@fastmail.fm] Subject: Contexts and Path and Authentication I've had to split my perfectly working application into two applications as the jsp now requires Form based authentication and the XML components require Http Basic authentication as before.

RE: Contexts and Path and Authentication

2009-12-09 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Contexts and Path and Authentication What you could do is create a simple default (ROOT) webapp that analyzes each request URI and then forwards it to one of the two real apps, which would continue to be deployed as /formauth and /basicauth. A filter

Re: tomcat, uPortal, error messages and confusion

2009-12-09 Thread Egeste
Chuck, Thanks again for all your help with this. After following your instructions and restarting tomcat, i know see my index.html when I browse to localhost:8080. However, I still only see a 404 message when I browse to localhost:8080/uPortal. Any further suggestions? On Dec 9, 2009, at

Re: Contexts and Path and Authentication

2009-12-09 Thread Ken Bowen
Can you use url-rewriting (tukey.com) to get what you want: /secure/yyy -- /formauth/secure/yyy -- Form based auth etc??? On Dec 9, 2009, at 4:07 PM, Anthony Jay wrote: Hi All, I am having tremendous difficulty configuring contexts on tomcat. I've had to split my perfectly working

RE: tomcat, uPortal, error messages and confusion

2009-12-09 Thread Caldarale, Charles R
From: Egeste [mailto:ege...@egeste.net] Subject: Re: tomcat, uPortal, error messages and confusion to localhost:8080. However, I still only see a 404 message when I browse to localhost:8080/uPortal. Look in the Tomcat logs (assuming you can find them) for any pertinent error messages; it's

Re: Contexts and Path and Authentication

2009-12-09 Thread André Warnier
Ken Bowen wrote: Can you use url-rewriting (tukey.com) to get what you want: /secure/yyy -- /formauth/secure/yyy -- Form based auth etc??? On Dec 9, 2009, at 4:07 PM, Anthony Jay wrote: Hi All, etc... Ok, my try here. And by the same token - haha - I will give a chance to Chris to

Re: Contexts and Path and Authentication

2009-12-09 Thread Anthony Jay
Many thanks Chuck and Ken for the tip. I am surprised that the solution is a 'hack' rather than configuration, but kinda glad that I wasn't losing my marbles. URL Rewriting is probably going to be the easiest way out, I am considering using mod_jk on the apache side so I could get away with using

RE: Contexts and Path and Authentication

2009-12-09 Thread Caldarale, Charles R
From: Anthony Jay [mailto:anthony...@fastmail.fm] Subject: Re: Contexts and Path and Authentication I am surprised that the solution is a 'hack' rather than configuration It's not by any means a hack; this is exactly the kind of thing filters are intended to do. I am considering using

Re: Contexts and Path and Authentication

2009-12-09 Thread Anthony Jay
Hi, FYI just hit another stumbling block which may be of interest to other users. UrlRewriteFilter will not forward any of my requests, even to the sample demo rule for /rewrite-status/ itself! It will, however, redirect perfectly well (when type is changed to type=redirect) meaning that I

Re: Authentication without Authorization ( JNDI Realm ) - Resolved

2009-12-09 Thread Shashank Rachamalla
Hi had to use roleSearch=(mail={1}) instead of roleSearch=(mail={0}) {0} takes the user dn where as {1} takes the username. Regards Shashank. On Fri, 2009-12-04 at 16:04 +0530, Shashank Rachamalla wrote: Hi The following is the Realm configuration being used: Realm

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
Can you please provide a link from apache or good site to have justification? many thanks Kasim -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: 09 December 2009 23:36 To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib Dang

URL Redirect in Tomcat 6

2009-12-09 Thread bharati
Hi, Iam using Tomcat 6. In my applicaion, when Users entered any url like 'www.google.com' then it will check for the status of the User. If he is Inactive, then it will send a http packet to redirect to the particular URL: like http://192.168.100.125:8080/; . Tomcat is listening to this port

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
Hi, My application is having a restriction that I cannot change or add jars to common/lib, is there anyway I can create a new directory which is equalent to common/lib? What additional changes I need to make for adding another directory? Since If I open I can find tomcat/common/lib, server/lib,

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Mohammad, Hammad Kasim Bekur
I have found from tomcat wiki page http://wiki.apache.org/tomcat/HowTo it says that: How do I add JARs or classes to the common classloader without adding them to $CATALINA_HOME/common/lib? Edit the file catalina.properties under $CATALINA_BASE/conf; there is a property called common.loader to

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Hadole, Nishant IN BOM SISL
Try following changes in catalina.properties (Avoid spaces) common.loader=${catalina.home}/common/classes,${catalina.home}/common/i1 8n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/ lib/*.jar,${catalina.home}/test/lib,${catalina.home}/test/lib/*.jar With best regards,