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.
Product Version: NetBeans IDE Dev (Build 200807100006) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05 System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb) Userdir: /home/tester/.netbeans/dev I cannot start jboss server. See more in attachment.
Created attachment 64265 [details] Netbeans output log
Are you able to start JBoss from command line by executing run.sh script in bin directory? Thanks It seems as issue in JB: Caused by: java.lang.OutOfMemoryError: Java heap space
With some exceptions yes. See more in attached log file.
Created attachment 64302 [details] jBoss log from terminal
Hi reporter, thanks for your additional info. However, the errors in message log are different and you faced the different issues when you ran the server from IDE and command line. You started the JBoss with jdk 1.5.0_13 from IDE and jdk 1.6.0_03 from CL (I guess JDK 6 is default on your system). The issue with jdk 1.6 is described in this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161789#4161789 and will be resolved by jdk upgrade to Java SE 6 Update 10 Beta. Can you please to set jdk 1.5 as default JDK on your system and start JBoss from CL again? In case you will get the same exception then the issue is related to server not to IDE.
On JDK1.5_13 running jBoos 5... CR1 running ok!
The bug is really reproducible when you start JBoss in IDE only. The workaround is setup -Xms128m -Xmx512m -XX:MaxPermSize=256m Platform tab (choose JBoss node in service tab, invoke Properties -> VM Options).
Works fine for me: Product Version: NetBeans IDE Dev (Build 080708) Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Same problem as I reported but without workaround setup mentioned by blaha. Product Version: NetBeans IDE Dev (Build 200807101204) Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Userdir: /home/josin/.netbeans/dev
JBoss run.sh script reads JAVA_OPTS from run.conf (where -Xmx and -Xms parameters are stored) only if JAVA_OPTS is not configured from command line. Solution could be to prefill these values as VM parameters. I'm not sure about machines with little memory, but where JBoss was able to run somehow.
Fixed the summary - it was not possible to find the issue;)...
Fixed in main d071c4adb118. Default VM properties added for JBoss5.
Integrated into 'main-golden', available in build *200808060201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/d071c4adb118 User: phejl@netbeans.org Log: #139628 Cannot start server jboss 5.0.0.CR1
Works fine but I'm not able to restart server with error "JBoss Application Server Start Failed. RMI naming service port 1098 is already in use.". See more in attached log files (netbeans log, nb output log). Steps to reproduce: 1) Start netbeans and in Services tab start Jboss server --- wait for jboss server starting 2) Invoke pop-up menu on running jboss server and choose restart. Product Version: NetBeans IDE Dev (Build 200808120201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Userdir: /home/josin/.netbeans/dev
Created attachment 67117 [details] Output window logfile
Created attachment 67118 [details] IDE log file
Please do not mix two different issues (start problem caused by OOME, restart problem caused by RMI registry) into one issuezilla record next time. Investigating...
The second part of this issue ("JBoss Application Server Start Failed. RMI naming service port 1098 is already in use") is a duplicate of issue 142914.
Then it is ok, works fine on Product Version: NetBeans IDE Dev (Build 200808120201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Userdir: /home/josin/.netbeans/dev. Changing status to verified.