Re: can not start tomcat and the jre_home var error
Ok, it works, thanks for all of you . :) 2010/3/5 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > > Did you remove the XML comment markers from around the list? > > > > Yes , I did . > > Clearly, you did not remove them. > > > This is the file: > > tomcat-user.xml--- > > > > ^^^ > ||| > And that? > > > > > > > > BTW, is there a way to start tomcat with a terminal window which can > > show logs just like that of in the windows platform? > > Use the catalina.sh script. > > - 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 > >
RE: can not start tomcat and the jre_home var error
> From: maven apache [mailto:apachemav...@gmail.com] > Subject: Re: can not start tomcat and the jre_home var error > > > Did you remove the XML comment markers from around the list? > > Yes , I did . Clearly, you did not remove them. > This is the file: > tomcat-user.xml--- > ^^^ ||| And that? > > > BTW, is there a way to start tomcat with a terminal window which can > show logs just like that of in the windows platform? Use the catalina.sh script. - 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
Re: can not start tomcat and the jre_home var error
2010/3/4 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > I have config the manager by adding " > > > > Did you remove the XML comment markers from around the list? > Yes , I did . This is the file: tomcat-user.xml--- --- BTW, is there a way to start tomcat with a terminal window which can show logs just like that of in the windows platform? For example, this is the window in win-platform:http://imagebin.org/87583 However in the LInux,after run the startup.sh,http://imagebin.org/87585 it just show some evn vars, it did not give some start information and etc... I would like it work as shown in the win-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 > >
RE: can not start tomcat and the jre_home var error
> From: maven apache [mailto:apachemav...@gmail.com] > Subject: Re: can not start tomcat and the jre_home var error > > I have config the manager by adding " > Did you remove the XML comment markers from around the list? - 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
Re: can not start tomcat and the jre_home var error
04.03.2010 15:13, maven apache: > Now I found there is something wrong with the apr component because I got > the info: > > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: > /home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386/client:/home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386:/home/kk/ProgramFiles/jdk1.6.0_17/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib This is just an INFOrmational message that tells you that the native component is not installed. > And the whole logs can be found here:http://dpaste.com/167789/ > Does it matter? If it starts with "SEVERE", it does matter. WAG: By starting Tomcat using sudo, a work directory was created that isn't writeable by an unprivileged user. Remove work and try again. -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can not start tomcat and the jre_home var error
On 4 March 2010 14:13, maven apache wrote: > 2010/3/4 Markus Schönhaber > >> 04.03.2010 15:01, maven apache: >> >> > 2010/3/4 Caldarale, Charles R >> > >> >>> From: maven apache [mailto:apachemav...@gmail.com] >> >>> Subject: Re: can not start tomcat and the jre_home var error >> >>> >> >>> In the terminal , I enter this the bin directory and run " sudo >> >>> ./startup.sh" >> >> >> >> Try it without the sudo. You should never run Tomcat as root. >> >> >> > Thanks, it works. But I wonder why? >> >> Because, by default, sudo resets the environment. >> > Oh, thanks I got it. > Now I found there is something wrong with the apr component because I got > the info: > > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: > /home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386/client:/home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386:/home/kk/ProgramFiles/jdk1.6.0_17/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib > > And the whole logs can be found here:http://dpaste.com/167789/ > Does it matter? That depends if you want to use the APR library or not. Try:- http://tomcat.apache.org/tomcat-6.0-doc/apr.html Cheers, Phil. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can not start tomcat and the jre_home var error
I have config the manager by adding " Then I found that I can not enter the manager page by a 403 error. I restart the tomcat many times, and I am sure I enter the correct username and password. However I always got the 403 error page.
Re: can not start tomcat and the jre_home var error
2010/3/4 Markus Schönhaber > 04.03.2010 15:01, maven apache: > > > 2010/3/4 Caldarale, Charles R > > > >>> From: maven apache [mailto:apachemav...@gmail.com] > >>> Subject: Re: can not start tomcat and the jre_home var error > >>> > >>> In the terminal , I enter this the bin directory and run " sudo > >>> ./startup.sh" > >> > >> Try it without the sudo. You should never run Tomcat as root. > >> > > Thanks, it works. But I wonder why? > > Because, by default, sudo resets the environment. > Oh, thanks I got it. Now I found there is something wrong with the apr component because I got the info: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386/client:/home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386:/home/kk/ProgramFiles/jdk1.6.0_17/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib And the whole logs can be found here:http://dpaste.com/167789/ Does it matter? > > -- > Regards > mks > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: can not start tomcat and the jre_home var error
04.03.2010 15:01, maven apache: > 2010/3/4 Caldarale, Charles R > >>> From: maven apache [mailto:apachemav...@gmail.com] >>> Subject: Re: can not start tomcat and the jre_home var error >>> >>> In the terminal , I enter this the bin directory and run " sudo >>> ./startup.sh" >> >> Try it without the sudo. You should never run Tomcat as root. >> > Thanks, it works. But I wonder why? Because, by default, sudo resets the environment. -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can not start tomcat and the jre_home var error
2010/3/4 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > In the terminal , I enter this the bin directory and run " sudo > > ./startup.sh" > > Try it without the sudo. You should never run Tomcat as root. > Thanks, it works. But I wonder why? > > - 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 > >
Re: can not start tomcat and the jre_home var error
04.03.2010 14:56, maven apache: > 2010/3/4 Markus Schönhaber >> Why do you start Tomcat as root? >> > Ok, I tried it again. ? -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can not start tomcat and the jre_home var error
2010/3/4 Markus Schönhaber > 04.03.2010 14:44, maven apache: > > > The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24' > > In the terminal , I enter this the bin directory and run " sudo > > ./startup.sh" > > Why do you start Tomcat as root? > Ok, I tried it again. > > -- > Regards > mks > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
RE: can not start tomcat and the jre_home var error
> From: maven apache [mailto:apachemav...@gmail.com] > Subject: Re: can not start tomcat and the jre_home var error > > In the terminal , I enter this the bin directory and run " sudo > ./startup.sh" Try it without the sudo. You should never run Tomcat as root. - 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
Re: can not start tomcat and the jre_home var error
04.03.2010 14:44, maven apache: > The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24' > In the terminal , I enter this the bin directory and run " sudo > ./startup.sh" Why do you start Tomcat as root? -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: can not start tomcat and the jre_home var error
> From: David Smith [mailto:d...@cornell.edu] > Subject: Re: can not start tomcat and the jre_home var error > > > It seems that tomcat did not identify the JAVA_HOME var, so how to do > > next in my case? > > How exactly are you starting tomcat? It's important to understand > where tomcat is getting it's environment from. The determination of the values for JAVA_HOME and JRE_HOME is done in the setclasspath.sh script; you might want to put in a few echo statements to see what's going on in there. - 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
Re: can not start tomcat and the jre_home var error
04.03.2010 14:00, maven apache: > I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 > , also I have set up a permanent environment variable JAVA_HOME which link > to the jdk directory. > I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to > "/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JAVA_HOME env var > existed, so I run the startup.sh directly,however I can not enter the " > http://localhost:8080"; and I got the following message: > > Using CATALINA_BASE: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > Using CATALINA_HOME: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > Using CATALINA_TMPDIR: /home/kk/ProgramFiles/apache-tomcat-6.0.24/temp > Using JRE_HOME:/usr > Using CLASSPATH: > /home/kk/ProgramFiles/apache-tomcat-6.0.24/bin/bootstrap.jar > > It seems that tomcat did not identify the JAVA_HOME var, so how to do next > in my case? Unset JRE_HOME before starting Tomcat, make sure JAVA_HOME really is exported. -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can not start tomcat and the jre_home var error
2010/3/4 David Smith > On 3/4/2010 8:00 AM, maven apache wrote: > > Hi: > > I am using Ubuntu9.10. I have install jdk1.6 in > /home/kk/ProgramFiles/jdk1.6 > > , also I have set up a permanent environment variable JAVA_HOME which > link > > to the jdk directory. > > I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to > > "/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JAVA_HOME env var > > existed, so I run the startup.sh directly,however I can not enter the " > > http://localhost:8080"; and I got the following message: > > > > Using CATALINA_BASE: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > > Using CATALINA_HOME: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > > Using CATALINA_TMPDIR: /home/kk/ProgramFiles/apache-tomcat-6.0.24/temp > > Using JRE_HOME:/usr > > Using CLASSPATH: > > /home/kk/ProgramFiles/apache-tomcat-6.0.24/bin/bootstrap.jar > > > > It seems that tomcat did not identify the JAVA_HOME var, so how to do > next > > in my case? > > > > > How exactly are you starting tomcat? It's important to understand where > tomcat is getting it's environment from. > The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24' In the terminal , I enter this the bin directory and run " sudo ./startup.sh" > > --David > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: can not start tomcat and the jre_home var error
On 3/4/2010 8:00 AM, maven apache wrote: > Hi: > I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 > , also I have set up a permanent environment variable JAVA_HOME which link > to the jdk directory. > I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to > "/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JAVA_HOME env var > existed, so I run the startup.sh directly,however I can not enter the " > http://localhost:8080"; and I got the following message: > > Using CATALINA_BASE: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > Using CATALINA_HOME: /home/kk/ProgramFiles/apache-tomcat-6.0.24 > Using CATALINA_TMPDIR: /home/kk/ProgramFiles/apache-tomcat-6.0.24/temp > Using JRE_HOME:/usr > Using CLASSPATH: > /home/kk/ProgramFiles/apache-tomcat-6.0.24/bin/bootstrap.jar > > It seems that tomcat did not identify the JAVA_HOME var, so how to do next > in my case? > > How exactly are you starting tomcat? It's important to understand where tomcat is getting it's environment from. --David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
can not start tomcat and the jre_home var error
Hi: I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 , also I have set up a permanent environment variable JAVA_HOME which link to the jdk directory. I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to "/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JAVA_HOME env var existed, so I run the startup.sh directly,however I can not enter the " http://localhost:8080"; and I got the following message: Using CATALINA_BASE: /home/kk/ProgramFiles/apache-tomcat-6.0.24 Using CATALINA_HOME: /home/kk/ProgramFiles/apache-tomcat-6.0.24 Using CATALINA_TMPDIR: /home/kk/ProgramFiles/apache-tomcat-6.0.24/temp Using JRE_HOME:/usr Using CLASSPATH: /home/kk/ProgramFiles/apache-tomcat-6.0.24/bin/bootstrap.jar It seems that tomcat did not identify the JAVA_HOME var, so how to do next in my case?