Re: anyway to disable undeploy link in manager app?

2006-02-08 Thread Mikolaj Rydzewski
Amila Suriarachchi wrote: you can do this by changing the source code. you have to change the following constants in org.apache.catalina.manager.HTMLManagerServlet.java private static final String STARTED_APPS_ROW_BUTTON_SECTION = private static final String STOPPED_APPS_ROW_BUTTON_SECTION

How to set the session pool size?

2006-02-08 Thread Vincent
Hi, I met a strange problem , that it seems that when the session pool size reaches 25 , exception will throw and my application have to restart then it can be work again.

Re: get element by long name

2006-02-08 Thread Nikola Milutinovic
--- Tony Smith [EMAIL PROTECTED] wrote: in my jsp, there is something like: html:text property=plateDetail.name value=${plateDetailEditForm.plateDetail.name} / How can I get this element in javascript? the following code does not work: var name =

Re: Is this achievable with TC? - A domain-subdomain configuration question

2006-02-08 Thread Edouard Dalla-Costa
Hello, I was wondering if you were able to solve your problem because I also need to handle severals virtual hosts with a single application using tomcat without apache. And I can't find any solution. Hope you can help me, thanks in advance Edouard On 1/2/06, Wei Wei [EMAIL PROTECTED] wrote:

Re: Tomcat + Linux Server + Jasper Reports problem

2006-02-08 Thread Letícia Álvares Barbalho
Anyone? On 2/7/06, Letícia Álvares Barbalho [EMAIL PROTECTED] wrote: Hello everyone, I developed my webapp using netbeans and its embedded tomcat. I did some reports in jasper reports and they were working just fine with the embedded tomcat. Then, I moved my app to the tomcat directory in

problems running Tomcat

2006-02-08 Thread Riccardo Roasio
Hi, i'm triyng to install Tomcat; i do like this: tar xzvf apache-tomcat.tar.gz mv apache-tomcat /usr/local/tomcat cd tomcat export TOMCAT_HOME=/usr/local/tomcat and i triyed to run it with usr/local/tomcat/bin/startup.sh it seems to start but if i try to see http://10.2.254.103 ( the

Antwort: problems running Tomcat

2006-02-08 Thread Andre Doeking
Hello Riccardo, yesterday I have installed Tomcat on RedHat Linux 4. The environment variable has to be named to CATALINA_HOME and the value pointing to your installation directory (that's /usr/local/tomcat) in your case. Yours sincerely Andrè Döking Ärztekammer Westfalen-Lippe Germany

RE: problems running Tomcat

2006-02-08 Thread Peter Crowther
From: Riccardo Roasio [mailto:[EMAIL PROTECTED] it seems to start but if i try to see http://10.2.254.103 ( the address of the machine) from a browse it says impossible to connect... Try http://10.2.254.103:8080 - port 8080 is the default port on which Tomcat starts, not port 80.

Re: problems running Tomcat

2006-02-08 Thread ALEX HYDE
You could try: http://10.2.254.103:8080 Riccardo Roasio [EMAIL PROTECTED] wrote: Hi, i'm triyng to install Tomcat; i do like this: tar xzvf apache-tomcat.tar.gz mv apache-tomcat /usr/local/tomcat cd tomcat export TOMCAT_HOME=/usr/local/tomcat and i triyed to run it with

Re: Antwort: problems running Tomcat

2006-02-08 Thread Riccardo Roasio
Andre Doeking wrote: Hello Riccardo, yesterday I have installed Tomcat on RedHat Linux 4. The environment variable has to be named to CATALINA_HOME and the value pointing to your installation directory (that's /usr/local/tomcat) in your case. Yours sincerely Andrè Döking Ärztekammer

Antwort: Re: Antwort: problems running Tomcat

2006-02-08 Thread Andre Doeking
Hello Riccardo, that's no problem. Temporary you can set the environment variable with the export command. export CATALINA_HOME=/usr/local/tomcat To set this environment variable forever, you have to edit one of your bash-files, such as .bashrc, i.e. for the user root in /root/.bashrc -- vi

Re: Tomcat + Linux Server + Jasper Reports problem

2006-02-08 Thread Mike Fowler
Hello, Though I generally do not reply to people who repost their own questions daily, I did miss your original post and I spent some considerable time trying to solve this problem myself. Checking the JavaDoc for HeadlessException you should note that it is thrown when code that is

Tomcat compression not working for data sent by server only - compression works for receipt from browser

2006-02-08 Thread Medha Parathasarathy
We have a small application running on tomcat 5.5. We tried to enable compression. The same is working on communcation received from the browser[ at around 50% ]. But the data sent from the server gets an compression of only 1%. Had anybody used this feature. How ensure that the compression is

Re: Tomcat + Linux Server + Jasper Reports problem

2006-02-08 Thread Mikolaj Rydzewski
Letícia Álvares Barbalho wrote: I developed my webapp using netbeans and its embedded tomcat. I did some reports in jasper reports and they were working just fine with the embedded tomcat. Then, I moved my app to the tomcat directory in the server (which is the same machine) and the reports

RE: Small connection problems with JK 1.2.15 and IIS 5

2006-02-08 Thread Paul Hamer
Hi, I experienced the same problem as described earlier in this thread. I'm also using Tomcat 5.5 (5.5.15 to be exact), JK 1.2.15 and IIS 5 (Win2k server). I'm running a single Tomcat instance, and it's on the same server as IIS. I was also having these messages, really thousands every day:

Re: get element by long name

2006-02-08 Thread David Smith
I think there is some confusion regarding server-side execution versus client-side execution. code like ${plateDetailEditForm.plateDetail.name} is entirely server-side as is the plateDetailEditForm object. You are trying to access that directly from the client which can't be done. You can try

RE: Small connection problems with JK 1.2.15 and IIS 5

2006-02-08 Thread Paul Hamer
Sorry, I just noticed I forgot a piece of the error :) The errors I'm still having are almost always immediately preceeded by this one: [Wed Feb 08 13:27:53 2006] [error] jk_isapi_plugin.c (549): HSE_REQ_SEND_RESPONSE_HEADER failed Tanx, Paul Hamer -Original Message- From: Paul Hamer

Re: Is this achievable with TC? - A domain-subdomain configuration question

2006-02-08 Thread Parsons Technical Services
Yes, it is achievable. But may not be worth it. Only you can decide that. Take a look at the Host element. There is a feature called alias that allow you to point all subdomains to the same application. From there it is up to you to parse out the information to determine the appropriate

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Scott Purcell
Hello Sycamore ... I was able to get verisign SSL (free trial) cert and real cert working on 5.5x Tomcat on a XP box. I struggled with the install for weeks, and after screwing around, found out it was once executable that was in my install (Tomcat) that was screwing things up. I am at work now

Re: Basic modjk + ssl + tomcat question

2006-02-08 Thread Mike Sabroff
Because ssl only works through https:// You should really split that up though Bill Barker wrote: Ed [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! (modjk newbie) I'm using a modjk+SSL config (I did not make myself) that is mapped to a single worker. Behind, a single

Re: caseSensitive on Windows XP

2006-02-08 Thread David Kerber
Merico Raffaele wrote: Dear Community I am developing a web application based on Tomcat 5.5. and on Cocoon 2.1.8. I am doing all the work on a Windows XP platform. Now, somehow, I have seen filenames are not treated case-sensitive. In order to change this behaviour on Tomcat level I added the

RE: caseSensitive on Windows XP

2006-02-08 Thread Bob Faist
Try this: Context caseSensitive=false Context path=/V2D docBase=V2D/ /Context I think tomcat is case sensitive by default. I had to add the caseSensitive attribute to the top level Context node. -Original Message- From: Merico Raffaele [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-02-08 Thread Remy Maucherat
Since you're doing docs, META-INF/context.xml should be simplified to: Context Resource name=jdbc/myDB auth=Container type=javax.sql.DataSource factory=org.objectweb.jndi.DataSourceFactory driverClassName=org.hsqldb.jdbcDriver username=sa password=

Re: Tomcat + Linux Server + Jasper Reports problem

2006-02-08 Thread Mike Sabroff
Why not just set the environment variable to wherever the reports are expected to be produced. In other words, if it is the macine you are on, use unix:0.0 if it is another machine, get ip of that machine and set the DISPLAY variable to whateverip:0.0 that is providing there is an XServer

Re: Tomcat + Linux Server + Jasper Reports problem

2006-02-08 Thread Letícia Álvares Barbalho
Thanks everyone, I've just managed to get rid of the error. I set the display variable :0 and then did a xhost +. I also had to get rid of the headless parameter, as you said I didn't need it. Now my report successfully appears on my server. The thing is that I wanted it to be shown on the machine

RE: Virtual Directory

2006-02-08 Thread Caldarale, Charles R
From: sumesh [mailto:[EMAIL PROTECTED] Subject: Virtual Directory How can I create a Virtual Directory in Apache Tomcat? I have installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I have some Tutorials in E:\Tutorial .I want to publish the same using the same Web

Problem with setting up an SSL secure page

2006-02-08 Thread Mark Whitby
Dear all, I am currently designing a final year project for my University course and I am having problems getting a working SSL connection. I have Tomcat set up and working fine, but when it comes to accessing a page over the https setup, I am having no luck. Firstly a few technical details.

Good Security Document

2006-02-08 Thread Durfee, Bernard
I found a good security document that talks specifically about Tomcat, has a really nice diagram too... http://iase.disa.mil/stigs/stig/application-services-stig-v1r1.pdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Caldarale, Charles R
From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: RE: Re: Verisign SSL on Tomcat 5.5.9 I struggled with the install for weeks, and after screwing around, found out it was once executable that was in my install (Tomcat) that was screwing things up. Are you thinking of the

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Parsons Technical Services
What is in the logs? - Original Message - From: Mark Whitby [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, February 08, 2006 11:02 AM Subject: Problem with setting up an SSL secure page Dear all, I am currently designing a final year project for my University

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Mike Sabroff
What firewall are you using..if any? Is it on or off? Parsons Technical Services wrote: What is in the logs? - Original Message - From: Mark Whitby [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, February 08, 2006 11:02 AM Subject: Problem with setting up an SSL

RE: caseSensitive on Windows XP

2006-02-08 Thread Caldarale, Charles R
From: Bob Faist [mailto:[EMAIL PROTECTED] Subject: RE: caseSensitive on Windows XP Try this: Context caseSensitive=false Context path=/V2D docBase=V2D/ /Context I think tomcat is case sensitive by default. I had to add the caseSensitive attribute to the top level Context node.

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 Mark Whitby
Can you post the config files you consider relevant, in particular the server.xml. Have you enabled access logging in server.xml; if so, can you see it receiving the relevant request? Mike In reference to the Firewall, I'm using McAfee Security Centre (I have turned it on and off when

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Scott Purcell
Yes, That was the problem with my Tomcat 5.5, Verisign configuration. After following the Tomcat 5.5 docs, and the Verisign Tomcat docs, and them removing that dll, all is good. I have been running with the SSL for quite a while now. Also, if using Struts, the ssltext is awesome for controlling

Re: anyway to disable undeploy link in manager app?

2006-02-08 Thread Gary
Mikolaj Rydzewski wrote: Amila Suriarachchi wrote: you can do this by changing the source code. you have to change the following constants in org.apache.catalina.manager.HTMLManagerServlet.java private static final String STARTED_APPS_ROW_BUTTON_SECTION = private static final String

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Dhaval Patel
Mark, I had trouble with verisign. I tried a few things then gave up. The instructions works with self-signed certificate. Trust me it works. You can try to follow instructions from scratch with fresh tomcat install. One more thing. When you use command keytool genkey -alias localhost

Re: Problem with setting up an SSL secure page

2006-02-08 Thread Mark Whitby
Dhavel, I've deleted the.dll file from the folder and it seems to be working fine now! If anything changes I'll let you know but for now all is looking good! Thank you very much indeed for your help! Mark - Original Message - From: Dhaval Patel [EMAIL PROTECTED] To: Tomcat Users

Re: Two URLs, One Web Site

2006-02-08 Thread Tim Funk
If you are using apache. Using mod_rewrite is a very easy way to fix the doorway problem. For example: VirtualHost 127.0.0.1:80 ServerName www.companyA.com RewriteEngine on RewriteCond %{REQUEST_URI} ^/$ RewriteRule.+ /companyA_index.html [L,R=302] /VirtualHost VirtualHost

Re: Two URLs, One Web Site

2006-02-08 Thread Kenevel
James Reynolds wrote: This solution works fine for 99% of the pages, except for a couple items that fall outside my expertise. Your advise, or a pointer to where I should conduct more homework would be greatly appreciated. I need to maintain two URLs for the site, and each one should point

RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
Aha! This looks like what I need. I'll study everything I can about mod_rewrite. Thanks so much for your help! -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:17 AM To: Tomcat Users List Subject: Re: Two URLs, One Web Site If you are

RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
Thanks Mike, Tim Funk pointed me in a promising direction regarding how to manage the two different entries into my site and still maintain a consistent appearance so the users don't know they are actually sharing a single site. The two index pages and different URLs made up the 1% that I didn't

Is Certificate validation via OCSP Supported???

2006-02-08 Thread Dobson Paul L Contr 84 MSUG/GBMLBR
Does anyone know if Certificate Validation via Online Certificate Status Protocol (OCSP) is available or planned for in the near future? I desperately need it and don't really feel like trying to figure out how to implement it via java code. --Paul

RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess

2006-02-08 Thread Manuel Nicolas Ortuño
There are any form of change the loading order or i would need reinstall apache. Thank you. -Mensaje original- De: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Enviado el: martes, 07 de febrero de 2006 14:38 Para: Tomcat Users List; [EMAIL PROTECTED] Asunto: RE: Apache 2.0.50 - Tomcat

Symlinked directories

2006-02-08 Thread Alex Turner
Hi, I'm using tomcat 5.5.12 on linux, and I'm wondering how I can get tomcat to follow symlinks in a web app directory? I have $CATALINA_ROOT/webapps/ROOT/pictures - /service/stuff/pictures, but tomcat ignores the symlink Thanks, Alex Turner

RE: Symlinked directories

2006-02-08 Thread Caldarale, Charles R
From: Alex Turner [mailto:[EMAIL PROTECTED] Subject: Symlinked directories I'm using tomcat 5.5.12 on linux, and I'm wondering how I can get tomcat to follow symlinks in a web app directory? RTFM: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Look at the allowLinking

Re: Symlinked directories

2006-02-08 Thread Nicole Nemer
Hi Alex, i had to add allowLinking=true to my Context in the web.xml. on Tomcat 5.5 it is false by default. :) nn - Original Message - From: Alex Turner [EMAIL PROTECTED] Date: Wednesday, February 8, 2006 1:44 pm Subject: Symlinked directories To: Tomcat Users List

Re: Symlinked directories

2006-02-08 Thread Nicole Nemer
i mean in the server.xml :) nn - Original Message - From: Nicole Nemer [EMAIL PROTECTED] Date: Wednesday, February 8, 2006 1:56 pm Subject: Re: Symlinked directories To: Tomcat Users List users@tomcat.apache.org Hi Alex, i had to add allowLinking=true to my Context in the web.xml. on

RE: context.xml my old friend (SOLVED)

2006-02-08 Thread Klotz Jr, Dennis
This actually threw me off as I think one of us was misunderstanding the other. :) When I had META-INF/context.xml it was never being deployed (copied and renamed) to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml And I couldn't figure out why. It turns out that I had been over zealous

RE: context.xml my old friend (SOLVED)

2006-02-08 Thread Caldarale, Charles R
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend (SOLVED) When I had META-INF/context.xml it was never being deployed (copied and renamed) to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml This happens only when your app is in a .war file

Tomcat 5 security manager problems (on Debian).

2006-02-08 Thread Rik Claesen
Hello everybody, We deployed a web application on Tomcat5 and Sun's JDK 1.4.10.2. Without the security manager activated, everything runs fine. After activating the security manager we received following error: java.security.AccessControlException: access denied (java.lang.RuntimePermission

Trouble understanding security constraints

2006-02-08 Thread Alan Chandler
My normal deployment of Tomcat is behind apache2, and up to now I have been using basic authentication defined by Apache's configuration file as to who has access to what. I am about to implement the piece of the application that allows users to change their own passwords, and the

Re: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Patrick Lacson
I don't have that .dll file anywhere on my system. I'm using the .zip distribution of tomcat which is I believe pure java w/ .exe for service installations. On 2/8/06, Scott Purcell [EMAIL PROTECTED] wrote: Yes, That was the problem with my Tomcat 5.5, Verisign configuration. After following

Re: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Patrick Lacson
Could you share the exact steps you used to get your system to work? On 2/8/06, Sycamore Days [EMAIL PROTECTED] wrote: Hi All! My problem is solved. I was installing the wrong chain certificate. I was installing the site-pro cert instead of the Root Trial Cert. This is the cert I should

Re: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Sycamore Days
Patrick, The problem was not a .dll file it was a cert issue, I installed the wrong one. Sycamore. On Wednesday, February 08, 2006, at 03:33PM, Patrick Lacson [EMAIL PROTECTED] wrote: I don't have that .dll file anywhere on my system. I'm using the .zip distribution of tomcat which is I

Re: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Sycamore Days
Patrick, Sure - I feel your pain! Follow the instructions here on tomcat's site: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#Installing a Certificate from a Certificate Authority Every step is correct, ***EXCEPT*** for the Verisign link: For Verisign.com go to:

Re: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Patrick Lacson
Ok, I'll try that. Thanks for sharing your success. On 2/8/06, Sycamore Days [EMAIL PROTECTED] wrote: Patrick, Sure - I feel your pain! Follow the instructions here on tomcat's site: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#Installing a Certificate from a Certificate

RE: How do i use xmlns directive for including a taglib with Tomcat?

2006-02-08 Thread James Reynolds
In short, Tomcat does. You're missing some elements in that file. Here's an example jspx file: jsp:root version=2.0 xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:f=http://java.sun.com/jsf/core; xmlns:h=http://java.sun.com/jsf/html;

Re: Symlinked directories

2006-02-08 Thread Robert Palmer
From ymy server.xml: Context path=/pictures docBase=pictures debug=0 reloadable=true crossContext=true allowLinking=true Resources className=org.apache.naming.resources.FileDirContext allowLinking=true/

Re: Virtual Directory

2006-02-08 Thread sumesh
Tim Lucia wrote: Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: context docBase=E:\Tutorial... Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original

RE: Virtual Directory

2006-02-08 Thread Tim Lucia
Sorry, I did not read the version. Try this: http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html (Basically, I believe you need to add a context docBase=E:/Tutorial path=tutorial.../ to server.xml Tim -Original Message- From: sumesh [mailto:[EMAIL PROTECTED] Sent:

Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-08 Thread Mark Demma
Hello folksI am currently trying to convert from Resin Pro 3.0.17 to Tomcat 5.5.  We have several Solaris 9 machines and we generally place applications in a NFS mounted "/usr/dist/" directory, which is RO for the web application servers.  I have a local link, /usr/resin -

Re: Trouble understanding security constraints

2006-02-08 Thread Bill Barker
Alan Chandler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My normal deployment of Tomcat is behind apache2, and up to now I have been using basic authentication defined by Apache's configuration file as to who has access to what. I am about to implement the piece of the

Re: request.getHeader() gives null

2006-02-08 Thread Anoop kumar V
Thanks a lot to both David Smith and Yue Mu - I am exploring other options of setting values. Also someone else has suggested that I use POST from a form - i willl try that too - thanks a ton, Anoop Kumar V. On 2/5/06, David Smith [EMAIL PROTECTED] wrote: Anoop -- Correct me if I'm wrong,

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-08 Thread Caldarale, Charles R
From: Mark Demma [mailto:[EMAIL PROTECTED] Subject: Using Tomcat over NFS over multiple hosts, want to separate locations of directories the two main problems I run into is the inability to separate the web app deploy path, i.e. where it LOOKS for the warfiles and the expand path, where

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-08 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 2006 February 08, Wednesday 23:06 To: Tomcat Users List Subject: RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories You should probably take a long look at:

Re: Trouble understanding security constraints

2006-02-08 Thread Alan Chandler
On Thursday 09 February 2006 04:05, Bill Barker wrote: Alan Chandler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ... This works correctly in TC 5.x. You need to reverse the order for TC 4.1.x (this is due to a change in the respective versions of the servlet spec they