Tomcat Manager Application

2011-08-25 Thread Martin Dubuc
I am trying to run the Tomcat Manager application in Tomcat 7 (7.0.18). I can't get this to work. If I go to /manager/index.jsp on my web server, the web server redirects me to /manager/html and returns a 404 error. Looking inside the manager directory under webapps, there is no html directory. Is

Re: Tomcat Manager Application

2011-08-25 Thread Martin Dubuc
, On 8/25/2011 11:44 AM, Martin Dubuc wrote: I am trying to run the Tomcat Manager application in Tomcat 7 (7.0.18). I can't get this to work. If I go to /manager/index.jsp on my web server, the web server redirects me to /manager/html That is correct behavior. and returns a 404 error

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-23 Thread Martin Dubuc
Can you confirm that the patches to apply to solve this issue are the following ones: r1138550 and r1138555? Martin On Wed, Jun 22, 2011 at 5:16 PM, Mark Thomas ma...@apache.org wrote: On 22/06/2011 20:03, Martin Dubuc wrote: Mark, Thanks for looking into this and working to get

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-23 Thread Martin Dubuc
Thomas ma...@apache.org wrote: On 23/06/2011 16:30, Martin Dubuc wrote: Can you confirm that the patches to apply to solve this issue are the following ones: r1138550 and r1138555? r1138550 is purely cosmetic. r1138555 is the patch that should fix this. Mark Martin On Wed, Jun 22

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-22 Thread Martin Dubuc
Mark, Thanks for looking into this and working to get the patch in for future versions. It will allow us to use later versions of Tomcat and not be stuck on 7.0.10. If you would like me to test the patch, I can rebuild from patched source and test locally. Martin On Wed, Jun 22, 2011 at 12:46

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-17 Thread Martin Dubuc
? Martin On Thu, Jun 16, 2011 at 8:59 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Martin Dubuc [mailto:martind1...@gmail.com] Subject: crlFile and SunX509 algorithm in Tomcat 7.0.16 Up to Tomcat 7.0.10, I used the crlFile configuration along with the SunX509 algorithm

crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
Up to Tomcat 7.0.10, I used the crlFile configuration along with the SunX509 algorithm in SSL HTTP connector configuration in server.xml. However, when I start Tomcat 7.0.16, I get the following error: Jun 16, 2011 12:22:22 PM org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
I have tried to change the algorithm to Oracle509 to no avail. This value is not recognized. Martin On Thu, Jun 16, 2011 at 8:59 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Martin Dubuc [mailto:martind1...@gmail.com] Subject: crlFile and SunX509 algorithm in Tomcat

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
I would be surprised it would be JRE related since the crlFile configuration works with Tomcat 7.0.10 and the same JDK. Must be something that changed in the Tomcat code. Martin On Thu, Jun 16, 2011 at 8:59 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Martin Dubuc

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Martin Dubuc
) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:522) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:450) ... 23 more Martin On Thu, Jun 16, 2011 at 9:35 AM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2011/6/16 Martin Dubuc martind1...@gmail.com

Re: IPv6 Issue with Tomcat

2011-02-12 Thread Martin Dubuc
Thanks for all your response guys. Chuck's recommendation did fix my problem. I also liked the loopback recommendation. Martin On Fri, Feb 11, 2011 at 10:17 AM, Martin Dubuc martind1...@gmail.comwrote: On my Tomcat server (currently running version 6.x), I have set up a firewall rule to drop

IPv6 Issue with Tomcat

2011-02-11 Thread Martin Dubuc
On my Tomcat server (currently running version 6.x), I have set up a firewall rule to drop all IPv6 traffic. It seems that this is causing some issue on startup, because the startup delay is noticeable (takes around 3 minutes) when the IPv6 firewall rule is on. If the IPv6 rule is not on, the

Re: IPv6 Issue with Tomcat

2011-02-11 Thread Martin Dubuc
I am using Tomcat 6.0.29 and JDK 6 Update 23. Martin On Fri, Feb 11, 2011 at 10:30 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Martin Dubuc [mailto:martind1...@gmail.com] Subject: IPv6 Issue with Tomcat I am wondering if there is configuration within Tomcat

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Martin Dubuc
I am running into same issue on my side using the latest Tomcat 6.0.26 and JSF. I am using Mojarra 1.2 patch 14 and RichFaces 3.3.2 SR1. I didn't have any issues with 6.0.24. Not sure what changed in 6.0.26, but it might have broken JSF 1.2 support. Hopefully, someone can recommend a workaround.

Re: Support for JSF 2.0

2009-03-18 Thread Martin Dubuc
: Martin Dubuc wrote: It is my understanding that Java EE 6 will use JSP 2.2, servlet 3.0 and JSF 2.0. I am wondering if Tomcat 7.0 should also support JSP 2.2 in addition to servlet 3.0. As far as I am aware, there is no JSP 2.2 spec in the works. If you know different, a reference would

Re: Support for JSF 2.0

2009-03-17 Thread Martin Dubuc
would be sufficient for Web applications using JSF 2.0. Martin On Tue, Mar 17, 2009 at 11:02 AM, Mark Thomas ma...@apache.org wrote: Christopher Schultz wrote: Martin, On 3/9/2009 5:44 PM, Martin Dubuc wrote: I am wondering if there are plans to support JSF 2.0 when it is released. I

Support for JSF 2.0

2009-03-09 Thread Martin Dubuc
I am wondering if there are plans to support JSF 2.0 when it is released. I assume that support for JSF 2.0 will require support for new servlet/JSP specs (somehting like servlet 3.0/JSP 2.2). Would this be done in version 7.0 of Tomcat? Martin

Force loading a page on restart

2009-01-29 Thread Martin Dubuc
I would like to know if it is possible to force a user to a certain page when Tomcat restarts. In my application, if Tomcat is restarted after the user displays a page, the user is not aware of the restart until he/she clicks on a link or button on that page. Then, Tomcat will automatically

Re: j_security_check

2008-12-02 Thread Martin Dubuc
, Dec 2, 2008 at 11:28 AM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: I am not sure I understand exactly why, but it seems to me that, although the sessionTimeout.jsp page is not protected, if the user responds

Re: j_security_check

2008-12-02 Thread Martin Dubuc
- Hash: SHA1 Martin, Martin Dubuc wrote: I finally managed to get the sessions to time out after 1 minute. What did you have to change? Here is the security-constraint definition: security-constraint web-resource-collection web-resource-name Page

j_security_check

2008-12-01 Thread Martin Dubuc
I would like Tomcat to automatically redirect to a special session expiry notification page when a user session times out. I am currently using the meta tag to force redirection as follows: meta http-equiv=refresh content=${pageContext.session.maxInactiveInterval};url=sessionTimeout.jsp However,

Redirection after Tomcat restart

2008-09-22 Thread Martin Dubuc
I am running Tomcat 6.0.18. My application uses form based authentication. I am not sure how to handle the case where a user navigates to one of the secure page after logging in and Tomcat is restarted. The problem is that from the secured page, if the user clicks on any of the links after the

SingleSignOn and session inactivity

2008-08-25 Thread Martin Dubuc
I have turned on SingleSignOn on my Tomcat 6.0.18 Web server. I have two applications running on the server and I would like that the user only have to log in once to have access to either applications. I am not sure I fully understand how SingleSignOn should be used. From a user perspective, I

Re: Anybody using GNU Java

2007-05-29 Thread Martin Dubuc
I would not recommend using GNU java with Tomcat. I remember I struggled with installation of JDK 6 on FC5 or FC6 when it was first released. I figured eventually that there were some directories that were supposed to be installed by the jpackage-utils RPM that JDK was looking for that were not

Java HotSpot warning when using jsvc

2007-05-10 Thread Martin Dubuc
I have started using jsvc to launch Tomcat. I am running Tomcat 6.0.13 on Fedora Core 6. My JDK is 6.0u1. I get a warning on startup. Not sure if this should be cause of concern. Anybody seen this before? Is there an explanation? Will this impact functionality or performance in any way? Is there

Re: Encrypting passwords in the connection pool setup

2007-05-01 Thread Martin Dubuc
Mark, I also don't feel quite at ease to see passwords in clear text in the server.xml file. True, if the protection on that file is set up properly, there shouldn't be much issue. But it strikes me that Tomcat is the only application I know where passwords are stored in clear text. Why wouldn't

Re: Encrypting passwords in the connection pool setup

2007-05-01 Thread Martin Dubuc
, but better than cleartext, for sure. Martin On 5/1/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: But it strikes me that Tomcat is the only application I know where passwords are stored in clear text. I'll bet that Tomcat

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.

Re: Tomcat and MySQL sync problems

2007-01-29 Thread Martin Dubuc
Not sure if it is the same problem, but we had similar issue and resolved it by increasing value of wait_timeout in /etc/my.cnf: wait_timeout=2147483647 I am not sure if the issue we were seeing was tied wth Tomcat or not though. Martin On 1/29/07, Chris Long [EMAIL PROTECTED] wrote: Hello,

Re: Tomcat 6.0.8 JSF 1.2 RI

2007-01-23 Thread Martin Dubuc
I am able to use JSF 1.2_03 RI inside Tomcat 6.0.8. Ensure you have the JSTL 1.2 also loaded. Martin On 1/22/07, Zaphod [EMAIL PROTECTED] wrote: I try to use the JSF 1.2_03 RI with Tomcat 6.0.8. I get a NullPointerException: Servlet.service() for servlet jsp threw exception

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Martin Dubuc
Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry [EMAIL PROTECTED] wrote: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get this

Re: tomcat 5.5, java 6 and jconsole not working as service

2007-01-09 Thread Martin Dubuc
I haven't been successful running Tomcat on Java 6. My guess is that Tomcat can't run yet on Java 6. Martin On 1/9/07, teknokrat [EMAIL PROTECTED] wrote: I am running Tomcat 5.5 as a service using Java 6. I try to connect jconsole locally but it can't seem to find tomcat. Anyone know how I can

Getting the Tomcat Native library to work under Fedora

2006-12-15 Thread Martin Dubuc
I guess most of us have wondered at one point or another what this message means: INFO: The Apache Tomcat native library which allows optimal performance in production environments was not found on java.library.path in the catalina.out log. Only recently have I spent time trying to figure out

Re: How to set app as default context in Tomcat?

2006-12-07 Thread Martin Dubuc
The way I am handling this, and it is probably not very clean, but it works for me, is to define an index.html file in webapps/ROOT with this content: html meta http-equiv=Refresh content=0; url=/app /html On 12/7/06, kkus [EMAIL PROTECTED] wrote: I am using Tomcat 5.5.20 and my app in

CGI Servlet in Tomcat 6.0.2

2006-11-30 Thread Martin Dubuc
I would like to use the CGI servlet in Tomcat 6.0.2, but I get this error message when enabling it: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded by this web application I have read the documentation and it looks like

Tomcat 6.0.2 Deployer

2006-11-27 Thread Martin Dubuc
I would like to deploy a web app inside Tomcat 6.0 with the deployer app, but I can't build it. I untared the Tomcat 6.0.2 deployer archive and tried to run ant to build the deployer app. I got the following error: Buildfile: build.xml clean: [delete] Deleting directory

Tomcat 6.0.2 and JSF

2006-11-23 Thread Martin Dubuc
I am trying to port my Web app from Tomcat 5.5 to Tomcat 6.0. I would like to perform the migration in two steps, first by upgrading Tomcat, then migrating from JSF 1.1 to JSF 1.2. I currently get some errors in my JSF 1.1 pages. The first time I use a managed bean in one of the expression

Servlet filter on j_security_check

2006-02-02 Thread Martin Dubuc
I am using form based authentication in my application. I would like to know if it is possible to install a Servlet filter on j_security_check. I have tried to install one, but it never gets invoked. Here is my filter definition in application web.xml: filter

Re: Identifying a page with no extension to be a JSP

2006-02-01 Thread Martin Dubuc
the filename instead of the *, for example jsp /path/file in your web.xml this has worked for me, when I've done it for files in the main path anyway, but I suppose it will work for other parts also.. /Christian Andersson Martin Dubuc wrote: I have a page that has some JSP

File descriptors vs. CGI execution

2006-01-20 Thread Martin Dubuc
I am running Tomcat 5.5.12. I have noticed with lsof that every time a CGI script is executed within Tomcat, the number of file descriptors used by Tomcat increases by 1. Once in a while, the number of file descriptors drops to its initial level. However, I am seeing many instances where the