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
889 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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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