Tomcat Issues;JVM_Bind:8080

Posted on 2003-10-30
Last Modified: 2012-06-27

i am having big problem.

I have done something stupid, install and reinstall the tomcat 4.1.2 and 5.12 again and again because i am having problem withthis exception (but only notice after i read the log).

Bootstrap: Create Catalina server
Catalina.start: LifecycleException:  Protocol handler initialization failed: Address already in use: JVM_Bind:8080
LifecycleException:  Protocol handler initialization failed: Address already in use: JVM_Bind:8080
      at org.apache.coyote.tomcat4.CoyoteConnector.initialize(
      at org.apache.catalina.core.StandardService.initialize(
      at org.apache.catalina.core.StandardServer.initialize(
      at org.apache.catalina.startup.CatalinaService.load(
      at org.apache.catalina.startup.CatalinaService.load(
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
      at java.lang.reflect.Method.invoke(
      at org.apache.catalina.startup.BootstrapService.init(
      at org.apache.catalina.startup.BootstrapService.main(
Bootstrap: Starting service
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Catalina.start: LifecycleException:  Protocol handler start failed: java.lang.NullPointerException
LifecycleException:  Protocol handler start failed: java.lang.NullPointerException
      at org.apache.coyote.tomcat4.CoyoteConnector.start(
      at org.apache.catalina.core.StandardService.start(
      at org.apache.catalina.core.StandardServer.start(
      at org.apache.catalina.startup.CatalinaService.start(
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
      at java.lang.reflect.Method.invoke(
      at org.apache.catalina.startup.BootstrapService.start(
      at org.apache.catalina.startup.BootstrapService.main(
Bootstrap: Service started


How can i get this things fixed??

opps, forget to mention, i can call the home page of the tomcat.
and also the tomcat administration page and the manager page.

But the small dos-promtp window didnt stay there after I have start the applciation server......
please help.

Question by:miri5698
LVL 50

Expert Comment

by:Ryan Chong
ID: 9655175
You may NOT uninstall your Tomcat clearly, your Tomcat may has been started as a service. try go to your Service Console, see if the tomcat is already running or not. When in your installation, do NOT check it as a service, you can run your Tomcat server manually.

Author Comment

ID: 9655244
yeah... no wonder....

ryancys, do you have experience in Eclipse??

I am having problem on setting up the tomcat with it...

I manage to plug the tomcat pug-in into the eclipse, but when i start the tomcat, it;s tell me
"Timeout while waiting for VM to connect. Retry?"

Any ideas what is going on?

I also go to the Windows-Preferences to change the configuration setting for the tomcat.
Tomcat Home:C:\Program Files\Apache Group\Tomcat 4.1
Configuration File :C:\Program Files\Apache Group\Tomcat 4.1\conf\server.xml

but when i click the button for starting the Tomcat...
i get the Timeout errr...
LVL 50

Expert Comment

by:Ryan Chong
ID: 9655369
Just another workaround, if problem still remains unsolved, try change the default port of 8080 in the server.xml to another port, like 8079, etc.. then try restart your Tomcat server, see if your problem is solved or not.

No, not clear what is it, sorry..

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.


Accepted Solution

f_98 earned 310 total points
ID: 9655558
you can always uninstall the service %catalina_home%\bin\tomcat.exe -uninstall "the-tomcat-service-name"

about the eclipse plugin; its not a plugin error; it's about the VM failing to initialize in debug mode; what jdk are you using? try upgrading to 1.4 if it's older.

Expert Comment

ID: 9655591
also you can try to check the option "Do not run tomcat in debug mode" in windows>pref>tomcat

Expert Comment

ID: 9775364
Do any one know how to uninstall tomcat at solaris.

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with Pie chart in Jsp 20 215
String format issue 13 91
J2SE 5.0 metadata 1 57
servlet concurrency 13 102
An article on effective troubleshooting
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 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