Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

XMLForms deploy error, service don't start: adobe-XMLForm-exp.war OutOfMemoryError

Avatar

Level 3

Hi

I' have:

- RH ES 4.0 32bits

- JBoss: 4.2.1

- Java JDK: 1.5.22-b03

- 3GB of RAM

After install LC ES2, JBoss start process fail, stacktrace is:

2011-01-17 09:50:55,808 INFO  [com.adobe.service.ServicesNatives] BMC513: Service ServicesNatives2: Started
2011-01-17 09:50:55,821 INFO  [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/xmlformservice, warUrl=.../tmp/deploy/tmp2696736393711443116adobe-livecycle-native-jboss-x86_linux.ear-contents/adobe-XMLForm-exp.war/
2011-01-17 09:50:55,840 ERROR [org.apache.catalina.loader.WebappLoader] LifecycleException
java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:203)
        at java.util.jar.JarFile.<init>(JarFile.java:132)
        at java.util.jar.JarFile.<init>(JarFile.java:97)
        at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1009)
        at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:650)
        at org.jboss.web.tomcat.service.WebAppLoader.start(WebAppLoader.java:60)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4221)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

¿Any idea?

Thx!

2 Replies

Avatar

Level 7

As the error states, your JVM has run out of memory.  You need to re-start JBoss after editing run.sh giving the JVM more heap space.

This might help:

http://blogs.adobe.com/livecycle/2010/10/heap-size-sweet-spot-for-livecycle-es2.html

Avatar

Level 3

Are you sure?

LC Adobe documentation says it works correctly ES2 at least 3GB of RAM and the server has 3GB of those, and JVM heap have asigned -xmx1792m. Why do I need more memory?

Moreover, recently we found this error (OutOfMemory manipulating zip files) to another installation problem by applying the LC ES 8.2.1 SP2 at: (http://kb2.adobe.com/cps/493/cpsid_49313.html), and finally the problem was not from memory.

Need to be sure the problem before telling the client to add more memory to the server.

Thx!