Solved

Apache Tomcat, Tomcat, 6.0.16, can't browse to manager, can't establish a connection to the server at itzi.jakeros.com:8081.

Posted on 2008-06-23
11
891 Views
Last Modified: 2013-12-02
Hello everyone,

I have installed tomcat but I can't navigate to its manager and I need some help figuring out the parts that I am missing please.

I work on a windows xp machine, but this installation is taking place in a linux server using a SecureCRT session.

The default port for tomcat 8080 is already in use by apache so I had to modify the server.xml  to use port 8081


<Connector port="8081" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
               
I did set up the JAVA_HOME and CATALINA_HOME variables.

I was able to do until the $CATALINA_HOME/bin/startup.sh (I believe so..)

and when I try to navigate to URL: http://itzi.jakeros.com:8081/

I get message "Unable to connect" Firefox can't estabish a connection to the server.....

I am not sure what I'm missing, I was not sure if I need to specify the domain such as http://itzi.jakeros.com

on the server.xml file instead that using localhost?

can someone please be able to offer some help?

Thank you,
server.xml.txt
0
Comment
Question by:itortu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
11 Comments
 

Author Comment

by:itortu
ID: 21847760
the tomcat installation directory is as

/ppm/apache-tomcat-6.0.16

the java directory folder is

/ppm/j2sdj1.4.2_17

please let me know if i need to provide additional details to obtain help or a solution.

thank you.
0
 

Author Comment

by:itortu
ID: 21847805
i tried to specify the domain in here:

 <Host name="itzi.jakeros.com"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">

i still get the same message.
0
 
LVL 35

Expert Comment

by:girionis
ID: 21860466
What happens if you try to conenct to it from the same machine and by using

 http://127.0.0.1:8081/

Or what happens if you try to connect by using the machine's IP?
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:itortu
ID: 21861274
I still get the same error.

I need to indicate that when I run the ./startup.sh

I then open the catalina.out file

and its contents are pasted below.

it seems there is a conflict with the versions but I am not sure if that could be one of the problems, and how to fix it.

would you be able to give me a hand?

thank you.
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

Open in new window

0
 

Author Comment

by:itortu
ID: 21861284
i am using tomcat 6.0.16 and java sdk 1.4.2_17
0
 
LVL 35

Accepted Solution

by:
girionis earned 350 total points
ID: 21861365
The cause of this error is a class and virtual machine mismatch. It means that a class that was compiled with Java 1.5 is trying to run on a 1.4 environment. In other words you are using Java version 1.4 to run a 1.5 version class. That is, Tomcat 6.0 needs Java 1.5 and above ot run.
0
 

Author Comment

by:itortu
ID: 21861392
i understand, would you please point me in the right direction to get Java 1.5?
I get lost on the downloads page for sun, i am not familiar yet with it.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 350 total points
ID: 21861412
0
 

Author Comment

by:itortu
ID: 21861415
for example, from this page which is the right download?

http://java.sun.com/javase/downloads/index_jdk5.jsp

is it this one: Java Runtime Environment (JRE) 5.0 Update 15

or this one:  JDK 5.0 Update 15

0
 

Author Comment

by:itortu
ID: 21867504
hey gigionis thank you for your help, now i am able to navigate to tomcat.

i am closing this question but i would like to ask, now i have to redirect requests to apache, to tomcat.
do you know what version of mod_jk I need related to the verisions I have of apache, tomcat and java?

apache 2
tomcat 6.0.16
java jdk 1.5.0_14

thank you
0
 
LVL 35

Expert Comment

by:girionis
ID: 21870613
Thanks for accepting, glad I was of help :)

As per your other question you need the mod_jk that comes with Apache 2.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
What You Need to Know when Searching for a Webhost Provider
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question