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.
Build: Hula milstone 8 (daily-200703201103, nb-ide_nb-xml_nb-soa_nb-identity_glassfish_openesb_sjsam_windows.exe) Steps to reproduce it: 1. Start IDE. Start AppServer. Make sure sun-bpel-engine is started. 2. Open the attached sample projects. 3. Deploy LoanRequestorCompositeApp. 4. The deployment process would go forever. Check the server.log file, will see the following error: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:234) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:128) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:234) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:128) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:234) at com.sun.jbi.framework.CustomClassLoader.loadClass(CustomClassLoader.java:128) Note: In Gavotte build 070312_1, I can add the following jvm option (< jvm-options > -XX:MaxPermSize=128m </ jvm-options >) and restart app server to avoid this OutOfMemoryError. But in this Hula build, change of java config is rejected. (See attached GlassFish-v2-b38.png) This issue blocks Loan Processing Blue Print sample app development. Please have it fixed ASAP.
Created attachment 39780 [details] server.log
Created attachment 39781 [details] fail to add jvm option -XX:MaxPermSize=128m
Created attachment 39782 [details] sample projects
Hong, For GlassFish v2 b35-b39 there is no such option (-XX:MaxPermSize) in the domain.xml template. So when the domain1 is created, there is no such option in the resulting domain.xml of the domain1. As for GlassFish v2 b40 they have added this option to the template (actually, - XX:MaxPermSize=192m). So I guess the issue would be fixed when we switch to GF v2 b40. Please note that this build would occure only after the next promoted build of alaska components. And one more note: This option existed in b33{a,b,c,d,e} so in 5.5.1 Beta this issue shoud not be reproducible.
This OutOfMemoryError is a runtime (GlassFish/OpenESB) issue.
jbi components have been certified with b40 of glassfish. Please package b40 with next versioin of installer with the correct option for MaxPermSize as previously packaged.
I did not reproduce this issue since using glassfish-v2-b40. Please go ahead to update the status to "FIXED", so I can close it. Thanks, Hong
Okay. FIXED. :)
Verified the fixed is in Hula daily-200703300800