Re: [mod_jk] 1.2.22 won't build (libtool error) :(

2007-05-14 Thread Rainer Jung
Hi Christopher, Perhaps this (potential - I've /never/ seen it on other systems) issue could be avoided by adding a bit of documentation to the BUILD.txt file that says if you get a weird error about tags not being defined, try running this: export CC=`apxs -q CC` I've now reordered

ProxyErrorOverride problem with ajp

2007-05-14 Thread Thomas Papke
Hello, i have a strange Problem with apache - tomcat configuration. I use one apache 2.2 and three tomcats for dynamic contents (apache- tomcat communication via ajp protocol). If i setup ProxyErrorOverride On i expect that apache handels 4xx and 5xx errors with his own ErrorDocument's. But

Re: cant't log in to tomcat manager

2007-05-14 Thread green
Martin Gainty schrieb: login with username which has %CATALINA_HOME%/conf/tomcat-users.xml with roles=admin,manager defined.. M-- helo, i have tried all manager roles form the tomcat-users.xml file, to login. but it doesen't work. My tomcat server works normal. i use tomcat 5.5.16

Re: How to read file content from servlet?

2007-05-14 Thread Johnny Kewl
Teh... you kinda got the right idea... but I think the question is wrong thats why u getting no responses. You cant get a servlet to call an applet but I have a feeling what you really asking is how to get a response from the servlet. This stuff you should find in a google so I'm going to

Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Subscriber
Hi, How do I handle this exception, when the user clicks Cancel upon SSL Client authentication when prompted for a certificate. javax.net.ssl.SSLHandshakeException: null cert chain Tomcat throws this exception, but I would like to catch it and redirect the user to a proper error page. The

Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
Hi all, I run a cocoon webapp which is hosted on a shared Linux environnement and runs under tomcat 5.5.9. There are about 7 applications running under that tomcat instance (2 cocoon, at least 1 jsp, don't know for the others). My host provider complains that he tomcat uses a lot of memory and

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
Hi! If you get OutOfMemory Errors and running java 1.6 (maybe later versions of java 1.5) you can make the vm to save a memory dump which you could load in ie. YourKit java profiler. And After a crach you could analyse the memroy in your applications. I did that resently and it works like a

RE: Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
Hi, We're on Java 1.5 and do not get any OutOfMemory but after some point, Tomcat uses 50% of the server memory and stops serving requests. --- Per Johnsson [EMAIL PROTECTED] wrote: Hi! If you get OutOfMemory Errors and running java 1.6 (maybe later versions of java 1.5) you can make the

JCaptcha with Tomcat

2007-05-14 Thread Rakesh Kumar
Hi, I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there any way to use JCaptcha without running X server on this machine ? Rakesh Kumar - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Oracle JDBC connection Tomcat 5.5

2007-05-14 Thread Zdeněk Vráblík
Hi Martin, thanks for help. I have tried your suggestion and it works fine - I am able to get OracleConnection. (I had to change String c_sUserNameKey=username; to String c_sUserNameKey=user;) It works for common Connection, but I need OracleConnection interface. jdbc configuration: Resource

RES: Tomcat 6 trimDirectiveWhitespaces

2007-05-14 Thread Milanez, Marcus
Thanks for your attention! I'll try RegEX! -Mensagem original- De: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Enviada em: sábado, 12 de maio de 2007 00:04 Para: Tomcat Users List Assunto: Re: Tomcat 6 trimDirectiveWhitespaces On 5/11/07, Milanez, Marcus [EMAIL PROTECTED] wrote: Hi, Do

Re: Remote EJB calls from Tomcat 5 to Weblogic 8.1 appear to be slower than from Weblogic 8.1 as a web server

2007-05-14 Thread Tim Funk
With weblogic - EJB calls were done in the same JVM. With Tomcat - all the EJB calls occur outsite Tomcat's JVM and in weblogic's JVM. This is a BG performance penalty. (But allows for scalability). You should notice the same performance suckage if you ran 2 copies of weblogic where one

RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
I must tell you guys, that the only way I can get Tomcat running along with IIS is doing an extra step that is not documented anywhere, which consists on creating a Virtual Directory on IIS for my application and pointing it to my tomcat app folder. I do all those known steps (registry import,

Re: JCaptcha with Tomcat

2007-05-14 Thread Johnny Kewl
I cant remember offhand wot it was that made me unhappy with Jcaptcha's real time operation, but there was definitely something that I found very buggy and yes... you got a problem with headless java as well although I did see some articles on how to try and get around this, its too much

Re: Tomcat Inner Gold Mine

2007-05-14 Thread Tim Funk
In this case - it might better to reinvent the wheel and not rely on tomcat's apis. Why? Tomcat might change from version to version and re-writing perfrectly good good due to API changes is not fun. But there are exceptions. Such as the (jakarata) commons api's that tomcat uses. For example:

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Mark Thomas
Subscriber wrote: Hi, How do I handle this exception, when the user clicks Cancel upon SSL Client authentication when prompted for a certificate. Basically you can't without some custom Tomcat code. Since the handshake occurs before any HTTP traffic is sent, Tomcat doesn't know which web app

RE: Tomcat Memory Usage

2007-05-14 Thread Per Johnsson
Ok, turn on the -verbose:gc and -XX:+PrintGCDetails and see if you could find any strange things in the logs. I have seen that when the jvm is making big full garbage collection the jvm practicaly halts for several seconds which could cause some strange behaviors. We had for example a

RE: Tomcat Memory Usage

2007-05-14 Thread Jerome Benezech
Thanks. Will ask the host provider to try that (difficult to be on shared hosting :) --- Per Johnsson [EMAIL PROTECTED] wrote: Ok, turn on the -verbose:gc and -XX:+PrintGCDetails and see if you could find any strange things in the logs. I have seen that when the jvm is making big full

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Subscriber
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2264 (20070514) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: Run Xalan on Tomcat

2007-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rashmi, Rashmi Rubdi wrote: One way to use Xalan is with JSTL XML tags inside a JSP. A much better way is to use Cocoon (http://cocoon.apache.org). - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with

Re: [mod_jk] 1.2.22 won't build (libtool error) :( [SOLVED]

2007-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: Hi Christopher, I've now reordered configure and added a warning at the end, in case CC doesn't really fit, to what apxs spits out. Excellent! You might want to test the new configure script. For convenience you

Re: JCaptcha with Tomcat

2007-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rakesh, Rakesh Kumar wrote: I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there any way to use JCaptcha without running X server on this machine ? If the -Djava.awt.headless=true trick doesn't work, you can always use xvfb,

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread Larry Meadors
Try catalina.sh run and see if you get some more info. Also make sure that all of those directories exist and that you have adequate rights to them. Larry On 5/14/07, reym [EMAIL PROTECTED] wrote: Hi All, I have installed Tomcat5.5 on CENTOS 4, which is located on a remote machine, and I

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread Markus Schönhaber
reym wrote: else. However when I try to start Tomcat, using this command: $CATALINA_HOME/bin/startup.sh I only get as far as this (this is what is shown in PUTTY): Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR:

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread David Delbecq
To see messages from tomcat tail -f $CATALINA_HOME/logs/catalina.out En l'instant précis du 14/05/07 16:02, reym s'exprimait en ces termes: Hi All, I have installed Tomcat5.5 on CENTOS 4, which is located on a remote machine, and I have configured the environment variables, and everything

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread reym
Thank you all, so much, for the prompt responses I have done as you have all advised, and there is something wrong... but I am baffled because I have never encountered this problem when I installed and configured Tomcat5.5 in a windows environment anyways here is the error message(s),

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread David Delbecq
java.net.BindException: Address already in use:8080 There is already somthing (probably another tomcat instance) listening on port 8080, tomcat can't bind and will refuse to start. Kill whatever use this port (use netstat to find it) or configure tomcat to use another port. En l'instant précis

RE: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-14 Thread Jean-Francois Beaulac
Hi, Thank you everyone for the support, it's really appreciated. I think my problem is a rule priority problem, here is the JK log with debug on: May 14 10:27:59 2007] [2564:2720] [debug] HttpFilterProc::jk_isapi_plugin.c (747): Filter started [Mon May 14 10:27:59 2007] [2564:2720] [debug]

Re: JCaptcha with Tomcat

2007-05-14 Thread Pid
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rakesh, Rakesh Kumar wrote: I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there any way to use JCaptcha without running X server on this machine ? If the -Djava.awt.headless=true trick doesn't

How to change Tomcat 5.5 default socket factory

2007-05-14 Thread Kovacs, Robert
Dear All ! Could somebody help me to find out how can I redefine the Tomcat 5.5 default socket factory (client and server) ? We need to develop an own socket factory for SSL compliance sockets, we couldn't use the existing SSL configuration for it. Thank you, Robert @vantage CAF

RE: Remote EJB calls from Tomcat 5 to Weblogic 8.1 appear to be s lower than from Weblogic 8.1 as a web server

2007-05-14 Thread Nelson, Tracy M.
| From: Jonathan Kitchner [mailto:[EMAIL PROTECTED] | Sent: Friday, 11 May, 2007 14:39 | | Under Tomcat the EJB calls are much slower ( I know that | Tomcat does not perform the actual call - we are using the thin client | from WebLogic). Were you using local EJB references in

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread Markus Schönhaber
reym wrote: error message(s), after i typed in the command $CATALINA_HOME/bin/catalina.sh run: [...] SEVERE: Error initializing endpoint java.net.BindException: Address already in use:8080 Just as the message says, there's an application listening on port 8080 already running. I'd bet it's

Re: Tomcat5.5 is not starting on CENTOS 4

2007-05-14 Thread Markus Schönhaber
Keep replys on the list, please. There's a reason why the Reply-To header is set. [EMAIL PROTECTED] wrote: I have rectified the problem. Tomcat is now running on port 80, with the root user. But this is a concern for me because it is a security risk. How do I get around this? I have also read

Tomcat and Maven2

2007-05-14 Thread lightbulb432
I looked at the embedded distribution, and can't tell what JARs are required for a basic Bootstrap embedded setup. In the lib folder there are 16 JARs...are they all required? At the following link I can't tell whether there's one Maven project that is the one I'm looking for, or whether I'll

JSVC configure errors

2007-05-14 Thread Greg Spitzer
Hi, I have been using Tomcat 5.0 in the past but now have downloaded version 6.0 and see that there is this JSVC component which allows Tomcat to be run as a daemon but am having trouble building it. I am following the instructions at http://tomcat.apache.org/tomcat-6.0-doc/ setup.html

RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
Hi Sean, Take a look at my uriworkermap.properites file and see if it helps you. My web sites are working just fine on Windows 2003 and IIS 6. # *** Begin uriworkermap.properties *** # # Simple worker configuration file # /servlet/*=ajp13 # Mount the IC context to the ajp13 worker

RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
Sean, I just forgot to mention that everytime (at least in my case) you change the uriworkermap.properties file you must perform an iisreset command to take effect... Have you done it? -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 14 de

Re: RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Sean_McKellips
I added one specific example explicity to get this: /servlets-examples/*=ajp13w /examples/*=ajp13w /examples/jsp/jsp2/el/basic-arithmetic.jsp=ajp13w /*=ajp13w !/servlets-examples/*.jpeg=ajp13w But I am still getting this from IIS: 2007-05-14 16:54:06 W3SVC1 127.0.0.1 GET

Re: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-14 Thread Rainer Jung
OK, that solves the quiz: The isapi plugin has a speciality. It first checks for a forwarding rule, which is specific for the virtual server. If it doesn't find one, then it checks for global rules. Unfortunately there is a little gotcha, if you use /* as a rule. It will always map as a

port problem

2007-05-14 Thread Dave Sailer
I'm running tomcat 5.5 and sniffing out problems with a somewhat complex web site. After deploying the war into the running tomcat, I go to the home page and get some exceptions. Looking at the sniffer output, most of the requests are to localhost:8080, but some are to just localhost, which

Re: Tomcat without JSVC

2007-05-14 Thread Greg Spitzer
Wow, I had done that once already but figured I would try again and everything works with version 5.5 and 6.0. It appears that my download came from a different mirror this time. I double checked, and the mirror I originally used was http:// apache.siamwebhosting.com and when I do and md5

Re: Tomcat without JSVC

2007-05-14 Thread Greg Spitzer
This problem has been solved and was due to a bad download. I have re- downloaded from a different mirror and everything works now. Sorry to bother. Thanks, Greg On May 14, 2007, at 10:54 AM, Greg Spitzer wrote: Hi, I'm trying to run Tomcat for development purposes by just starting it

Re: JSVC configure errors

2007-05-14 Thread Greg Spitzer
This problem has been solved and was due to a bad download. I have re- downloaded from a different mirror and everything works now. Sorry to bother. Thanks, Greg On May 14, 2007, at 10:41 AM, Greg Spitzer wrote: Hi, I have been using Tomcat 5.0 in the past but now have downloaded

Re: port problem

2007-05-14 Thread Pid
Dave Sailer wrote: I'm running tomcat 5.5 and sniffing out problems with a somewhat complex web site. After deploying the war into the running tomcat, I go to the home page and get some exceptions. Looking at the sniffer output, most of the requests are to localhost:8080, but some are to just

Re: port problem

2007-05-14 Thread Dave Sailer
more detail: we have a customer 404 error page with... :iframe src=http://www.blahblah.net/mypage.html; width=100% height=105 scrolling=no frameborder=0/iframe The build script replaces http://www.blahblah.net with http://test.blahblah.net and my hosts file maps test.blahblah.net to

Problems with JDBCRealm and mysql ...

2007-05-14 Thread Frank Burns
I am successfully running a local web application on Windows XP, using Tomcat 5.5.20, and a JDBCRealm for the application that accesses two simple tables (users and user_roles) on a local mysql database. However, when I try to run the identical set-up on a remote linux server I get database

RE: port problem

2007-05-14 Thread Caldarale, Charles R
From: Dave Sailer [mailto:[EMAIL PROTECTED] Subject: Re: port problem more detail: we have a customer 404 error page with... :iframe src=http://www.blahblah.net/mypage.html; width=100% height=105 scrolling=no frameborder=0/iframe Why don't you just get rid of the

JK Connector errors under heavy load

2007-05-14 Thread Brantley Hobbs
All, I'm doing some load testing and I'm having a bit of trouble trying to interpret the numbers on the Tomcat Manager's Server Status page. Specifically, each defined connector (http or jk) has a block telling you the values of maxThreads, minSpareThreads, etc. In my testing, I've found

Re: port problem

2007-05-14 Thread Dave Sailer
I can't do that because, well, you know how this business is. I will just run on port 80. Caldarale, Charles R wrote: From: Dave Sailer [mailto:[EMAIL PROTECTED] Subject: Re: port problem more detail: we have a customer 404 error page with... :iframe src=http://www.blahblah.net/mypage.html;

Re: RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Sean_McKellips
I tried adding the following lines to workers.properties from your config files, Marcus, worker.tomcat_home=C:\Program Files\Apache Software Foundation\Tomcat 6.0 worker.java_home=C:\Program Files\Java\jdk1.6.0 I tried using single quotes as well. I also tried your isapi_redirect.dll. Thanks

Re: Problems with JDBCRealm and mysql ...

2007-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, Frank Burns wrote: However, when I try to run the identical set-up on a remote linux server I get database connectivity problems. A sample logging error message is: ERROR 14 May 07 12:44:54 - Exception opening database connection

Re: JK Connector errors under heavy load

2007-05-14 Thread ewsinc
I have had the same question without any answer from this forum. You can turn on mod_jk logging to see what the httpd side of the ajp protocol has to say. I got those errors to go away, but I don't know how to turn on detailed logging for the tomcat side of ajp I am unable to find any error

Re: Problems with JDBCRealm and mysql ...

2007-05-14 Thread Frank Burns
Hi Chris. In the in the server.xml JDBCRealm specification, I changed localhost to 127.0.0.1 and it works. Thanks for your help. Frank. On 5/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, Frank Burns wrote: However, when I try to

Re: Tomcat 6 trimDirectiveWhitespaces

2007-05-14 Thread Rashmi Rubdi
You're welcome. It may be a good idea to file a bug, because Tomcat 6.0.10 supports JSP 2.1 and trimDirectiveWhitespaces is a new feature in JSP 2.1 , it is supposed to work. I've personally tried Ant's RegEx to compress the white spaces in HTML, JS and other files, I've also heard that it is

Re: Run Xalan on Tomcat

2007-05-14 Thread Rashmi Rubdi
On 5/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: Rashmi Rubdi wrote: One way to use Xalan is with JSTL XML tags inside a JSP. A much better way is to use Cocoon (http://cocoon.apache.org). I've not tried Cocoon yet, so I really cant compare JSTL XML tags with Cocoon but I know that

Re: Embedded Tomcat 6

2007-05-14 Thread Bill Barker
lightbulb432 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Why is there no embedded Tomcat download for Tomcat 6, while there is for Tomcat 5.5? In TC 6 (at least with the default configuration) there really isn't much difference between embedded and regular TC (except, of

Re: How to change Tomcat 5.5 default socket factory

2007-05-14 Thread Bill Barker
Tomcat (at least since 4.1.x) doesn't allow overriding the socket factory. However, you can override the SSLImplementation in the Connector / element and implement your own socket factory there. Look in the o.a.t.u.net package of the Tomcat source distro to see what is required. Kovacs,

Re: Embedded Tomcat 6

2007-05-14 Thread lightbulb432
Thanks for your response. How can I get Tomcat running from my Java code, now that bootstrap.jar is not in the Tomcat distribution for 6? I'm used to the pre-Tomcat 6 API of the Bootstrap class...has this changed in the latest version? (Bootstrap isn't available in any of Tomcat 6's JARs.)