oc4j runs out of permgen memory when deploying jee5 example
-----------------------------------------------------------
Key: JBSEAM-2344
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2344
Project: JBoss Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.0.1.GA
Environment: RHEL-5 i386
JDK 1.5.0_13
oc4j 11.1.1.0.0 Technology Preview
Reporter: Jay Balunas
Fix For: 2.0.1.GA
In the examples/jee5/readme.txt and the reference guide is says to launch oc4j using the
command "$ORACLE_HOME/bin/oc4j -start". When I deploy and launch the jee5
booking example the server runs out of permgen memory without ever showing a page.
Looking through the latest 11.1 release notes
http://www.oracle.com/technology/tech/java/oc4j/11/oc4j-relnotes.html I found that the
permgen settings must be increased. I successfully launched the application using the
following command to start oc4j "$ORACLE_HOME/j2ee/home/java -jar
-XX:MaxPermSize=256M oc4j.jar" as recommended by them.
I have attached 2 patch diff files. One is for the examples/jee5/readme.txt and the other
is for doc/reference/en/modules/oc4j.xml file. I was able to build the updated document
with changes that I made.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira