Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 11th, 2006, 03:00 PM
Registered User
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Oracle Servlet Engine Using with Tomcat

Hi friends,

         I have a problem to run tomcat.Frist i installed Tomcat5.0 and then i installed Oracle9i.
 I started my Tomcat and it is running.
While opening the Localhost:8080 it displaying the
 Oracle Servlet Engine
error
What i do.
 please help me out, It is Very Urgent.

 
Old May 18th, 2006, 11:45 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

From this I guess Oracle App server is running on the port you are referring to. Can you post the complete exception message?

 
Old May 23rd, 2006, 10:45 PM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi everyone,

I too get the same error when i start my Tomcat 5.0. Is it necessary to change the port no of tomcat.

Can any one guide me?

-haifriends

 
Old May 30th, 2006, 02:02 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you post the complete error message that you see?

Regards,
eNJay

 
Old June 3rd, 2007, 07:33 AM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If anyone solved this problem,please post the stops..

 
Old June 4th, 2007, 05:31 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

What i understood from the posted problem is that when you try to start tomcat service it is trying to start oracle's servlet engine. Which means the tomcat home variable has been updated by oracle when you've installed Oracle.
To Solve this set the CATALINA_HOME variable to the tomcat installation directory and then try to start the tomcat service.
To identify whether this is exactly the problem, open the command prompt and go to the tomcat installation directory and then to the bin directory. From there try to start the tomcat using catalina.bat file or catalina.sh [for linux env.] if it starts correctly then the problem is with CATALINA_HOME variable. Then try to set the CATALINA_HOME variable and then try to start the tomcat service.

Hope thats helpful.

Regards,
Rakesh
 
Old July 5th, 2007, 10:11 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My fastest workaround was switching Tomcat default port in %CATALINA_HOME%/conf/server.xml from
Code:
<Connector port="8080"...
to
Code:
<Connector port="8081"...
After this http://localhost:8081/ leads correctly to tomcat main page.
Hope this helps.
Bye
Claudio
 
Old July 13th, 2007, 03:16 PM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would suggest the following steps:

1. Do a 'netstat -ab' command at commandline
2. Check the PID of the process that is occupyng the 8080 port.
3. Open Task Manager and check the Process with that Process ID.
4. Should probably say java.exe or javaw.exe cox Oracle runs the Java process
5. Kill that Process and restart Tomcat.

This should hopefully fix the problem. However to fix the problem, I would recommend that you open Services and disable Oracle App Server if any.

-eNJay





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat and Servlet Beginner raghda Apache Tomcat 2 May 17th, 2007 06:32 AM
About Tomcat: How to use servlet-api.jar smshinde Apache Tomcat 3 July 12th, 2006 02:05 PM
Oracle Servlet Engine goback Oracle 0 May 11th, 2006 02:59 PM
Problem with Servlet from Tomcat to Apache holdmykidney Servlets 0 April 28th, 2005 07:38 AM
servlet with tomcat problem... thiNkspAce Apache Tomcat 2 October 23rd, 2004 05:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.