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.
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.
Created attachment 103081 [details] stacktrace from Netbeans' output panel.
Fixed in web-main f71d471baa00. Reregistration of the server in the IDE is required in order to use this fix.
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