users@glassfish.java.net

javac-options at server.xml

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Nov 2008 03:41:22 PST

Hello:

when I'm deploying a J2EE application on Sun Java System Application Server 7, it retrieves a java.lang.OutOfMemoryError exception during EJB components compilation phase:

[i]Caused by: Compilation failed:
com.iplanet.ias.ejb.codegen.ProcessExecutorException: Abnormal process termination -- process returned: 3
Attempted command: /opt/SUNONE7.1/jdk/bin/javac -g -d
/opt/SUNONE7.1/domains/dom
ain1/iGRI/generated/ejb/j2ee-apps/igri -classpath
/usr/lib/audit/Audit.jar:/usr/
share/lib/mps/secv1/jss3.jar:/opt/SUNONE7.1/lib/appserv-rt.jar:/opt/SUNONE7.
1/jd
k/lib/tools.jar:/opt/SUNONE7.1/lib/appserv-ext.jar:/..


Output from command:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError [/i]

I try to set 'javac-options' property at admin instance's server.xml, but doesn't work
I set 'javac-options="-J-Xmx1024m"' and restart instance, but always performs 'javac -g [...]'
What's wrong ? Any w/a ?

Thanks
[Message sent by forum member 'grohl' (grohl)]

http://forums.java.net/jive/thread.jspa?messageID=317565