Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Dhaval Patel
Hello all, I have virtual hosting enabled in tomcat 6.0.18. But I can not forward logs into proper log files. I wants to have two log files, one for tomcat and one for virtual host. Following is my configuration: Server.xml -- Host name=a.localhost

Re: APR installation Question

2007-06-15 Thread Dhaval Patel
Hi Richard, I made small tutorial about how to enable APR and SSL. I have it in word file. If you don't mind I can email it to you on your email. I have question for this mailing list about attaching document. I can generate small size PDF from it. But am I allowed to attach document on this

Re: Paths in CSS files

2007-03-27 Thread Dhaval Patel
Hi Mike, Use relative address for images in your CSS. That's a quick way. The other way I can think of is to use redirect in web.xml of your webapp in such a way that all request to /image/* goes to context/image/* Hope it helps. Regards, D - Original Message From: Mike Quilleash

Re: Paths in CSS files

2007-03-27 Thread Dhaval Patel
) but would the app web.xml even be considered for URL requests that do not fall inside the web app context path? Thanks. Mike. -Original Message- From: Dhaval Patel [mailto:[EMAIL PROTECTED] Sent: 27 March 2007 14:35 To: Tomcat Users List Subject: Re: Paths in CSS files Hi Mike, Use

Re: Tomcat and Java6

2007-01-31 Thread Dhaval Patel
Hi, I am running Tomcat 5.5.20 with JDK 6.0 on Windows XP perfectly fine. I am running it as service and it works as it suppose it. Would you provide log file or catalina.out so that we can see what's going on? Thanks. Regards, D - Original Message From: Kristian Rink [EMAIL

Re: installing a web application on apache tomcat

2007-01-13 Thread Dhaval Patel
Hi, There are couple of ways to do it. Following are few of them: (1) Using Tomcat manager application to upload .war file for your application. (2) You can put your web application folder inside Tomcat webapps (TOMCAT_HOME\webapps). But you have to make sure that you use WEB-INF\web.xml

Re: Web Statistics in Tomcat 5.5

2007-01-08 Thread Dhaval Patel
How about Lambda Probe (http://www.lambdaprobe.org/) ? Regards, D --- Chetan Pandey [EMAIL PROTECTED] wrote: Hi All: I just want to know if there is any Free and Open Source Software for Tomcat 5.5 which will generate all the Web Statistics related to User Interaction with our

Re: web application - student need help

2007-01-05 Thread Dhaval Patel
Hi, Following is configuration for Tomcat Connection pool which you have to write in your context.xml. If you are using Tomcat Admin, you specify parameters in web GUI. Resource name=jdbc/mydbconn type=javax.sql.DataSource / ResourceParams name=jdbc/mydbconn parameter

Re: yet another SSL question

2007-01-05 Thread Dhaval Patel
Try this: security-constraint web-resource-collection web-resource-nameSecure servlet/web-resource-name url-pattern/path/to/servlet/*/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection

RE: run service in jdk 6

2006-12-30 Thread Dhaval Patel
I just installed 5.5.20 with JDK 1.6.0 on Windows XP. Run smooth as service. No problem at all. Following is my configuration: (1) Install java in c:\jdk1.6.0. Also set JAVA_HOME (2) While installing tomcat, it detected jre from c:\Program Files\Java\jre1.6.0 and installed Tomcat in

Re: Please help me to configure TOMCAT with APR connector Thanks

2006-10-09 Thread Dhaval Patel
Hi, I would say two things: (1) Use JDK 1.5 for Tomcat 5.5.x. (2) Look at http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/[EMAIL PROTECTED] for how to configure SSL + APR on windows. As far as your questions are concerned, someone will able to answer that. :) Regards,

Re: Tomcat monitoring

2006-08-24 Thread Dhaval Patel
http://www.lambdaprobe.org --- [EMAIL PROTECTED] wrote: Hi; I attended to an Oracle IAS event and they presented their Enterprise Manager 10g, and they showed some great monitoring capabilities. Here I quote some of them from their document

Re: how to use the mod_jk2?

2006-08-20 Thread Dhaval Patel
Hi, If you are using Apache 2.0.x, then and then only mod_jk or mod_jk2 will help you. If you are using Apache 2.2.x, use mod_proxy_ajp. For mod_jk configuration, look at following two links: (1) Simple configuration - http://www.howtoforge.com/apache2_tomcat5_mod_jk_integration (2)

Using java -server in Tomcat start-up script

2006-07-10 Thread Dhaval Patel
Hi, I saw a performance gain by using java -server compared to java. I also searched on google and found that it increase performance of application by providing more resources to program (CPU, RAM, etc.) I was wonder why it is not used in starting up Tomcat (by default). Any one has

Re: APR not found under Linux

2006-06-30 Thread Dhaval Patel
Hi, I think your APR library is old. (You might have install using Yast). Tomcat 5.5 requires APR 1.2+. So you might have to compile it by yourself. (http://tomcat.apache.org/tomcat-5.5-doc/apr.html) I remembered that I had to compile APR for SuSE 10. Here is what I did: 1) Make sure you

Re: APR not found under Linux

2006-06-30 Thread Dhaval Patel
think that libapr-0 does interfere with libapr-1? Cheers, --Stefan Dhaval Patel wrote: Hi, I think your APR library is old. (You might have install using Yast). Tomcat 5.5 requires APR 1.2+. So you might have to compile it by yourself. (http://tomcat.apache.org/tomcat-5.5

Re: Problems configuring SSL connector

2006-04-21 Thread Dhaval Patel
Yes. Markus is right. When you add tcnative-1.dll, it means you are enabling APR support in tomcat, which is good. For detail instruction, visit: http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html There is only one problem in the steps described in above link. It works 100%

RE: SSL tomcat apache FAILURE

2006-04-21 Thread Dhaval Patel
Before any suggestion, I have few question: 1) How do you run Tomcat? Standalone or as a service or as a JSP server behind IIS? 2) Are you 100% sure that port 8443 and 443 are free? 3) Do you have any failure entry in tomcat log when you start tomcat? If yes, what is that? By looking at

Re: Setting up to use 443

2006-04-20 Thread Dhaval Patel
Hi, Couple of things: 1) Make sure you change 8443 to 443 on all places in server.xml (there are 2 places.) 2) Make sure that no other service running on 443 port. This way Tomcat can use that port. 3) What tomcat version you are running? Do you want to use APR? Now I dont know which version

Re: HTTPS setup

2006-03-08 Thread Dhaval Patel
Hi, Based upon your description, I think you are trying to use JSSE way to enable SSL. Tomcat 5.5 has two ways to enable SSL: 1) JSSE 2) OpenSSL. If you are trying with JSSE, please remove tcnative-1.dll from your TOMCAT_HOME\bin directory. It should work fine. If you want to know how to do

Re: HTTPS setup

2006-03-08 Thread Dhaval Patel
with my certificate). It seems like its a problem with my certificates? Thanks, Julie. On Wednesday 08 March 2006 13:31, Dhaval Patel wrote: Hi, Based upon your description, I think you are trying to use JSSE way to enable SSL. Tomcat 5.5 has two ways to enable SSL: 1) JSSE 2

RE: Tomcat Administration Package installation

2006-02-27 Thread Dhaval Patel
Hi, First download tomcat-admin package from website for appropriate OS. Then unzip it. When you unzip the tomcat-admin (both on linux as well as on windows), say you unzip into TEMP directory. Now open TEMP directory and take some time to view the directory structure there. Now go to your

Re: Problems with web.xml file

2006-02-17 Thread Dhaval Patel
Hi Mark, What kind of error do you get? 404? Is there any exception on catalina.out? Try this: security-constraint web-resource-collection web-resource-nameSecure Area/web-resource-name url-pattern/secure/*/url-pattern

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Dhaval Patel
Hi, I have setup small guide on SSL with Tomcat 5.5. You can find it at http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html But that guide is in Tomcat 5.5 with APR (Apache Portable Runtime). It works with self-generated certificates. (I think it does not work with

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Dhaval Patel
is follow the advice on the help page, using the command keytool =genkey -alias localhost -keyalg RSA Once that's done I've linked from server.xml to the .keystore file created using this. Is this right or am I missing a step? Mark - Original Message - From: Dhaval Patel [EMAIL

Re: how to configure the tomcat 5.5.12 for a port 80 in linux (Gentoo)??

2006-01-18 Thread Dhaval Patel
Hi, For detail information about the problem and solution, visit: http://wiki.apache.org/tomcat/HowTo#head-18d1c3f3fa702a1be769340784515eecce6e0ac9 The quick solution is to to administer (start, stop, edit) tomcat only as a root. Hope it helps. Regards, D --- Iosev Perez Rivero

Re: how to enable SSL protocol with tomcat 5.5.12

2006-01-12 Thread Dhaval Patel
http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html --- Iosev Perez Rivero [EMAIL PROTECTED] wrote: I use the tomcat�s documentation about that but I have an error, I need that someone explain to me how to that I�sev P�rez Rivero Estudiante 4to. A�o Universidad

Re: how to change the APR protocol for may use keytool self-signed certificate

2006-01-12 Thread Dhaval Patel
Hi, I hope you have read my post a while ago (in which I explained about configuring SSL with APR in Tomcat 5.5.12). If you haven't, http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html If you read that post fully, you will understand basics of SSL with Tomcat. If you want

Re: i need configure SSL protocolo (https) with tomcat 5.5.12

2006-01-11 Thread Dhaval Patel
http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/20051204175733.82684.qmail%40web50613.mail.yahoo.com --- Iosev Perez Rivero [EMAIL PROTECTED] wrote: i need configure SSL protocolo (https) with tomcat 5.5.12, but I don´t know configure, I used documentation of tomcat but

Re: i need configure SSL protocolo (https) with tomcat 5.5.12

2006-01-11 Thread Dhaval Patel
I am sorry. The link is http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html --- Dhaval Patel [EMAIL PROTECTED] wrote: http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/20051204175733.82684.qmail%40web50613.mail.yahoo.com --- Iosev Perez Rivero [EMAIL

Getting list of all deployed web applications

2005-12-28 Thread Dhaval Patel
Hi, Is there a way by which you can list of all web applications deployed? I know that if you go to manager webapp, you will see list of deployed applications. I want to achieve the same functionality but using jsp pages. I tried to understand the source of manager webapp but I could not

Re: Getting list of all deployed web applications

2005-12-28 Thread Dhaval Patel
/api/ Martin- - Original Message - From: Dhaval Patel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, December 28, 2005 3:11 PM Subject: Getting list of all deployed web applications Hi, Is there a way by which you can list of all web applications deployed? I

Re: Which version of Tomcat on SuSE?

2005-12-21 Thread Dhaval Patel
Hi Nigel, The answer of this question depends upon many aspects like, (1) What kind of web-application would you like to serve with Tomcat? (2) Which J2SE\J2RE version are you using? (3) Do you require any special things from Tomcat besides an application server? I mean does your application

Re: SSL InvalidKeystore Format?

2005-12-04 Thread Dhaval Patel
know enough about this to make any logical sense. I will email Verisign and see what they say. Thanks, Scott PS, did you have Nates earlier email you described below? If so could you email me it? Thanks - Original Message - From: Dhaval Patel [EMAIL PROTECTED] To: Tomcat

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Dhaval Patel
Hi Scott, I am not tomcat expert as well as I can not help you about the error you are getting. After Remy's last message on SSL with APR, I finally got my windows xp + tomcat 5.5.12 + APR + SSL working. Following are the steps that I have followed: (1) Install Tomcat 5.5.12 and make sure

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Dhaval Patel
explanation if possible. Thanks much Scott - Original Message - From: Dhaval Patel [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 01, 2005 2:08 PM Subject: RE: SSL InvalidKeystore Format? Hi, I should have mention that I am running

Re: Tomcat 5.5.12- APR Connector - SSL configuration

2005-11-30 Thread Dhaval Patel
Hi Nate, Welcome aboard. I am waiting for the answer of this problem since a long time. I have searched this mailing list but no body answered it correctly. You can search on the list archive of Nov. 2005, you will find my messages. I have searched on google about it, but could not find

Re: How to set the admin console for 5.5.x

2005-11-28 Thread Dhaval Patel
Hi Shridhar, Tomcat Admin (for 5.5) zip or rar.gz file has following two main contents: admin.xml admin (webapps) You have to put admin.xml inside $CATALINA_HOME/conf/Catalina/localhost and admin (webapps) inside $CATALINA_HOME/server/webapps . Also make sure that (which you already did

Re: Server push

2005-11-25 Thread Dhaval Patel
Hi, I dont know about your environment. But I know few things about push that I would like to share. I researched push a while ago. Basically I was looking for server push. HTTP is not push enabled protocol. So the answer is you can not push from server to client using HTTP. Client has to

Re: enable log4j

2005-11-22 Thread Dhaval Patel
Hi Nehal, Do you want to enable log4j in your application or you want to enable log4j inside tomcat? Inside tomcat means, tomcat uses log4j instead of J2SE logging utility so that you can configure tomcat loggin in log4j. Regards, D --- Nehal Sangoi [EMAIL PROTECTED] wrote: Hi, I want

RE: enable log4j

2005-11-22 Thread Dhaval Patel
log4j in debug mode only for one of the tomcat instances which is running using different user -- i.e. other than tomcat-base. This means, i don't want to apply log4j on all tomcat instaces by implemeting it onto tomcat-base. -Original Message- From: Dhaval Patel [mailto:[EMAIL

Re: url to search mailing list

2005-11-22 Thread Dhaval Patel
Hi, This is the site where you have all archives : http://mail-archives.apache.org/mod_mbox/ You can click on perticular email and you will get archives for that perticular email address. For example, http://mail-archives.apache.org/mod_mbox/tomcat-users/ For search, you can use google,

Re: Sharing webapps between linux and windows on single computer

2005-11-17 Thread Dhaval Patel
better (even I prefer that). But it just something to play around and clearing my doubts. Regards. Dhaval --- Nikola Milutinovic [EMAIL PROTECTED] wrote: Dhaval Patel wrote: My question is, is it possible to put only webapps on P_FAT32 while tomcat install files are in P_NTFS and P_RES

Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Dhaval Patel
Hello all, I am trying to configure HTTPS with Tomcat 5.5.12 on Windows XP. I am using J2SE 1.5.0_05. I am a student and I dont have signed certificate. I tried two methods which are mentioned on Tomcat documentation: (1) Using .keystore (generated by keytool) I followed the documentation

Re: Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Dhaval Patel
anyway. Regards, Dhaval --- Remy Maucherat [EMAIL PROTECTED] wrote: On 11/17/05, Dhaval Patel [EMAIL PROTECTED] wrote: Hello all, Then I read at some place that if you want APR you have do some extra configuration, which I followed in part 2. (2) Using OpenSSL. I installed

Sharing webapps between linux and windows on single computer

2005-11-16 Thread Dhaval Patel
Hi all, I have computer three partitions: Partition 1 : Windows XP (NTFS) - (aka P_NTFS) Partition 2 : SuSE Linux 10.0 (Reiser) - (aka P_RES) Partition 3 : Share (FAT32) - (aka P_FAT32) Tomcat 5.5.12 with J2SE 1.5.0_05 on both SuSE and Windows. I use P_FAT32 for sharing my data files

RE: Mod_jk Connector

2005-11-10 Thread Dhaval Patel
Hi. Did you check about your installation? If you installed mod_jk correctly, can you able to see the log files of mod_jk inside tomcat logs directory. It looks like something is missing here. Give me little more details about your installation. I had similar problems like it but it turns out

Re: Question regarding deployment

2005-11-09 Thread Dhaval Patel
Hi, Based upon your talk I am assuming following: - You have directory c:\sample-dir which text files and other files. - You want to make something like http://ADDRESS/sample-dir which displays list of files (like online apache browsing). Here is the one way you can do it quickly: (1) Even

Re: Question regarding deployment

2005-11-09 Thread Dhaval Patel
. Hope I am right to understand your question this time. ;) Regards, Dhaval --- Dhaval Patel [EMAIL PROTECTED] wrote: Hi, Based upon your talk I am assuming following: - You have directory c:\sample-dir which text files and other files. - You want to make something like http://ADDRESS

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-07 Thread Dhaval Patel
that suse provides. Once you've done that, edit the /etc/sysconfig/apache2 file and add mod_jk to the list of modules. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Dhaval Patel [mailto:[EMAIL PROTECTED] Sent: Saturday

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-07 Thread Dhaval Patel
: 303 438 9585 -Original Message- From: Dhaval Patel [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 10:11 AM To: Tomcat Users List Subject: RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0 Thanks again to all of you. First

Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Dhaval Patel
Hello, I installed SuSE 10.0 via DVD. I have added this mirror (ftp://ftp-linux.cc.gatech.edu/pub/opensuse/distribution/SL-10.0-OSS/inst-source) as the installation source in YaST so that I don't need DVD in future. I installed Apache2 (ver. 2.0.54), apache2-debuginfo, apache2-devel,

RE: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0

2005-11-05 Thread Dhaval Patel
-Original Message- From: Dhaval Patel [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 10:06 PM To: users@tomcat.apache.org Subject: Help configuring mod_jk! Apache 2.0.54 + Tomcat 5.5.12 + SuSE Linux 10.0 Hello, I installed SuSE 10.0 via DVD. I have added this mirror (ftp://ftp