Results 1 to 3 of 3
  1. #1
    nileshchavan is offline Member
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Default eclipse with tomcat

    i have to configur tomcat5 with myeclipse 3.1 i am getting following error
    so pls help me
    Jun 23, 2008 12:03:45 PM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEnd point(PoolTcpEndpoint.java:264)
    at org.apache.coyote.http11.Http11Protocol.init(Http1 1Protocol.java:137)
    at org.apache.coyote.tomcat5.CoyoteConnector.initiali ze(CoyoteConnector.java:1429)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:609)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:528)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:424)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.initiali ze(CoyoteConnector.java:1431)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:609)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:528)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:424)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 578 ms
    Jun 23, 2008 12:03:45 PM org.apache.naming.NamingContext lookup
    WARNING: Unexpected exception resolving reference
    java.io.IOException: Cannot rename original file to C:\Tomcat5\conf\tomcat-users.xml.old
    at org.apache.catalina.users.MemoryUserDatabase.save( MemoryUserDatabase.java:523)
    at org.apache.catalina.users.MemoryUserDatabaseFactor y.getObjectInstance(MemoryUserDatabaseFactory.java :98)
    at org.apache.naming.factory.ResourceFactory.getObjec tInstance(ResourceFactory.java:129)
    at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:301)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:791)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:151)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:155)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:125)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.lifecycleEvent(GlobalResourcesLifecycleL istener.java:97)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2306)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener createMBeans
    SEVERE: Exception processing Global JNDI Resources
    javax.naming.NamingException: Cannot rename original file to C:\Tomcat5\conf\tomcat-users.xml.old
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:803)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:151)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:155)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:125)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.lifecycleEvent(GlobalResourcesLifecycleL istener.java:97)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2306)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jun 23, 2008 12:03:45 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Jun 23, 2008 12:03:45 PM org.apache.naming.NamingContext lookup
    WARNING: Unexpected exception resolving reference
    java.io.IOException: Cannot rename original file to C:\Tomcat5\conf\tomcat-users.xml.old
    at org.apache.catalina.users.MemoryUserDatabase.save( MemoryUserDatabase.java:523)
    at org.apache.catalina.users.MemoryUserDatabaseFactor y.getObjectInstance(MemoryUserDatabaseFactory.java :98)
    at org.apache.naming.factory.ResourceFactory.getObjec tInstance(ResourceFactory.java:129)
    at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:301)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:791)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:151)
    at org.apache.catalina.realm.UserDatabaseRealm.start( UserDatabaseRealm.java:252)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1075)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:478)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:480)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)
    javax.naming.NamingException: Cannot rename original file to C:\Tomcat5\conf\tomcat-users.xml.old
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:803)
    at org.apache.naming.NamingContext.lookup(NamingConte xt.java:151)
    at org.apache.catalina.realm.UserDatabaseRealm.start( UserDatabaseRealm.java:252)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1075)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:478)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:480)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.start:
    LifecycleException: No UserDatabase component found under key UserDatabase
    at org.apache.catalina.realm.UserDatabaseRealm.start( UserDatabaseRealm.java:259)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1075)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:478)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:480)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)
    Jun 23, 2008 12:03:45 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 78 ms
    StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :331)
    at java.net.ServerSocket.bind(ServerSocket.java:318)
    at java.net.ServerSocket.<init>(ServerSocket.java:185 )
    at org.apache.catalina.core.StandardServer.await(Stan dardServer.java:496)
    at org.apache.catalina.startup.Catalina.await(Catalin a.java:619)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:579)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:425)

  2. #2
    nileshchavan is offline Member
    Join Date
    Jun 2008
    Posts
    2
    Rep Power
    0

    Default

    whats up this yaar

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hello Nilesh,
    I think i can help u out.
    We get this error when the port(8080 in ur case) thats required by server is already in use by any other application or tool like communicator or so.

    So what needs to be done is, go to command prompt and type
    netstat -o
    this will give u some details and in that check the local address column which application is using it. Get its PID from last column and kill that process in task manager and then continue with ur work u ll nt get that error again.

    :D
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. Replies: 0
    Last Post: 04-09-2008, 08:48 AM
  2. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 10:33 AM
  3. Tomcat 5 for Eclipse
    By gapper in forum Eclipse
    Replies: 1
    Last Post: 02-07-2008, 06:08 AM
  4. Tomcat plugin for Eclipse
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-16-2008, 10:42 AM
  5. error Tomcat in eclipse
    By Marty in forum Eclipse
    Replies: 1
    Last Post: 05-06-2007, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •