Servlets works fine, JSP's don't
Hello, first of all, I must say I don't have much experience with Tomcat. Secondly, I don't know if this is an Apache2 problem, or Tomcat problem. The thing is, i'm having problems when trying to load jsp pages directly. I mean, I can load the tomcat default webpage, after that, I go to examples, and servlets examples works fine, but jsp examples don't. I get the following: Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. It happens every time I try to load directly via url a jsp http://xx.xxx.xx.xxx/example/index.jsp The logs doesn't give me any information about the error. The environment is Debian Etch with Apache2, mod_jk connector and tomcat 5. Thanks in advance -- View this message in context: http://www.nabble.com/Servlets-works-fine%2C-JSP%27s-don%27t-tp21250058p21250058.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi gen-6, do you mind opening a new post for your issue? Not very pleasant to have responses to one's issue asking for another different thing. Thanks. gen-6 wrote: Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Servlets-works-fine%2C-JSP%27s-don%27t-tp21250058p21250788.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Try to run the two tomcat servers on different ports. The port is usually mentioned in server.xml file. Ghufran -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:07 PM To: 'Tomcat Users List' Subject: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] Basic int/char conversion question
Caldarale, Charles R wrote: From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: [OT] Basic int/char conversion question reset() is not implemented in InputStreamReader Quite correct; sorry - the revised code would be this: import java.io.ByteArrayInputStream; import java.io.InputStreamReader; import java.io.IOException; import java.nio.charset.Charset; public class Converter { byte[] ba = new byte[1]; ByteArrayInputStream bais = new ByteArrayInputStream(ba); InputStreamReader isr; public Converter(String csName) { isr = new InputStreamReader(bais, Charset.forName(csName)); } public char convert(byte b) { bais.reset(); ba[0] = b; try { return (char)isr.read(); } catch (IOException ioe) { // This can't happen in our situation, but... return '\0'; } } } Once again, thank you all for all the information provided. The real solution would be to rewrite that whole application (external feeder program included), to make it take charset variations into account. Better yet, it should all be rewritten to use Unicode and UTF-8, and be done with it. I don't have that option now, so I will use one of the techniques provided, depending on what I find is easiest to implement here for the specific limited problem at hand. But I will preserve all your code snippets and tips, because this is all extremely difficult to find in the Java documentation, at least from this angle. Once again, as I believe Chuck once wrote, when one knows how to phrase the question, one probably has already 90% of the answer. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Servlets works fine, JSP's don't
davefury wrote: [...] There seems to be something preventing Tomcat from running your JSP pages. I can't help you directly there, but before digging further, the following are some general tips, also usable for other problems with Apache and Tomcat. 1) Are you accessing Tomcat through Apache, or directly ? (Assuming you really are totally new to this : Usually Tomcat itself has a HTTP connector listening on port 8080 or so, while Apache listens on the standard port 80. So if you access Tomcat directly, you use a URL like http://myhost.mycompany.com:8080/examples/.. while if you go through Apache and mod_jk, you would use http://myhost.mycompany.com/examples/.. ) 2) is the error page you receive an Apache page, or a Tomcat page, or an internal page from IE ? (they are usually easy to distinguish by style) 3) what do the logfiles say ? In your environment, the logfiles - of Apache would be in /var/log/apache2/* - of Tomcat would be in /var/log/tomcat5 (or 5.5) (That is, by the way, always a good place to start looking) ;-) It would also help a bit if you were a little more precise with the versions, like Apache 2.x.y? and Tomcat 5.x.y? 4) If you were accessing Tomcat through Apache, how about trying the same, but accessing Tomcat directly (see above, add :tomcat-port to your URL). If not 8080, you can find out which port Tomcat is using by looking at /etc/tomcat5(.5?)/server.xml - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] Basic int/char conversion question
On Jan 2, 2009, at 7:39 AM, André Warnier wrote: Once again, as I believe Chuck once wrote, when one knows how to phrase the question, one probably has already 90% of the answer. Sometimes, posing the question solves the problem. More than once, thinking I was stuck, I set out to compose a complete well thought out post to this or some other list. At some point, it occurs to me, Gee, I don't think so, but I'd better check that point too, and bingo! -- that was the issue. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Is it possible to install both TOMCAT5.5 TOMCAT6?
How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Servlets works fine, JSP's don't
Hello awarnier, thank you very much for your detailed response: 1) I'm accessing Tomcat via http://machine_ip/ so, its through apache. 2) At the bottom of the error pages (the 500 Internal Server Error), the following can be found: Apache/2.2.3 (Debian) mod_jk/1.2.27 Server at 62.175.253.142 Port 80 3) I've had a look at both apache2 tomcat logs, and it just throws nothing after I reproduce the error. Catalina is set on debug mode, and I having a look at it, I only find DEBUG entries, not ERROR ones. Do you know if there is a way to increase verboseness on the errors shown on the browser to debug that error 500 a little more? I'm using tomcat apache-tomcat-5.5.17 apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. 4) I'm affraid I can't connect to tomcat via 8080, since we'r all firewalled. Anyways, I assume its working correctly since its redirecting data to port 80, and its displaying fine. Guess mod_jk conector is working as intended. Thanks a lot for your time awarnier. awarnier wrote: davefury wrote: [...] There seems to be something preventing Tomcat from running your JSP pages. I can't help you directly there, but before digging further, the following are some general tips, also usable for other problems with Apache and Tomcat. 1) Are you accessing Tomcat through Apache, or directly ? (Assuming you really are totally new to this : Usually Tomcat itself has a HTTP connector listening on port 8080 or so, while Apache listens on the standard port 80. So if you access Tomcat directly, you use a URL like http://myhost.mycompany.com:8080/examples/.. while if you go through Apache and mod_jk, you would use http://myhost.mycompany.com/examples/.. ) 2) is the error page you receive an Apache page, or a Tomcat page, or an internal page from IE ? (they are usually easy to distinguish by style) 3) what do the logfiles say ? In your environment, the logfiles - of Apache would be in /var/log/apache2/* - of Tomcat would be in /var/log/tomcat5 (or 5.5) (That is, by the way, always a good place to start looking) ;-) It would also help a bit if you were a little more precise with the versions, like Apache 2.x.y? and Tomcat 5.x.y? 4) If you were accessing Tomcat through Apache, how about trying the same, but accessing Tomcat directly (see above, add :tomcat-port to your URL). If not 8080, you can find out which port Tomcat is using by looking at /etc/tomcat5(.5?)/server.xml - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Servlets-works-fine%2C-JSP%27s-don%27t-tp21250058p21251457.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Did you intall tomcat6 as a service either? If so you have to disable the service before installing tomcat5 and after installation change the listening port for one of them. -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:41 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Yes, I had installed tomcat6 as service. I had set it as start-manually. But I still got the error during installation. Thanks -Original Message- From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Sent: Friday, January 02, 2009 10:45 PM To: Tomcat Users List Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Did you intall tomcat6 as a service either? If so you have to disable the service before installing tomcat5 and after installation change the listening port for one of them. -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:41 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:
Problem loading jsp pages
(Opening new thread since original was highjacked by another person, with a different issue, making it extremely long with quotes) Hello, first of all, I must say I don't have much experience with Tomcat. Secondly, I don't know if this is an Apache2 problem, or Tomcat problem. The thing is, i'm having problems when trying to load jsp pages directly. I mean, I can load the tomcat default webpage, after that, I go to examples, and servlets examples works fine, but jsp examples don't. I get the following: Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. It happens every time I try to load directly via url a jsp this way: http://xx.xxx.xx.xxx/example/index.jsp Tomcat default main page works perfectly: http://xx.xxx.xx.xxx/ (maybe since its precompiled?) but I can't load http:/xx.xxx.xx.xxx/index.jsp The logs don't give me any information about the error. The environment is Debian Etch with Apache2, mod_jk connector and tomcat 5. Thanks in advance Edit: Just discovered it doesn't matter the file exists or not, I can type http://xx.xxx.xx.xxx/whatever/file.jsp and I get the following error. Maybe apache problem configuration? -- View this message in context: http://www.nabble.com/Problem-loading-jsp-pages-tp21251663p21251663.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Yes of corse but is it started when you proceed to the second installation or not? -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:53 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Yes, I had installed tomcat6 as service. I had set it as start-manually. But I still got the error during installation. Thanks -Original Message- From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Sent: Friday, January 02, 2009 10:45 PM To: Tomcat Users List Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Did you intall tomcat6 as a service either? If so you have to disable the service before installing tomcat5 and after installation change the listening port for one of them. -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:41 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail:
Re: Problem loading jsp pages
More information (response to user awarnier): Hello awarnier, thank you very much for your detailed response: 1) I'm accessing Tomcat via http://machine_ip/ so, its through apache. 2) At the bottom of the error pages (the 500 Internal Server Error), the following can be found: Apache/2.2.3 (Debian) mod_jk/1.2.27 Server at 62.175.253.142 Port 80 3) I've had a look at both apache2 tomcat logs, and it just throws nothing after I reproduce the error. Catalina is set on debug mode, and I having a look at it, I only find DEBUG entries, not ERROR ones. Do you know if there is a way to increase verboseness on the errors shown on the browser to debug that error 500 a little more? I'm using tomcat apache-tomcat-5.5.17 apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. 4) I'm affraid I can't connect to tomcat via 8080, since we'r all firewalled. Anyways, I assume its working correctly since its redirecting data to port 80, and its displaying fine. Guess mod_jk conector is working as intended. Thanks a lot for your time awarnier. -- View this message in context: http://www.nabble.com/Problem-loading-jsp-pages-tp21251663p21251678.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Can't update my application in Tomcat
Hi, I'm working on Mac leopard, I installed Tomcat 5,5,27 and deployed a GWT application using the war file in Manager, everything works fine. When I wanted to update the application, I only get the old version. In the Manager How to doc it says that I should undeploy and deploy the application again, I did so restarting Tomcat but still the old version appears, I even changed the application name with no success. Any hints? Thanks My context.xml file is the following: Context reloadable=true WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this to disable session persistence across Tomcat restarts -- Manager pathname= / /Context -- Ghita Benkirane
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
No, the service is not started. And I also tried to set it to invalid and install again. And get the same error. Thanks -Original Message- From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Sent: Friday, January 02, 2009 10:56 PM To: Tomcat Users List Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Yes of corse but is it started when you proceed to the second installation or not? -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:53 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Yes, I had installed tomcat6 as service. I had set it as start-manually. But I still got the error during installation. Thanks -Original Message- From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Sent: Friday, January 02, 2009 10:45 PM To: Tomcat Users List Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Did you intall tomcat6 as a service either? If so you have to disable the service before installing tomcat5 and after installation change the listening port for one of them. -Message d'origine- De : gen [mailto:g...@bud.co.jp] Envoyé : vendredi 2 janvier 2009 14:41 À : 'Tomcat Users List' Objet : RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To
Re: Problem loading jsp pages
davefury wrote: 3) I've had a look at both apache2 tomcat logs, and it just throws nothing after I reproduce the error. Catalina is set on debug mode, and I having a look at it, I only find DEBUG entries, not ERROR ones. Do you know if there is a way to increase verboseness on the errors shown on the browser to debug that error 500 a little more? I'm using tomcat apache-tomcat-5.5.17 apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. Is that the Tomcat that comes with Debian? If so the packaging has probably broken Tomcat. You have two options: - seek help from one of the Debian lists - download an original Tomcat .tar.gz from the ASF and use that (you might as well upgrade to 5.5.27 while you are at it) Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problem loading jsp pages
please display applicable ajp entries in httpd.conf e.g. /*httpd.conf*/ JkMount /*.jsp ajp13 # enter the full path to the tomcat webapps directory JkAutoAlias F:/TOMCAT/APACHE~1.17/webapps JkWorkerProperty worker.list=ajp13 JkWorkerProperty worker.loadbalancer.type=lb JkWorkerProperty worker.loadbalancer.balanced_workers=ajp13 JkWorkerProperty worker.ajp13.type=ajp13 JkWorkerProperty worker.ajp13.host=localhost JkWorkerProperty worker.ajp13.port=8009 #when mount file (conf/worker.properties) is changed JK will reload content JkMountFile conf/workers.properties /*end httpd.conf*/ and please display contents of %TOMCAT_HOME%/conf/workers.properties Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Fri, 2 Jan 2009 05:56:51 -0800 From: david.cor...@silicetelecom.com To: users@tomcat.apache.org Subject: Re: Problem loading jsp pages More information (response to user awarnier): Hello awarnier, thank you very much for your detailed response: 1) I'm accessing Tomcat via http://machine_ip/ so, its through apache. 2) At the bottom of the error pages (the 500 Internal Server Error), the following can be found: Apache/2.2.3 (Debian) mod_jk/1.2.27 Server at 62.175.253.142 Port 80 3) I've had a look at both apache2 tomcat logs, and it just throws nothing after I reproduce the error. Catalina is set on debug mode, and I having a look at it, I only find DEBUG entries, not ERROR ones. Do you know if there is a way to increase verboseness on the errors shown on the browser to debug that error 500 a little more? I'm using tomcat apache-tomcat-5.5.17 apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. 4) I'm affraid I can't connect to tomcat via 8080, since we'r all firewalled. Anyways, I assume its working correctly since its redirecting data to port 80, and its displaying fine. Guess mod_jk conector is working as intended. Thanks a lot for your time awarnier. -- View this message in context: http://www.nabble.com/Problem-loading-jsp-pages-tp21251663p21251678.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org _ It’s the same Hotmail®. If by “same” you mean up to 70% faster. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad1_122008
Re: Problem loading jsp pages
davefury wrote: The apache/tomcat installation under Debian Etch works fine, and does not screw up either one of them. It splits them into many directories and adds quite a few links all over the place, but once you get the hang of it, it is rather easy and flexible. 1) I'm accessing Tomcat via http://machine_ip/ so, its through apache. 2) At the bottom of the error pages (the 500 Internal Server Error), the following can be found: Apache/2.2.3 (Debian) mod_jk/1.2.27 Server at 62.175.253.142 Port 80 That fact above indicates that the problem is probably at the Apache level, and possibly that something happens when trying to re-direct your jsp links from Apache to Tomcat (since your servlets work). In the directory /etc/apache2/mods-available, there is a file called jk.conf. This file is pulled in by Apache when it starts up, and configures the mod_jk connector within Apache. In that file, there are 2 lines as follows (or there sould be) : JkLogFile /var/log/apache2/mod_jk.log JkLogLevel debug If the above lines are not there, or different, edit them to be as above and resave the file. Then restart Apache (Tomcat is not necessary), and try your links again. After that, go look at the file /var/log/apache2/mod_jk.log and check if there is any error there. I'm using tomcat apache-tomcat-5.5.17 apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. 4) I'm affraid I can't connect to tomcat via 8080, since we'r all firewalled. Anyways, I assume its working correctly since its redirecting data to port 80, and its displaying fine. Guess mod_jk conector is working as intended. What really happens is : - you send a request to Apache on port 80 - the mod_jk connector in Apache catches specific URLs which have to be forwarded to Tomcat - these calls are sent to Tomcat via a special Tomcat port (usually 8009), corresponding to a Connector in the Tomcat main configuration file (/etc/tomcat5.5/server.xml) - Tomcat processes the request and sends the answer back to Apache, through the same connector - Apache catches the result and sends it back to your browser If there was an error at the Tomcat level, you would get a Tomcat error page, which looks quite different. So my guess is that your jsp requests do not even get to Tomcat, but result in an error at the Apache level, before Apache+mod_jk even try to send them to Tomcat. If you cannot find the error, then in your next message post the content of the file /etc/apache2/mods-available/jk.conf here. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Is it possible to install both TOMCAT5.5 TOMCAT6?
The problem is that the Tomcat 5.5 and 6.0 installers are both using the same display name for the service (Apache Tomcat), and Windows doesn't allow that. You can install the service correctly using service.bat in Tomcat's bin directory. 1. Install one version of Tomcat (let's say 5.5). The service should run correctly. 2. Install the other version of Tomcat (6.0). Ignore the error message about the service. 3. Open a command window and cd to the Tomcat 6.0 bin directory. Run service.bat install Tomcat6. This will install the service with a different display name so it doesn't collide with the Tomcat 5.5 service. Note: service.bat might be missing if you installed Tomcat using the .exe installer. (I know some files are missing but I forget if service.bat is one of them.) If so, download the Tomcat .zip distro and copy the missing .bat files into your Tomcat's bin directory. -- Len On Fri, Jan 2, 2009 at 08:41, gen g...@bud.co.jp wrote: Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Servlets works fine, JSP's don't
Dear davefury, The logs doesn't give me any information about the error. The environment is Debian Etch with Apache2, mod_jk connector and tomcat 5. Hmmm, Debian... Are you using the sucky repackaged Tomcat from the distro, or the normal one that you downloaded from tomcat.pache.org manually? If you are using the repackaged one, the Debian package is a nonstandard configuration that (among other things) suppresses much of the debug output of Tomcat. To eliminate Apache from the equation, you could consider an ssh tunnel. I'd like to know that your Tomcat is not the Debian package first, though. -- Kees Jan http://java-monitor.com/forum/ kjkos...@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Servlets works fine, JSP's don't
From: Kees Jan Koster [mailto:kjkos...@gmail.com] Subject: Re: Servlets works fine, JSP's don't Hmmm, Debian... Are you using the sucky repackaged Tomcat from the distro, or the normal one that you downloaded from tomcat.pache.org manually? Similarly, what JRE is being used? If it's gcj, you will likely never get off the ground. Make sure you're using a real JRE (e.g., Sun or IBM) appropriate for your platform. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
tomcat and ssl
hi all, one of our customers went live recently with SSL enabled. they are having performance issues and on troubleshooting we found stdout.log growing rapidly. stdout log contains lot of hexa decimal charatcers and for each jsp call execution it seems to be dumping the handshake + encryption + decryption. etc... Plaintext before ENCRYPTION: len = 360 we are not able to figure which flag has turned on for data dump? thank you lucy...
RE: Is it possible to install both TOMCAT5.5 TOMCAT6?
Hi All, Thank all of you. This works. I ignore the error and do what Len said that just install the service. And it did works. Thanks, Len. Thanks again. -Original Message- From: Len Popp [mailto:len.p...@gmail.com] Sent: Saturday, January 03, 2009 3:06 AM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? The problem is that the Tomcat 5.5 and 6.0 installers are both using the same display name for the service (Apache Tomcat), and Windows doesn't allow that. You can install the service correctly using service.bat in Tomcat's bin directory. 1. Install one version of Tomcat (let's say 5.5). The service should run correctly. 2. Install the other version of Tomcat (6.0). Ignore the error message about the service. 3. Open a command window and cd to the Tomcat 6.0 bin directory. Run service.bat install Tomcat6. This will install the service with a different display name so it doesn't collide with the Tomcat 5.5 service. Note: service.bat might be missing if you installed Tomcat using the .exe installer. (I know some files are missing but I forget if service.bat is one of them.) If so, download the Tomcat .zip distro and copy the missing .bat files into your Tomcat's bin directory. -- Len On Fri, Jan 2, 2009 at 08:41, gen g...@bud.co.jp wrote: Hi, The error windows shown as, Failed to install Tomcat5 service. Check your setting and permissions. Ignore and continue anyway (not recommended)? Thanks _ From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 10:34 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, I download apache-tomcat-5.5.27.exe and just run it. And it just gives me the following error window. # I already had Tomcat6 installed. Thanks -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Friday, January 02, 2009 10:22 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? How are you installing? If you download the zip files for 5.5 and 6 from http://tomcat.apache.org/ , and unzip them in separate folders, then each can immediately be started directly using startup.bat in the bin of the respective installations, and will run properly. Dev environments such as Eclipse will support having multiple Tomcats installed like this: after telling Eclipse about the two installations, one simply chooses which to run from a menu. On Jan 2, 2009, at 7:57 AM, gen wrote: Hi, I use Win XP professional. SP2. Thanks -Original Message- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, January 02, 2009 9:57 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? What is the OS ? -Original Message- From: gen [mailto:g...@bud.co.jp] Sent: Friday, January 02, 2009 5:49 PM To: 'Tomcat Users List' Subject: RE: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi, Thanks for all of your early reply. To run only one server at a time is OK, but my problem is that I fail to install 5.5 after I installed 6. Do you mean that I have to ignore the error and just installed 5.5? # in this case only 6.0 got a service installed. Regards -Original Message- From: William Bonnet [mailto:will...@wbonnet.net] Sent: Friday, January 02, 2009 9:31 PM To: Tomcat Users List Subject: Re: Is it possible to install both TOMCAT5.5 TOMCAT6? Hi Gen You ca as look as they do not use the same port (8080 can be used only by one server at a time) regards W. gen a écrit : Hi, Is it possible to install both TOMCAT5.5 TOMCAT6 in 1 PC? I had installed Tomcat6. And I need to install TOMCAT 5.5 for another system. So I like to install my developing environment for both. But I failed when install 5.5. And I succeed to install 5.5 if I un-installed 6.0 1st. Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org