This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162659 - BindException occurs when restart V3 in Profile mode
Summary: BindException occurs when restart V3 in Profile mode
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 02:39 UTC by davisn
Modified: 2009-09-25 23:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
logFile (36.03 KB, text/plain)
2009-04-15 02:40 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-04-15 02:39:43 UTC
-BindException occurs in GlassFish V3 tab when restart V3 Experimental Server in Profile mode
-The IDE should be able to stop the JVM_Bind port for the server to restart 

Steps To Reproduce:
1. Install NB 6.7 trunk (04/14/2009) build on winXP, jdk1.6.0_13
2. Start IDE with V3 experimental option (eg. ./netbean -J-Dorg.glassfish.v3.enableExperimentalFeatures=true)
3. Select Tools > Servers > click Add Server... button > select GlassFish V3 plugin > download the V3 server
4. Create a Web Module project > select GlassFish V3 for server runtime
5. From Profile memu, select Advanced commands > Run Profiler Calibration > select jdk1.6 for default > click OK button
6. From Profile menu, select Profile main Project > click OK button for jdk1.6 > click OK to enable Profiling of the
current default Web Project > click Run
7. Click Services tab > right-click at GlassFish V3 node, select Refresh menu
8. After the application completely executed, right-click at GlassFish V3, select restart menu
BUG: Exception occurs at the GlassFish V3 tab - attached is the full message log

INFO: Stopped bundle = org.glassfish.common.glassfish-naming [77]
INFO: Stopped bundle = com.sun.enterprise.config [33]
INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.
=================
Apache Felix Remote Shell [135] Listener.Acceptor::activate()
java.net.BindException: Address already in use: JVM_Bind
felix.fileinstall.poll  (ms)   5000
felix.fileinstall.dir            E:\Documents and Settings\Administrator\GlassFish_v3\glassfish\modules
felix.fileinstall.debug          1
felix.fileinstall.bundles.new.start          false
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.apache.felix.shell.remote.Listener$Acceptor.run(Listener.java:131)
        at java.lang.Thread.run(Thread.java:619)
INFO: Started bundle org.glassfish.core.kernel [126]
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [76]
INFO: Started bundle org.glassfish.common.util [30]
INFO: Started bundle com.sun.enterprise.config [33]
INFO: Started bundle org.glassfish.admin.config-api [32]
Comment 1 davisn 2009-04-15 02:40:27 UTC
Created attachment 80097 [details]
logFile
Comment 2 Vince Kraemer 2009-04-15 23:37:12 UTC
The server was able to restart though....

I do not see a similar behavior pattern with v3 Prelude, so this can wait for the next release.
Comment 3 Vince Kraemer 2009-09-25 23:23:30 UTC
i cannot reproduce this with a recent 6.8 and v3 combination