wood burning stoves
The moose likes Tomcat and the fly likes Tomcat and Listener issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and Listener issue" Watch "Tomcat and Listener issue" New topic

Tomcat and Listener issue

Dan Parsons
Ranch Hand

Joined: May 30, 2007
Posts: 70
I have Tomcat 4.1.27 in my local development Windows XP workstation. I recently added a local development Oracle 9i database. The problem is when I start Oracle TNSListener on the local development workstation it prevents the Tomcat Container from starting. I hit the startup.bat and it pops up the DOS window, but it disappears after info creating MBeanServer command shows up. Basically Tomcat wont start. I checked the local web url Tomcat home and no Tomcat is available. My port for Tomcat I am using is port 8080 and Oracle TNS Listener uses port 1521 so I dont think that is an issue. Please advise because the priority for me is using Tomcat which I have working now but have to shut off TNS Listener.
I was hoping to have both of them available in my local development environment but for now I can only use one of them at a time.
[ March 07, 2008: Message edited by: Dan Parsons ]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15046

On Windows, you can use the command

netstat -a

to see which TCP ports are in use by which programs. Tomcat might be trying to open up more than just port 8080.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat and Listener issue
jQuery in Action, 3rd edition