Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Lionel Farbos
Hi Mladen, Thank you for this release. Some questions : - Why don't you provide any more a binary release for linux (since 1.2.6) ? - I've not found any documentation on the status worker (and web page) and the ability to reload jk configuration without a reload of apache. Can you tell me more

How could I autodeploy my webapps onto arbitrary path -s?

2005-03-31 Thread Zoltan Kanizsai
Hi, Formerly, with Tomcat 4.1, I was able to dynamically create small xml files (e.g. context-foo-editor.xml), which I dropped into the appBase directory. The files contained some Context elements like: Context path=/company/foo/editor docBase=/... Then a could access my application via:

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Mladen Turk
Lionel Farbos wrote: Some questions : - Why don't you provide any more a binary release for linux (since 1.2.6) ? It's up to the contributors (jk committers). Now, my company (JBoss) has invested a great deal of money to provide me with hardware and software needed for such tasks, but you'll have

remove stack-trace from public web

2005-03-31 Thread Andreas Andersson
Hi! Is there anyway to make tomcat not print the stack trace when jsp fails? -- Andreas Andersson IT Dept. Travelstart Nordic [EMAIL PROTECTED] http://www.travelstart.se - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

start/stop-script from source dist

2005-03-31 Thread Andreas Andersson
Is there a start/stop-script in the source distribution thats suitable to run from /etc/init.d on linux? Or is there a way to make one automatically? -- Andreas Andersson IT Dept. Travelstart Nordic [EMAIL PROTECTED] http://www.travelstart.se

Re: remove stack-trace from public web

2005-03-31 Thread Viorel Dragomir
Write stuff like this into your app's web.xml file. error-page error-code404/error-code location/common/notFound.html/location /error-page error-page error-code403/error-code location/common/file.html/location /error-page error-page error-code500/error-code

Re: remove stack-trace from public web

2005-03-31 Thread Antony Paul
You can use an error page to display when an exception occurs. This can be configured in web.xml. for eg. error-page exception-typejava.lang.Exception/exception-type location/internalError.html/location /error-page it can be used with HTTP error status also. The following displays

Re: Closed Input Stream across firewall

2005-03-31 Thread Tim Funk
The firewall is not the problem. If you are using ServletRequest.getInputStream() - you cannot use ServletRequest.getParameter(). Odds are something is calling getParameter() which in turn getParameter() reads the input stream and makes it unavailable. -Tim Vineet Chopra wrote: I am using a

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-31 Thread Mladen Turk
Lakshmi Narayanan K. wrote: Hi Mladen, Now, my question is, can I roll out only this executable as that of Tomcat version 5.0.28? Or do I need to roll out some other files as well? Sure you can. Tomcat5.exe and Tomcat5w.exe are not part of tomcat, but rather jakarta-commons/daemon project. The

Re: start/stop-script from source dist

2005-03-31 Thread Antony Paul
Check for RPM/deb distributions. This one is useful. http://www.raibledesigns.com/tomcat/boot-howto.html . I hadnt tried it yet. On Thu, 31 Mar 2005 13:27:16 +0200, Andreas Andersson [EMAIL PROTECTED] wrote: Is there a start/stop-script in the source distribution thats suitable to run from

Réf. : start/stop-script from source dist

2005-03-31 Thread Cyril . ZEKSER
Andreas, If your need is to restart a webapp, you can use ant to access the following URL (assuming you run the command on the same server than tomcat) : here is the target in the build.xml file target name=reload get src =http://{tomcatserver}:{port}/manager/html/stop?path/{webappname};

Re: Apache as front-end for several tomcat

2005-03-31 Thread Christophe Lemaire
There are 3 backend servers, 2 servers run one Tomcat on standard ports and 1 server runs two Tomcat on different ports (see file workers.porperties). For the log file, I have only 1 log file for all the workers defined in mod_jk.conf by the following line : # Where to put jk logs

Re: Apache as front-end for several tomcat

2005-03-31 Thread Christophe Lemaire
Oh, I forgot to say I can't see which virtual host is used in the access_log. How can I do that? Here is what I have in the access log : 194.78.221.136 - - [31/Mar/2005:13:41:11 +0200] GET / HTTP/1.1 401 942 194.78.221.136 - - [31/Mar/2005:13:41:11 +0200] GET / HTTP/1.1 401 942 Christophe There

Webdav Webfolder issue when container security enabled

2005-03-31 Thread Fernando Salazar de Paz
Using Windows XP SP 2 , Net Framework 1.1,MSDAIPP.DLL 11.0.5510.0 Tomcat version 4.1.21 5.5.7 JDK version 1.4.2_06 I cannot open pdf files, zip files, . (with office files, image files. it works fine) inside webfolders when basic

Re: How could I autodeploy my webapps onto arbitrary path -s?

2005-03-31 Thread QM
On Wed, Mar 30, 2005 at 06:11:38PM +0200, Zoltan Kanizsai wrote: : In 5.5.7, the path= parameter is forbidden with these : context xml files. The path will be derived from the : file name. Subdirectories are not processed, not even in : the $CATALINA_HOME/conf/[enginename]/[hostname] folder. : :

Re: Apache as front-end for several tomcat

2005-03-31 Thread Lionel Farbos
Use one Logger per apache Virtual Host; something like that : VirtualHost demo1.myweb.org:81 ServerName demo1.myweb.org CustomLog /var/log/demo1_vhost_access.log combined JkMount / demo1 ... /VirtualHost VirtualHost demo2.myweb.org:81 ServerName demo2.myweb.org CustomLog

Embedded tomcat ussage

2005-03-31 Thread Renat Zubairov
Hello All! I have a question concerning embedded tomcat. How to make it even more embedded as it is? I.e. do not extract war file somewhere but getting a files from it directly? Is there any standart way to acomplish it? BR Renat

hosting in Croatia

2005-03-31 Thread t.n.a.
Don't really know why I'm writing in english :), but here goes... Tomcat/jetty/jboss hosting in Croatia seems to be much more of a problem than I anticipated, so I need advice on how to proceed. Just go with the flow and develop for .net :) or is there something I've missed? Is hosting an issue

RE: Locked jar during Ant undeploy on Tomcat 5.5.3

2005-03-31 Thread Quinten Verheyen
Hi, I'm experiencing a similar problem, I read the Tomcat docs and this thread first before submitting. In my case, on freshly unzipped Tomcat versions 5.0.25, 5.0.28 and 5.5.4 the catalina ant task 'undeploy' encounters a locked jar-file situation. I suspect the jar-file is locked because

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Chris Egolf
Lionel Farbos wrote: - I've not found any documentation on the status worker (and web page) and the ability to reload jk configuration without a reload of apache. Can you tell me more about these new features (or give me a link I missed) ? I second this request. --

Re: hosting in Croatia

2005-03-31 Thread Mladen Turk
t.n.a. wrote: Don't really know why I'm writing in english :), but here goes... Da, mozda bi bilo bolje da si pitao neku lokalnu grupu, recimo hr.fido.java. Tomcat/jetty/jboss hosting in Croatia seems to be much more of a problem than I anticipated, so I need advice on how to proceed. Just go

RE: Tomcat Hang on Linux (hangs the entire system)

2005-03-31 Thread Trice, Jim
Hi, One thing I have found helpful in the past is to looks at sar statistics leading up to a system lockup. If it doesn't occur too quickly you might catch something building up on the system. You must have the sysstat package installed. See man sar. I check things like process creation,

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Mladen Turk
Chris Egolf wrote: Lionel Farbos wrote: - I've not found any documentation on the status worker (and web page) and the ability to reload jk configuration without a reload of apache. Can you tell me more about these new features (or give me a link I missed) ? I second this request. Yes, seems we

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Ilya . Nabedrik
Return Receipt Your Re: [ANN] JK 1.2.10 Released document:

RE: Tomcat -- port 80 for Linux

2005-03-31 Thread Vaneet Sharma
configure apache with tomcat ( if u have some static files in your webapp then performance becomes faster ) use mod_jk connector runing go to apache.org ( go to tomcat ... go to connector and READ and have fun vaneet -Original Message- From: FRANCOIS Dufour

SSL configuration question

2005-03-31 Thread Faine, Mark
Solaris 8, Tomcat 5.0.28 I've configured my tomcat installation with my SSL key from Entrust and it is working (sort of). 1. It is not correctly configured. It shows my organization as both issued to and issue by when I view the certificate information. Could someone explain what I have

Re: SSL configuration question

2005-03-31 Thread Hein Behrens
Answer to number 2 is edit your server.xml change 8443 to 443 in the ssl section also check that the the normal port redirects to 443. Where you see 8443 change to 443. 2 changes in your server.xml. - Original Message - From: Faine, Mark [EMAIL PROTECTED] To:

Fwd: Apache as front-end for several tomcat

2005-03-31 Thread Christophe Lemaire
Hello, I have configured an access log per Virtual Host. Only the first virtual host receives the requests. :-( That doesn't look right, does it? I dont think I need to add a JkMount / ... since I have a JkMount /* However I have tried but it doesn't work better. Regards, Christophe

Re: Fwd: Apache as front-end for several tomcat

2005-03-31 Thread Mladen Turk
Hi, First of all you will need to learn how to quote ;) I do not understand what is your question? First of all make sure your apache configuration is working for vitual hosts, and then add mod_jk mappings. The easiest way is to create a simple separate index.html page for each vitual host and see

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
Thanks, I tried that before and got a permission error, but it works now. -Mark -Original Message- From: Hein Behrens [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 12:41 PM To: Tomcat Users List Subject: Re: SSL configuration question Answer to number 2 is edit your

session management

2005-03-31 Thread Jagadeesha T
Hi all, I want to set session in httpservletresponse object, Is there any way to do it. Otherthan response.addCookie(), or response.encodeURL(); Is there any way to set the Jsession In headers, So that it gets that in the next Jsp by request object, If I use addCookie

Need Help w. Servlet Images.

2005-03-31 Thread Steve R. Burrus
Can someone/somebody please tell me just how exactly I go about viewing an image using both of the FileInputStream and the FileOutputStream classes in connection with the method getRealPath()?? I have been failing to view the images due to always getting a java.lang.NullPointerException every

Changing .systemPrefs location

2005-03-31 Thread Ryan Daly
All: I'm running various Tomcat instances on the same system, using the same JDK. One problem I'm running into is: * One web app is running as user1 * Another web app is running as user2 * Both web apps use the same JDK * Both web apps use system preferences * When one web app is started,

Re: SSL configuration question

2005-03-31 Thread Sasisekar S Sundaram
It shows both issued to and issue by because it is a self signed certificate. when you get you certificate authorized by some one like verisign, and then import that certificate into your keystore, you'll get issued by as that certifying authority's name. - Original Message - From: Faine,

Re: SSL configuration question

2005-03-31 Thread Nestor Florez
I have never done this and I was wondering, now that we are talking about this. When you create the .csr and the .key files what do you sendto the CA to get a certificate. And the certificate where to do you put it on your server? Thanks, Nestor :-) Néstor Alberto Flórez Torres [EMAIL

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
The certificate I imported was not self-signed (or should not be). It is what I received back from Entrust after submitting a CSR. It was already in use on Apache before I decided not to use Apache anymore. It worked before on Apache. I shut down apache and was intending to use the cert on only

RE: SSL configuration question

2005-03-31 Thread Mikhail Kruk
The certificate I imported was not self-signed (or should not be). It is what I received back from Entrust after submitting a CSR. It was already in use on Apache before I decided not to use Apache anymore. It worked before on Apache. I shut down apache and was intending to use the cert on

build problem

2005-03-31 Thread Fay, Michael
I'm sure it's something simple, but I'm getting the following error when I try to build tomcat: BUILD FAILED /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't support the compression attribute. I've searched the Jakarta website to see if there was something on

5.0.30 Manager app returns 'OK' before app is deployed

2005-03-31 Thread Ron Gomes
We've run into an unexpected troublesome behavior in Tomcat 5.0.30. We have an installation script that uses the HTTP interface of the Manager App to install a number of Web applications in one go. What we've found is that in some cases the Manager app returns OK to the caller, claiming that the

Re: Webdav Webfolder issue when container security enabled

2005-03-31 Thread Mark Thomas
I have done some testing with the latest TC4.1.x source from CVS, WinXP SP2, and tcpmon from the Axis project so I can look at the request and responses. I have a web folder and IE open on http://localhost:8080/webdav As a result of my tests I noted the following: 1. If I drag a .pdf to the

Re: Embedded tomcat ussage

2005-03-31 Thread QM
On Thu, Mar 31, 2005 at 03:18:30PM +0200, Renat Zubairov wrote: : I have a question concerning embedded tomcat. : How to make it even more embedded as it is? : I.e. do not extract war file somewhere but getting a files from it directly? : Is there any standart way to acomplish it? It depends on

Re: Need Help w. Servlet Images.

2005-03-31 Thread QM
On Thu, Mar 31, 2005 at 02:42:10PM -0500, Steve R. Burrus wrote: : Can someone/somebody please tell me just how exactly I go about viewing an image using both of the FileInputStream and the FileOutputStream classes in connection with the method getRealPath()?? Share your code, and we can help

Single Sign On not working (Tomcat 5.5.7)

2005-03-31 Thread Skely Vengaboy
Guys, Please help me... I'm really struggling with implemting SSO for my 2 webapps... I've done all that is said in the documentation pages of tomcat. For some reason, tomcat is not linking the 2 web-apps with SSO. When I try to reach from one web-app to the other, its repeatedly showing the

Apply single login (NTLM) on Tomcat

2005-03-31 Thread Marcus Nugroho
Hi All, We intend to use single user login using Windows NT for the Tomcat. so that the user can use the same user-id with his NT user to login into our web application. Does anyone have experiences on how to apply it ? TIA

Re: Closed Input Stream across firewall

2005-03-31 Thread Vineet Chopra
I am not calling getParameter method, instead request.getInputStream() to read the incoming XML is the first line of code after a few logging statements. Code for the sender servlet is as follows - URL url = new URL(destinationURL); URLConnection conn = url.openConnection();

Re: build problem

2005-03-31 Thread Antony Paul
What version of Ant you are using ?. It seems that Ant is not supporting the attribute compression On Apr 1, 2005 3:48 AM, Fay, Michael [EMAIL PROTECTED] wrote: I'm sure it's something simple, but I'm getting the following error when I try to build tomcat: BUILD FAILED

Proper way to open threads in a servlet

2005-03-31 Thread Steve Vanspall
Hi there, I am concerned that opening a thread in my serlvet using new Thread(Runnable) style code, is causing a massive hang in my system. Basically what the thread does is email people to notify them of a change in an order on the system. I want the emails to be sent in a separate thread so

Intermittent error on Tomcat restart

2005-03-31 Thread Marcus Nugroho
Hi, We have strange error on our Tomcat 3.3.1a which is sometimes it can't find the login page that we use. This intermittent error only happened after we restarted the Tomcat. Sometimes we need to restart Tomcat for several times, then we can login properly again. Does anyone can help ?

Re: SSL configuration question

2005-03-31 Thread Hein Behrens
I thought the two are not related my key is stored in the java keystore. I did everything with keytool, part of java. Tomcat only needs the password and name. The SSL certificate is not generated for or by tomcat. Hein - Original Message - From: Mikhail Kruk [EMAIL PROTECTED] To: