facebook

GlassFish 3.1.1 Startup fails in MyEclipse 9

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #321854 Reply

    sudmail4u
    Member

    Hi,

    I have installed GlassFish 3.1.1 on my machine( Windows XP sp3) and it’s working fine outside MyEclipse 9. But when i try to start/run the same on MyEclipse 9, it fails to startup. Please help me to get rid of this problem.

    The cosole log on MyEclipse 9 is………

    Launching GlassFish on Felix platform
    Dec 19, 2011 9:18:11 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
    WARNING: Record begin marker is not a proper value so using default.
    Dec 19, 2011 9:18:11 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
    WARNING: Record end marker is not a proper value so using default.
    Dec 19, 2011 9:18:11 PM com.sun.enterprise.server.logging.LogManagerService postConstruct
    WARNING: Log Format field separator is not a character so using default.
    2011-12-19T21:18:11.953+0530 org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
    INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
    2011-12-19T21:18:12.406+0530 grizzly
    SEVERE: doSelect IOException
    java.net.BindException: No free port within range: 8181=com.sun.enterprise.v3.services.impl.monitor.MonitorableSSLSelectorHandler@1346812
    at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
    at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
    at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
    at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    2011-12-19T21:18:12.406+0530 grizzly
    SEVERE: doSelect IOException
    java.net.BindException: No free port within range: 3700=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler@9cd006
    at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
    at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
    at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
    at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    2011-12-19T21:18:12.406+0530 grizzly
    SEVERE: doSelect IOException
    java.net.BindException: No free port within range: 7676=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler@1174ec5
    at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
    at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
    at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
    at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    2011-12-19T21:18:12.453+0530 javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter
    INFO: The Admin Console is already installed, but not yet loaded.
    2011-12-19T21:18:12.515+0530 javax.enterprise.system.core.com.sun.enterprise.v3.server
    INFO: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Felix (11,125ms), startup services(922ms), total(12,047ms)
    2011-12-19T21:18:12.515+0530 javax.enterprise.system.core.com.sun.enterprise.v3.server
    SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@11d75b9
    2011-12-19T21:18:12.531+0530 javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin
    INFO: Server shutdown initiated
    2011-12-19T21:18:12.562+0530 javax.enterprise.system.core.com.sun.enterprise.v3.server
    INFO: Already stopped, so just returning

    Attachments:
    You must be logged in to view attached files.
    #321855 Reply

    support-swapna
    Moderator

    sudmail4u ,

    Sorry that you are seeing this issue with MyEclipse.

    1) Can you share your Build ID from Help > About MyEclipse Enterprise Workbench > Build ID ?

    2) I am afraid there is another instance of Glassfish running. Please check these links :

    http://java.net/jira/browse/GLASSFISH-89
    http://stackoverflow.com/questions/6514363/java-net-bindexception-no-free-port-within-range-in-glassfish-3-1

    Make sure there is no java code running which is holding on to the ports. I also suggest you cross post to Glassfish forums for better support.

    Let us know how it works for you.

    #321861 Reply

    sudmail4u
    Member

    Hello Swapna,

    Thank You for reply, yes another instance of Glassfish is running on my machine and the machine was running for long time just re-started and the problem got resolved. Thanks for the hint.

    Thank You!

    #321904 Reply

    support-joy
    Member

    sudmail4u,

    Good to hear you are all set.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: GlassFish 3.1.1 Startup fails in MyEclipse 9

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in