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 192136 - Starting JBoss 6 AS M5 within Netbeans complains of PermGen errors
Summary: Starting JBoss 6 AS M5 within Netbeans complains of PermGen errors
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 21:25 UTC by RayChandlerIII
Modified: 2011-11-16 16:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace from Netbeans' output panel. (40.20 KB, text/plain)
2010-11-18 21:25 UTC, RayChandlerIII
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RayChandlerIII 2010-11-18 21:25:13 UTC
When attempting to start a JBoss 6 M5 application server from inside Netbeans 7 Beta the server fails to start due to PermGen errors. The same server can be started outside of NetBeans 7 Beta without issues.

Increasing the maximum Heap size for Netbeans does not resolve the issue.
Increasing the maximum Heap size for JBoss 6 M5 does not resolve the issue.

Path to reproduction:

1. Import a project into Netbean 7 beta.
2. Click on the "services" tab.
3. Right click on "servers" tab and select add server.
4. Select "Jboss Application Server".
5. Point the location to a Jboss 6 M5 installation.
6. Click next. Click Finish.
7. Right click on "Jboss Application Server" in services panel.
8. Select "start" and watch it blow the heap.

Workaround:

1. Perform step 1 - 6 above.
2. Do not start the server from the IDE.
3. Open a terminal and browse to the Jboss AS6 M5 bin directory.
4. Run the Jboss AS6 M5 server from the terminal using ./run.sh
5. Netbeans 7 will pick up that the server has started.
Comment 1 RayChandlerIII 2010-11-18 21:25:56 UTC
Created attachment 103081 [details]
stacktrace from Netbeans' output panel.
Comment 2 Petr Hejl 2011-02-07 15:33:59 UTC
Fixed in web-main f71d471baa00. Reregistration of the server in the IDE is required in order to use this fix.
Comment 3 Quality Engineering 2011-02-08 06:17:21 UTC
Integrated into 'main-golden', will be available in build *201102080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f71d471baa00
User: Petr Hejl <phejl@netbeans.org>
Log: #192136 Starting JBoss 6 AS M5 within Netbeans complains of PermGen errors