Re: Frequent "SEVERE: Unable to receive message through TCP channel" messages

2007-08-15 Thread nageshsrao
we are getting the GC printed on to the same catalina.out and we see that the memberAdded messages appear almost at the time of GB getting printed, does it prove that longer GC pauses are causing this? is there any other data points/proof can be get? rearding "network problems", we are requesting

Web analyzer for Tomcat

2007-08-15 Thread Kanchana Welagedara
Hi All Just like webalizer for apache php project what is the web analyzer available for tomcat?Can any one please let me know better user guide for configuring webalizer on tomcat?or some other web analyzer for tomcat? Thanks and Regards Kanchana

Re: catalina error log

2007-08-15 Thread Matthew Kerle
you're missing the Apache Portable Runtime library from your PATH variable. this is not a serious problem, but if you don't want to get this error then download the version of the library for your OS and install it to a directory on your PATH (eg - %JAVA_HOME%/bin, or another dir and add it to

Re: utf-8 encoding problem

2007-08-15 Thread Joseph S
POST Mark Thomas wrote: Joseph S wrote: When I did that my content displayed correctly, but on form submission it got corrupted. POST or GET? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-m

catalina error log

2007-08-15 Thread Hoa Doan
I have tomcat 6 and it is getting the jvm.dll from my "jre1.6.0_02/bin/client" directory. Everytime I start it I get the message below. My server is able to parse file but the message scares me... So how do i fix the this message? "Aug 16, 2007 12:32:22 AM org.apache.catalina.core.AprLifecycl

Re: Installing APR on Fedora

2007-08-15 Thread Ole Ersoy
Hi Hassan, I did the following: rm -dfr tomcat-native-1.1.10-src/ tar xvfz tomcat-native.tar.gz cd tomcat-native-1.1.10-src/jni/native ./configure --prefix=/usr/local/apr --with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/ && make && make install And I still get: le/rpmbuild/BUILD/apr-1.2.8/liba

Re: Installing APR on Fedora

2007-08-15 Thread Hassan Schroeder
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote: > I have a lot more progress now! I get the following (The only important part > is the bottom i think): > > [EMAIL PROTECTED] native]# ./configure > --with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/ ... > libtool: install: error: relink `libtcnativ

Re: tomcat memory realms & tomcat-users.xml

2007-08-15 Thread Matthew Kerle
Hi Charles, thanks for you help. what if the memory-realm was configured in the context.xml for the application? then it should only be available to that particular app...? I'm currently working on a mock to see if I can get this to work, if something as simple as defining the memoryrealm and

Re: Removing the port identifier

2007-08-15 Thread Matthew Kerle
no worries. I didn't know about jsvc or commons-daemon before (I do now!), so I learnt something too! best of luck with your app. * Matthew Kerle * * IT Consultant * * Canberra, Australia* Mobile: +61404 096 863 Email: Matthew Kerle Web: Matthew Kerle

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Matthew Kerle
doh! load-balancing of course... I don't know, I'm a stickler for the old "do one thing, do it well", tomcat rocks at serving dynamic java, apache rocks at being internet facing serving static & CGI. the jk connector is good & solid, so I'm happy to keep everything separate and only have tomca

Re: Installing APR on Fedora

2007-08-15 Thread Ole Ersoy
Hi Hassan and Stephen, Thanks for all the tips :-) I have a lot more progress now! I get the following (The only important part is the bottom i think): [EMAIL PROTECTED] native]# ./configure --with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/ && make && make install checking build system type...

Re: utf-8 encoding problem

2007-08-15 Thread Mark Thomas
Joseph S wrote: > When I did that my content displayed correctly, but on form submission > it got corrupted. POST or GET? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Matthew Kerle
good security is hard. I've seen state governments using the reverse-proxy layered approach described below, and that worked extremely well. I've also seen a federal government with an open database port to the internet (won't say which! lets just say they're not known for prompt security fixe

Re: Configuring Webalizer on tomcat

2007-08-15 Thread Matthew Kerle
this may be a silly point, but check your PageType defs, they're currently only mapping to html's or php's, (granted this is all that flovv.com seems to contain), but if your actual pages are jsps and you're rewriting urls somehow, try adding jsp to the PageType defs? sorry, I've only used web

Re: utf-8 encoding problem

2007-08-15 Thread Joseph Shraibman
Nathan Hook wrote: A few things... First, what type of apostrophe are you using? Are you using a typical ascii apostrophe (') or are you using the Microsoft slanted apostrophe that comes out of word documents (′)? It's ’ Here are two links that describe the problem: http://www.cs.tut.

DefaultServlet, WebDAV, and Permissions

2007-08-15 Thread Robert J. Carr
I sent this out last week and didn't get any responses ... just wanted to make sure it hit the list and didn't get dropped somewhere. Any help is appreciated! I'm using the WebDAV servlet in tomcat 5.5.22 and I'm having some issues that I was hoping I could get sorted out. First of all, I'

Re: Installing APR on Fedora

2007-08-15 Thread Hassan Schroeder
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] native]# ./configure --with-apr=/usr/lib > checking for APR... configure: error: the --with-apr parameter is incorrect. > It must specify an install prefix, a build directory, or an apr-config file. > > I think I liked it bette

Re: Installing APR on Fedora

2007-08-15 Thread Stephen . Morris
Hi Ole, I may be wrong but I think the command, based on what you have listed below, should have been: ./configure --with-apr=/usr/lib/ && make && make install The other problem that I think you have is that given you are compiling, I think it is looking for th

Re: Installing APR on Fedora

2007-08-15 Thread Ole Ersoy
Hi Hassan, I tried that as well: [EMAIL PROTECTED] native]# ./configure --with-apr=/usr/lib checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c

Re: Installing APR on Fedora

2007-08-15 Thread Hassan Schroeder
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote: > Then I try to compile like this: > > [EMAIL PROTECTED] native]# ./configure && make && make install > --with-apr=/usr/lib/ ? Shouldn't you run ./configure --with-apr=/usr/lib && make... Off the top of my head... :-) -- Hassan Schroeder --

Re: IIS redirect to Apache

2007-08-15 Thread Martin Gainty
Hi Tony- Browser clients by and large are prohibited from doing anything on the clients box except write cookies the exception for client writes is of course is Applets and Flex objects ..assuming you have neither I would concentrate on using your IIS server as the reverse proxy as Rainier men

Installing APR on Fedora

2007-08-15 Thread Ole Ersoy
Hi, I'm trying to get the APR native capabilities working on Fedora. I first checked that apr and opensll was installed like this: [EMAIL PROTECTED] ~]$ rpm -qa | grep apr apr-util-1.2.8-7 apr-1.2.8-6 [EMAIL PROTECTED] native]# rpm -qa | grep openssl openssl-0.9.8b-12.fc7 openssl-devel-0.9.8b

Re: IIS redirect to Apache

2007-08-15 Thread Rainer Jung
Yes, this will be possible with the plugin. Be careful: a redirect is something else (it sends the browser a new URL, to which it should connect). A reverse proxy send the request forward to another servber and returns the response to the browser in a way, such that the browser will not notice

RE: IIS redirect to Apache

2007-08-15 Thread Tony Fountain
Martin, To clarify our setup, our site receives the initial HTTP request and the application server in question is IIS and the site is written in ASP.NET. Some of the pages that will be served will include a frame that hosts pages from this product hosted by Tomcat on another server. The current

RE: IIS redirect to Apache

2007-08-15 Thread Tony Fountain
Rainer, Thanks for the information. I'll read up on the IIS ISAPI plugin and if I have any more questions, I'll post them. Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 (office) (419) 249-7221 (fax) -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread Rainer Jung
There have been fixes for >2GB size uploads and downloads between June 10 and June 5. If we assume, that those fixes will help, you've got a coupe of options: - try with Tomcat 6.0.14, which already contains the fixes. This is a major update, but since you are already using Java 5+, you shoujl

Re: IIS redirect to Apache

2007-08-15 Thread Rainer Jung
Hi Tony, the Tomcat project has a sub project called Tomcat Connectors or simply JK. It produces web server plugins to connect the most important web servers directly to Tomcat via a special protocol named AJP. Tomcat has an incoming AJP connector built-in. The Tomcat connectors include Apac

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread David Hesson
Completely sorry, details follows: System: Windows XP (Home I believe) 32 bit 2GB Memory on my system Web Application Details/ Other Details: JSF Framework (1.1?) Commons File Uploads 1.2 attempted to be used Tomcat 5.5.17 I'm going to say that Sun is my JVM vendor?? JVM is version 1.6 Tomcat is

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread ben short
Hi, Have a look at the commons-fileupload [1], it should help you out. Ben [1] http://commons.apache.org/fileupload/ On 8/15/07, David Hesson <[EMAIL PROTECTED]> wrote: > I am dealing with a client who needs multi-gigabyte uploads (4GB+, > whatever he wants really, and he says it is needed/requ

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread Caldarale, Charles R
> From: David Hesson [mailto:[EMAIL PROTECTED] > Subject: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads > > Any help would be greatly appreciated. Should we guess the Tomcat version you're using, or would you like to tell us? It would also be helpful to know the platform you're running

Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread David Hesson
I am dealing with a client who needs multi-gigabyte uploads (4GB+, whatever he wants really, and he says it is needed/required by the system.) Anyways, I currently upload a 4GB file to my Tomcat server, and it is set to simply post to a JSP with the file (please note that files <2GB work fine,

RE: Self-Signed Certificate for Tomcat JVM and CAS

2007-08-15 Thread Lisa Tan
I wish you would read this email earlier. I thought if I use the default password (changeit), I don't need to have -storepass parameter. This morning I re-read extkeytool example and tried to put the storepass parameter and it works. After I imported my self-signed cert to JVM truststore, CAS clien

IIS redirect to Apache

2007-08-15 Thread Tony Fountain
Hi, Scenario: we purchased a product written in Java to integrate into our reporting tool. Our setup is such that our web application is written in .NET and hosted on a web farm using IIS (5 or 6 depending on the environment). The product we purchased runs under Apache Tomcat/5.5.23 using 1.5.0_

RE: utf-8 encoding problem

2007-08-15 Thread Nathan Hook
A few things... First, what type of apostrophe are you using? Are you using a typical ascii apostrophe (') or are you using the Microsoft slanted apostrophe that comes out of word documents (′)? Here are two links that describe the problem: http://www.cs.tut.fi/~jkorpela/www/windows-chars.h

Tomcat 5.5 Security Enabled

2007-08-15 Thread YC Lui
I am a new Tomcat user. I installed Tomcat 5.5 for use within IBM RAD/Eclipse runtime environment. My goal is to find out how J2EE container managed (form based) security works in Tomcat. I started off by creating a JSF page, PH001, in the WebContect. No security entry is specified in the w

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Leon Rosenberg
security by obscurity, that is. since the httpd just sends all requests further to the tomcat, if there is a security relevant bug in tomcat code, it would be accessed by the remote side either way. Further, are your machines, on which httpd is running, running under different OS than your tomcat

RE: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Lizak, Ed
We use httpd to sit in between firewalls and handle all incoming traffic. Static content is served from there and dynamic content is proxied through to the Tomcat server behind another firewall. SSL is only needed from the client to the httpd server. The Tomcat server then handles the database ac

Re: Load Balancing

2007-08-15 Thread [EMAIL PROTECTED]
this example is in use # Begin workers.propertie file # # Insert this entry in /etc/hosts # to name resolution without DNS # 192.168.1.10 tomcatpro1.uni.edu.br tomcatpro1 # 192.168.1.11 tomcatpro2.uni.edu.br tomcatpro2 # 192.168.1.12 tomcatpro3.uni.edu.br tomcatpro3 # d

Is jsp:directive.taglib inside JSP allowed ?

2007-08-15 Thread Darryl L. Miles
Are these lines not equivalent (from my WEB-INF/jsp/another.jsp) ? uri="http://domain.co.uk/taglibs/foo-0.1"/> <%@ taglib prefix="foo" uri="http://domain.co.uk/taglibs/foo-0.1"%> <%@ include file="/WEB-INF/jspf/somefile.jspf"%> I am getting a Jasper (from 5.5.23) error with the first set o

Re: Self-Signed Certificate for Tomcat JVM and CAS

2007-08-15 Thread Morris Jones
Sorry I hadn't seen your message earlier when you posted it. But you should create the keystore with a keystore password. Did you do that? Cheers, Mojo Lisa Tan wrote: After following the docs to generate self-signed pkcs12 key, I failed to import the key/certificate into my application wi

Re: multiple comet requests

2007-08-15 Thread Filip Hanik - Dev Lists
hi Peter, there was a recent large change in TC 6.0 to warn about misconfigured server.xml The easiest way to try out the fix is actually to build it from source Here is how you do it 1. Make sure you have JDK 1.5, ANT and Subversion installed 2. svn co http://svn.apache.org/repos/asf/tomcat/t

Re: Load Balancing

2007-08-15 Thread Dean Lonsdale
Apologies but it seems to be having problems sending the file so have cut and pasted it into the mail instead..thanks for your support Attempting to establish server1 as a load balanced server incidentally # workers.properties - # # This file provides jk derived plugins with the needed inform

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew Kerle wrote: > Apart from integration into a larger site or static content, when would > you put httpd in front of tomcat? This might count as "integrating into a larger site", but I use Apache httpd to front multiple instances of Tomca

RE: Load Balancing

2007-08-15 Thread Caldarale, Charles R
> From: Dean Lonsdale [mailto:[EMAIL PROTECTED] > Subject: Load Balancing > > Resend of the last mail removing signature attachments, You need to stop trying to send attachments - just insert the file into the message. Also, it's better if you send e-mails to this list in plain text rather tha

Re: Load Balancing

2007-08-15 Thread ben short
If your workers.properties file contains nothing then it will defiantly prevent the application from functioning correctly. Have you forgotten to paste the workers.properties in to the email? On 8/15/07, Dean Lonsdale <[EMAIL PROTECTED]> wrote: > > Resend of the last mail removing signature attac

Re: Load Balancing

2007-08-15 Thread [EMAIL PROTECTED]
Hi! Post your workers.properties here. Att, Silvio Cesar L. dos Santos Analista de Redes Pleno DTI - Divisão de Tecnologia da Informação UNIGRANRIO - Universidade do Grande Rio +55 21 2672-7720 [EMAIL PROTECTED] http://www.unigranrio.edu.br Dean Lonsdale escreveu: > Resend of the last mail rem

RE: Load Balancing

2007-08-15 Thread Gerhardus.Geldenhuis
Hi Dean, Still no luck, the attachement I am seeing contains the following: - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Coul

Load Balancing

2007-08-15 Thread Dean Lonsdale
Resend of the last mail removing signature attachments, We have built a workers.properties file to incorporate load balancing however when we use this file it would appear that it prevents the application from functioning correctly, please can anyone comment on whether the load balancing parame

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
Just as another tidbit in the pot, I get these errors frequently with Websphere, both with and without a web server in front of it, and also both with and without a proxy involved, so it's definitely not Tomcat-specific, nor is it definitively anything involving a proxy (although both could som

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
Kristian Rink wrote: However, seriously this is a rather bad thing as I am convinced most of our users to possibly make use of a "default" web browser on their system, having no idea what a browser is, at all... On the other side, having the file transmission terminated / corrupted surely isn't

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
Ronald Klop wrote: ClientAbortException means the user canceled the download (the 'client aborted'). There is nothing you can do about that on the server. Yeah, that's the answer you'll find most frequently if you spend time Googling for that exception, but anecdotally you'll find that more ti

Re: Load Balancing Any Experts Out There Please :-)

2007-08-15 Thread Dean Lonsdale
Forgot to add the properties file my apologies Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems & Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Roa

Load Balancing Any Experts Out There Please :-)

2007-08-15 Thread Dean Lonsdale
All We have built a workers.properties file with load balancing capability however would appreciate peoples thoughts on its structure as when we import this and attempt to run the application it knocks the app over. :-( Any help greatly appreciated Regards / Cordialement / Mit freundlichen

Configuring Webalizer on tomcat

2007-08-15 Thread Kanchana Welagedara
Hi All I'm struggling to configure the webalizer on tomcat.I followed one of the archives written long time back by Dan patton at http://www.mail-archive.com/[EMAIL PROTECTED]/msg69842.html I followed exactly what he has pointed out .I can see files are generating at [tomcathome/logs/access/acces

RE: tomcat memory realms & tomcat-users.xml

2007-08-15 Thread Caldarale, Charles R
> From: Matthew Kerle [mailto:[EMAIL PROTECTED] > Subject: tomcat memory realms & tomcat-users.xml > > I've read the tomcat docs on memory realm: > http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#MemoryRealm, > and I want to expose the org.apache.catalina.UserDatabase > class to the w

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Matthew, Thank you for your response. Apart from using iptables (which may or may not work in OS X), the Tomcat setup link, "http:// tomcat.apache.org/tomcat-6.0-doc/setup.html", seems to be the best way to go. the only way to get rid of the port number is to have something listening on

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Hassan, I appreciate the link. Stephen Nope; see the reference to jsvc here: - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTE

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Chris, Thank you for the suggestion. I will investigate. Stephen Tomcat does not require you to run it as root in order to use port 443. There are various techniques, including using a web server such as Apache httpd to front Tomcat, iptables (or similar) tricks to re-route ports, or using

Re: Removing the port identifier

2007-08-15 Thread David Rodríguez Fernández
You can execute tihs iptables line (if you are using linux) directly in the server where you run tomcat (substitute xxx.xxx.xxx.xxx whith the ip address of your linux box): iptables -t nat -A PREROUTING -d xxx.xxx.xxx.xxx -p tcp -m tcp --dport 443 -j DNAT --to-destination xxx.xxx.xxx.xxx:8443 On

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Rainer Jung
Kristian Rink wrote: Ronald; [Ronald Klop <[EMAIL PROTECTED]> @ Wed, 15 Aug 2007 09:56:59 +0200 (CEST)] ClientAbortException means the user canceled the download (the 'client aborted'). There is nothing you can do about that on the server. I thought so. However, there are two things: (a) I

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Kristian Rink
Ronald; [Ronald Klop <[EMAIL PROTECTED]> @ Wed, 15 Aug 2007 09:56:59 +0200 (CEST)] > ClientAbortException means the user canceled the download (the > 'client aborted'). There is nothing you can do about that on the > server. I thought so. However, there are two things: (a) I was unsure whether

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Ronald Klop
ClientAbortException means the user canceled the download (the 'client aborted'). There is nothing you can do about that on the server. Ronald. On Tue Aug 14 15:57:25 CEST 2007 Tomcat Users List wrote: Folks; still messing around with an error like this: In our system, we offer customers

AW: Problem with Apache/Tomcat/WebDAV/Alfresco

2007-08-15 Thread Frank Gerlach
I installed the latest Apache and mod_jk and it works perfectly now. -Ursprüngliche Nachricht- Von: Frank Gerlach [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. August 2007 13:58 An: users@tomcat.apache.org Betreff: Problem with Apache/Tomcat/WebDAV/Alfresco Hello folks, we have