Re: TOMCAT 1.4
hi martin, actually, i just wanted to give the op tuosu some hints how to solve his problems. you puzzled me by asking *me* to double-check tomcat v 1.4 - actually tuosu (the op) has to double-check... kinda mixed it up. anyways, i guess tuoso has a few starting-points now. cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
If you're speaking of 1.4 JVM instead of Tomcat then you should make your distinctions clear as in I am using "Tomcat 5.x with JVM 1.4" Dont get mixed up again Good Luck --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Gregor Schneider" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Monday, January 01, 2007 11:45 AM Subject: Re: TOMCAT 1.4 > Hi Martin, > > sorry, don't get you: What do you mean by "double-checking version 1.4"? > As Chuck wrote above, there's no such version of Tomcat 1.4. However, > there is a Java-Version named 1.4.2 - maybe you're mixing it up? > > Maybe you should let us know what you're trying to achieve: > > I understood that you want to run Tomcat. I also understood that you > want to run httpd (I figure you're talking about Apache httpd). > > However, when you start Tomcat, you are getting an exception saying > that port 8080 is already in use. > > Now what you have to do is to figure out which process is blocking > port 8080 (my guess is, that it's already another instance of Tomcat > running). > > To check this, in Unix (Linux) there's a command to check what process > is listening on which port. I think it also should exist within > Solaris. > > The command is "netstat -lnp" which will give you an overview of the > processes listening to the network and showing the ports to which each > of those processes is bound. > > If the command doesn't exist within Solaris, maybe somebody in this > list can give a hint and show an alternative command. > > Anyways, please describe what you'd like to achieve, and maybe the > members of this list can sketch some solutions for you. > > And last not least: > > Be aware that, if you run Tomcat on port 8080 (the default port), then > the url will be http://your_host:8080 - otherwise port 80 is > requested, and then you'll either have to change the Listener within > Tomcat to listen to port 80 or you'll need something like Apache httpd > in front. > > Cheers > > Greg > -- > what's puzzlin' you, is the nature of my game > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: TOMCAT 1.4
Hi Martin, sorry, don't get you: What do you mean by "double-checking version 1.4"? As Chuck wrote above, there's no such version of Tomcat 1.4. However, there is a Java-Version named 1.4.2 - maybe you're mixing it up? Maybe you should let us know what you're trying to achieve: I understood that you want to run Tomcat. I also understood that you want to run httpd (I figure you're talking about Apache httpd). However, when you start Tomcat, you are getting an exception saying that port 8080 is already in use. Now what you have to do is to figure out which process is blocking port 8080 (my guess is, that it's already another instance of Tomcat running). To check this, in Unix (Linux) there's a command to check what process is listening on which port. I think it also should exist within Solaris. The command is "netstat -lnp" which will give you an overview of the processes listening to the network and showing the ports to which each of those processes is bound. If the command doesn't exist within Solaris, maybe somebody in this list can give a hint and show an alternative command. Anyways, please describe what you'd like to achieve, and maybe the members of this list can sketch some solutions for you. And last not least: Be aware that, if you run Tomcat on port 8080 (the default port), then the url will be http://your_host:8080 - otherwise port 80 is requested, and then you'll either have to change the Listener within Tomcat to listen to port 80 or you'll need something like Apache httpd in front. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
Greg Thanks for the input Can you double check the Tomcat version as 1.4? Thx, Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Gregor Schneider" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, January 01, 2007 7:31 AM Subject: Re: TOMCAT 1.4 > don't know about solaris too much, but the exception to me sounds as > if there's already an instance of tomcat running which is listenig on > port 8080. Port 8080 is the default port tomcat will listen to. > So, if you start tomcat and then start another instance, both > listening on port 8080, you will get the above error-message > (exception) as soon as you try to start the second tomcat-instance. > > try to see what's listening on port 8080: > > - su to root > - type "netstat -lnp" > - take a look what process is listening on port 8080 > > happy new year! > > greg > -- > what's puzzlin' you, is the nature of my game > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: TOMCAT 1.4
don't know about solaris too much, but the exception to me sounds as if there's already an instance of tomcat running which is listenig on port 8080. Port 8080 is the default port tomcat will listen to. So, if you start tomcat and then start another instance, both listening on port 8080, you will get the above error-message (exception) as soon as you try to start the second tomcat-instance. try to see what's listening on port 8080: - su to root - type "netstat -lnp" - take a look what process is listening on port 8080 happy new year! greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
Hi tuosu, Happy new year to you and Charles also. ;) The reason why you cant see using ps is because your tomcat startup was failed. Your tomcat startup failed is because that its port (8080) was occupied by someother running process. using lsof to check what port using 8080 is running. Li On 1/1/07, tuosu <[EMAIL PROTECTED]> wrote: Hello Charles, Honored to see your post, since i have seen your wonderful, worthful posts. Thanks for all your info. It was a typo - it should have been - 4.1.34 .profile = CATALINA_HOME=/tomcat-4.1.34 I am running solaris -8, postgresql-8.1.5-sol8-sparc-local j2sdk-1_4_2_13-solaris-sparc j2re-1_4_2_13-solaris-sparc J2SE_Solaris_8_Recommended patches rrdtool-1.0.49-sol8-sparc-local and opennms-1.2.8-sol8-sparc-local The question i have is - when i do ps -ae, i don't see tomcat as a deamon process. How can i make tomcat a process. If tomcat cannot be a process then how do i verify if tomcat is working or not. When i enter the following: ./catalina.sh run Using CATALINA_BASE: /tomcat-4.1.34 Using CATALINA_HOME: /tomcat-4.1.34 Using CATALINA_TMPDIR: /tomcat-4.1.34/temp Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out Using JAVA_HOME: /usr/java log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Please initialize the log4j system properly. Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java :1324) at org.apache.catalina.core.StandardService.initialize(StandardService.java :531) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java :2268) at org.apache.catalina.startup.Catalina.start(Catalina.java:457) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235) at org.apache.catalina.startup.Catalina.start(Catalina.java:489) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) I have no clue on this error message. Thanks in advance Caldarale, Charles R wrote: > >> From: tuosu [mailto:[EMAIL PROTECTED] >> Subject: TOMCAT 1.4 >> >> My O.S ==> sun solaris 8.0, running tomcat 1.4.2 > > It's highly unlikely you have Tomcat 1.4.2; the oldest level in the > archives is 3.0, and that's almost seven years old. The 1.4.2 probably > refers to the level of Java (JRE) you have installed. > > You probably need to download and install Tomcat from here: > http://tomcat.apache.org/download-55.cgi > > Since you are most likely running version 1.4.2 of the JVM, you'll also > need the JDK 1.4 Compatibility Package, from the same download page. > > - 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 start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8112283 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- When we invent time, we invent death.
Re: TOMCAT 1.4
Tomcat is typically installed as a service using commons-daemon from http://jakarta.apache.org/commons/daemon. As a result, it's process name in any install I've done is jsvc. You might also see it as java if you start it using a shell script directly. Individual netstat commands change from os to os, but in Mandriva Linux, executing netstat -tlnp as root will list all the listening TCP ports and the process names. Something similar might help you identify both your tomcat process when running and what's listening on port 8080. --David tuosu wrote: Hello Charles, Honored to see your post, since i have seen your wonderful, worthful posts. Thanks for all your info. It was a typo - it should have been - 4.1.34 .profile = CATALINA_HOME=/tomcat-4.1.34 I am running solaris -8, postgresql-8.1.5-sol8-sparc-local j2sdk-1_4_2_13-solaris-sparc j2re-1_4_2_13-solaris-sparc J2SE_Solaris_8_Recommended patches rrdtool-1.0.49-sol8-sparc-local and opennms-1.2.8-sol8-sparc-local The question i have is - when i do ps -ae, i don't see tomcat as a deamon process. How can i make tomcat a process. If tomcat cannot be a process then how do i verify if tomcat is working or not. When i enter the following: ./catalina.sh run Using CATALINA_BASE: /tomcat-4.1.34 Using CATALINA_HOME: /tomcat-4.1.34 Using CATALINA_TMPDIR: /tomcat-4.1.34/temp Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out Using JAVA_HOME: /usr/java log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Please initialize the log4j system properly. Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1324) at org.apache.catalina.core.StandardService.initialize(StandardService.java:531) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2268) at org.apache.catalina.startup.Catalina.start(Catalina.java:457) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235) at org.apache.catalina.startup.Catalina.start(Catalina.java:489) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) I have no clue on this error message. Thanks in advance Caldarale, Charles R wrote: From: tuosu [mailto:[EMAIL PROTECTED] Subject: TOMCAT 1.4 My O.S ==> sun solaris 8.0, running tomcat 1.4.2 It's highly unlikely you have Tomcat 1.4.2; the oldest level in the archives is 3.0, and that's almost seven years old. The 1.4.2 probably refers to the level of Java (JRE) you have installed. You probably need to download and install Tomcat from here: http://tomcat.apache.org/download-55.cgi Since you are most likely running version 1.4.2 of the JVM, you'll also need the JDK 1.4 Compatibility Package, from the same download page. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT 1.4
Hello Charles, Honored to see your post, since i have seen your wonderful, worthful posts. Thanks for all your info. It was a typo - it should have been - 4.1.34 .profile = CATALINA_HOME=/tomcat-4.1.34 I am running solaris -8, postgresql-8.1.5-sol8-sparc-local j2sdk-1_4_2_13-solaris-sparc j2re-1_4_2_13-solaris-sparc J2SE_Solaris_8_Recommended patches rrdtool-1.0.49-sol8-sparc-local and opennms-1.2.8-sol8-sparc-local The question i have is - when i do ps -ae, i don't see tomcat as a deamon process. How can i make tomcat a process. If tomcat cannot be a process then how do i verify if tomcat is working or not. When i enter the following: ./catalina.sh run Using CATALINA_BASE: /tomcat-4.1.34 Using CATALINA_HOME: /tomcat-4.1.34 Using CATALINA_TMPDIR: /tomcat-4.1.34/temp Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out Using JAVA_HOME: /usr/java log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Please initialize the log4j system properly. Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080 at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1324) at org.apache.catalina.core.StandardService.initialize(StandardService.java:531) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2268) at org.apache.catalina.startup.Catalina.start(Catalina.java:457) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235) at org.apache.catalina.startup.Catalina.start(Catalina.java:489) at org.apache.catalina.startup.Catalina.execute(Catalina.java:345) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:150) I have no clue on this error message. Thanks in advance Caldarale, Charles R wrote: > >> From: tuosu [mailto:[EMAIL PROTECTED] >> Subject: TOMCAT 1.4 >> >> My O.S ==> sun solaris 8.0, running tomcat 1.4.2 > > It's highly unlikely you have Tomcat 1.4.2; the oldest level in the > archives is 3.0, and that's almost seven years old. The 1.4.2 probably > refers to the level of Java (JRE) you have installed. > > You probably need to download and install Tomcat from here: > http://tomcat.apache.org/download-55.cgi > > Since you are most likely running version 1.4.2 of the JVM, you'll also > need the JDK 1.4 Compatibility Package, from the same download page. > > - 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 start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8112283 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT 1.4
> From: tuosu [mailto:[EMAIL PROTECTED] > Subject: TOMCAT 1.4 > > My O.S ==> sun solaris 8.0, running tomcat 1.4.2 It's highly unlikely you have Tomcat 1.4.2; the oldest level in the archives is 3.0, and that's almost seven years old. The 1.4.2 probably refers to the level of Java (JRE) you have installed. You probably need to download and install Tomcat from here: http://tomcat.apache.org/download-55.cgi Since you are most likely running version 1.4.2 of the JVM, you'll also need the JDK 1.4 Compatibility Package, from the same download page. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT 1.4
httpd is normally not for tomcat but for your webserver like apache ... and you get 404 or 405 is because your app is not deployed. Check whether your tomcat has been installed properly try to run startup.sh to see if there is any error On 1/1/07, tuosu <[EMAIL PROTECTED]> wrote: hello, My O.S ==> sun solaris 8.0, running tomcat 1.4.2 I have every thing configured as documented. When i do a ps -ae, i don't see process associated with TOMCAT/. I also don't see httpd on web-page when i click admin manager or manager i get error 404 or 405 please help. -- View this message in context: http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8111813 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- When we invent time, we invent death.