- This topic has 3 replies, 3 voices, and was last updated 13 years ago by support-joy.
-
AuthorPosts
-
sudmail4uMemberHi,
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 returningAttachments:
You must be logged in to view attached files.
support-swapnaModeratorsudmail4u ,
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-1Make 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.
sudmail4uMemberHello 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!
support-joyMembersudmail4u,
Good to hear you are all set.
-
AuthorPosts