Re: Newb question - How to install TomCat on MacOS Tiger 10.4
Hi, What's the problem ? Send us the log, if there is. Witch version of tomcat ?jdk ? do you set the JAVA_HOME=/Library/Java/Home in your env ? do you update os ? Fadil On 9/30/05, Thomas K. Cheriyan Jr. [EMAIL PROTECTED] wrote: Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at all. If somebody is an expert at this and has some time to help me out, I would really appreciate it. -- Thomas K. Cheriyan Jr. Email: [EMAIL PROTECTED] Cell: 516-526-1443 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple IP addresses
I do not understand very well, if we did this configuration, (with a new IP for tomcat and one for IIS web app on the same server) : we don't have to specify port number for IIS or Tomcat ? Can we fix tomcat's with by default 80 ? this configuration doesn't mess if we want to use ldap or ssl ? Is this kind of installation is best than only one ip, IIS on 80, tomcat on 8080 and isapi redirector 1.14 ? any helps welcome. On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote: From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] I seem to remember when I was working with IIS some years ago, I could map multiple IP addresses to one instance of IIS, i.e., IIS could service multiple web sites for me, each web site having it's own, unique IP address. Is there a way to do this with Tomcat stand alone or is Apache Web Server or IIS required? Works fine with Tomcat. Modify your server.xml to have multiple Services, each with its own set of innards like Connectors and Hosts, and each with its own appbase. Then use address=numeric.ip.address.required in each of the connector attributes to force a bind to just that IP address for that connector. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html for the details on Connector. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat webapps directory
I wonder howto change tomcat webapps directory on an another disk ? any helps welcome Fadom
Re: Multiple IP addresses
Thx a lot for the answer ! Maybe I'll switch to multiple IP for same server, what do you thinks about my configuration : I've Windows Server2003, with: - an appli asp on IIS 6.0 - and an another on Tomcat 5.0.28 only tomcat need ssl and ldap. I mean it's more simple to use multiple than isapi ? for maintenance,... what do you think about that ? On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote: From: Fadil [mailto:[EMAIL PROTECTED] I do not understand very well, if we did this configuration, (with a new IP for tomcat and one for IIS web app on the same server) : we don't have to specify port number for IIS or Tomcat ? Each would bind to port 80, each on its own IP address on the Web server. Port 80 is the default port for HTTP, so none of your URLs would need a ':8080' or similar suffix. Can we fix tomcat's with by default 80 ? this configuration doesn't mess if we want to use ldap or ssl? If you have a separate IP address for Tomcat from the one you are using for IIS, then you can also bind any other ports you need for Tomcat on that separate IP address. So Tomcat's SSL would be on tomcat's IP address:443, IIS's SSL on IIS's IP address:443. Is this kind of installation is best than only one ip, IIS on 80, tomcat on 8080 and isapi redirector 1.14 ? That depends on your specific requirements, I cannot give a general answer. - Peter
Re: Multiple IP addresses
this is a good idea, and I try these multiples, I get two IP, like this : IPA:80 = IPServer:80 (IIS server) IPB:80 = IPServer:8443(Tomcat Server but SSL port) So I tried to setup tomcat, by add IPB in all connector and in host. But it doesn't work... Can this work's ? The real question is : IPB must point on SSL(8443) or on 8080 ? If I want my user only to authentifiate by https and navigate with http? any helps welcome. On 9/2/05, Fadil [EMAIL PROTECTED] wrote: Thx a lot for the answer ! Maybe I'll switch to multiple IP for same server, what do you thinks about my configuration : I've Windows Server2003, with: - an appli asp on IIS 6.0 - and an another on Tomcat 5.0.28 only tomcat need ssl and ldap. I mean it's more simple to use multiple than isapi ? for maintenance,... what do you think about that ? On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote: From: Fadil [mailto:[EMAIL PROTECTED] I do not understand very well, if we did this configuration, (with a new IP for tomcat and one for IIS web app on the same server) : we don't have to specify port number for IIS or Tomcat ? Each would bind to port 80, each on its own IP address on the Web server. Port 80 is the default port for HTTP, so none of your URLs would need a ':8080' or similar suffix. Can we fix tomcat's with by default 80 ? this configuration doesn't mess if we want to use ldap or ssl? If you have a separate IP address for Tomcat from the one you are using for IIS, then you can also bind any other ports you need for Tomcat on that separate IP address. So Tomcat's SSL would be on tomcat's IP address:443, IIS's SSL on IIS's IP address:443. Is this kind of installation is best than only one ip, IIS on 80, tomcat on 8080 and isapi redirector 1.14 ? That depends on your specific requirements, I cannot give a general answer. - Peter
Re: Multiple IP addresses
Hum : 2 sept. 2005 18:38:43 org.apache.catalina.core.StandardContext start GRAVE: Error listenerStart 2 sept. 2005 18:38:43 org.apache.catalina.core.StandardContext start GRAVE: Erreur de dÚmarrage du contexte suite aux erreurs prÚcÚdentes [xl4web] WARN [main] CacheManager.shutdown(373) | CacheManager already shutdown 2 sept. 2005 18:38:44 org.apache.coyote.http11.Http11Protocol start INFO: DÚmarrage de Coyote HTTP/1.1 sur http-139.54.202.142-8080 2 sept. 2005 18:38:44 org.apache.coyote.tomcat5.MapperListenerregisterEngine ATTENTION: Unknown default host: localhost 2 sept. 2005 18:38:44 org.apache.coyote.http11.Http11Protocol start GRAVE: Erreur au dÚmarrage du point de contact java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765) at java.security.KeyStore.load(KeyStore.java:652) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore( JSSESocketFactory.java:278) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore( JSSESocketFactory.java:220) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers( JSSE14SocketFactory.java:143) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init( JSSE14SocketFactory.java:109) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket( JSSESocketFactory.java:98) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint( PoolTcpEndpoint.java:261) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint( PoolTcpEndpoint.java:281) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1527) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:38:44 org.apache.catalina.startup.Catalina start GRAVE: Catalina.start: LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: java.io.IOException: Keystore was tampered with, or password was incorrect at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1529) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:38:44 org.apache.catalina.startup.Catalina start - I think have a lot of pb ! On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote: From: Fadil [mailto:[EMAIL PROTECTED] But it doesn't work... What error are you getting, from what? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple IP addresses
this is a good idea, and I try these multiples, I get two IP, like this : IPA:80 = IPServer:80 (IIS server) IPB:80 = IPServer:8443(Tomcat Server but SSL port) So I tried to setup tomcat, by add IPB in all connector and in host. I changed config in server.xml by adding IPServer and not the IPB, it stay to me only (I think a keystore pb) : GRAVE: Erreur au dÚmarrage du point de contact java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765) at java.security.KeyStore.load(KeyStore.java:652) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore( JSSESocketFactory.java:278) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore( JSSESocketFactory.java:220) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers( JSSE14SocketFactory.java:143) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init( JSSE14SocketFactory.java:109) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket( JSSESocketFactory.java:98) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint( PoolTcpEndpoint.java:261) at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint( PoolTcpEndpoint.java:281) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1527) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start GRAVE: Catalina.start: LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: java.io.IOException: Keystore was tampered with, or password was incorrect at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java :1529) at org.apache.catalina.core.StandardService.start(StandardService.java:489) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start What password expect tomcat if we don't specify it in server.xml ?
Re: TC (4), IIS isapi_redirector.dll
Sorry, I 'm newbie in IIS administration. And I don't know what do you mean by : 1) Add an ISAPI filter for .jsp pages to be handled by Tomcat or 2) Set your Application Configuration for jakarta Someone can help me ? I'm using Windows Server 2003/IIS6 with tomcat 5.0.28. Do I need to used the isolation mode IIS5 ? Is there any conguration to do in windows ? THX On Mon, 28 Feb 2005 09:24:11 -0500 (EST), Matt [EMAIL PROTECTED] wrote: Actually, jk2 is officially UNSUPPORTED, so for a new install, I would *highly* recommend using jk_1.2.8.exe instead (unless, and until anyone can say why using a deprecated/abandoned jk2 is better than using the latest jk_1.2.8 - none yet? jk_1.2.9 is in current development as well). The instructions you will find everywhere are outdated and incomplete/duplicative, at least for the latest tools to use: 1) Tomcat 5.5.x 2) jk_1.2.8.exe 3) IIS 5 or 6 You simply install Tomcat (a nice .exe installer should do), and then the jk_1.2.8.exe (a VERY nice installer, which unfortunately does so much automatically, that it makes the dated documentation out there confusing). Now, all you will have to do in IIS is the following: 1) Add an ISAPI filter for .jsp pages to be handled by Tomcat 2) Set your Application Configuration for jakarta (the redirector installed by the jk_1.2.8.exe) and enable it (at least in IIS 5). 3) There are mixed messages as to whether you need to set IIS 6 to use IIS 5 Isolation Mode or not, but you might try without same. That will allow Tomcat examples to work using the foloowing URLs: http://localhost:8080/jsp-examples http://localhost/jsp-examples If you want Tomcat to be able to run webapps outside of $CATALINA_HOME/webapps, you need to edit the server.xml file and the jk's uriworkermap.properties file (the installer above puts it in a folder on the same level as Tomcat 5.5, in its own conf folder, FYI). For example, I actually tried to use the following, but it would not work since the URL is http://localhost/JSP/MYwebapps, and you need to have the JSP In there somewhere...): CONTEXT path=/MYwebapps docbase=C:/Inetpub/wwwroot/JSP/MYwebapps debug=0 reloadable=true / ...even if I added these to my uriworkermap.properties file: /JSP/MYwebapps/*=ajp13w /MYwebapps/*=ajp13w Changing to this worked for me so far (only tested basic JSP pages, nothing fancier and no servlets): CONTEXT path=/JSP docbase=C:/Inetpub/wwwroot/JSP debug=0 reloadable=true / ...and in my uriworkermap.properties file: /JSP/*=ajp13w I had to switch gears, so I haven't done much more so far, but this seems to get things on track. Good luck, -Matt On Mon, 28 Feb 2005, Aris Javier wrote: sorry... forgot .com =) anyway, here's the site again. http://www.shiftomat.com/opensource/ regards aris philippines -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:39 PM To: Tomcat Users List Subject: RE: TC (4), IIS isapi_redirector.dll Hi thanks, but that link is dead! Hello! visit this site to automate your integration of tomcat and iis. http://www.shiftomat/opensource download the file and follow the instructions... regards aris -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:25 PM To: tomcat-user@jakarta.apache.org Subject: TC (4), IIS isapi_redirector.dll Hi, I am attempting to serve up my pages using IIS, and have Tomcat process my JSPs/Servlets using JK 1.2 Connector. I am following a what I would call a reputable tutorial (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html) which tells me to look here http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.0/bin/ for the isapi_redirector.dll, there or under my Win32 directory. I am running XP Pro and do not appear to have a Win 32 directory. In the above page are the various project downloads. Can someone tell me where I am being directed please? I see no effervescence to Isapi, IIS, redirector, JK or anything else of a similar topic. thanks and regards Paul. - 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] Matthew Kozak Rutgers University-Camden [EMAIL PROTECTED] ** They that can give up essential liberty to obtain a little temporary safety deserve neither
Re: TC (4), IIS isapi_redirector.dll
Thanks a lot I'll test this ASAP. Unfortunately, I must setup IIS6 / Tomcat because it's my production environement and I've no choice : I don't want to learn dotnet !! I'm a beginner J2EE developper. On Mon, 28 Feb 2005 11:36:25 -0500 (EST), Matt [EMAIL PROTECTED] wrote: If you're not proficient with IIS, and are not married to it for any other reason, I'd HIGHLY recommend Apache - if you have to learn something, then learn something worthwhile!!! ;^) Otherwise, those two steps are likely to be found in IIS docs, but at least one of them is a step in the various (although otherwise outdated) documents all over the net re: Tomcat + IIS. The following is a single line URL (in case your emailer breaks it) you can copy and paste into your browser: http://web.archive.org/web/20040324133706/http://www.rit.edu/~ack5504/tomcat-iis6-howto/tomcat-iis6-howto.html I am not in front of this system myself until late tonight or tomorrow, or I'd send specifics myself, but I also hope to make a doc with screenshots that covers these obviously desireable and up-to-date steps. As for IIS 6 in IIS 5 Isolation Mode - you won't get a straight answer, since it seems necessary fro some but not everyone. Try it yourself without it, and if it doesn't work, then try turning this on in IIS 6 and if that works, then voila! Thanks, -Matt On Mon, 28 Feb 2005, Fadil wrote: Sorry, I 'm newbie in IIS administration. And I don't know what do you mean by : 1) Add an ISAPI filter for .jsp pages to be handled by Tomcat or 2) Set your Application Configuration for jakarta Someone can help me ? I'm using Windows Server 2003/IIS6 with tomcat 5.0.28. Do I need to used the isolation mode IIS5 ? Is there any conguration to do in windows ? THX On Mon, 28 Feb 2005 09:24:11 -0500 (EST), Matt [EMAIL PROTECTED] wrote: Actually, jk2 is officially UNSUPPORTED, so for a new install, I would *highly* recommend using jk_1.2.8.exe instead (unless, and until anyone can say why using a deprecated/abandoned jk2 is better than using the latest jk_1.2.8 - none yet? jk_1.2.9 is in current development as well). The instructions you will find everywhere are outdated and incomplete/duplicative, at least for the latest tools to use: 1) Tomcat 5.5.x 2) jk_1.2.8.exe 3) IIS 5 or 6 You simply install Tomcat (a nice .exe installer should do), and then the jk_1.2.8.exe (a VERY nice installer, which unfortunately does so much automatically, that it makes the dated documentation out there confusing). Now, all you will have to do in IIS is the following: 1) Add an ISAPI filter for .jsp pages to be handled by Tomcat 2) Set your Application Configuration for jakarta (the redirector installed by the jk_1.2.8.exe) and enable it (at least in IIS 5). 3) There are mixed messages as to whether you need to set IIS 6 to use IIS 5 Isolation Mode or not, but you might try without same. That will allow Tomcat examples to work using the foloowing URLs: http://localhost:8080/jsp-examples http://localhost/jsp-examples If you want Tomcat to be able to run webapps outside of $CATALINA_HOME/webapps, you need to edit the server.xml file and the jk's uriworkermap.properties file (the installer above puts it in a folder on the same level as Tomcat 5.5, in its own conf folder, FYI). For example, I actually tried to use the following, but it would not work since the URL is http://localhost/JSP/MYwebapps, and you need to have the JSP In there somewhere...): CONTEXT path=/MYwebapps docbase=C:/Inetpub/wwwroot/JSP/MYwebapps debug=0 reloadable=true / ...even if I added these to my uriworkermap.properties file: /JSP/MYwebapps/*=ajp13w /MYwebapps/*=ajp13w Changing to this worked for me so far (only tested basic JSP pages, nothing fancier and no servlets): CONTEXT path=/JSP docbase=C:/Inetpub/wwwroot/JSP debug=0 reloadable=true / ...and in my uriworkermap.properties file: /JSP/*=ajp13w I had to switch gears, so I haven't done much more so far, but this seems to get things on track. Good luck, -Matt On Mon, 28 Feb 2005, Aris Javier wrote: sorry... forgot .com =) anyway, here's the site again. http://www.shiftomat.com/opensource/ regards aris philippines -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:39 PM To: Tomcat Users List Subject: RE: TC (4), IIS isapi_redirector.dll Hi thanks, but that link is dead! Hello! visit this site to automate your integration of tomcat and iis. http://www.shiftomat/opensource download the file and follow the instructions... regards aris -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Monday, February 28