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 187467 - IllegalArgumentException: Port value out of range: -1
Summary: IllegalArgumentException: Port value out of range: -1
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 08:53 UTC by cyrill
Modified: 2010-09-30 02:59 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170628


Attachments
stacktrace (618 bytes, text/plain)
2010-06-11 08:54 UTC, cyrill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyrill 2010-06-11 08:53:52 UTC
This bug was originally marked as duplicate of bug 162449, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 RC2 (Build 201005312001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: Got this error when trying to start a WebService using JBoss

GUEST: trying to start JBoss from Netbeans

GUEST: run jboss 5.01

GUEST: JBOSS starten

GUEST: trying to deploy to jboss (web-project)

GUEST: Start JBOSS 5.1.0.GA Web Domain

cyrill: Tried to start JBoss 5.1 with the web profile.

GUEST: Building Java Web Application with JBoss 5 server with web profile

GUEST: deploy to jboss 5.1

GUEST: Starting Jboss Application Server 5.1 beta

raulfonseca: starting jboss application server

GUEST: I was launching JBoss Application Server...

GUEST: Iniciando o jboss com dominio web ocorre o erro.

housecricket: error occures while starting JBOSS Server.

GUEST: this happen when i try to deploy the jboss application server




Stacktrace: 
java.lang.IllegalArgumentException: Port value out of range: -1
   at java.net.ServerSocket.<init>(ServerSocket.java:180)
   at java.net.ServerSocket.<init>(ServerSocket.java:97)
   at org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils.isPortFree(JBPluginUtils.java:585)
   at org.netbeans.modules.j2ee.jboss4.ide.JBStartRunnable.checkPorts(JBStartRunnable.java:260)
   at org.netbeans.modules.j2ee.jboss4.ide.JBStartRunnable.run(JBStartRunnable.java:135)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
Comment 1 cyrill 2010-06-11 08:54:05 UTC
Created attachment 100005 [details]
stacktrace
Comment 2 Petr Hejl 2010-09-29 12:35:16 UTC
Fixed in web-main be503620ea9a.
Comment 3 Petr Hejl 2010-09-29 12:36:58 UTC
Fixed in web-main be503620ea9a.
Comment 4 Quality Engineering 2010-09-30 02:59:04 UTC
Integrated into 'main-golden', will be available in build *201009300000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/be503620ea9a
User: Petr Hejl <phejl@netbeans.org>
Log: #187467 IllegalArgumentException: Port value out of range: -1