Hi,
Is there any yum repo which contains tomcat 6 and java 1.6?
Thanks
Regards WL
Am Dienstag, den 25.08.2009, 09:23 +0200 schrieb CentOS List:
Hi,
Is there any yum repo which contains tomcat 6 and java 1.6?
Thanks
Regards WL
CentOS 5.3 ships java-1.6.0-openjdk.
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Is there any yum repo which contains tomcat 6 and java 1.6?
CentOS 5.3 ships java-1.6.0-openjdk.
thanks
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Any insight?
Regards WL
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall that hasn't been adjusted to allow access to port 8080?
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat
default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall that
hasn't been adjusted to allow access to port 8080?
Thanks for the reply. Netstat does not show port 8080. Iptables is not running.
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:mysql *:* LISTEN tcp 0 0 localhost.localdomain:8005 *:* LISTEN tcp 0 0 *:8009 *:* LISTEN tcp 0 0 *:webcache *:* LISTEN tcp 0 0 *:http *:* LISTEN tcp 0 0 *:ssh *:* LISTEN
But tracking the log /var/log/tomcat5/catalina.out I have it running
Aug 26, 2009 5:33:05 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/jav a-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0 /jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Aug 26, 2009 5:33:05 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 780 ms Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Aug 26, 2009 5:33:06 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Aug 26, 2009 5:33:06 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/28 config=null Aug 26, 2009 5:33:06 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Aug 26, 2009 5:33:06 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 435 ms
On Tue, 2009-08-25 at 21:34 +0800, CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat
default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall that
hasn't been adjusted to allow access to port 8080?
Thanks for the reply. Netstat does not show port 8080. Iptables is not running.
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:mysql *:* LISTEN tcp 0 0 localhost.localdomain:8005 *:* LISTEN tcp 0 0 *:8009 *:* LISTEN tcp 0 0 *:webcache *:* LISTEN tcp 0 0 *:http *:* LISTEN tcp 0 0 *:ssh *:* LISTEN
But tracking the log /var/log/tomcat5/catalina.out I have it running
Aug 26, 2009 5:33:05 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/jav a-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0 /jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Aug 26, 2009 5:33:05 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 780 ms Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Aug 26, 2009 5:33:05 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Aug 26, 2009 5:33:05 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Aug 26, 2009 5:33:06 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Aug 26, 2009 5:33:06 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/28 config=null Aug 26, 2009 5:33:06 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Aug 26, 2009 5:33:06 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 435 ms
Netstat is calling port 8080 webcache, so tomcat is listening. Have you checked your firewall?
Brad
I did a yum -y install tomcat5 and tomcat got installed with openjdk.
But
somehow if I goto http://localhost:8080 I am unable to get to the
tomcat
default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall
that
hasn't been adjusted to allow access to port 8080?
Thanks for the reply. Netstat does not show port 8080. Iptables is not running.
<snip>
Netstat is calling port 8080 webcache, so tomcat is listening. Have you checked your firewall?
I do not have a firewall.. Iptables is off
On Tue, 2009-08-25 at 21:47 +0800, CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk.
But
somehow if I goto http://localhost:8080 I am unable to get to the
tomcat
default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall
that
hasn't been adjusted to allow access to port 8080?
Thanks for the reply. Netstat does not show port 8080. Iptables is not running.
<snip>
Netstat is calling port 8080 webcache, so tomcat is listening. Have you checked your firewall?
I do not have a firewall.. Iptables is off
Is SELinux running? Have you checked /var/log/messages or /var/log/audit/audit.log if you have it? Is there anything in your tomcat logs? Do you get an error when you try to pull up the website?
Brad
<snip>
Is SELinux running? Have you checked /var/log/messages or /var/log/audit/audit.log if you have it? Is there anything in your tomcat logs? Do you get an error when you try to pull up the website?
SElinux is setup to disabled. There is no log or anyting related. I do have a folder tomcat5 in /var/log/ and the only file is catalina.out.
On Tue, 2009-08-25 at 22:24 +0800, CentOS List wrote:
<snip>
Is SELinux running? Have you checked /var/log/messages or /var/log/audit/audit.log if you have it? Is there anything in your tomcat logs? Do you get an error when you try to pull up the website?
SElinux is setup to disabled. There is no log or anyting related. I do have a folder tomcat5 in /var/log/ and the only file is catalina.out.
You might try a simple index.html under with some text in it before trying your application just to make sure that tomcat is working. We use a custom tomcat setup so I am unsure of the defaults as it's shipped, but there should be an access log somewhere as well.
Brad
CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat
default site.
Any insight?
Does netstat show anything listening on 8080? Do you have a firewall that
hasn't been adjusted to allow access to port 8080?
Thanks for the reply. Netstat does not show port 8080. Iptables is not running.
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:mysql *:* LISTEN tcp 0 0 localhost.localdomain:8005 *:* LISTEN tcp 0 0 *:8009 *:* LISTEN tcp 0 0 *:webcache *:*
Webcache is port 8080.
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But
somehow if I goto http://localhost:8080
I am unable to get to the tomcat default site.
Correction. I got to a blank page.
CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But
somehow if I goto http://localhost:8080
I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
--- Les Mikesell lesmikesell@gmail.com
I did a yum -y install tomcat5 and tomcat got installed with openjdk.
But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat ================================ jakarta-commons-collections-tomcat5.i386 : Jakarta Commons Collection dependency : for Tomcat5 mod_jk-ap20.i386 : Tomcat mod_jk connector for Apache 2.0.x mod_jk-debuginfo.i386 : Debug information for package mod_jk mod_jk-manual.i386 : Tomcat mod_jk connector manual mod_jk-tools.i386 : Analysis and report tools for mod_jk struts-webapps-tomcat5.i386 : Sample struts webapps for tomcat5 tomcat-native.i386 : Tomcat native library tomcat5.i386 : Apache Servlet/JSP Engine, RI for Servlet 2.4/JSP 2.0 API tomcat5-admin-webapps.i386 : The administrative web applications for Jakarta : Tomcat tomcat5-common-lib.i386 : Libraries needed to run the Tomcat Web container : (part) tomcat5-jasper.i386 : Compiler JARs and associated scripts for tomcat5 tomcat5-jasper-javadoc.i386 : Javadoc generated documentation for tomcat5-jasper tomcat5-jsp-2.0-api.i386 : Jakarta Tomcat Servlet and JSP implementation classes tomcat5-jsp-2.0-api-javadoc.i386 : Javadoc generated documentation for : tomcat5-jsp-2.0-api tomcat5-server-lib.i386 : Libraries needed to run the Tomcat Web container : (part) tomcat5-servlet-2.4-api.i386 : Jakarta Tomcat Servlet implementation classes tomcat5-servlet-2.4-api-javadoc.i386 : Javadoc generated documentation for : tomcat5-servlet-2.4-api tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk.
But
somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for Jakarta : Tomcat tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for
Jakarta
: Tomcat
tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.
Yes those are installed. I will need to have the administration site To manage. But it wont show up. Just a blank page
CentOS List wrote:
I did a yum -y install tomcat5 and tomcat got installed with openjdk. But somehow if I goto http://localhost:8080 I am unable to get to the tomcat default site.
Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for
Jakarta
: Tomcat
tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.
Yes those are installed. I will need to have the administration site To manage. But it wont show up. Just a blank page
Have you installed anything else that might conflict or replace components? Does 'java -version' show java version "1.6.0"? The default page should be what is at /var/lib/tomcat5/webapps/ROOT/index.jsp. Does that look normal? Do you get something at http://localhost:8080/admin or http://localhost:8080/manager/html?
> I did a yum -y install tomcat5 and tomcat got installed with
openjdk.
> But > somehow if I goto http://localhost:8080 > I am unable to get to the tomcat default site.
> Correction. I got to a blank page.
Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for
Jakarta
: Tomcat
tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.
Yes those are installed. I will need to have the administration site To manage. But it wont show up. Just a blank page
Have you installed anything else that might conflict or replace components? Does 'java -version' show java version "1.6.0"? The default page should be what is at /var/lib/tomcat5/webapps/ROOT/index.jsp. Does that look normal? Do you get something at http://localhost:8080/admin or http://localhost:8080/manager/html?
[root@localhost ~]# java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode)
I do have a /var/lib/tomcat5/webapps but it does not has the ROOT folder
[root@localhost webapps]# ls -la total 16 drwxrwxr-x 2 root tomcat 4096 Jul 28 05:24 . drwxr-xr-x 6 root root 4096 Aug 26 04:17 ..
Since there isn't a ROOT folder, I guess I cannot access to admin or the manager site. But how come I don't have the ROOT folder and I am unable to locate it anywhere.
CentOS List wrote:
>> I did a yum -y install tomcat5 and tomcat got installed with
openjdk.
>> But >> somehow if I goto http://localhost:8080 >> I am unable to get to the tomcat default site.
>> Correction. I got to a blank page. Do a 'yum search tomcat' and note that there are several packages. If you want the admin site and sample webapps you have to install the corresponding packages.
Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for
Jakarta
: Tomcat
tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you would.
Yes those are installed. I will need to have the administration site To manage. But it wont show up. Just a blank page
Have you installed anything else that might conflict or replace components? Does 'java -version' show java version "1.6.0"? The default page should be what is at /var/lib/tomcat5/webapps/ROOT/index.jsp. Does that look normal? Do you get something at http://localhost:8080/admin or http://localhost:8080/manager/html?
[root@localhost ~]# java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode)
I do have a /var/lib/tomcat5/webapps but it does not has the ROOT folder
[root@localhost webapps]# ls -la total 16 drwxrwxr-x 2 root tomcat 4096 Jul 28 05:24 . drwxr-xr-x 6 root root 4096 Aug 26 04:17 ..
Since there isn't a ROOT folder, I guess I cannot access to admin or the manager site. But how come I don't have the ROOT folder and I am unable to locate it anywhere.
Try an "rpm -e tomcat5-webapps" and let yum install it again.
>>> I did a yum -y install tomcat5 and tomcat got installed with
openjdk.
>>> But >>> somehow if I goto http://localhost:8080 >>> I am unable to get to the tomcat default site.
>>> Correction. I got to a blank page. > Do a 'yum search tomcat' and note that there are several packages.
If
> you want the admin site and sample webapps you have to install the > corresponding packages. Results as follows:-
=============================== Matched: tomcat
tomcat5-admin-webapps.i386 : The administrative web applications for
Jakarta
: Tomcat
tomcat5-webapps.i386 : Web applications for Jakarta Tomcat
Are these two installed? Or do you want them? If you are going to supply your own ROOT application you shouldn't need them, but if you want to see something by default or have web administration access you
would.
Yes those are installed. I will need to have the administration site To manage. But it wont show up. Just a blank page
Have you installed anything else that might conflict or replace components? Does 'java -version' show java version "1.6.0"? The default page should be what is at /var/lib/tomcat5/webapps/ROOT/index.jsp. Does that look normal? Do you
get something at http://localhost:8080/admin or http://localhost:8080/manager/html?
[root@localhost ~]# java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode)
I do have a /var/lib/tomcat5/webapps but it does not has the ROOT folder
[root@localhost webapps]# ls -la total 16 drwxrwxr-x 2 root tomcat 4096 Jul 28 05:24 . drwxr-xr-x 6 root root 4096 Aug 26 04:17 ..
Since there isn't a ROOT folder, I guess I cannot access to admin or the manager site. But how come I don't have the ROOT folder and I am unable to locate it anywhere.
Try an "rpm -e tomcat5-webapps" and let yum install it again.
Thanks a lot! It is working now