Help: My authentication is not working. Sort of.

2007-03-09 Thread Aurynn Shaw
Okay. I inherited a legacy app that was written to use JBoss2.4 and Tomcat3.2.3. I'm really not familiar either JBoss or Tomcat, unfortunately, so this is firmly in beginner-land. I'm running 5.5.20 on JDK1.5.0_11, on CentOS Linux 4.4. My problem is, we've gotten the app to come up, and it

Occasional XML parsing error when Tomcat is busy

2007-03-09 Thread Roberts, Gerallt
Hello, I have a web application that processes files, which has been working fine, however when it is put under a heavy load there is an occasional failure. I have managed to recreate the error by sending 128 documents at it in a serial fission, and I usually get 1 failure. Unfortunately there

RE: Deployment problem on tomcat

2007-03-09 Thread Ersoy, Perihan
This fmt.tld is in WEB-INF/lib -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 9:54 PM To: Tomcat Users List Subject: Re: Deployment problem on tomcat verify your .tlds (more specifically the ftm.tld) is located in /WEB-INF M-- -

Re: Deployment problem on tomcat

2007-03-09 Thread Martin Gainty
verify your .tlds (more specifically the ftm.tld) is located in /WEB-INF M-- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain

Re: Should mod_jk-1.2.21-apache-2.2.x-linux-i686 support Apache2.0 as well?

2007-03-09 Thread Rainer Jung
Hello, module binaries for Apache httpd 2.0 and 2.2 are definitely incompatible. Combining httpd 2.0 and mod_jk compiled for 2.2 will result in completely undefined behaviour! Although most modules compile unchanged from source for 2.0 and 2.2 (so does mod_jk), the resulting binary only work

RE: noob in Tomcat installation hell

2007-03-09 Thread kjcollins
I can still not get it working - though I am not sure what part of the install I am missing. I believe you mean this: [EMAIL PROTECTED] localhost]# pwd /usr/local/tomcat/conf/Catalina/localhost [EMAIL PROTECTED] localhost]# ls -lt total 24 -rwxr-xr-x 1 root root 566 Mar 8 11:44 admin.xml -rw-

RE: SSL Certs

2007-03-09 Thread Erich Rockman
The problem is my signed cert needs to be chained to the CA. -Original Message- From: Michael Holstein [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 1:00 PM To: Tomcat Users List Subject: Re: SSL Certs > Thanks. Works like a charm. One more question. How do I establish the > cha

RE: Apache going down after few hours.

2007-03-09 Thread Edward Quick
Hi, You're going to have to do some more digging. A few questions which might help shed some light: Anything in the apache and tomcat logs? Look for MaxClients reached. Anything in the syslog? Are you using the latest apache and mod_jk ? If not, get them! Have you checked the mod_jk setting

Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread Len Popp
You can put your initialization code in a ServletContextListener so it is executed before any servlets are run. -- Len On 3/9/07, suchitha koneru <[EMAIL PROTECTED]> wrote: Thank you so much for the response. The reason I am doing this is , because , I am using the servlet to start the Active M

RE: Deployment problem on tomcat

2007-03-09 Thread Ersoy, Perihan
Tomcat started at port 80 and when I write http://localhost or http://localhost:80 I can see tomcat running properly. When I write http://localhost/Login/login.jsp or http://localhost:80/Login/login.jsp it gives exception that it couldn't find ftm.tld in WEB-INF/lib. But this ftm.tld is exist in W

Re: Deployment problem on tomcat

2007-03-09 Thread suchitha koneru
how are you acessing the jsp files . Acording to your explanation , jsp files are placed in tomcat/webapps/Login/ assuming taht tomcat is started at 8080 , if you have a jsp called hello.jsp, you have to acess it as http://localhost:8080/Login/hello.jsp. On 3/9/07, Ersoy, Perihan <[EMAIL PROT

Tomcat 6 Scales

2007-03-09 Thread Filip Hanik - Dev Lists
I wrote a blog entry on how one of our connectors was developed the challenges you face doing that. Its not super technical as I'm saving the juicy details for ApacheCon And since no one reads my blog, I'll let you guys get it from here :) http://blog.covalent.net/roller/covalent/entry/20070308

Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread suchitha koneru
Thank you so much for the response. The reason I am doing this is , because , I am using the servlet to start the Active MQ Broker. There are two web apps which will connect to the broker. The broker has to start first before any of the web apps. Hence I want to load the servlet which starts the

Re: SSL Certs

2007-03-09 Thread Michael Holstein
Thanks. Works like a charm. One more question. How do I establish the chain to the CA? Do I do it using keytool? Yes. Import the intermediates and root certificates into the same keystore. For the root CA you shouldn't use the -trustcacerts line. Use the same keystore file, just pick differen

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Rémy Maucherat
On 3/9/07, Erik Bertelsen <[EMAIL PROTECTED]> wrote: 2007/3/9, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: > you'll need the modified juli adapter, > http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/extras/ > Is there any reason that the extras stuff isn't made available in com

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Erik Bertelsen
2007/3/9, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: you'll need the modified juli adapter, http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/extras/ Is there any reason that the extras stuff isn't made available in compiled form on the main download pages http://mirror-path/

Tomcat: Writing Access-Log to Database-Table?

2007-03-09 Thread Peter . Henningsen
Hello, your best bet is probably to write/configure a filter, that checks each request and stores the desired ones. This gives you the additional fexlibility to store hints for subsequent processing in the session or request. There are tutorials for that on the sun website and (if I remember r

RE: SSL Certs

2007-03-09 Thread Erich Rockman
Thanks. Works like a charm. One more question. How do I establish the chain to the CA? Do I do it using keytool? -Original Message- From: Philip Brusten [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 9:30 AM To: Tomcat Users List Subject: Re: SSL Certs Hello, Erich Rockman wrote

Re: Appropriate version of Tomcat

2007-03-09 Thread Richard Gemmell
David Kerber wrote: Caldarale, Charles R wrote: I'd recommend NOT using the .exe download, but instead use the .zip: 1) The .exe leaves out the .bat files, which make experimenting with and debugging Tomcat much easier. Chuck. How does using the .bat files make debugging easier? (I'm not a

Re: noob in Tomcat installation hell

2007-03-09 Thread kjcollins
I should mention that I did install the Admin tar apache-tomcat-5.5.20-admin.tar.gz apache-tomcat-5.5.20.tar.gz [EMAIL PROTECTED] 03/08/2007 05:27 PM Please respond to "Tomcat Users List" To users@tomcat.apache.org cc Subject noob in Tomcat installation hell I am attempting to set

Tomcat: Writing Access-Log to Database-Table?

2007-03-09 Thread Thomas Brudermann
Hello, I use Tomcat 5.x for a web application and i would like to write a access-log for certain filetypes (pdf, jsp, htm) into a database-table (not into a file). I considered to write the access-log to a file first and then transfer it to the database. However, this solution is not satisfi

[ANN] Apache Tomcat 5.5.23 released

2007-03-09 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.23 stable. This release has numerous bug fixes and maintenance updates. It also includes the corrected source code for the JK CVE-2007-0774 issue. Please refer to the change log for the list of changes: http://tomc

Should mod_jk-1.2.21-apache-2.2.x-linux-i686 support Apache2.0 as well?

2007-03-09 Thread Peter . Henningsen
Hello, I guess everyone has heard about the security issue that was fixed in mod_jk recently. I did install the new version, but since then I see a lot of log entries from mod_jk like : jk_uri_worker_map.c (614)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters The Apache Log sho

Re: Correct static member cluster configuration for Tomcat 6/JDK.1.6.0/Linux

2007-03-09 Thread Filip Hanik - Dev Lists
I've tested it, and it seems to work fine. Here is what you are probably missing Machine A Machine B As you can see, the ports have to match up. In your config, it does add the member correctly, but then the TcpFailureDetector will verify the members existence, and if there is no me

RE: Apache going down after few hours.

2007-03-09 Thread Caldarale, Charles R
> From: Yerramsetti, Naga [mailto:[EMAIL PROTECTED] > Subject: Apache going down after few hours. > > We have BIGIP posting a simple url ( jsp) to apache-tomcat for > monitoring. > > Apache is not serving any content. We'll assume you mean httpd, not the Apache software organization. > Our w

RE: Multiple Instances on one Machine

2007-03-09 Thread Peter Kennard
I have a related issue. (should the be a separate thread?) I had two instances of Tomcat5.5 on a windows XP Pro Workstation. And I had a "batch" file I got off the web to launch the second instance using a shared CATALINA_HOME but each with a different CATALINA_BASE When I upgraded to Tomcat6

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Philip Brusten
Philip Brusten wrote: Caldarale, Charles R wrote: Assuming you're referring to Tomcat's own logging, rather than a webapp's logging, read this: http://tomcat.apache.org/tomcat-6.0-doc/logging.html (Some assembly required...) I'm looking in to that right now... using the following documentat

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Filip Hanik - Dev Lists
you'll need the modified juli adapter, http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/extras/ Filip Philip Brusten wrote: Hello everyone, I've an unsolved issue with enabling tomcat logging with log4j. In previous versions of tomcat, version 5.5 I did the following things:

Re: SSL Certs

2007-03-09 Thread Michael Holstein
Note : if you have a recent cert signed by Verisign, you need to have their intermediate cert loaded into the same keystore. I ran into this problem recently. Instructions for loading that are the same as for your cert, just pick a different name for it (eg: not 'root'). anyway .. here you go

Re: the cluster deployer can not work on 6.0.10

2007-03-09 Thread Filip Hanik - Dev Lists
That is correct, it's broken, You can still use other strategies to deploy to a cluster, Filip Li She wrote: Hello guys On tomcat 6.0.10 , I use FarmWarDeployer and set watchEnabled="true", but I always get the error 2007-3-9 10:47:51 org.apache.catalina.ha.deploy.FarmWarDeployer

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Ron Wheeler
Would it be possible to change the title of that page or add a word or two to make it clear that this page only applies to Tomcat's internal logging and not logging in general. Ron Caldarale, Charles R wrote: From: Philip Brusten [mailto:[EMAIL PROTECTED] Subject: Container logging for Tomcat

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Philip Brusten
Caldarale, Charles R wrote: Assuming you're referring to Tomcat's own logging, rather than a webapp's logging, read this: http://tomcat.apache.org/tomcat-6.0-doc/logging.html (Some assembly required...) I'm looking in to that right now... using the following documentation: http://tomcat.apa

Re: Appropriate version of Tomcat

2007-03-09 Thread Ron Wheeler
Caldarale, Charles R wrote: From: Richard Gemmell [mailto:[EMAIL PROTECTED] Subject: Re: Appropriate version of Tomcat I'd recommend the Windows Service Installer version. I'd recommend NOT using the .exe download, but instead use the .zip: 1) The .exe leaves out the .bat files, which

RE: SSL Certs

2007-03-09 Thread Caldarale, Charles R
> From: Erich Rockman [mailto:[EMAIL PROTECTED] > Subject: SSL Certs > > cannot figure out whick keytool commands to use to load it. Read the keytool doc: http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#security Select the doc for whichever platform you're using (which you didn't bother

Re: SSL Certs

2007-03-09 Thread Philip Brusten
Hello, Erich Rockman wrote: Hello. I am trying to take an SSL key/cert from another machine and move it to my app server using the keytool. I have a key file and the signed cert from a CA but cannot figure out whick keytool commands to use to load it. Any help would be appreciated. Thanks. T

Re: Appropriate version of Tomcat

2007-03-09 Thread David Kerber
Caldarale, Charles R wrote: From: Richard Gemmell [mailto:[EMAIL PROTECTED] Subject: Re: Appropriate version of Tomcat I'd recommend the Windows Service Installer version. I'd recommend NOT using the .exe download, but instead use the .zip: 1) The .exe leaves out the .bat files, which

Re: slow response from tomcat

2007-03-09 Thread Richard Jones
Hi Peter, From: Richard Jones [mailto:[EMAIL PROTECTED] It appears that after tomcat has been idle for some time, a first request for a page or service can take longer than usual to load or respond. Our particular case is that we are running an application under tomcat that offers some web s

RE: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Caldarale, Charles R
> From: Philip Brusten [mailto:[EMAIL PROTECTED] > Subject: Container logging for Tomcat 6.0.x with log4j-1.2.14 > > How do I tell tomcat to use log4j logging? Assuming you're referring to Tomcat's own logging, rather than a webapp's logging, read this: http://tomcat.apache.org/tomcat-6.0-doc/lo

SSL Certs

2007-03-09 Thread Erich Rockman
Hello. I am trying to take an SSL key/cert from another machine and move it to my app server using the keytool. I have a key file and the signed cert from a CA but cannot figure out whick keytool commands to use to load it. Any help would be appreciated. Thanks.

RE: Appropriate version of Tomcat

2007-03-09 Thread Caldarale, Charles R
> From: Richard Gemmell [mailto:[EMAIL PROTECTED] > Subject: Re: Appropriate version of Tomcat > > I'd recommend the Windows Service Installer version. I'd recommend NOT using the .exe download, but instead use the .zip: 1) The .exe leaves out the .bat files, which make experimenting with and d

Re: TomCat 6 on Fedora Core 6

2007-03-09 Thread Martin Dubuc
Gotta install Java obviously! Martin ;-) On 3/9/07, Adam Lipscombe <[EMAIL PROTECTED]> wrote: OK thanks. So installation is simply a question of un-tarring the binaries in suitable place? Anything else? TIA - Adam Leon Rosenberg wrote: > just download the binaries from tomcat.apache.org.

Problem with JSF dataTable element in Tomcat 6

2007-03-09 Thread Jansen - van de Vrie, Anneke
Hello, We have been looking into JSF for a couple of weeks now. In a page we want to use the jsf element 'dataTable' as follows: The testlist is a simple list of strings. We are using Tomcat 6 and Sun RI jsf 1.2 implem

Re: Appropriate version of Tomcat

2007-03-09 Thread Richard Gemmell
Hi Anita, Anita Thomas wrote: I'd like to build a jsp website which uses libraries like Jena > and some other educational java packages. My system is running > Windows XP. Is Tomcat 6 Windows Service Installer the appropriate choice for me ? > Or I need other versions like zip ?

Deployment problem on tomcat

2007-03-09 Thread Ersoy, Perihan
Hi Everyone, I'm new user on Tomcat. My problem maybe quite simple but I couldn't find the solution. I'm doing some web application by using Struts framework and Tomcat 5.5.17 using eclipse 3.2 IDE. I'm new developer on Struts, so I'm doing to some small coding. I developed some small code in stru

RE: slow response from tomcat

2007-03-09 Thread Peter Crowther
> From: Richard Jones [mailto:[EMAIL PROTECTED] > It appears that after tomcat has been idle for some time, a first > request for a page or service can take longer than usual to load or > respond. Our particular case is that we are running an application > under tomcat that offers some web ser

slow response from tomcat

2007-03-09 Thread Richard Jones
Hi Folks, I wonder if someone could give me some advice on a potential problem we are experiencing with tomcat. It appears that after tomcat has been idle for some time, a first request for a page or service can take longer than usual to load or respond. Our particular case is that we are r

Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread David Smith
Unfortunately there are a lot of developers who'd like to dictate the load order of servlets. The best answer I or any one else can offer is don't do it. It's not safe programming and all the servlets that depend on it will sooner or later need to deal with the chance it isn't available for some

Re: TomCat 6 on Fedora Core 6

2007-03-09 Thread Adam Lipscombe
OK thanks. So installation is simply a question of un-tarring the binaries in suitable place? Anything else? TIA - Adam Leon Rosenberg wrote: just download the binaries from tomcat.apache.org. done. On 3/9/07, Adam Lipscombe <[EMAIL PROTECTED]> wrote: Folks The standard fedora 6 rpm pa

Re: TomCat 6 on Fedora Core 6

2007-03-09 Thread Leon Rosenberg
just download the binaries from tomcat.apache.org. done. On 3/9/07, Adam Lipscombe <[EMAIL PROTECTED]> wrote: Folks The standard fedora 6 rpm package are still on TC 5.5.17, and I would like some guidance on installing TC6. Has anyone tried to install TC 6 on fedora Core 6? How easy or diff

Re: TomCat 6 on Fedora Core 6

2007-03-09 Thread Mladen Turk
Adam Lipscombe wrote: Folks The standard fedora 6 rpm package are still on TC 5.5.17, and I would like some guidance on installing TC6. Has anyone tried to install TC 6 on fedora Core 6? How easy or difficult is it? > wget http://ftp.carnet.hr/misc/apache/tomcat/tomcat-6/v6.0.10/bin/apa

TomCat 6 on Fedora Core 6

2007-03-09 Thread Adam Lipscombe
Folks The standard fedora 6 rpm package are still on TC 5.5.17, and I would like some guidance on installing TC6. Has anyone tried to install TC 6 on fedora Core 6? How easy or difficult is it? Any pointers to a set of instructions? Thanks -Adam

Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Philip Brusten
Hello everyone, I've an unsolved issue with enabling tomcat logging with log4j. In previous versions of tomcat, version 5.5 I did the following things: I got the commons-logging-1.0.x binary package from http://jakarta.apache.org/site/downloads/downloads_commons-logging.cgi and extracted the j

Appropriate version of Tomcat

2007-03-09 Thread Anita Thomas
Dear All I'd like to build a jsp website which uses libraries like Jena and some other educational java packages. My system is running Windows XP. Is Tomcat 6 Windows Service Installer the appropriate choice for me ? Or I need other versions like zip ? Thank you for your h