MyEclipse Forums
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sudmail4u
Post subject: GlassFish 3.1.1 Startup fails in MyEclipse 9  PostPosted: Dec 20, 2011 - 05:59 AM



Joined: Dec 20, 2011
Posts: 4

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Dec 20, 2011 - 06:40 AM



Joined: Nov 11, 2010
Posts: 2148

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
sudmail4u
Post subject:   PostPosted: Dec 20, 2011 - 12:42 PM



Joined: Dec 20, 2011
Posts: 4

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!
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Dec 22, 2011 - 09:35 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

sudmail4u,

Good to hear you are all set.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits