RE: howto configure JAAS+SSO
Hi Wendy, Sure I can explain what happens but not why. When you call the LoginModule with an optional Subject and CallBack the code works fine for me, i.e. it calls the LoginModule and I do everything I need, placing the Principals into the Subject. However... and this is where I don't want to say anything sweeping in case I have just simply misunderstood the Subject that is authenticated via the LoginModule has no visibility to Tomcat. If I could find a way to replace the session Subject with the one passed back from the LoginModule.getSubject() I would be ok, but I couldn't, so I placed the authorised Subject in the session and overrode the request.isUserInRole() to authorise against the Subject I placed in the session. One of these days I might ask the Tomcat dev list what I was doing wrong but got comments from other developers saying they had the same problem [All the JAAS examples do it the way I have described in some shape or form] Its not that bid a deal, and if you just use the Request wrapper I have attached you know that in the future you can remove the filter if you go to WebSphere or something like that. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 16 August 2005 17:44 To: Tomcat Users List Subject: Re: howto configure JAAS+SSO From: "Mark Benussi" <[EMAIL PROTECTED]> > However I can tell you about JAAS in Tomcat. In 5 certainly there are > issues. Essentially when you call the LoginModule to invoke your JAAS > config > it works but it does not authenticate the proper session Subject. Can you explain more about this? I just _finally_ got the jsp-examples webapp that ships with Tomcat changed over to Kerberos authentication. Am I about to run into problems? > What you end up doing (Or what I did) was place a request filter in the > app that > wraps the request with an overridden RequestWrapper and you write your own > inUserInRole against the Subject that the LoginModule returns (By placing > it > in the session) > > If you want some code, taken from Wendy Smoak ... .. who took it from one of Craig's tomcat-user posts. ;) http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatRequestWrapper -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto configure JAAS+SSO
From: "Mark Benussi" <[EMAIL PROTECTED]> However I can tell you about JAAS in Tomcat. In 5 certainly there are issues. Essentially when you call the LoginModule to invoke your JAAS config it works but it does not authenticate the proper session Subject. Can you explain more about this? I just _finally_ got the jsp-examples webapp that ships with Tomcat changed over to Kerberos authentication. Am I about to run into problems? What you end up doing (Or what I did) was place a request filter in the app that wraps the request with an overridden RequestWrapper and you write your own inUserInRole against the Subject that the LoginModule returns (By placing it in the session) If you want some code, taken from Wendy Smoak ... ... who took it from one of Craig's tomcat-user posts. ;) http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatRequestWrapper -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto configure JAAS+SSO [Apologies code attached]
Mark Benussi wrote: 1.Filter to go in web.xml /** * [EMAIL PROTECTED] javax.servlet.Filter Filter} to overide the HttpServletRequest and * overide isUserInRole() using the * [EMAIL PROTECTED] com.ibt.framework.security.tomcat.HttpServletRequestWrapper HttpServletRequestWrapper} * * @author Mark Benussi */ public class HttpServletRequestFilter implements Filter { /** * @see javax.servlet.Filter#destroy() */ public void destroy() { } /** * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, * javax.servlet.ServletResponse, javax.servlet.FilterChain) */ public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest httpServletRequest = (HttpServletRequest) request; HttpServletRequestWrapper wrappedRequest = new HttpServletRequestWrapper( httpServletRequest); chain.doFilter(wrappedRequest, response); } /** * @see javax.servlet.Filter#init(javax.servlet.FilterConfig) */ public void init(FilterConfig config) throws ServletException { } } 2. Request wrapper /** * Wraps the [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} * @author Mark Benussi */ public class HttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper { /** * The original [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} */ private HttpServletRequest request = null; /** * Helper to manage any common security methods */ private static SecurityHelper jaasHelper = null; /** * Default constructor * * @param request *The original [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} */ public HttpServletRequestWrapper(HttpServletRequest request) { super(request); if (jaasHelper == null) { jaasHelper = new SecurityHelper(); } this.request = request; } /** * @see javax.servlet.http.HttpServletRequestWrapper#isUserInRole(java.lang.String) */ public boolean isUserInRole(String role) { Subject subject = jaasHelper.getSessionSubject(request, false); return jaasHelper.isSubjectInRole(subject, role); } } 3. When you call youre LoginModule get the Subject and place in the session and then write your own code to validate the Subject has the role required. 4. As for passing the session to your LoginModule, which I wouldn't do in a puristic way as the LoginModule should be able to be used by a wing app just as much as a web app. well. my login module would be for the very special purpose of making SSO of webapps possible, so i wouldn't have much of a problem with this. Contstruct a CallBackHandler with the username and password but also with the session or request. Then in your loginmodule you will have access to the request/session when you invoke handle callback wow. thanks a lot! the code looks much simpler than i would have expected. i think this will do nicely. :) Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto configure JAAS+SSO [Apologies code attached]
1.Filter to go in web.xml /** * [EMAIL PROTECTED] javax.servlet.Filter Filter} to overide the HttpServletRequest and * overide isUserInRole() using the * [EMAIL PROTECTED] com.ibt.framework.security.tomcat.HttpServletRequestWrapper HttpServletRequestWrapper} * * @author Mark Benussi */ public class HttpServletRequestFilter implements Filter { /** * @see javax.servlet.Filter#destroy() */ public void destroy() { } /** * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, * javax.servlet.ServletResponse, javax.servlet.FilterChain) */ public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest httpServletRequest = (HttpServletRequest) request; HttpServletRequestWrapper wrappedRequest = new HttpServletRequestWrapper( httpServletRequest); chain.doFilter(wrappedRequest, response); } /** * @see javax.servlet.Filter#init(javax.servlet.FilterConfig) */ public void init(FilterConfig config) throws ServletException { } } 2. Request wrapper /** * Wraps the [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} * @author Mark Benussi */ public class HttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper { /** * The original [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} */ private HttpServletRequest request = null; /** * Helper to manage any common security methods */ private static SecurityHelper jaasHelper = null; /** * Default constructor * * @param request *The original [EMAIL PROTECTED] javax.servlet.http.HttpServletRequest HttpServletRequest} */ public HttpServletRequestWrapper(HttpServletRequest request) { super(request); if (jaasHelper == null) { jaasHelper = new SecurityHelper(); } this.request = request; } /** * @see javax.servlet.http.HttpServletRequestWrapper#isUserInRole(java.lang.String) */ public boolean isUserInRole(String role) { Subject subject = jaasHelper.getSessionSubject(request, false); return jaasHelper.isSubjectInRole(subject, role); } } 3. When you call youre LoginModule get the Subject and place in the session and then write your own code to validate the Subject has the role required. 4. As for passing the session to your LoginModule, which I wouldn't do in a puristic way as the LoginModule should be able to be used by a wing app just as much as a web app. Contstruct a CallBackHandler with the username and password but also with the session or request. Then in your loginmodule you will have access to the request/session when you invoke handle callback -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: 16 August 2005 15:14 To: Tomcat Users List Subject: Re: howto configure JAAS+SSO Mark Benussi wrote: >Hi Edmund. > >I am sorry but I don't know much about SSO. > >However I can tell you about JAAS in Tomcat. In 5 certainly there are >issues. Essentially when you call the LoginModule to invoke your JAAS config >it works but it does not authenticate the proper session Subject. What you >end up doing (Or what I did) was place a request filter in the app that >wraps the request with an overridden RequestWrapper and you write your own >inUserInRole against the Subject that the LoginModule returns (By placing it >in the session) > >If you want some code, taken from Wendy Smoak and others I can provide. > > > thanks. I'm currently considering to write my own login module in order to share authentication data across login contexts. i would need to access session cookies from the module and i'm not sure how/if this can be done yet. i've never written a requestwrapper myself, so i can't really tell how hard/complicated that would be. i'd be glad, if you could provide me with some code to look at. that could certainly help me decide on how to go on about that SSO requirement. Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto configure JAAS+SSO
Mark Benussi wrote: Hi Edmund. I am sorry but I don't know much about SSO. However I can tell you about JAAS in Tomcat. In 5 certainly there are issues. Essentially when you call the LoginModule to invoke your JAAS config it works but it does not authenticate the proper session Subject. What you end up doing (Or what I did) was place a request filter in the app that wraps the request with an overridden RequestWrapper and you write your own inUserInRole against the Subject that the LoginModule returns (By placing it in the session) If you want some code, taken from Wendy Smoak and others I can provide. thanks. I'm currently considering to write my own login module in order to share authentication data across login contexts. i would need to access session cookies from the module and i'm not sure how/if this can be done yet. i've never written a requestwrapper myself, so i can't really tell how hard/complicated that would be. i'd be glad, if you could provide me with some code to look at. that could certainly help me decide on how to go on about that SSO requirement. Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto configure JAAS+SSO
Hi Edmund. I am sorry but I don't know much about SSO. However I can tell you about JAAS in Tomcat. In 5 certainly there are issues. Essentially when you call the LoginModule to invoke your JAAS config it works but it does not authenticate the proper session Subject. What you end up doing (Or what I did) was place a request filter in the app that wraps the request with an overridden RequestWrapper and you write your own inUserInRole against the Subject that the LoginModule returns (By placing it in the session) If you want some code, taken from Wendy Smoak and others I can provide. -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: 16 August 2005 13:14 To: Tomcat Users List Subject: howto configure JAAS+SSO hello! I'm trying to configure two webapps (slide and jetspeed2) for single-sign-on in the same tomcat instance. Both apps use JAAS and come with their own JAAS login modules. Is it possible to configure these (any?) two apps to share login info with JAAS. I started reading the JAAS docs recently and I tried putting the two login modules into one JAAS login context, but that does not seem to work, because the login module classes won't instantiate properly due to dependencies to their respective webapps. Can SSO be achieved without having the apps share one login context? Will I have to write my own login module(s)? Should I use a (completely) different approach to get SSO? Thanks for any help/advice. Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto configure JAAS+SSO
hello! I'm trying to configure two webapps (slide and jetspeed2) for single-sign-on in the same tomcat instance. Both apps use JAAS and come with their own JAAS login modules. Is it possible to configure these (any?) two apps to share login info with JAAS. I started reading the JAAS docs recently and I tried putting the two login modules into one JAAS login context, but that does not seem to work, because the login module classes won't instantiate properly due to dependencies to their respective webapps. Can SSO be achieved without having the apps share one login context? Will I have to write my own login module(s)? Should I use a (completely) different approach to get SSO? Thanks for any help/advice. Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 5.5.9 jdk 1.5 howto
The howto on the website is slightly wrong here is the exact howto first of all remove all jikes related jars from the tomcat lib dir, second add tools.jar from the jdk to the tomcat classpath third add ant.jar from an ant installation to the classpath fourth replace the servlet entry from the conf/web.xml with following: jsp org.apache.jasper.servlet.JspServlet fork false xpoweredBy false compiler javac1.5 compilerSourceVM 1.5 compilerTargetVM 1.5 3 and now startup tomcat with a working jdk 1.5 and pages should compile also see http://marc.theaimsgroup.com/?l=tomcat-user&m=111660999324714&w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto to turn Tomcat 4.1.x DBCP logging on ?
Hello, I'm running Tomcat 4.1.x and would like to get some log info about DBCP. Does someone know how I could turn DBCP's logging on ? Thx /bertrand
Re: howto on compiling mod_jk2 for windows
yeah, I knew it was deprecated. I have had more experience with mod_jk2 and keep using it. I will take a look at the mod_jk stuff. I was not aware of the mod_jk updates. ...thanks. On 6/26/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > On Sunday 26 June 2005 14:53, Mark wrote: > > Can someone point me to a site that will describe how to compile > > mod_jk2 for windows? > > > > Are you aware that mod_jk2 is depreciated in favour of an updated mod_jk. > Binaries of mod_jk are available on the jakata.apache.org web site. > -- > Alan Chandler > http://www.chandlerfamily.org.uk > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto on compiling mod_jk2 for windows
On Sunday 26 June 2005 14:53, Mark wrote: > Can someone point me to a site that will describe how to compile > mod_jk2 for windows? > Are you aware that mod_jk2 is depreciated in favour of an updated mod_jk. Binaries of mod_jk are available on the jakata.apache.org web site. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto on compiling mod_jk2 for windows
Can someone point me to a site that will describe how to compile mod_jk2 for windows? thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HowTo Change default Pool MaxSize for SingleThreadModel Servlets
Hi all; I have a servlet that implements the SingleThreadModel interface. I have noticed that, under heavy weight, tomcat is restricting the servlet pool size to 22 instances. My question is: How can I do to change this limit? Regards. Martín. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets
Mart?_Cabrera,您好! I think you can use singlton pattern! === 2005-06-14 16:48:00 您在来信中写道:=== >Hi all; > >How can I do to change the default pool size for SingleThreadModel servlets? > >Regards. >Mart?. > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = 致 礼! 孙业海 [EMAIL PROTECTED] 2005-06-15 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets
Mart?_Cabrera,您好! I think you can use singlton pattern! === 2005-06-14 16:48:00 您在来信中写道:=== >Hi all; > >How can I do to change the default pool size for SingleThreadModel servlets? > >Regards. >Mart?. > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = 致 礼! 孙业海 [EMAIL PROTECTED] 2005-06-15 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HowTo Change Pool MaxSize for SingleThreadModel Servlets
Pawan; I suggest you start a new thread instead of replying this way. Regards. Martín. -Mensaje original- De: Pawan Choudhary [mailto:[EMAIL PROTECTED] Enviado el: Martes, 14 de Junio de 2005 05:17 p.m. Para: Tomcat Users List Asunto: Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets Hi all What are the different extension mechanism for Tomcat or in other words how do we extend Tomcat. Can we write some plug-in in Tomcat environment. From what I have gathered till now it looks like Tomcat's server.xml file can be customized for className attibute etc. Apart from this what are the different extension point to Tomcat. Thanks all, Pawan On 6/14/05, Martín Cabrera <[EMAIL PROTECTED]> wrote: > Hi all; > > How can I do to change the default pool size for SingleThreadModel servlets? > > Regards. > Martín. > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- --- Pawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets
Hi all What are the different extension mechanism for Tomcat or in other words how do we extend Tomcat. Can we write some plug-in in Tomcat environment. From what I have gathered till now it looks like Tomcat's server.xml file can be customized for className attibute etc. Apart from this what are the different extension point to Tomcat. Thanks all, Pawan On 6/14/05, Martín Cabrera <[EMAIL PROTECTED]> wrote: > Hi all; > > How can I do to change the default pool size for SingleThreadModel servlets? > > Regards. > Martín. > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- --- Pawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HowTo Change Pool MaxSize for SingleThreadModel Servlets
Hi all; How can I do to change the default pool size for SingleThreadModel servlets? Regards. Martín. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache2+mod_jk + ssl: howto
1. The default httpd that ships in with FC3 i dont exactly remember its version but it's 2.x.x or something. 2. mod_jk2. 3. What i meant was when ur switching between ports in ur web application. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 3:28 PM To: Tomcat Users List Subject: Re: apache2+mod_jk + ssl: howto faisal wrote: >Apache web server's SSL certificate was already configured by our client so >i did't ve to configure anything on apache. But we did configure SSL on >tomcat. > >When redirecting, redirect through apache web server's port instead of >tomcat's port, because now your requests are being processed by apache web >server not tomcat. I also made this mistake of redirecting to tomcat's ports >whenever switching between SSL to Non-SSL ports. > >We are using tomcat 5.5.9. > >-Original Message- >From: jfc100 [mailto:[EMAIL PROTECTED] >Sent: Saturday, June 04, 2005 4:27 PM >To: Tomcat Users List >Subject: Re: apache2+mod_jk + ssl: howto > > >faisal wrote: > > > >>i used mod_jk2 when i was integrating tomcat with apache2. i also tried my >>hands on mod_jk and i find mod_jk2 a bit simpler of the two. >> >> >> >I have been using mod_jk2 to forward requests on the httpd2 web server >to tomcat4 successfully - but this was before I tried to implement SSL. >Now that I am looking at how to configure things, I read that jk2 is no >longer supported and that all the new features unique to jk2 have been >included in jk. Seeing as you have it working, lets assume for the rest >of this thread that I still want to get it working with jk2. > > > >>regarding SSL, ur gonna ve to enable SSL on both server. >> >> >> >Does that mean generating the key stuff on both machines? > > > >>apache2 on fedora >>core 3 comes SSL ebabled so i did't ve to do anything there. >> >> >> >I thought my httpd was SSL-enabled too but I couldn't find any ssl.conf >on my htttp machine. I found a mod_ssl.so file but no config. I didn't >know what to do about it. > > > >>my java web >>application used SSL for user logins so i had to configure my tomcat to >>enable SSL (java jeystore and tomcat server.xml and stuff.) >> >> >> >This I did too and could access the tomcat install and successfully use >SSL in my app but I was still (and still am) stuck with setting up an >ssl-enabled httpd server and configuring it to act as a front to my >tomcat servlet engine. > > > >>be carefull when redirecting user requests to HTTP to SSL or SSL to HTTP >>port on ur tomcat. use Apache web server ports instead of tomcat's >>port(which are 80 for http and 443 for https.) >> >> >> >> >why? > > > >>how ur gonna integrate Apache web server - tomcat?? >>u dont. AJPConnetor13 does it for u. >> >>u only ve to configure ur apache server to use mod_jk2 for ur web app >>requests. tomcat handles everything out of box(atleast newer one which we >>uses.) >> >> >> >> >which version of tomcat are you using? > >Thanks! >jfc > > > >>-Original Message- >>From: jfc100 [mailto:[EMAIL PROTECTED] >>Sent: Saturday, June 04, 2005 1:54 PM >>To: tomcat-user >>Subject: apache2+mod_jk + ssl: howto >> >> >>Hi, >> >>My environment: linux 2.4.22, httpd2 running on its own machine with an >>appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate >>machine. >> >>I have searched this list for an answer to my question but so far have >>come up empty handed. My question is simply, 'If I want to front an >>instance of tomcat with an instance of apache httpd and to enable my >>java webapps to use ssl, do I need to configure httpd for ssl or do I >>need to configure tomcat for ssl?'. >> >>Any help will be much appreciated. >> >>jfc >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > ok, let me just get a few things straight. 1. What version of Apache httpd are you using? 2. What version of mod_jk are you using? 3. When you say 'redirect' do you mean the directives in the workers properties file? Thanks jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache2+mod_jk + ssl: howto
faisal wrote: Apache web server's SSL certificate was already configured by our client so i did't ve to configure anything on apache. But we did configure SSL on tomcat. When redirecting, redirect through apache web server's port instead of tomcat's port, because now your requests are being processed by apache web server not tomcat. I also made this mistake of redirecting to tomcat's ports whenever switching between SSL to Non-SSL ports. We are using tomcat 5.5.9. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 4:27 PM To: Tomcat Users List Subject: Re: apache2+mod_jk + ssl: howto faisal wrote: i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. I have been using mod_jk2 to forward requests on the httpd2 web server to tomcat4 successfully - but this was before I tried to implement SSL. Now that I am looking at how to configure things, I read that jk2 is no longer supported and that all the new features unique to jk2 have been included in jk. Seeing as you have it working, lets assume for the rest of this thread that I still want to get it working with jk2. regarding SSL, ur gonna ve to enable SSL on both server. Does that mean generating the key stuff on both machines? apache2 on fedora core 3 comes SSL ebabled so i did't ve to do anything there. I thought my httpd was SSL-enabled too but I couldn't find any ssl.conf on my htttp machine. I found a mod_ssl.so file but no config. I didn't know what to do about it. my java web application used SSL for user logins so i had to configure my tomcat to enable SSL (java jeystore and tomcat server.xml and stuff.) This I did too and could access the tomcat install and successfully use SSL in my app but I was still (and still am) stuck with setting up an ssl-enabled httpd server and configuring it to act as a front to my tomcat servlet engine. be carefull when redirecting user requests to HTTP to SSL or SSL to HTTP port on ur tomcat. use Apache web server ports instead of tomcat's port(which are 80 for http and 443 for https.) why? how ur gonna integrate Apache web server - tomcat?? u dont. AJPConnetor13 does it for u. u only ve to configure ur apache server to use mod_jk2 for ur web app requests. tomcat handles everything out of box(atleast newer one which we uses.) which version of tomcat are you using? Thanks! jfc -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 1:54 PM To: tomcat-user Subject: apache2+mod_jk + ssl: howto Hi, My environment: linux 2.4.22, httpd2 running on its own machine with an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate machine. I have searched this list for an answer to my question but so far have come up empty handed. My question is simply, 'If I want to front an instance of tomcat with an instance of apache httpd and to enable my java webapps to use ssl, do I need to configure httpd for ssl or do I need to configure tomcat for ssl?'. Any help will be much appreciated. jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ok, let me just get a few things straight. 1. What version of Apache httpd are you using? 2. What version of mod_jk are you using? 3. When you say 'redirect' do you mean the directives in the workers properties file? Thanks jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache2+mod_jk + ssl: howto
Apache web server's SSL certificate was already configured by our client so i did't ve to configure anything on apache. But we did configure SSL on tomcat. When redirecting, redirect through apache web server's port instead of tomcat's port, because now your requests are being processed by apache web server not tomcat. I also made this mistake of redirecting to tomcat's ports whenever switching between SSL to Non-SSL ports. We are using tomcat 5.5.9. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 4:27 PM To: Tomcat Users List Subject: Re: apache2+mod_jk + ssl: howto faisal wrote: >i used mod_jk2 when i was integrating tomcat with apache2. i also tried my >hands on mod_jk and i find mod_jk2 a bit simpler of the two. > I have been using mod_jk2 to forward requests on the httpd2 web server to tomcat4 successfully - but this was before I tried to implement SSL. Now that I am looking at how to configure things, I read that jk2 is no longer supported and that all the new features unique to jk2 have been included in jk. Seeing as you have it working, lets assume for the rest of this thread that I still want to get it working with jk2. > >regarding SSL, ur gonna ve to enable SSL on both server. > Does that mean generating the key stuff on both machines? >apache2 on fedora >core 3 comes SSL ebabled so i did't ve to do anything there. > I thought my httpd was SSL-enabled too but I couldn't find any ssl.conf on my htttp machine. I found a mod_ssl.so file but no config. I didn't know what to do about it. >my java web >application used SSL for user logins so i had to configure my tomcat to >enable SSL (java jeystore and tomcat server.xml and stuff.) > This I did too and could access the tomcat install and successfully use SSL in my app but I was still (and still am) stuck with setting up an ssl-enabled httpd server and configuring it to act as a front to my tomcat servlet engine. > >be carefull when redirecting user requests to HTTP to SSL or SSL to HTTP >port on ur tomcat. use Apache web server ports instead of tomcat's >port(which are 80 for http and 443 for https.) > > why? >how ur gonna integrate Apache web server - tomcat?? >u dont. AJPConnetor13 does it for u. > >u only ve to configure ur apache server to use mod_jk2 for ur web app >requests. tomcat handles everything out of box(atleast newer one which we >uses.) > > which version of tomcat are you using? Thanks! jfc >-Original Message- >From: jfc100 [mailto:[EMAIL PROTECTED] >Sent: Saturday, June 04, 2005 1:54 PM >To: tomcat-user >Subject: apache2+mod_jk + ssl: howto > > >Hi, > >My environment: linux 2.4.22, httpd2 running on its own machine with an >appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate >machine. > >I have searched this list for an answer to my question but so far have >come up empty handed. My question is simply, 'If I want to front an >instance of tomcat with an instance of apache httpd and to enable my >java webapps to use ssl, do I need to configure httpd for ssl or do I >need to configure tomcat for ssl?'. > >Any help will be much appreciated. > >jfc > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache2+mod_jk + ssl: howto
faisal <mailto:[EMAIL PROTECTED]> scribbled on Saturday, June 04, 2005 4:40 AM: > i used mod_jk2 when i was integrating tomcat with apache2. i also > tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. > > regarding SSL, ur gonna ve to enable SSL on both server. Not sure what you mean by this. However we only have our certificate configured under Apache (Apache 2.0.49 and Tomcat 5.5.7). Our web application does check to make sure that the HTTPS protocol was used - but there is nothing special we did in Tomcat to enable that. > ... apache2 on > fedora core 3 comes SSL ebabled so i did't ve to do anything there. > my java web application used SSL for user logins so i had to > configure my tomcat to enable SSL (java jeystore and tomcat > server.xml and stuff.) > > be carefull when redirecting user requests to HTTP to SSL or SSL to > HTTP port on ur tomcat. use Apache web server ports instead of > tomcat's port(which are 80 for http and 443 for https.) > > how ur gonna integrate Apache web server - tomcat?? > u dont. AJPConnetor13 does it for u. > > u only ve to configure ur apache server to use mod_jk2 for ur web app > requests. tomcat handles everything out of box(atleast newer one > which we > uses.) > > -Original Message- > From: jfc100 [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 04, 2005 1:54 PM > To: tomcat-user > Subject: apache2+mod_jk + ssl: howto > > > Hi, > > My environment: linux 2.4.22, httpd2 running on its own machine with > an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a > seperate machine. > > I have searched this list for an answer to my question but so far > have come up empty handed. My question is simply, 'If I want to front > an instance of tomcat with an instance of apache httpd and to enable > my java webapps to use ssl, do I need to configure httpd for ssl or > do I need to configure tomcat for ssl?'. > > Any help will be much appreciated. > > jfc > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache2+mod_jk + ssl: howto
faisal <mailto:[EMAIL PROTECTED]> scribbled on Saturday, June 04, 2005 4:40 AM: > i used mod_jk2 when i was integrating tomcat with apache2. i also > tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. > > regarding SSL, ur gonna ve to enable SSL on both server. Not sure what you mean by this. However we only have our certificate configured under Apache (Apache 2.0.49 and Tomcat 5.5.7). Our web application does check to make sure that the HTTPS protocol was used - but there is nothing special we did in Tomcat to enable that. > ... apache2 on > fedora core 3 comes SSL ebabled so i did't ve to do anything there. > my java web application used SSL for user logins so i had to > configure my tomcat to enable SSL (java jeystore and tomcat > server.xml and stuff.) > > be carefull when redirecting user requests to HTTP to SSL or SSL to > HTTP port on ur tomcat. use Apache web server ports instead of > tomcat's port(which are 80 for http and 443 for https.) > > how ur gonna integrate Apache web server - tomcat?? > u dont. AJPConnetor13 does it for u. > > u only ve to configure ur apache server to use mod_jk2 for ur web app > requests. tomcat handles everything out of box(atleast newer one > which we > uses.) > > -Original Message- > From: jfc100 [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 04, 2005 1:54 PM > To: tomcat-user > Subject: apache2+mod_jk + ssl: howto > > > Hi, > > My environment: linux 2.4.22, httpd2 running on its own machine with > an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a > seperate machine. > > I have searched this list for an answer to my question but so far > have come up empty handed. My question is simply, 'If I want to front > an instance of tomcat with an instance of apache httpd and to enable > my java webapps to use ssl, do I need to configure httpd for ssl or > do I need to configure tomcat for ssl?'. > > Any help will be much appreciated. > > jfc > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache2+mod_jk + ssl: howto
faisal wrote: i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. I have been using mod_jk2 to forward requests on the httpd2 web server to tomcat4 successfully - but this was before I tried to implement SSL. Now that I am looking at how to configure things, I read that jk2 is no longer supported and that all the new features unique to jk2 have been included in jk. Seeing as you have it working, lets assume for the rest of this thread that I still want to get it working with jk2. regarding SSL, ur gonna ve to enable SSL on both server. Does that mean generating the key stuff on both machines? apache2 on fedora core 3 comes SSL ebabled so i did't ve to do anything there. I thought my httpd was SSL-enabled too but I couldn't find any ssl.conf on my htttp machine. I found a mod_ssl.so file but no config. I didn't know what to do about it. my java web application used SSL for user logins so i had to configure my tomcat to enable SSL (java jeystore and tomcat server.xml and stuff.) This I did too and could access the tomcat install and successfully use SSL in my app but I was still (and still am) stuck with setting up an ssl-enabled httpd server and configuring it to act as a front to my tomcat servlet engine. be carefull when redirecting user requests to HTTP to SSL or SSL to HTTP port on ur tomcat. use Apache web server ports instead of tomcat's port(which are 80 for http and 443 for https.) why? how ur gonna integrate Apache web server - tomcat?? u dont. AJPConnetor13 does it for u. u only ve to configure ur apache server to use mod_jk2 for ur web app requests. tomcat handles everything out of box(atleast newer one which we uses.) which version of tomcat are you using? Thanks! jfc -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 1:54 PM To: tomcat-user Subject: apache2+mod_jk + ssl: howto Hi, My environment: linux 2.4.22, httpd2 running on its own machine with an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate machine. I have searched this list for an answer to my question but so far have come up empty handed. My question is simply, 'If I want to front an instance of tomcat with an instance of apache httpd and to enable my java webapps to use ssl, do I need to configure httpd for ssl or do I need to configure tomcat for ssl?'. Any help will be much appreciated. jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: apache2+mod_jk + ssl: howto
i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. regarding SSL, ur gonna ve to enable SSL on both server. apache2 on fedora core 3 comes SSL ebabled so i did't ve to do anything there. my java web application used SSL for user logins so i had to configure my tomcat to enable SSL (java jeystore and tomcat server.xml and stuff.) be carefull when redirecting user requests to HTTP to SSL or SSL to HTTP port on ur tomcat. use Apache web server ports instead of tomcat's port(which are 80 for http and 443 for https.) how ur gonna integrate Apache web server - tomcat?? u dont. AJPConnetor13 does it for u. u only ve to configure ur apache server to use mod_jk2 for ur web app requests. tomcat handles everything out of box(atleast newer one which we uses.) -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 1:54 PM To: tomcat-user Subject: apache2+mod_jk + ssl: howto Hi, My environment: linux 2.4.22, httpd2 running on its own machine with an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate machine. I have searched this list for an answer to my question but so far have come up empty handed. My question is simply, 'If I want to front an instance of tomcat with an instance of apache httpd and to enable my java webapps to use ssl, do I need to configure httpd for ssl or do I need to configure tomcat for ssl?'. Any help will be much appreciated. jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache2+mod_jk + ssl: howto
Hi, My environment: linux 2.4.22, httpd2 running on its own machine with an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate machine. I have searched this list for an answer to my question but so far have come up empty handed. My question is simply, 'If I want to front an instance of tomcat with an instance of apache httpd and to enable my java webapps to use ssl, do I need to configure httpd for ssl or do I need to configure tomcat for ssl?'. Any help will be much appreciated. jfc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validation of HowTo Deploy
Because of no answer, I create a bug "enhancement" in bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35063) with the HowTo document and an example more complete. ... On Mon, 23 May 2005 19:12:07 +0200 Lionel Farbos <[EMAIL PROTECTED]> wrote: > 2nd test with the doc HTML inside... > > Hi, > > Because there is a lot of informations on several documents for deploying a > webapp in Tomcat, > it is difficult to define a simple and standard way to do it on a production > server. > Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5 > > So I decided to initialize a document which would be available for all Tomcat > versions >= 5.5.7 > > If you have a well knowledge of Tomcat in a production environment, > Can you help me to validate (correct and/or complete) a simple document like > the one attach ? > > Notes : > - The goal of this document is only to be a "as simple as possible" starting > point for this theme. > - I'm not sure the "re-deployment" paragraph when Automatic deployment is > disabled is correct ... > > In advance, thank you. > Regards. > > > > ... see in the bugzilla attachment for more details - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validation of HowTo Deploy
2nd test with the doc HTML inside... Hi, Because there is a lot of informations on several documents for deploying a webapp in Tomcat, it is difficult to define a simple and standard way to do it on a production server. Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5 So I decided to initialize a document which would be available for all Tomcat versions >= 5.5.7 If you have a well knowledge of Tomcat in a production environment, Can you help me to validate (correct and/or complete) a simple document like the one attach ? Notes : - The goal of this document is only to be a "as simple as possible" starting point for this theme. - I'm not sure the "re-deployment" paragraph when Automatic deployment is disabled is correct ... In advance, thank you. Regards. Howto deploy HOWTO deploy a webapp on a Tomcat production server Currently, when you want to deploy your webapp as a standard way on a Tomcat production server, you have to take informations in several documents (even threads in mailing list). The goal of this document is to describe a way that is as simple and standard as possible to do this, in a single document and with a concrete example (to avoid misunderstanding). For more details, you'll have to follow some links (at the end of this document). I) The context II) The furnitures II.1) the .war file II.2) an external config file III) The deployment III.1) on the localhost HOST III.2) on a custom Virtual Host III.3) on a custom Virtual Host as Context ROOT III.4) The re-deployment IV) The static files IV.1) delivered by Tomcat IV.2) delivered by Apache V) Some links I) The context - You are in a development team. You produce a webapp and have to provide it to an exploitation team. So, you don't have access to the pre-production and production servers. - A production server is a machine that must work all the time (24x7). - This document supposes you are using Tomcat Servers >= 5.5.7 Because there is only one set of documentations for all Tomcat 5.x versions but it can be bugs on certain versions, this document try to indicate the correct way for each Tomcat version. - As in Tomcat documentations, the descriptions below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat5. II) The furnitures II.1) the .war file You must package your web application in a single piece : myWebApp.war. The content of this package is : META-INF/ META-INF/MANIFEST.MF #The manifest file WEB-INF/ WEB-INF/lib/ #All the libraries needed for your webapp that are not present in the tomcat commons directories WEB-INF/classes #All your personal classes for the dynamic of the site WEB-INF/web.xml #The config file for your webapp <static and/or JSP files> #All your static files (.html, .js, .css, .jpg, .gif, .png, .ico, ...) This file concerns only development needs and can be the same for test, pre-production or production servers. Note : For more details on libraries to be present in the war file and the ones in tomcat commons directories, see the http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html";>ClassLoader Howto II.2) an external config File All your webapp properties can be put in the WEB-INF/web.xml file. But, if some properties are handled by the Tomcat context administrators, they must be set in an external properties file named, in the documentations, the context.xml file. Moreover, this file provides the complete setup for your Tomcat Context. The syntax for the context.xml is documented within :http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html";> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html This file can be inserted in the war (under META-INF/context.xml) but, if you have to describe some properties which can be modified by the exploitation team, it is easier (for administrators) to use it as an external file. A simple example : I want to define a dataSource and a Home directory for my webapp (these properties can be modified by the exploitation team on exploitation needs (change of BDD password,...), different values on pre-production or production servers), so my context file is : <Context path="/myWebApp" docBase="myWebApp.war" debug="1"> <Resource auth="Container" name="jdbc/myBaseDB" type="javax.sql.DataSource" driverClassName="org.gjt.mm.mysql.Driver" url="jdbc:mysql://mySQLServer:3306/myBase?autoReconnect=true"username="myUser" password="secret" maxIdle="30" maxWait="1" maxActive="4"/> <Parameter name="BASE_DIR" value="/usr/web/myWebApp" override="false"/> &l
Validation of HowTo Deploy
Hi, Because there is a lot of informations on several documents for deploying a webapp in Tomcat, it is difficult to define a simple and standard way to do it on a production server. Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5 So I decided to initialize a document which would be available for all Tomcat versions >= 5.5.7 If you have a well knowledge of Tomcat in a production environment, Can you help me to validate (correct and/or complete) a simple document like the one attach ? Notes : - The goal of this document is only to be a "as simple as possible" starting point for this theme. - I'm not sure the "re-deployment" paragraph when Automatic deployment is disabled is correct ... In advance, thank you. Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
It is not possible. I have asked here for months and nothing has worked. The compiler flags than the docs say to use are not passed to the compiler, so you can not use Ant as the docs say. I think it is an IBM conspiricy. It took IBM a year to implement inner classes back in the jdk 1.1 era, so I suspect it will take the same time before that IBM compiler supports Java 5 features. Netbeans will comile them in the IDE with Java 5, but Tomcat won't compile them with Java 5. - Original Message - From: "Stefan Parnet" <[EMAIL PROTECTED]> To: tomcat-user@jakarta.apache.org Subject: Howto configure tomcat to compile JSPs with Sun JDK 1.5 Date: Wed, 27 Apr 2005 15:20:32 +0200 > > Hello, > > I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since > Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot > compile my JSPs. > So I want the tomcat to compile the JSP's with the Sun JDK 1.5 > compiler. I searched the web, but I did not find any instructions > how to configure the tomcat to do so. > > Can anyone help me? > > Thanks > > Stefan > > > > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Access to this e-mail by anyone else is unauthorised. > If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance on > it, is prohibited. > E-mail messages are not necessarily secure. Renesas does not accept > responsibility for any changes made to this message after it was sent. > Please note that this email message has been swept by Renesas for > the presence of computer viruses. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- ___ Get your free email from http://www.dellmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hi >Did you have a look at the how-to, which I mentioned yesterday? And if yes, why didn't >it solve your problem? >-> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html It works.. But there's a problem with compilerSourceVM - What JDK version are the source files compatible with? (Default JDK 1.4) compilerTargetVM - What JDK version are the generated files compatible with? (Default JDK 1.4) If you set those, you'll get a "resource unavailable" message for every page you try to access (regardless whether you set this to 1.4 or 1.5). I believe it has been fixed in the CSV since (I haven't found time to compile Tomcat on my own and try), and I didn't find anything about this in the 5.5.9 changelog. Regards Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hi Stefan, Am Donnerstag, 28. April 2005 09:07 schrieb Stefan Parnet: > The problem is: > 1. Tomcat 5.5 (without compatibility packages) runs only with Java > 1.5 (JRE!) > 2. The built in Java compiler to compile JSPs (and only JSPs) is the > Eclipse JDT Compiler !!! JAVA 1.4 !!! > > ==> So Servlets using Java 1.5 features are runnig without problems > because they are already compiled > ==> JSPs with Java 1.5 features cannot be compiled (within tomcat) > because the tomcat built-in compiler only knows Java 1.4 Did you have a look at the how-to, which I mentioned yesterday? And if yes, why didn't it solve your problem? -> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hello Jean-Claude, I don't use the Eclipse IDE. I do all my developments with the NetBeans IDE. But anyway, the IDE does not matter since Tomcat is running separately in an productive environment under Linux with Apache, mod_jk and Java 1.5_02 Tomcat 5.5 just uses Eclipse JDT compiler classes to compile JSPs. But it should be possible to change the config, so that Tomcat uses another compiler. At least, the releasenotes say so. But there is no useful howto at the tomcat web site or anywhere else. (at least I didn't find one) The problem is: 1. Tomcat 5.5 (without compatibility packages) runs only with Java 1.5 (JRE!) 2. The built in Java compiler to compile JSPs (and only JSPs) is the Eclipse JDT Compiler !!! JAVA 1.4 !!! ==> So Servlets using Java 1.5 features are runnig without problems because they are already compiled ==> JSPs with Java 1.5 features cannot be compiled (within tomcat) because the tomcat built-in compiler only knows Java 1.4 Stefan Serlet Jean-Claude schrieb: Hello Lutz is right : you may define your JRE under Eclipse Under (sorry for my mistakes : i use a french version and try to translate in english) Window -> Preferences -> Installed JRE you may use an other JRE that the one installed under Eclipse Hope this will help you Jean-Claude -Message d'origine- De : Stefan Parnet [mailto:[EMAIL PROTECTED] Envoyé : mercredi 27 avril 2005 16:14 À : Tomcat Users List Objet : Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5 Lutz Zetzsche schrieb: Hi Stefan, Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with the Sun JDK 1.5 compiler. I searched the web, but I did not find any instructions how to configure the tomcat to do so. Can anyone help me? Do you integrate the Tomcat 5.5.9 into your Eclipse IDE or do you run it seperately? If you run Tomcat integrated into Eclipse, perhaps you can tell Eclipse which installed Tomcat and which installed JDK to use for your project. This is the way, I can do it with NetBeans IDE. Else, if you run Tomcat independently of the IDE, you must only set the environment variable for the JDK correctly before starting the server. I am running Tomcat 5.5.7 with JDK 1.5.0_02 and have to set the environment variable JRE_HOME so that Tomcat uses the right one of the installed JDKs. I set the JRE_HOME manually before starting Tomcat: export JRE_HOME=/usr/java/jre1.5.0_02/ (you must change the path to the path you use on your system) The environment variable JAVA_HOME could also play a role, although not in my case. :-) I hope, this information does help a little. Best wishes Lutz This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Renesas does not accept responsibility for any changes made to this message after it was sent. Please note that this email message has been swept by Renesas for the presence of computer viruses. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hello Lutz is right : you may define your JRE under Eclipse Under (sorry for my mistakes : i use a french version and try to translate in english) Window -> Preferences -> Installed JRE you may use an other JRE that the one installed under Eclipse Hope this will help you Jean-Claude -Message d'origine- De : Stefan Parnet [mailto:[EMAIL PROTECTED] Envoyé : mercredi 27 avril 2005 16:14 À : Tomcat Users List Objet : Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5 Lutz Zetzsche schrieb: >Hi Stefan, > >Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: > > >>Hello, >> >>I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since >>Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot >>compile my JSPs. >>So I want the tomcat to compile the JSP's with the Sun JDK 1.5 >>compiler. I searched the web, but I did not find any instructions how >>to configure the tomcat to do so. >> >>Can anyone help me? >> >> > >Do you integrate the Tomcat 5.5.9 into your Eclipse IDE or do you run it >seperately? > >If you run Tomcat integrated into Eclipse, perhaps you can tell Eclipse >which installed Tomcat and which installed JDK to use for your project. >This is the way, I can do it with NetBeans IDE. > >Else, if you run Tomcat independently of the IDE, you must only set the >environment variable for the JDK correctly before starting the server. >I am running Tomcat 5.5.7 with JDK 1.5.0_02 and have to set the >environment variable JRE_HOME so that Tomcat uses the right one of the >installed JDKs. I set the JRE_HOME manually before starting Tomcat: > > export JRE_HOME=/usr/java/jre1.5.0_02/ > (you must change the path to the path you use on your system) > >The environment variable JAVA_HOME could also play a role, although not >in my case. :-) > >I hope, this information does help a little. > > >Best wishes > >Lutz > I have the environment variables JAVA_HOME and JRE_HOME already set to the JDK, but Tomcat still compiles JSPs with its built in Eclipse JDT Java compiler. This fact is mentioned in the Release Notes. There is also mentioned that it is possible to configure Tomcat to use another compiler. But there is no explanation how to configure it. Thanks for your answer. Stefan This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Renesas does not accept responsibility for any changes made to this message after it was sent. Please note that this email message has been swept by Renesas for the presence of computer viruses. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hi Stefan, Am Mittwoch, 27. April 2005 16:14 schrieb Stefan Parnet: > I have the environment variables JAVA_HOME and JRE_HOME already set > to the JDK, but Tomcat still compiles JSPs with its built in Eclipse > JDT Java compiler. > This fact is mentioned in the Release Notes. There is also mentioned > that it is possible to configure Tomcat to use another compiler. But > there is no explanation how to configure it. Perhaps the following how-to contains the information, you missed in the release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Lutz Zetzsche schrieb: Hi Stefan, Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with the Sun JDK 1.5 compiler. I searched the web, but I did not find any instructions how to configure the tomcat to do so. Can anyone help me? Do you integrate the Tomcat 5.5.9 into your Eclipse IDE or do you run it seperately? If you run Tomcat integrated into Eclipse, perhaps you can tell Eclipse which installed Tomcat and which installed JDK to use for your project. This is the way, I can do it with NetBeans IDE. Else, if you run Tomcat independently of the IDE, you must only set the environment variable for the JDK correctly before starting the server. I am running Tomcat 5.5.7 with JDK 1.5.0_02 and have to set the environment variable JRE_HOME so that Tomcat uses the right one of the installed JDKs. I set the JRE_HOME manually before starting Tomcat: export JRE_HOME=/usr/java/jre1.5.0_02/ (you must change the path to the path you use on your system) The environment variable JAVA_HOME could also play a role, although not in my case. :-) I hope, this information does help a little. Best wishes Lutz I have the environment variables JAVA_HOME and JRE_HOME already set to the JDK, but Tomcat still compiles JSPs with its built in Eclipse JDT Java compiler. This fact is mentioned in the Release Notes. There is also mentioned that it is possible to configure Tomcat to use another compiler. But there is no explanation how to configure it. Thanks for your answer. Stefan This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Renesas does not accept responsibility for any changes made to this message after it was sent. Please note that this email message has been swept by Renesas for the presence of computer viruses. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hi Stefan, Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: > Hello, > > I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since > Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot > compile my JSPs. > So I want the tomcat to compile the JSP's with the Sun JDK 1.5 > compiler. I searched the web, but I did not find any instructions how > to configure the tomcat to do so. > > Can anyone help me? Do you integrate the Tomcat 5.5.9 into your Eclipse IDE or do you run it seperately? If you run Tomcat integrated into Eclipse, perhaps you can tell Eclipse which installed Tomcat and which installed JDK to use for your project. This is the way, I can do it with NetBeans IDE. Else, if you run Tomcat independently of the IDE, you must only set the environment variable for the JDK correctly before starting the server. I am running Tomcat 5.5.7 with JDK 1.5.0_02 and have to set the environment variable JRE_HOME so that Tomcat uses the right one of the installed JDKs. I set the JRE_HOME manually before starting Tomcat: export JRE_HOME=/usr/java/jre1.5.0_02/ (you must change the path to the path you use on your system) The environment variable JAVA_HOME could also play a role, although not in my case. :-) I hope, this information does help a little. Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto configure tomcat to compile JSPs with Sun JDK 1.5
Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with the Sun JDK 1.5 compiler. I searched the web, but I did not find any instructions how to configure the tomcat to do so. Can anyone help me? Thanks Stefan This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Renesas does not accept responsibility for any changes made to this message after it was sent. Please note that this email message has been swept by Renesas for the presence of computer viruses. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto MBean
Tomcat doesn't have an automatic MBean deployment option for a Context. You'll need a ServletContextListener (or otherwise) to register your application MBeans. Note that with commons-modeler 1.1 (which ships with Tomcat 5), it is no longer necessary to include your mbeans-descriptor.xml in the ServerLifecycleListener. commons-modeler will automagically load it when your MBeans are registered. "Kris Balle Kristensen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi there, I have written a bunch of MBeans for JBoss, but I can't figure out how to do it for Tomcat5 :(. I have google'd a lot of pages containing the MBean keyword, but have yet to find a tutorial for MBeans deployed on Tomcat5. My scenario: I need a persistent object in Tomcat (trigger mechanism) that will be triggered when a certain time of day (like midnight) is up. Furthermore I need some kind of cache for some of my beans. This cache should be callable from any jsp page if so desired. I'm not sure if MBean would be the right approach, but anyway this is what I normally use with JBoss. What I need is an MBean example written for Tomcat5 including example descriptors for same. I have tried to do this myself, but it looks like my Mbean doesn't get deployed on startup of Tomcat. I can't see it in the Tomcat log. In the test example below, the Mbean is just suppose to show the current datetime when the getShowTime (attribute showTime) gets activated. Also the System.outs should be printed out during init/start/stop/destroy of this MBean, but nothing happens. I have tried the following: In server.xml I added the following: In mbean/test/mbean-descriptors.xml: In package test.mbean: public class ShowTime { private String showTime; public String getShowTime() { SimpleDateFormat sdf = new SimpleDateFormat("-MM-dd tt:mm:ss"); showTime = sdf.format(new Date()); return showTime; } public void start() { System.out.println("start called.."); } public void stop() { System.out.println("stop called.."); } public void init() { System.out.println("init called.."); } public void destroy() { System.out.println("destroy called.."); } } public class ShowTimeMBean extends BaseModelMBean{ String timeNow = null; protected MBeanServer mserver; protected ManagedBean managed; public ShowTimeMBean() throws MBeanException, RuntimeOperationsException { initialize(); } public ShowTimeMBean(ModelMBeanInfo modelMBeanInfo) throws MBeanException, RuntimeOperationsException { super(modelMBeanInfo); initialize(); } public ShowTimeMBean(String s) throws MBeanException, RuntimeOperationsException { super(s); initialize(); } public ShowTimeMBean(String s, ModelerSource modelerSource) throws MBeanException, RuntimeOperationsException { super(s, modelerSource); initialize(); } private void initialize() { registry = MBeanUtils.createRegistry(); mserver = MBeanUtils.createServer(); managed = registry.findManagedBean("ShowTime"); } public void start() { System.out.println("ShowTimeMBean::start called.."); } public void stop() { System.out.println("ShowTimeMBean::stop called.."); } public void init() { System.out.println("ShowTimeMBean::init called.."); } public void destroy() { System.out.println("ShowTimeMBean::destroy called.."); } public String showDateTimeNow() { ShowTime st = (ShowTime)resource; timeNow = st.getShowTime(); return timeNow; } public String getTimeNow() { return timeNow; } } Everything gets deployed using a .war file. Can any of you point me in the right direction? Regards. Kris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto MBean
Hi there, I have written a bunch of MBeans for JBoss, but I can't figure out how to do it for Tomcat5 :(. I have google'd a lot of pages containing the MBean keyword, but have yet to find a tutorial for MBeans deployed on Tomcat5. My scenario: I need a persistent object in Tomcat (trigger mechanism) that will be triggered when a certain time of day (like midnight) is up. Furthermore I need some kind of cache for some of my beans. This cache should be callable from any jsp page if so desired. I'm not sure if MBean would be the right approach, but anyway this is what I normally use with JBoss. What I need is an MBean example written for Tomcat5 including example descriptors for same. I have tried to do this myself, but it looks like my Mbean doesn't get deployed on startup of Tomcat. I can't see it in the Tomcat log. In the test example below, the Mbean is just suppose to show the current datetime when the getShowTime (attribute showTime) gets activated. Also the System.outs should be printed out during init/start/stop/destroy of this MBean, but nothing happens. I have tried the following: In server.xml I added the following: In mbean/test/mbean-descriptors.xml: In package test.mbean: public class ShowTime { private String showTime; public String getShowTime() { SimpleDateFormat sdf = new SimpleDateFormat("-MM-dd tt:mm:ss"); showTime = sdf.format(new Date()); return showTime; } public void start() { System.out.println("start called.."); } public void stop() { System.out.println("stop called.."); } public void init() { System.out.println("init called.."); } public void destroy() { System.out.println("destroy called.."); } } public class ShowTimeMBean extends BaseModelMBean{ String timeNow = null; protected MBeanServer mserver; protected ManagedBean managed; public ShowTimeMBean() throws MBeanException, RuntimeOperationsException { initialize(); } public ShowTimeMBean(ModelMBeanInfo modelMBeanInfo) throws MBeanException, RuntimeOperationsException { super(modelMBeanInfo); initialize(); } public ShowTimeMBean(String s) throws MBeanException, RuntimeOperationsException { super(s); initialize(); } public ShowTimeMBean(String s, ModelerSource modelerSource) throws MBeanException, RuntimeOperationsException { super(s, modelerSource); initialize(); } private void initialize() { registry = MBeanUtils.createRegistry(); mserver = MBeanUtils.createServer(); managed = registry.findManagedBean("ShowTime"); } public void start() { System.out.println("ShowTimeMBean::start called.."); } public void stop() { System.out.println("ShowTimeMBean::stop called.."); } public void init() { System.out.println("ShowTimeMBean::init called.."); } public void destroy() { System.out.println("ShowTimeMBean::destroy called.."); } public String showDateTimeNow() { ShowTime st = (ShowTime)resource; timeNow = st.getShowTime(); return timeNow; } public String getTimeNow() { return timeNow; } } Everything gets deployed using a .war file. Can any of you point me in the right direction? Regards. Kris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto get Port in HttpServlet#init(ServletConfig)?
"Patrick Wunderlich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey Tomcat Fans, > > is there a programmatically way to get the Http-Port > in the HttpServlet#init(ServletConfig) method? > No, for the simple reason that the Http-Port isn't well-defined during init. For example, if you have both a HTTP Connector and a HTTPS Connector defined, then the same servlet will serve requests on both port 80 and port 443. > Kind Regards, > Patrick Wunderlich > (Germany) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto get Port in HttpServlet#init(ServletConfig)?
Hey Tomcat Fans, is there a programmatically way to get the Http-Port in the HttpServlet#init(ServletConfig) method? Kind Regards, Patrick Wunderlich (Germany) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[HOWTO] JAASRealm Implementation in Tomcat 5.0.x
Does anyone have a working example of using the JAASRealm with Tomcat 5? I'm not getting how to use the CallbackHandler to retrieve the username / password from the client Thanks. Jerry Jalenak Senior Programmer / Analyst, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at the following email address: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto read files
Hi, Use ServletContext#getResource(AsStream) or Class#getResource(AsStream), as described in the Tomcat FAQ. Yoav Shapira Millennium Research Informatics >-Original Message- >From: dmu2201 [mailto:[EMAIL PROTECTED] >Sent: Monday, October 04, 2004 9:34 AM >To: [EMAIL PROTECTED] >Subject: Howto read files > >Hi ML > >I'm having a problem with tomcat because I would like to read a certain >XML file in a 'data' dir. The problem is that the relative path does not >work: > new File("data/questionnaires.xml/"); >does not give the file since Tomcat is started from its bin dir and not >from my /webapps/PROJECT dir. > >How do I, in a "nice" manner access that file with, hopefully, a >relative path. I need a relative path or some kind of 'property' that >enables me to access the file, independent of operating system. > >I have tried to use a docBase="webapps/PROJECT" /> in a context.xml file in a META-INF dir, >but no luck :-( > >My dir structure: >/webapps >--/PROJECT >--/data <---The dir I want to access >--/WEB-INF/ >--/WEB-INF/src >--/WEB-INF/classes >--/displayQuestionnaires/ >/*.jsp > >Hope someone can help... > >Claus > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto read files
Hi ML I'm having a problem with tomcat because I would like to read a certain XML file in a 'data' dir. The problem is that the relative path does not work: new File("data/questionnaires.xml/"); does not give the file since Tomcat is started from its bin dir and not from my /webapps/PROJECT dir. How do I, in a "nice" manner access that file with, hopefully, a relative path. I need a relative path or some kind of 'property' that enables me to access the file, independent of operating system. I have tried to use a in a context.xml file in a META-INF dir, but no luck :-( My dir structure: /webapps --/PROJECT --/data <---The dir I want to access --/WEB-INF/ --/WEB-INF/src --/WEB-INF/classes --/displayQuestionnaires/ /*.jsp Hope someone can help... Claus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto deploy a new version of my webapp without disturbing the customer?
Actually the wiki link is here: http://wiki.apache.org/jakarta-tomcat/ -Tim Shapira, Yoav wrote: Hi, http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. There isn't that much content on the wiki: mostly links to connector configuration examples provided by other people. The wiki is not our primary source of documentation, but anyone and everyone is encouraged to contribute to it, and when contributions are good and general they frequently get added to the docs-proper. Yoav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto deploy a new version of my webapp without disturbing the customer?
Hi, >> http://wiki.apache.org/jakarta/TomcatProjectPages > >Thanks, though it does look quite confusing on the first view. >It seems as if there is not much content yet related to tomcat. There isn't that much content on the wiki: mostly links to connector configuration examples provided by other people. The wiki is not our primary source of documentation, but anyone and everyone is encouraged to contribute to it, and when contributions are good and general they frequently get added to the docs-proper. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto deploy a new version of my webapp without disturbing the customer?
Am 01.10.2004 um 16:45 schrieb Shapira, Yoav: There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages Thanks, though it does look quite confusing on the first view. It seems as if there is not much content yet related to tomcat. P.S. Where can I find more information about the balancer? In the Tomcat docs there's one devoted to Balancer. It's not a complex webapp, so look at the code as well. Thanks again, I'll have a look at it too. Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto deploy a new version of my webapp without disturbing the customer?
Hi, >There seems to be no Wiki for the Tomcat project page. Is there a >tomcat wiki where we could collect information? http://wiki.apache.org/jakarta/TomcatProjectPages >P.S. Where can I find more information about the balancer? In the Tomcat docs there's one devoted to Balancer. It's not a complex webapp, so look at the code as well. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto deploy a new version of my webapp without disturbing the customer?
Hello! It would be really great if we could work out a solution that does the job like the WebObjects Monitor application. Perhaps some kind of howto documentation giving you a step-by-step guide to the setup and usage. There seems to be no Wiki for the Tomcat project page. Is there a tomcat wiki where we could collect information? Christian P.S. Where can I find more information about the balancer? Am 01.10.2004 um 14:52 schrieb Shapira, Yoav: Hi, You are really lucky not to offer your service to thousands of customers. From what I can see in the sales figures, those customers never sleep! And so do the product managers: the best downtime is no downtime :-) Thus I want to keep the version cycle as small as possible. Yes, it's true that customers/users never sleep. I want to offer an alternative approach here. This scenario is one that I had in mind when contributing the balancer app to Tomcat. Using the balancer app to address this issue can result in zero down time. Here's the setup: Initial: - Tomcat server 1 with your app v1.0 - Tomcat server 2 with your app v1.0 turned off - Tomcat front-end running only balancer (so this is a tiny, fast, Tomcat installation consuming almost no resources), which redirects requests for your app to Tomcat server 1. Now v1.1 of your app is ready, here's what you do: - Turn on Tomcat server 2, which has your app v1.0 still - Modify the balancer rules to redirect requests for your app to Tomcat server 2 - Update server 1 (you can turn if off, restart it, do whatever you need, as your users aren't using it now) with your app v1.1 - When it's ready, modify the balancer rules again to that requests for your app go to Tomcat server 1. - Watch things for a while, and if something goes bad with your new app you can just modify the balancer rules so that users go back to 1.0 (again, no down time!) - But if things go well, you can turn off and update server 2 as well so that you're ready for the next round. This is just the standard cluster/traffic-director setup done with Tomcat's balancer, which makes is a 100% Java, 100% free, lightweight solution. There are non-Java and/or $$$ alternatives to this same approach that also work well. The focus is on using multiple servers instead of one, thereby allowing you to modify any one server at a time without causing down time for your users. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto deploy a new version of my webapp without disturbing the customer?
Hi, >You are really lucky not to offer your service to thousands of >customers. From what I can see in the sales figures, those customers >never sleep! And so do the product managers: the best downtime is no >downtime :-) Thus I want to keep the version cycle as small as >possible. Yes, it's true that customers/users never sleep. I want to offer an alternative approach here. This scenario is one that I had in mind when contributing the balancer app to Tomcat. Using the balancer app to address this issue can result in zero down time. Here's the setup: Initial: - Tomcat server 1 with your app v1.0 - Tomcat server 2 with your app v1.0 turned off - Tomcat front-end running only balancer (so this is a tiny, fast, Tomcat installation consuming almost no resources), which redirects requests for your app to Tomcat server 1. Now v1.1 of your app is ready, here's what you do: - Turn on Tomcat server 2, which has your app v1.0 still - Modify the balancer rules to redirect requests for your app to Tomcat server 2 - Update server 1 (you can turn if off, restart it, do whatever you need, as your users aren't using it now) with your app v1.1 - When it's ready, modify the balancer rules again to that requests for your app go to Tomcat server 1. - Watch things for a while, and if something goes bad with your new app you can just modify the balancer rules so that users go back to 1.0 (again, no down time!) - But if things go well, you can turn off and update server 2 as well so that you're ready for the next round. This is just the standard cluster/traffic-director setup done with Tomcat's balancer, which makes is a 100% Java, 100% free, lightweight solution. There are non-Java and/or $$$ alternatives to this same approach that also work well. The focus is on using multiple servers instead of one, thereby allowing you to modify any one server at a time without causing down time for your users. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto deploy a new version of my webapp without disturbing the customer?
Am 01.10.2004 um 14:10 schrieb Andoni: Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. Yes, that's what WO is doing. You can see it in the Monitor application. Sessions are bound to the application instance. Otherwise changing the way your sessions are do work would be a dangerous job. My way of doing this is simply to get up at 3:30am and make the changes then! I am lucky in that 90% of my users are 9-5 office workers. You are really lucky not to offer your service to thousands of customers. From what I can see in the sales figures, those customers never sleep! And so do the product managers: the best downtime is no downtime :-) Thus I want to keep the version cycle as small as possible. Christian Andoni. - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, October 01, 2004 12:09 PM Subject: RE: Howto deploy a new version of my webapp without disturbing the customer? Just a guess: - Use Apache + mod_jk(2) + 2 tomcat instances - Use sticky sessions (look at the jvmRoute of the engine tag) - Use the load factor to distribute 100% of the requests to the first instance. - Update the second instance. - Change the load factor to distribute 100% of the requests to the second instance. - Wait after all session moved to the second instance update the first instance and reverse the I haven't tried any of this but as far as I can remember I have seen posts in this list that indicate that this should be possible. -Original Message- From: Christian Mittendorf [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 12:15 PM To: [EMAIL PROTECTED] Subject: Howto deploy a new version of my webapp without disturbing the customer? Hello! My scenario is an order application, where my customers can order products. But the software or the design of the pages are changing rapidly. The question is now: how can I deploy a new version without the customer noticing anything? I'm searching for something similar to what WebObjects is offering. WO allows me to start a new instance (using the new version) of my application in parallel to the already running application. All new connections are then redirected to this new application. The existing sessions in the old application can continue their order process. When the number of open sessions in this old instance reaches zero, the instance is shut down. The customer out in the web does not see that a new version has been deployed. Is something simlilar possible using Tomcat? Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto deploy a new version of my webapp without disturbing the customer?
This is very interesting. Do you think it would copy over the sessions correctly? Surely the think that WO is doing is maintaining all sessions on the old machine until they are shut down. My way of doing this is simply to get up at 3:30am and make the changes then! I am lucky in that 90% of my users are 9-5 office workers. Andoni. - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, October 01, 2004 12:09 PM Subject: RE: Howto deploy a new version of my webapp without disturbing the customer? > > Just a guess: > > - Use Apache + mod_jk(2) + 2 tomcat instances > > - Use sticky sessions (look at the jvmRoute of > the engine tag) > > - Use the load factor to distribute 100% of the requests > to the first instance. > > - Update the second instance. > > - Change the load factor to distribute 100% of the requests > to the second instance. > > - Wait after all session moved to the second instance > update the first instance and reverse the > > I haven't tried any of this but as far as I can remember I have > seen posts in this list that indicate that this should be possible. > > > -Original Message- > > From: Christian Mittendorf [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 01, 2004 12:15 PM > > To: [EMAIL PROTECTED] > > Subject: Howto deploy a new version of my webapp without > > disturbing the > > customer? > > > > > > Hello! > > > > My scenario is an order application, where my customers can order > > products. But the software or the design of the pages are changing > > rapidly. The question is now: how can I deploy a new version without > > the customer noticing anything? > > > > I'm searching for something similar to what WebObjects is > > offering. WO > > allows me to start a new instance (using the new version) of my > > application in parallel to the already running application. All new > > connections are then redirected to this new application. The existing > > sessions in the old application can continue their order > > process. When > > the number of open sessions in this old instance reaches zero, the > > instance is shut down. The customer out in the web does not > > see that a > > new version has been deployed. > > > > Is something simlilar possible using Tomcat? > > > > Christian > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto deploy a new version of my webapp without disturbing the customer?
Just a guess: - Use Apache + mod_jk(2) + 2 tomcat instances - Use sticky sessions (look at the jvmRoute of the engine tag) - Use the load factor to distribute 100% of the requests to the first instance. - Update the second instance. - Change the load factor to distribute 100% of the requests to the second instance. - Wait after all session moved to the second instance update the first instance and reverse the I haven't tried any of this but as far as I can remember I have seen posts in this list that indicate that this should be possible. > -Original Message- > From: Christian Mittendorf [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 12:15 PM > To: [EMAIL PROTECTED] > Subject: Howto deploy a new version of my webapp without > disturbing the > customer? > > > Hello! > > My scenario is an order application, where my customers can order > products. But the software or the design of the pages are changing > rapidly. The question is now: how can I deploy a new version without > the customer noticing anything? > > I'm searching for something similar to what WebObjects is > offering. WO > allows me to start a new instance (using the new version) of my > application in parallel to the already running application. All new > connections are then redirected to this new application. The existing > sessions in the old application can continue their order > process. When > the number of open sessions in this old instance reaches zero, the > instance is shut down. The customer out in the web does not > see that a > new version has been deployed. > > Is something simlilar possible using Tomcat? > > Christian > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto deploy a new version of my webapp without disturbing the customer?
Hello! My scenario is an order application, where my customers can order products. But the software or the design of the pages are changing rapidly. The question is now: how can I deploy a new version without the customer noticing anything? I'm searching for something similar to what WebObjects is offering. WO allows me to start a new instance (using the new version) of my application in parallel to the already running application. All new connections are then redirected to this new application. The existing sessions in the old application can continue their order process. When the number of open sessions in this old instance reaches zero, the instance is shut down. The customer out in the web does not see that a new version has been deployed. Is something simlilar possible using Tomcat? Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
virtual hosts howto! (jk2/apache2.0.50||iis5.0/tomcat5.0.25)
For a while now, i've been making posts, which for the most part have gone unanswered. Mostly I believe it's because people that do know the answer aren't on the list...Anyways, I threw together a few docs about how i managed to finally get everythign working fine with the above apps. A lot of this was taken from documentation i've found scattered around the internet and stuffed into README's... 1. With apache: (assumes you have apache working) Obtain the Tomcat JK2 connectors source code. http://jakarta.apache.org/ jakarta-tomcat-connectors-jk2-2.0.4-src was used in this instance. Unpack the distribution and enter the directory. cd jk/native2 Compile the JK2 adapter: - the options used: #! /bin/sh # # Created by configure "./configure " \ "--with-jni " \ "--with-apxs2=/opt/apache-2.0.50/bin/apxs " \ "--with-apache2=/usr/local/src/httpd-2.0.50 " \ "--with-java-home=/usr/local/jdk " \ "$@" - make. once it's finished compiling go find the module: cd ../build/jk2/apache2 Now, we want to take the module we've compiled against the apache2 apxs and do something with it. - /opt/apache-2.0.50/bin/apxs -n jk2 -i mod_jk2.so Add the following to the apache httpd.conf: LoadModule jk2_module modules/mod_jk2.so Create a workers2.properties in conf (where httpd.conf is localised). The one located below was developed and is used to support clustered tomcat application servers. [shm] file=/tmp/shm.file size=1048576 [lb:lb] info=Tomcat load balance [channel.socket:server1] port=8009 host=10.1.1.1 type=ajp13 group=lb [channel.socket:server2] port=8009 host=10.1.1.2 type=ajp13 group=lb [uri:www.virtualhost1.com/*.jsp] worker=lb:lb [uri:www.virtualhost1.com/*.do] worker=lb:lb [uri:www.virtualhost2.com/*.jsp] worker=lb:lb [uri:www.virtualhost2.com/*.do] worker=lb:lb 2. With IIS5.0 Obtain the binary release for the JK2 isapi dll from http://jakarta.apache.org/ Create a registry file and insert the following information into it: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] "workersFile"="C:\\Apache\\Tomcat5\\conf\\workers2.properties" "extensionUri"="/jakarta/isapi_redirector2.dll" "logLevel"="debug" "serverRoot"="C:\\Apache\\Tomcat5\\" Create the folders which have been defined above in the registry file. Double click the registry file to import it into the registry. Create the virtual hosts in iis5.0 according to the iis documentation. Register a new isapi dll with the virtual host and ensure that a virtual directory within the virtual host exists called: jakarta which points at the directory where the isapi_dll is stored. Restart IIS and you should see in the properties, under isapi, the dll is now green. Create a workers2.properties in conf in the directory that workersFile is defined in the registry file. The one located below was developed and is used to support clustered tomcat application servers. (Use the one in the apache example. The only difference is that the shm.file will move to somewhere other then /tmp) 3. Setting up tomcat By default, in server.xml for tomcat, you'll have the following host set up: To get virtual hosts working so that the jk2 adapters work, create another. (I created a new dir $CATALINA_HOME$/virtual-hosts) Now all of it should work. Apps deployed to virtualhost1 will not be seen by virtualhost2 Hope this helps a few people save a few hours of searching and mucking about... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0: Howto define thread values for AJP
Hello, We are using Tomcat with AJP 1.3 I can tell from the Server.xml file that there are several optionsavaible for thread settings for HTTP like maxThreads, minSpareThreads etc Is it possible to define this for AJP as well or is this totally a Web server configuration issue? /L - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto IIS6/JK2/TC5 (german)
Hi, I see you added it to the Wiki page. Good, thanks for contributing ;) Yoav Shapira Millennium Research Informatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, August 23, 2004 9:13 AM >To: [EMAIL PROTECTED] >Subject: Howto IIS6/JK2/TC5 (german) > >Hi, > >i implemented a proof-of-concept for my company, resulting in a howto that >covers Tomcat5 with jk2 and iis6 (in full iis6-mode), jmx configuring of >tomcat and jk2 on webserver-side and some other side-knowledge. > >There are lots of guides out there, but most win32-guides work with jk1 or >iis6 in iis5-compatibility-mode. It had to be done in german though. > >http://www.syltonline.de/arbeit/pociis6tc5jk2/index.html > >If anyone of you think it's good enough to spend some time on a >translation, >please contact me here or on >http://www.syltonline.de/arbeit/pociis6tc5jk2/kontakt.php >Or just do it ;) > >-- >Björn Andersen > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto IIS6/JK2/TC5 (german)
Hi, i implemented a proof-of-concept for my company, resulting in a howto that covers Tomcat5 with jk2 and iis6 (in full iis6-mode), jmx configuring of tomcat and jk2 on webserver-side and some other side-knowledge. There are lots of guides out there, but most win32-guides work with jk1 or iis6 in iis5-compatibility-mode. It had to be done in german though. http://www.syltonline.de/arbeit/pociis6tc5jk2/index.html If anyone of you think it's good enough to spend some time on a translation, please contact me here or on http://www.syltonline.de/arbeit/pociis6tc5jk2/kontakt.php Or just do it ;) -- Björn Andersen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto disable webdav extensions / methods?
You were right. I guess I didn't restart or something, but aftern undeploying the webdav servlet, propfind et al now return 501s... Thanks! -Patrick -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 4:51 PM To: 'Tomcat Users List' Subject: RE: howto disable webdav extensions / methods? Patrick, The only code in tomcat that understands PROPFIND is the webdav servlet. I have justed tried using telnet to PROPFIND a resource that isn't mapped to the webdav servlet and I get the expected 501 response. What do you see if you try: telenet open localhost 8080 PROPFIND http://localhost:8080/index.jsp HTTP/1.1 Mark > -Original Message- > From: Patrick Glennon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 5:19 PM > To: 'Tomcat Users List' > Subject: RE: howto disable webdav extensions / methods? > > I tried that, and even un-deployed the webdav app, but not > only are the > methods still available, they still work. PROPFIND > http://url/directory > will still work, for example. This leads me to believe that > the webdav app > has very little to do with webdav functionality, but I can't > find where else > it is set. > > -Patrick > > -Original Message- > From: PATTUS Jean-Philippe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 10:35 AM > To: Tomcat Users List > Subject: RE: howto disable webdav extensions / methods? > > did you try to stop the application webdav under Tomcat Manager. > I think if you stop this application, all the webdav methods will be > unavailable. > > -Message d'origine----- > De : Tim Funk [mailto:[EMAIL PROTECTED] > Envoye : mardi 6 juillet 2004 17:04 > A : Tomcat Users List > Objet : Re: howto disable webdav extensions / methods? > > > How do you mean disable? The default servlet has an option to > allow/disallow > > DELETE, etc. > > Oterwise - you can define a security constraint in web.xml on > these methods > and have them no be accessible by any role. > > -Tim > > > > Patrick Glennon wrote: > > > Anyone have any thoughts on this? Maybe I'll try posting > on the developer > > list, for the life of me, I can't seem to find where to > shut this off. > > > > > > > > _ > > > > From: Patrick Glennon > > Sent: Thursday, July 01, 2004 4:52 PM > > To: 'Tomcat Users List' > > Subject: howto disable webdav extensions / methods? > > > > > > > > How do I disable the webdav extensions? Basically, I don't > want to allow > > any of the webdav methods ( PROPFIND, OPTIONS, COPY, > DELETE, etc... ), but > I > > cannot find where to disable or limit them. > > > > > > > > This is running tomcat direct, I know how to do it with > Apache, I just > don't > > know how to do it with tomcat. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto disable webdav extensions / methods?
Patrick, The only code in tomcat that understands PROPFIND is the webdav servlet. I have justed tried using telnet to PROPFIND a resource that isn't mapped to the webdav servlet and I get the expected 501 response. What do you see if you try: telenet open localhost 8080 PROPFIND http://localhost:8080/index.jsp HTTP/1.1 Mark > -Original Message- > From: Patrick Glennon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 5:19 PM > To: 'Tomcat Users List' > Subject: RE: howto disable webdav extensions / methods? > > I tried that, and even un-deployed the webdav app, but not > only are the > methods still available, they still work. PROPFIND > http://url/directory > will still work, for example. This leads me to believe that > the webdav app > has very little to do with webdav functionality, but I can't > find where else > it is set. > > -Patrick > > -Original Message- > From: PATTUS Jean-Philippe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 10:35 AM > To: Tomcat Users List > Subject: RE: howto disable webdav extensions / methods? > > did you try to stop the application webdav under Tomcat Manager. > I think if you stop this application, all the webdav methods will be > unavailable. > > -Message d'origine- > De : Tim Funk [mailto:[EMAIL PROTECTED] > Envoye : mardi 6 juillet 2004 17:04 > A : Tomcat Users List > Objet : Re: howto disable webdav extensions / methods? > > > How do you mean disable? The default servlet has an option to > allow/disallow > > DELETE, etc. > > Oterwise - you can define a security constraint in web.xml on > these methods > and have them no be accessible by any role. > > -Tim > > > > Patrick Glennon wrote: > > > Anyone have any thoughts on this? Maybe I'll try posting > on the developer > > list, for the life of me, I can't seem to find where to > shut this off. > > > > > > > > _ > > > > From: Patrick Glennon > > Sent: Thursday, July 01, 2004 4:52 PM > > To: 'Tomcat Users List' > > Subject: howto disable webdav extensions / methods? > > > > > > > > How do I disable the webdav extensions? Basically, I don't > want to allow > > any of the webdav methods ( PROPFIND, OPTIONS, COPY, > DELETE, etc... ), but > I > > cannot find where to disable or limit them. > > > > > > > > This is running tomcat direct, I know how to do it with > Apache, I just > don't > > know how to do it with tomcat. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto disable webdav extensions / methods?
I tried that, and even un-deployed the webdav app, but not only are the methods still available, they still work. PROPFIND http://url/directory will still work, for example. This leads me to believe that the webdav app has very little to do with webdav functionality, but I can't find where else it is set. -Patrick -Original Message- From: PATTUS Jean-Philippe [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 10:35 AM To: Tomcat Users List Subject: RE: howto disable webdav extensions / methods? did you try to stop the application webdav under Tomcat Manager. I think if you stop this application, all the webdav methods will be unavailable. -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoye : mardi 6 juillet 2004 17:04 A : Tomcat Users List Objet : Re: howto disable webdav extensions / methods? How do you mean disable? The default servlet has an option to allow/disallow DELETE, etc. Oterwise - you can define a security constraint in web.xml on these methods and have them no be accessible by any role. -Tim Patrick Glennon wrote: > Anyone have any thoughts on this? Maybe I'll try posting on the developer > list, for the life of me, I can't seem to find where to shut this off. > > > > _ > > From: Patrick Glennon > Sent: Thursday, July 01, 2004 4:52 PM > To: 'Tomcat Users List' > Subject: howto disable webdav extensions / methods? > > > > How do I disable the webdav extensions? Basically, I don't want to allow > any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I > cannot find where to disable or limit them. > > > > This is running tomcat direct, I know how to do it with Apache, I just don't > know how to do it with tomcat. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto disable webdav extensions / methods?
did you try to stop the application webdav under Tomcat Manager. I think if you stop this application, all the webdav methods will be unavailable. -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoye : mardi 6 juillet 2004 17:04 A : Tomcat Users List Objet : Re: howto disable webdav extensions / methods? How do you mean disable? The default servlet has an option to allow/disallow DELETE, etc. Oterwise - you can define a security constraint in web.xml on these methods and have them no be accessible by any role. -Tim Patrick Glennon wrote: > Anyone have any thoughts on this? Maybe I'll try posting on the developer > list, for the life of me, I can't seem to find where to shut this off. > > > > _ > > From: Patrick Glennon > Sent: Thursday, July 01, 2004 4:52 PM > To: 'Tomcat Users List' > Subject: howto disable webdav extensions / methods? > > > > How do I disable the webdav extensions? Basically, I don't want to allow > any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I > cannot find where to disable or limit them. > > > > This is running tomcat direct, I know how to do it with Apache, I just don't > know how to do it with tomcat. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto disable webdav extensions / methods?
How do you mean disable? The default servlet has an option to allow/disallow DELETE, etc. Oterwise - you can define a security constraint in web.xml on these methods and have them no be accessible by any role. -Tim Patrick Glennon wrote: Anyone have any thoughts on this? Maybe I'll try posting on the developer list, for the life of me, I can't seem to find where to shut this off. _ From: Patrick Glennon Sent: Thursday, July 01, 2004 4:52 PM To: 'Tomcat Users List' Subject: howto disable webdav extensions / methods? How do I disable the webdav extensions? Basically, I don't want to allow any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I cannot find where to disable or limit them. This is running tomcat direct, I know how to do it with Apache, I just don't know how to do it with tomcat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto disable webdav extensions / methods?
Anyone have any thoughts on this? Maybe I'll try posting on the developer list, for the life of me, I can't seem to find where to shut this off. _ From: Patrick Glennon Sent: Thursday, July 01, 2004 4:52 PM To: 'Tomcat Users List' Subject: howto disable webdav extensions / methods? How do I disable the webdav extensions? Basically, I don't want to allow any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I cannot find where to disable or limit them. This is running tomcat direct, I know how to do it with Apache, I just don't know how to do it with tomcat. Thanks in advance, -P
Re: howto disable webdav extensions / methods?
Well, firstly, unless your servlet understands the methods, nothing interesting will happen for a webdav request :). If you want webdav extensions to do anything, you have to enable them. Having said that, you could also disable them via adding security-constraints with the proper http-methods to your web.xml file. "Patrick Glennon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How do I disable the webdav extensions? Basically, I don't want to allow > any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I > cannot find where to disable or limit them. > > > > This is running tomcat direct, I know how to do it with Apache, I just don't > know how to do it with tomcat. > > > > Thanks in advance, > > -P > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Log rotation HOWTO
You may use "cronolog" from http://cronolog.org/. And, modify the "catalina.sh" as following in the "start" part. elif [ "$1" = "start" ] ; then shift if [ "$1" = "-security" ] ; then echo "Using Security Manager" shift "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \ -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ -Djava.security.manager \ -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALINA_HOME" \ -Djava.io.tmpdir="$CATALINA_TMPDIR" \ org.apache.catalina.startup.Bootstrap "$@" start|/usr/local/sbin/cronolog /usr/local/tomcat/logs/catalina.out.%Y-%m-%d >> /dev/null 2>&1 & if [ ! -z "$CATALINA_PID" ]; then echo $! > $CATALINA_PID fi else "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \ -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALINA_HOME" \ -Djava.io.tmpdir="$CATALINA_TMPDIR" \ org.apache.catalina.startup.Bootstrap "$@" start|/usr/local/sbin/cronolog /usr/local/tomcat/logs/catalina.out.%Y-%m-%d >> /dev/null 2>&1 & if [ ! -z "$CATALINA_PID" ]; then echo $! > $CATALINA_PID fi fi Kenneth Kwan -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 PM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I haven't been able to find a clear answer to this anywhere online, hopefully you fine folks can help... I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily or weekly (monthly might be OK too). Is thre any way to do this? I assume so, so how? Thanks in advance all! _ Get fast, reliable Internet access with MSN 9 Dial-up - now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto disable webdav extensions / methods?
How do I disable the webdav extensions? Basically, I don't want to allow any of the webdav methods ( PROPFIND, OPTIONS, COPY, DELETE, etc... ), but I cannot find where to disable or limit them. This is running tomcat direct, I know how to do it with Apache, I just don't know how to do it with tomcat. Thanks in advance, -P
Re: Log rotation HOWTO
I thought that would be an easier way, just as you can do using a diferent class appender with log4j. Trond Hersløv wrote: Oh, noSYNTAX ERROR..sorry WRONG: 0 1 * * * /path/to/script/rotate_log >> /path/to/script/rotate_log 2>&1 I forgot to name the log file (otherwise you overwrite your rotate_log script, and it will only work once): RIGHT: 0 1 * * * /path/to/script/rotate_log >> /path/to/script/logfile 2>&1 Anyway...a good example of how you not should name your files.. \trond Hi, maybe you would try the following: Create a bash-script (or on windows a .bat, with modifications) create a file called e.g. /path/to/script/rotate_log #!/bin/sh file_to_zip=`date +'%m%d' cp /your_path_to/catalina.out /your_rot_dir/$file_to_zip echo -n "" > catalina.out cd /your_rot_dir gzip $file_to_zip cd /your_path_to $ crontab -e (as a user with reading permission for catalina.log and add the following line to rotate the log 1 am every day) 0 1 * * * /path/to/script/rotate_log >> /path/to/script/rotate_log 2>&1 If you are very unlucky, you might loose log entrys between the cp statement and the echo statement. At least this doesn't change the i-node of the catalina.out file, hence the logging should continue. I have not tried this myself, and there is NO WARRENTY that it is working. I SUGGEST you await some comments from other users here before you trie it out. Be aware of possible misspellings of file names. It is ment to give you an idea of how to rotate the logs. \trond -Opprinnelig melding- Fra: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sendt: Tuesday, June 29, 2004 21:09 Til: Tomcat Users List Emne: [GFI-SPAM-BA] - RE: Log rotation HOWTO - Bayesian Filter detected spam Hi, Or rather, you can't rotate catalina.out using functionality built into tomcat. You can use an external tool such as Apache's logrotate (no space in the name, google for it). And as the original poster mentioned this has been discussed numerous times ;) Yoav -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tue 6/29/2004 3:05 PM To: Tomcat Users List Cc: Subject: RE: Log rotation HOWTO You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps are coded correctly. If you have an webapp that outputs a lot to it you can add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file split each day. directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> what should I change in the following tag to get it done...? thanks Emerson I©q´me Duval wrote: Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I haven't been able to find a clear answer to this anywhere online, hopefully you fine folks can help... I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily or weekly (monthly might be OK too). Is thre any way to do this? I assume so, so how? Thanks in advance all! _ Get fast, reliable Internet access with MSN 9 Dial-up? now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Subject: AW: Managing Tomcat logs From: Gunnar Oörschke <[EMAIL PROTECTED]> Date: Tue, 22 Jun 2004 09:24:09 -0400 To: "'Tomcat Users List'" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Could you please use tomcats web admin to change logging settings... By default you can access http://localhost:8080/admin You can activate a separate log for several contents. -Urspr¼ngliche Nachricht- Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Juni 2004 11:47 An: Tomcat Users List Betreff: Managing Tomcat logs Hi, I am using Tomcat as web server for my application. I start Tomcat using windows service. All the logs generated by the Application are written in to a file called stdout.log which is under tomca/logs folder. I have noticed that with continuous use of application,stdout file size increasing to a large extent. To delete the it I have to stop the tomcat. Is there any way that I can manage the logs date wise au
RE: Log rotation HOWTO
Oh, noSYNTAX ERROR..sorry WRONG: 0 1 * * * /path/to/script/rotate_log >> /path/to/script/rotate_log 2>&1 I forgot to name the log file (otherwise you overwrite your rotate_log script, and it will only work once): RIGHT: 0 1 * * * /path/to/script/rotate_log >> /path/to/script/logfile 2>&1 Anyway...a good example of how you not should name your files.. \trond Hi, maybe you would try the following: Create a bash-script (or on windows a .bat, with modifications) create a file called e.g. /path/to/script/rotate_log #!/bin/sh file_to_zip=`date +'%m%d' cp /your_path_to/catalina.out /your_rot_dir/$file_to_zip echo -n "" > catalina.out cd /your_rot_dir gzip $file_to_zip cd /your_path_to $ crontab -e (as a user with reading permission for catalina.log and add the following line to rotate the log 1 am every day) 0 1 * * * /path/to/script/rotate_log >> /path/to/script/rotate_log 2>&1 If you are very unlucky, you might loose log entrys between the cp statement and the echo statement. At least this doesn't change the i-node of the catalina.out file, hence the logging should continue. I have not tried this myself, and there is NO WARRENTY that it is working. I SUGGEST you await some comments from other users here before you trie it out. Be aware of possible misspellings of file names. It is ment to give you an idea of how to rotate the logs. \trond -Opprinnelig melding- Fra: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sendt: Tuesday, June 29, 2004 21:09 Til: Tomcat Users List Emne: [GFI-SPAM-BA] - RE: Log rotation HOWTO - Bayesian Filter detected spam Hi, Or rather, you can't rotate catalina.out using functionality built into tomcat. You can use an external tool such as Apache's logrotate (no space in the name, google for it). And as the original poster mentioned this has been discussed numerous times ;) Yoav -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tue 6/29/2004 3:05 PM To: Tomcat Users List Cc: Subject: RE: Log rotation HOWTO You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps are coded correctly. If you have an webapp that outputs a lot to it you can add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson I©q´me Duval wrote: > Search the mailing list! This question was asked recently... > > These messages might be useful... > > -Original Message- > From: Frank Zammetti [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:04 AM > To: [EMAIL PROTECTED] > Subject: Log rotation HOWTO > > I haven't been able to find a clear answer to this anywhere online, > hopefully you fine folks can help... > > I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily > or weekly (monthly might be OK too). > > Is thre any way to do this? I assume so, so how? Thanks in advance all! > > _ > Get fast, reliable Internet access with MSN 9 Dial-up? now 3 months FREE! > http://join.msn.click-url.com/go/onm00200361ave/direct/01/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Subject: > AW: Managing Tomcat logs > From: > Gunnar Oörschke <[EMAIL PROTECTED]> > Date: > Tue, 22 Jun 2004 09:24:09 -0400 > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > Could you please use tomcats web admin to change logging settings... > > By default you can access http://localhost:8080/admin > > You can activate a separate log for several contents. > > > -Urspr¼ngliche Nachricht- > Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 22. Juni 2004 11:47 > An: Tomcat Users List > Betreff: Managing Tomcat logs > > Hi, > I am using Tomcat as web server for my application. I start Tomcat using > windows service. All the logs generated by the Application are written in to > a file called stdout.log which is under tomca/logs folder. > I have noticed that with continuous use of application,stdout file size > increasing to a
RE: Log rotation HOWTO
Hi, maybe you would try the following: Create a bash-script (or on windows a .bat, with modifications) create a file called e.g. /path/to/script/rotate_log #!/bin/sh file_to_zip=`date +'%m%d' cp /your_path_to/catalina.out /your_rot_dir/$file_to_zip echo -n "" > catalina.out cd /your_rot_dir gzip $file_to_zip cd /your_path_to $ crontab -e (as a user with reading permission for catalina.log and add the following line to rotate the log 1 am every day) 0 1 * * * /path/to/script/rotate_log >> /path/to/script/rotate_log 2>&1 If you are very unlucky, you might loose log entrys between the cp statement and the echo statement. At least this doesn't change the i-node of the catalina.out file, hence the logging should continue. I have not tried this myself, and there is NO WARRENTY that it is working. I SUGGEST you await some comments from other users here before you trie it out. Be aware of possible misspellings of file names. It is ment to give you an idea of how to rotate the logs. \trond -Opprinnelig melding- Fra: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sendt: Tuesday, June 29, 2004 21:09 Til: Tomcat Users List Emne: [GFI-SPAM-BA] - RE: Log rotation HOWTO - Bayesian Filter detected spam Hi, Or rather, you can't rotate catalina.out using functionality built into tomcat. You can use an external tool such as Apache's logrotate (no space in the name, google for it). And as the original poster mentioned this has been discussed numerous times ;) Yoav -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tue 6/29/2004 3:05 PM To: Tomcat Users List Cc: Subject: RE: Log rotation HOWTO You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps are coded correctly. If you have an webapp that outputs a lot to it you can add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson IÂqÂme Duval wrote: > Search the mailing list! This question was asked recently... > > These messages might be useful... > > -Original Message- > From: Frank Zammetti [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:04 AM > To: [EMAIL PROTECTED] > Subject: Log rotation HOWTO > > I haven't been able to find a clear answer to this anywhere online, > hopefully you fine folks can help... > > I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily > or weekly (monthly might be OK too). > > Is thre any way to do this? I assume so, so how? Thanks in advance all! > > _ > Get fast, reliable Internet access with MSN 9 Dial-upá now 3 months FREE! > http://join.msn.click-url.com/go/onm00200361ave/direct/01/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Subject: > AW: Managing Tomcat logs > From: > Gunnar OÃrschke <[EMAIL PROTECTED]> > Date: > Tue, 22 Jun 2004 09:24:09 -0400 > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > Could you please use tomcats web admin to change logging settings... > > By default you can access http://localhost:8080/admin > > You can activate a separate log for several contents. > > > -UrsprÂngliche Nachricht- > Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 22. Juni 2004 11:47 > An: Tomcat Users List > Betreff: Managing Tomcat logs > > Hi, > I am using Tomcat as web server for my application.
RE: Log rotation HOWTO
Hi, Or rather, you can't rotate catalina.out using functionality built into tomcat. You can use an external tool such as Apache's logrotate (no space in the name, google for it). And as the original poster mentioned this has been discussed numerous times ;) Yoav -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tue 6/29/2004 3:05 PM To: Tomcat Users List Cc: Subject: RE: Log rotation HOWTO You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps are coded correctly. If you have an webapp that outputs a lot to it you can add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson IÂqÂme Duval wrote: > Search the mailing list! This question was asked recently... > > These messages might be useful... > > -Original Message- > From: Frank Zammetti [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:04 AM > To: [EMAIL PROTECTED] > Subject: Log rotation HOWTO > > I haven't been able to find a clear answer to this anywhere online, > hopefully you fine folks can help... > > I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily > or weekly (monthly might be OK too). > > Is thre any way to do this? I assume so, so how? Thanks in advance all! > > _ > Get fast, reliable Internet access with MSN 9 Dial-upá now 3 months FREE! > http://join.msn.click-url.com/go/onm00200361ave/direct/01/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Subject: > AW: Managing Tomcat logs > From: > Gunnar OÃrschke <[EMAIL PROTECTED]> > Date: > Tue, 22 Jun 2004 09:24:09 -0400 > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > Could you please use tomcats web admin to change logging settings... > > By default you can access http://localhost:8080/admin > > You can activate a separate log for several contents. > > > -UrsprÂngliche Nachricht- > Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 22. Juni 2004 11:47 > An: Tomcat Users List > Betreff: Managing Tomcat logs > > Hi, > I am using Tomcat as web server for my application. I start Tomcat using > windows service. All the logs generated by the Application are written in to > a file called stdout.log which is under tomca/logs folder. > I have noticed that with continuous use of application,stdout file size > increasing to a large extent. To delete the it I have to stop the tomcat. > Is there any way that I can manage the logs date wise automatically(without > manual intervention). I am not using any third party tool for logging. > The logging mechanism I use is very simple. > > We have class Debug.java that have a method log(String); This log() method > use System.out.println(); In the application, I use Debug.log("Exception"); > > I will be more happy if there is any way to manage logs. > I have also noticed the following logs generated by Tomcat: > 1.localhost_log.2004-06-18.txt > 2.localhost_access_log.2004_06_22.txt > > How to maintain these logs?. Can we off them permanently? > Thanks in advance. > > Regards > S.V.Sivakumar > QCA Project
RE: Log rotation HOWTO
You can't rotate catalina.out. You shouldnt have much in there anyway if your webapps are coded correctly. If you have an webapp that outputs a lot to it you can add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson Jérôme Duval wrote: > Search the mailing list! This question was asked recently... > > These messages might be useful... > > -Original Message- > From: Frank Zammetti [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:04 AM > To: [EMAIL PROTECTED] > Subject: Log rotation HOWTO > > I haven't been able to find a clear answer to this anywhere online, > hopefully you fine folks can help... > > I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily > or weekly (monthly might be OK too). > > Is thre any way to do this? I assume so, so how? Thanks in advance all! > > _ > Get fast, reliable Internet access with MSN 9 Dial-up – now 3 months FREE! > http://join.msn.click-url.com/go/onm00200361ave/direct/01/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Subject: > AW: Managing Tomcat logs > From: > Gunnar Pörschke <[EMAIL PROTECTED]> > Date: > Tue, 22 Jun 2004 09:24:09 -0400 > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > Could you please use tomcats web admin to change logging settings... > > By default you can access http://localhost:8080/admin > > You can activate a separate log for several contents. > > > -Ursprüngliche Nachricht- > Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 22. Juni 2004 11:47 > An: Tomcat Users List > Betreff: Managing Tomcat logs > > Hi, > I am using Tomcat as web server for my application. I start Tomcat using > windows service. All the logs generated by the Application are written in to > a file called stdout.log which is under tomca/logs folder. > I have noticed that with continuous use of application,stdout file size > increasing to a large extent. To delete the it I have to stop the tomcat. > Is there any way that I can manage the logs date wise automatically(without > manual intervention). I am not using any third party tool for logging. > The logging mechanism I use is very simple. > > We have class Debug.java that have a method log(String); This log() method > use System.out.println(); In the application, I use Debug.log("Exception"); > > I will be more happy if there is any way to manage logs. > I have also noticed the following logs generated by Tomcat: > 1.localhost_log.2004-06-18.txt > 2.localhost_access_log.2004_06_22.txt > > How to maintain these logs?. Can we off them permanently? > Thanks in advance. > > Regards > S.V.Sivakumar > QCA Project > Tata Infotech Limited > Tel: +44 1235 823411 > [EMAIL PROTECTED] / [EMAIL PROTECTED] > > Visit our website at http://www.rm.com > > This message is confidential. You should not copy it or disclose its > contents to anyone. You may use and apply the information only for the > intended purpose. Internet communications are not secure and therefore RM > does not accept legal responsibility for the contents of this message. Any > views or opinions presented are only those of the author and not those of > RM. If this email has come to you in error please delete it and any > attachments. Please note that RM may intercept incoming and outgoing e-mail > communications. > > This email has been scanned for viruses by Trend ScanMail. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Subject: > RE: Managing Tomcat logs > From: > "Robert Harper" <[EMAIL PROTECTED]> > Date: > Tue, 22 Jun 2004 10:20:15 -0400 > To: > "'Tomcat Users List'" <[EMAIL PROTECTED]> > > To: > "
Re: Log rotation HOWTO
I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson Jérôme Duval wrote: Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I haven't been able to find a clear answer to this anywhere online, hopefully you fine folks can help... I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily or weekly (monthly might be OK too). Is thre any way to do this? I assume so, so how? Thanks in advance all! _ Get fast, reliable Internet access with MSN 9 Dial-up – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Subject: AW: Managing Tomcat logs From: Gunnar Pörschke <[EMAIL PROTECTED]> Date: Tue, 22 Jun 2004 09:24:09 -0400 To: "'Tomcat Users List'" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Could you please use tomcats web admin to change logging settings... By default you can access http://localhost:8080/admin You can activate a separate log for several contents. -Ursprüngliche Nachricht- Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Juni 2004 11:47 An: Tomcat Users List Betreff: Managing Tomcat logs Hi, I am using Tomcat as web server for my application. I start Tomcat using windows service. All the logs generated by the Application are written in to a file called stdout.log which is under tomca/logs folder. I have noticed that with continuous use of application,stdout file size increasing to a large extent. To delete the it I have to stop the tomcat. Is there any way that I can manage the logs date wise automatically(without manual intervention). I am not using any third party tool for logging. The logging mechanism I use is very simple. We have class Debug.java that have a method log(String); This log() method use System.out.println(); In the application, I use Debug.log("Exception"); I will be more happy if there is any way to manage logs. I have also noticed the following logs generated by Tomcat: 1.localhost_log.2004-06-18.txt 2.localhost_access_log.2004_06_22.txt How to maintain these logs?. Can we off them permanently? Thanks in advance. Regards S.V.Sivakumar QCA Project Tata Infotech Limited Tel:+44 1235 823411 [EMAIL PROTECTED] / [EMAIL PROTECTED] Visit our website at http://www.rm.com This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information only for the intended purpose. Internet communications are not secure and therefore RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are only those of the author and not those of RM. If this email has come to you in error please delete it and any attachments. Please note that RM may intercept incoming and outgoing e-mail communications. This email has been scanned for viruses by Trend ScanMail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Subject: RE: Managing Tomcat logs From: "Robert Harper" <[EMAIL PROTECTED]> Date: Tue, 22 Jun 2004 10:20:15 -0400 To: "'Tomcat Users List'" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Instead of using System.out.println() to log your messages, use the HttpServlet's log() method. You can specify the logging class you want to use, the path it writes to, the base name, and extension. Each day a new file is created and you can simply delete the old ones as they are closed when a new file is started each day. You could also create your own logger that manages the file size in some way. I have used the former and have specified the file name and path so that it easy form me to manage. My logs are separate from the normal logs as well. Robert S. Harper 801.265.8800 ex. 255 -Original Message- From: Veera Sivakumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 3:47 AM To: Tomcat Users List Subject: Managing Tomcat logs Hi, I am using Tomcat as web server for my application. I start Tomcat using windows service. All the logs generated by the Application are written in to a file called stdout.log which is under tomca/logs folder. I have noti
RE: Log rotation HOWTO
Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I haven't been able to find a clear answer to this anywhere online, hopefully you fine folks can help... I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily or weekly (monthly might be OK too). Is thre any way to do this? I assume so, so how? Thanks in advance all! _ Get fast, reliable Internet access with MSN 9 Dial-up now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Begin Message --- Could you please use tomcats web admin to change logging settings... By default you can access http://localhost:8080/admin You can activate a separate log for several contents. -Ursprüngliche Nachricht- Von: Veera Sivakumar [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Juni 2004 11:47 An: Tomcat Users List Betreff: Managing Tomcat logs Hi, I am using Tomcat as web server for my application. I start Tomcat using windows service. All the logs generated by the Application are written in to a file called stdout.log which is under tomca/logs folder. I have noticed that with continuous use of application,stdout file size increasing to a large extent. To delete the it I have to stop the tomcat. Is there any way that I can manage the logs date wise automatically(without manual intervention). I am not using any third party tool for logging. The logging mechanism I use is very simple. We have class Debug.java that have a method log(String); This log() method use System.out.println(); In the application, I use Debug.log("Exception"); I will be more happy if there is any way to manage logs. I have also noticed the following logs generated by Tomcat: 1.localhost_log.2004-06-18.txt 2.localhost_access_log.2004_06_22.txt How to maintain these logs?. Can we off them permanently? Thanks in advance. Regards S.V.Sivakumar QCA Project Tata Infotech Limited Tel:+44 1235 823411 [EMAIL PROTECTED] / [EMAIL PROTECTED] Visit our website at http://www.rm.com This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information only for the intended purpose. Internet communications are not secure and therefore RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are only those of the author and not those of RM. If this email has come to you in error please delete it and any attachments. Please note that RM may intercept incoming and outgoing e-mail communications. This email has been scanned for viruses by Trend ScanMail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- End Message --- --- Begin Message --- Instead of using System.out.println() to log your messages, use the HttpServlet's log() method. You can specify the logging class you want to use, the path it writes to, the base name, and extension. Each day a new file is created and you can simply delete the old ones as they are closed when a new file is started each day. You could also create your own logger that manages the file size in some way. I have used the former and have specified the file name and path so that it easy form me to manage. My logs are separate from the normal logs as well. Robert S. Harper 801.265.8800 ex. 255 > -Original Message- > From: Veera Sivakumar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 3:47 AM > To: Tomcat Users List > Subject: Managing Tomcat logs > > Hi, > I am using Tomcat as web server for my application. I start Tomcat using > windows service. All the logs generated by the Application are written in to a > file called stdout.log which is under tomca/logs folder. > I have noticed that with continuous use of application,stdout file size > increasing to a large extent. To delete the it I have to stop the tomcat. > Is there any way that I can manage the logs date wise automatically(without > manual intervention). I am not using any third party tool for logging. > The logging mechanism I use is very simple. > > We have class Debug.java that have a method log(String); > This log() method use System.out.println(); > In the application, I use Debug.log("Exception"); > > I will be more happy if there is any way to manage logs. > I have also noticed the following logs generated by Tomcat: > 1.localhost_log.2004-06-18.txt > 2.localhos
Log rotation HOWTO
I haven't been able to find a clear answer to this anywhere online, hopefully you fine folks can help... I need a way to rotate my stdout log in Tomcat 5.0.18. It could be dalily or weekly (monthly might be OK too). Is thre any way to do this? I assume so, so how? Thanks in advance all! _ Get fast, reliable Internet access with MSN 9 Dial-up now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto run tomcat 4.06 as windows service
Thanks, Carl. It worked like a charm. This seems to be what the regular windows installer also uses, isn't it? Cheers, -bald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto run tomcat 4.06 as windows service
Hi. Visit: http://www.alexandriasc.com/software/JavaService/index.html Download the free JavaService wrapper - read the docs and use it to easily install a service for your tomcat 4 (in fact they have a batch file in their distro that is pre-done for TC4!) Regards, Carl -Original Message- From: baldyeti [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 09:18 PM To: [EMAIL PROTECTED] Subject: Howto run tomcat 4.06 as windows service Hello, I have an existing tc4 installation (copied in a hurry from another system ;-) which works fine when launched via the startup.bat script. Is there a way to turn it into a proper windows (XP) service? I know tc5 has service.bat, but short of upgrading, what would be the equivalent here? Tia, --bald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto run tomcat 4.06 as windows service
Hello, I have an existing tc4 installation (copied in a hurry from another system ;-) which works fine when launched via the startup.bat script. Is there a way to turn it into a proper windows (XP) service? I know tc5 has service.bat, but short of upgrading, what would be the equivalent here? Tia, --bald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 - apache 13 howto
Hi, http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Yoav Shapira Millennium Research Informatics >-Original Message- >From: C. Kukulies [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 06, 2004 12:58 AM >To: [EMAIL PROTECTED] >Subject: Tomcat 5 - apache 13 howto > >Is there a FAQ which answers the question: > >Is there an HOWTO to get tomcat 5 running with apache13? > >-- >Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5 - apache 13 howto
Is there a FAQ which answers the question: Is there an HOWTO to get tomcat 5 running with apache13? -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Write my own Realm - HOWTO ?
Tom, FIXME means it needs to be written... :) (Although I may be wrong there - perhaps someone will jump in) I should imagine that the original class for the JDBC realm would be a fine basis to start from. You should jar it up and put it in tomcat's common/lib directory. Adam On 03/25/2004 04:05 PM Tom Bednarz wrote: Im using Tomcat 5.0.19. I need to extend the JDBC Realm a little bit, precisly I need to have my own implementation of authenticate(..). In the Realm Configuration HOW-TO is a incomplete Link (FIXME) to information how to do this. Could anybody please point me to that link? Basically I want to create my own realm derived from JDBCRealm with my own implementation of authenticate(). How do I tell Tomcat about this new Realm. Where do I need to put the jar file that it is being recognised? Thanks for your help. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Write my own Realm - HOWTO ?
Im using Tomcat 5.0.19. I need to extend the JDBC Realm a little bit, precisly I need to have my own implementation of authenticate(..). In the Realm Configuration HOW-TO is a incomplete Link (FIXME) to information how to do this. Could anybody please point me to that link? Basically I want to create my own realm derived from JDBCRealm with my own implementation of authenticate(). How do I tell Tomcat about this new Realm. Where do I need to put the jar file that it is being recognised? Thanks for your help. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howto? Access Global Environment Variables using JNDI
Hello, I have tried to access Tomcat 5.0 (xx) Global Environment variables. I have the Integer simpleValue defined in the Tomcat Administrators panel under "Environment Entries" Here's my code: Context initContext = new InitialContext(); Context envContext = (Context)initContext.lookup("java:comp/env"); Integer i = (Integer)e.get("simpleValue"); I have also tried and infiinite variation of this with no success (Accessing the Initialcontext directly) The Tomcat docs at: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html says: " - Configure names and values for scalar environment entries that will be exposed to the web application through the JNDI InitialContext (equivalent to the inclusion of an element in the web application deployment " PLEASE HELP !!! Geir Ove Norway - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto hold transient record data in a Java applet?
Hi all. I've a Java applet question, which is slightly out of context here. For that I apologize. I want to create a class containing a record structure to hold transient data from other applets on same browser and from same codeBase(). In other words, several other applets in same browser will send record data to it, these transient record data are kept there until they are flushed to database behind Tomcat. I don't want them to request a db connection and send a record one by one. Can some please give me pointers on how to implement such a class so that other applets can write record data to it? TIA :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache + Tomcat RH HOWTO (Apache Compile)
That didnt do it either. If my openssl is old (like the one that came with RH 7.0), could that be the problem? -Original Message- From: Luc Foisy Sent: Thursday, January 29, 2004 9:39 AM To: Tomcat Users List Subject: RE: Apache + Tomcat RH HOWTO (Apache Compile) I suppose that could possibly be? export CPPFLAGS="-I/usr/kerberos/include -I/usr/include/openssl" -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:17 PM To: Tomcat Users List Subject: Re: Apache + Tomcat RH HOWTO (Apache Compile) RedHat places some libraries in places that configure doesn't expect. In order to get SSL compiled, the following environment variable needs to be set before running configure. export CPPFLAGS="-I/usr/kerberos/include -I/usr/openssl/include" (all on one line - sorry about the wrap) HTH /mde/ just my two cents . . . . --- Luc Foisy <[EMAIL PROTECTED]> wrote: > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_hook_UserCheck': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:893: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1224: > undefined reference to `OPENSSL_free' > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1228: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify_CRL': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1490: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_vars.lo): In > function `ssl_var_lookup_ssl_cert': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_vars.c:351: > undefined reference to `OPENSSL_free' > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make[1]: Leaving directory > `/home/tech_support/install/apache/httpd-2.0.48' > make: *** [all-recursive] Error 1 __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache + Tomcat RH HOWTO (Apache Compile)
I suppose that could possibly be? export CPPFLAGS="-I/usr/kerberos/include -I/usr/include/openssl" -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:17 PM To: Tomcat Users List Subject: Re: Apache + Tomcat RH HOWTO (Apache Compile) RedHat places some libraries in places that configure doesn't expect. In order to get SSL compiled, the following environment variable needs to be set before running configure. export CPPFLAGS="-I/usr/kerberos/include -I/usr/openssl/include" (all on one line - sorry about the wrap) HTH /mde/ just my two cents . . . . --- Luc Foisy <[EMAIL PROTECTED]> wrote: > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_hook_UserCheck': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:893: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1224: > undefined reference to `OPENSSL_free' > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1228: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify_CRL': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1490: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_vars.lo): In > function `ssl_var_lookup_ssl_cert': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_vars.c:351: > undefined reference to `OPENSSL_free' > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make[1]: Leaving directory > `/home/tech_support/install/apache/httpd-2.0.48' > make: *** [all-recursive] Error 1 __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache + Tomcat RH HOWTO (Apache Compile)
Nope. That didn't make it fly. I exported, ran configure, then make. Same result. -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:17 PM To: Tomcat Users List Subject: Re: Apache + Tomcat RH HOWTO (Apache Compile) RedHat places some libraries in places that configure doesn't expect. In order to get SSL compiled, the following environment variable needs to be set before running configure. export CPPFLAGS="-I/usr/kerberos/include -I/usr/openssl/include" (all on one line - sorry about the wrap) HTH /mde/ just my two cents . . . . --- Luc Foisy <[EMAIL PROTECTED]> wrote: > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_hook_UserCheck': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:893: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1224: > undefined reference to `OPENSSL_free' > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1228: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify_CRL': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1490: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_vars.lo): In > function `ssl_var_lookup_ssl_cert': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_vars.c:351: > undefined reference to `OPENSSL_free' > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make[1]: Leaving directory > `/home/tech_support/install/apache/httpd-2.0.48' > make: *** [all-recursive] Error 1 __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache + Tomcat RH HOWTO (Apache Compile)
RedHat places some libraries in places that configure doesn't expect. In order to get SSL compiled, the following environment variable needs to be set before running configure. export CPPFLAGS="-I/usr/kerberos/include -I/usr/openssl/include" (all on one line - sorry about the wrap) HTH /mde/ just my two cents . . . . --- Luc Foisy <[EMAIL PROTECTED]> wrote: > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_hook_UserCheck': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:893: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1224: > undefined reference to `OPENSSL_free' > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1228: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): > In function `ssl_callback_SSLVerify_CRL': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1490: > undefined reference to `OPENSSL_free' > modules/ssl/.libs/mod_ssl.al(ssl_engine_vars.lo): In > function `ssl_var_lookup_ssl_cert': > /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_vars.c:351: > undefined reference to `OPENSSL_free' > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make[1]: Leaving directory > `/home/tech_support/install/apache/httpd-2.0.48' > make: *** [all-recursive] Error 1 __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache + Tomcat RH HOWTO (Apache Compile)
Using Johns HowTO (http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html) I think my make might not have worked correctly. I'll paste the last bunch of lines. I think this RH bread is 7.0, also using 2.0.48. libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): In function `ssl_hook_UserCheck': /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:893: undefined reference to `OPENSSL_free' modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): In function `ssl_callback_SSLVerify': /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1224: undefined reference to `OPENSSL_free' /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1228: undefined reference to `OPENSSL_free' modules/ssl/.libs/mod_ssl.al(ssl_engine_kernel.lo): In function `ssl_callback_SSLVerify_CRL': /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_kernel.c:1490: undefined reference to `OPENSSL_free' modules/ssl/.libs/mod_ssl.al(ssl_engine_vars.lo): In function `ssl_var_lookup_ssl_cert': /home/tech_support/install/apache/httpd-2.0.48/modules/ssl/ssl_engine_vars.c:351: undefined reference to `OPENSSL_free' collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make[1]: Leaving directory `/home/tech_support/install/apache/httpd-2.0.48' make: *** [all-recursive] Error 1 That does look like an error to me (I have no idea what a proper make looks like). Can someone point me in the right direction? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto federate tomcat JNDI to another JNDI context ?
Hi mark, I solved my JNDI federation problem and maybe you are interested to know how ? I want to get JMS ressources from JNDI. They're stored in a FileSystem JNDI and I need to federate it to Tomcat JNDI. I added a custom factory to tomcat (in commons/classes): import java.util.Enumeration; import java.util.Hashtable; import java.util.Properties; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.Name; import javax.naming.NameClassPair; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.RefAddr; import javax.naming.Reference; import javax.naming.spi.ObjectFactory; public class JndiFederationFactory implements ObjectFactory { public Object getObjectInstance( Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { Reference ref = (Reference) obj; Enumeration addrs = ref.getAll(); String lookup = null; Properties props = new Properties(); while (addrs.hasMoreElements()) { RefAddr addr = (RefAddr) addrs.nextElement(); String type = addr.getType(); String value = (String) addr.getContent(); if (type.equals("lookup")) { lookup = value; } else { props.put(type, value); } } InitialContext ctx = new InitialContext(props); if (lookup == null) { throw new NamingException("la propriété lookup doit être définie"); } return ctx.lookup(lookup); } } I added IBM MQSeries/JMS client classes to commons/lib I added this conf in server.xml : factory com.cgey.JndiFederationFactory lookup urlQmgrLocal java.naming.factory.initial com.sun.jndi.fscontext.RefFSContextFactory java.naming.security.authentication none java.naming.provider.url file:///c:/MQSeries/jndi Using this, I can lookup in local JNDI from my webapp for "jms/QueueConnexionFactory" and get the MQSeries QueueConnexionFactory defined in a FileSystem JNDI Context. This is a pseudo JNDI Federation, but it works fine. Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: howto federate tomcat JNDI to another JNDI context ?
Hello Nico, Yes I've been attempting to do the same thing with suns LDAP Context. Unfortunately (even for myself as an Apache Jakarta Developer, neither the tomcat user or developer lists have gotten any responses to my emails). I've done several attempts to start a discussion on this, maybe you will find my "mistake path" helpful: Tomcat User: http://www.mail-archive.com/[EMAIL PROTECTED]/msg114976.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg114923.html Tomcat Dev: http://www.mail-archive.com/[EMAIL PROTECTED]/msg51159.html The nearest I can figure out is that you may have to write your own object factory to instantiate the objects even if one is provided by Sun. Otherwise your really going to be troubled with what ResourceParams are actually getting configured into the federated Context. I actually had to decompile the ldap factory com.sun.jndi.ldap.LdapCtxFactory to identify the fact that it sets none of these ReferenceAddrs/ResourceParams properly into the environment of the new context. If your studying all the JNDI Tutorial stuff and documentation its important to note that whats really getting set when you create Resource Params like this are Reference/ReferenceAddrs in JNDI. java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory equates to: Hashtable env = new Hashtable(); Reference ref = (Reference) obj; Enumeration addrs = ref.getAll(); while (addrs.hasMoreElements()) { RefAddr addr = (RefAddr) addrs.nextElement(); if(!addr.getType().equals("factory")) env.put(addr.getType(), addr.getContent().toString()); } return this.getInitialContext(env); in the factory (which all kinda sucks for anyone trying to use an existing factory that may not actually do this consistently. Unfortunately the JNDI tutorial is rather weak in substance when it comes to actually federating two namespaces. http://java.sun.com/products/jndi/tutorial/objects/factory/reference.html http://java.sun.com/products/jndi/tutorial/beyond/fed/index.html Good Luck, I'm glad to chat with someone having a similar problem. -Mark Diggory Nicolas De Loof wrote: Hello, I would like to use tomcat JNDI to lookup JMS Queues (MQSeries) that are registered in JNDI using a File System JNDI Context (com.sun.jndi.fscontext.RefFSContextFactory) My webapp refers to a JNDI resource named "jms/testQueueConnectionFactory", and I need to configure tomcat internal JNDI to federate "java:com/env/jms" JNDI namespace to the FileSystem JNDI context. I've not find any example in mailing-list archive about this. Can anyone tell me How to configure tomcat to do this ? Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Diggory Software Developer Harvard MIT Data Center http://osprey.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto federate tomcat JNDI to another JNDI context ?
Hello, I would like to use tomcat JNDI to lookup JMS Queues (MQSeries) that are registered in JNDI using a File System JNDI Context (com.sun.jndi.fscontext.RefFSContextFactory) My webapp refers to a JNDI resource named "jms/testQueueConnectionFactory", and I need to configure tomcat internal JNDI to federate "java:com/env/jms" JNDI namespace to the FileSystem JNDI context. I've not find any example in mailing-list archive about this. Can anyone tell me How to configure tomcat to do this ? Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Subject: HOWTO: Apache + Tomcat + mod_jk OR mod_jk2 even IIS
Hi, I think most people including myself are having problems building mod_jk2.so and not configuring it. The links you provided assume that mod_jk2.so is created. Sincerely, Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net -Original Message- From: Lenny Sorey [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 9:14 AM To: Tomcat Users Group Cc: Apache HTTP Users List Subject: Subject: HOWTO: Apache + Tomcat + mod_jk OR mod_jk2 even IIS For those seeking a solution to Integrating the following: Tomcat 4(or 5) and mod_jk2 (Tomcat/Jk2Generic) Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk2 and IP sockets (LinuxJK2) Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk and IP sockets (LinuxJK) Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk and IP sockets (WinJKIIS) Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk2 and IP sockets (WinJK2IIs) Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk and IP sockets (WinJKApache) Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk2 and IP sockets (WinJK2Apache) I found the following site very helpful: I used this site to help me get up and going with Tomcat 4.1.29 + Apache 2.0.48 + mod_jk2 http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb Happy New Year and Good Luck!! Lenny Sorey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Subject: HOWTO: Apache + Tomcat + mod_jk OR mod_jk2 even IIS
For those seeking a solution to Integrating the following: Tomcat 4(or 5) and mod_jk2 (Tomcat/Jk2Generic) Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk2 and IP sockets (LinuxJK2) Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk and IP sockets (LinuxJK) Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk and IP sockets (WinJKIIS) Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk2 and IP sockets (WinJK2IIs) Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk and IP sockets (WinJKApache) Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk2 and IP sockets (WinJK2Apache) I found the following site very helpful: I used this site to help me get up and going with Tomcat 4.1.29 + Apache 2.0.48 + mod_jk2 http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb Happy New Year and Good Luck!! Lenny Sorey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
Hi Daniel, happy holidays to you... what are we fools doing 'working' !? > You can get binary and source code at: http://www.shiftomat.com/opensource/index.html I've added an update to my guide making people aware of your distribution. > Since 1.4.2 and Tomcat 5.0.16 it is sufficient to download only the JRE I too would be interested to know if this is the case. I thought the SDK was required because the JSP/Servlets are being compiled on-the-fly and therefore the additional SDK components are required. > Registry > There are additional registry entries for jk2 > #define USE_AUTH_COMP_TAG ("authComplete") > #define THREAD_POOL_TAG ("threadPool") > #define SEND_GROUPS_TAG ("sendGroups") I discovered the 'new' registry key requirements by running RegMon on the Server and watching what Apache keys inetinfo.exe reads when it loads isapi_redirector2.dll It does query authComplete and threadPool, but not sendGroups or logLevel. I kind of 'guessed' at changing log_level to logLevel based on the new format of the other keys. As it isn't read from the registry I'm guessing it is not used any more. >I set authComplete to 0 and threadPool to 20. I have not found any >documentation for sendGroups. It defaults to 0. > Run WWW service in IIS 5.0 isolation mode >This is the big point. To run IIS 6.0 in native mode, all files used by jk2 must be add to the Web extensions: jk2.properties workers2.properties isapi_redirector2.dll jk2.shm I'm not sure this is the only requirement. I think the issue is more to do with the compartment model the DLL uses, so that when used in a 'shared' environment a failure serving one web application doesn't bring down all the rest. I've had a response from a Microsoft IIS guy who says the DLL would need to be rewritten to take advantage of IIS 6's new isolation scheme. TJ. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
Hi Tj, If interested, I have written an installer which automates the steps you describe on your site. You can get binary and source code at: http://www.shiftomat.com/opensource/index.html Unfortunately, there are main differences I would like to discuss here. I hope someone of the developers will join this to clear some points out. > Download Java 2 SDK 1.4.2 (or later) Since 1.4.2 and Tomcat 5.0.16 it is sufficient to download only the JRE to get Tomcat and JSP running. I would like to know if it is needed to install the whole SDK. > Registry There are additional registry entries for jk2 #define USE_AUTH_COMP_TAG ("authComplete") #define THREAD_POOL_TAG ("threadPool") #define SEND_GROUPS_TAG ("sendGroups") I set authComplete to 0 and threadPool to 20. I have not found any documentation for sendGroups. It defaults to 0. As far as I can see in the source "logLevel" changed to "log_level". Could someone please confirm this! >Web Service Extensions > Run WWW service in IIS 5.0 isolation mode This is the big point. To run IIS 6.0 in native mode, all files used by jk2 must be add to the Web extensions: jk2.properties workers2.properties isapi_redirector2.dll jk2.shm Additionaly add write permissions for Builtin\Users for file security settings of jk2.properties and jk2.shm. I am very interested, if there are any doubts about running IIS in native mode. In my opinion it will be difficult explaining to a customer to decrease his IIS security. Merry Chrismas -- Daniel Schmitt http://www.shiftomat.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
I've been meaning to remove links to external sites from the FAQ. The Wiki has a more complete list of Links. -Tim Justin Ruthenbeck wrote: At 03:03 PM 12/23/2003, you wrote: I have been adding all new links to the Wiki. (Which anyone can update, but I also check to try to keep it clean) http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Wait, so new links/additions are going to the Wiki instead of the FAQ? Are both being kept up-to-date with info or just one of them? Depending, perhaps we should link to the Wiki in the FAQ (at least for the connectors section). justin Justin Ruthenbeck wrote: TJ, This is a very sharp writeup -- thanks for writing it up for everyone else. Tim, wanna add this to the FAQ? justin At 02:21 PM 12/23/2003, you wrote: I've just written an article to help those who like us, need to serve up Java servlets and JSP using Tomcat. The URL is http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html TJ 2XP To Explore, To Experience, To Express - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
At 03:03 PM 12/23/2003, you wrote: I have been adding all new links to the Wiki. (Which anyone can update, but I also check to try to keep it clean) http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Wait, so new links/additions are going to the Wiki instead of the FAQ? Are both being kept up-to-date with info or just one of them? Depending, perhaps we should link to the Wiki in the FAQ (at least for the connectors section). justin Justin Ruthenbeck wrote: TJ, This is a very sharp writeup -- thanks for writing it up for everyone else. Tim, wanna add this to the FAQ? justin At 02:21 PM 12/23/2003, you wrote: I've just written an article to help those who like us, need to serve up Java servlets and JSP using Tomcat. The URL is http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html TJ 2XP To Explore, To Experience, To Express - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector
I've added the guide to Wiki TJ 2XP To Explore, To Experience, To Express - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]