XForms and Java Heap Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XForms and Java Heap Error

Randy Smith-9
I am having problems finding the proper place to up the JAVA_OPTIONS -Xms -Xmx settings so that XForms doesn't hit the heap space limit. Here is a message I got some time back from Erik on this:
Erik Bruchez wrote:
> Orbeon Forms just comes as a WAR file, not a full executable, so the 
> answer depends on how you run your servlet container.
>
> For example, with Tomcat, you use the variable JAVA_OPTS to set such 
> options, either as an environment variable, or directly in 
> catalina.sh/bat or startup.sh/bat.
>
> The eXist settings are under WEB-INF/exist-conf.xml.
>
> -Erik

My problem is under Windows I can't find "catalina.sh/bat or startup.sh/bat under Tomcat6. 
To start Tomcat6 (which has the orbeon directory under it) I go to Tomcat6/bin/tomcat6
 and execute the application file. This make Orbeon XForms accessible but 
when running Form Builder I get a "heap space" error.

Also, in the WEB-INF/exist-conf.xml file I don't see how to set the Java parameters.

Any help appreciated 

Randy 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms and Java Heap Error

Alexander Žaťko
I am not running Tomcat 6, but in version 5.x I have been using the tomcat5w.exe app (can be found in the "bin" directory) to set the Java VM memory values. Look under the Java tab.

A.

On Mar 18, 2009, at 7:41 PM, Randy Smith wrote:

I am having problems finding the proper place to up the JAVA_OPTIONS -Xms -Xmx settings so that XForms doesn't hit the heap space limit. Here is a message I got some time back from Erik on this:
Erik Bruchez wrote:
> Orbeon Forms just comes as a WAR file, not a full executable, so the 
> answer depends on how you run your servlet container.
>
> For example, with Tomcat, you use the variable JAVA_OPTS to set such 
> options, either as an environment variable, or directly in 
> catalina.sh/bat or startup.sh/bat.
>
> The eXist settings are under WEB-INF/exist-conf.xml.
>
> -Erik

My problem is under Windows I can't find "catalina.sh/bat or startup.sh/bat under Tomcat6. 
To start Tomcat6 (which has the orbeon directory under it) I go to Tomcat6/bin/tomcat6
 and execute the application file. This make Orbeon XForms accessible but 
when running Form Builder I get a "heap space" error.

Also, in the WEB-INF/exist-conf.xml file I don't see how to set the Java parameters.

Any help appreciated 

Randy 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: XForms and Java Heap Error

Randy Smith-9
Thanks Alex,
I believe that is the fix for my problem!!!!!! :-)
Randy

Alexander Žaťko wrote:
I am not running Tomcat 6, but in version 5.x I have been using the tomcat5w.exe app (can be found in the "bin" directory) to set the Java VM memory values. Look under the Java tab.

A.

On Mar 18, 2009, at 7:41 PM, Randy Smith wrote:

I am having problems finding the proper place to up the JAVA_OPTIONS -Xms -Xmx settings so that XForms doesn't hit the heap space limit. Here is a message I got some time back from Erik on this:
Erik Bruchez wrote:
> Orbeon Forms just comes as a WAR file, not a full executable, so the 
> answer depends on how you run your servlet container.
>
> For example, with Tomcat, you use the variable JAVA_OPTS to set such 
> options, either as an environment variable, or directly in 
> catalina.sh/bat or startup.sh/bat.
>
> The eXist settings are under WEB-INF/exist-conf.xml.
>
> -Erik

My problem is under Windows I can't find "catalina.sh/bat or startup.sh/bat under Tomcat6. 
To start Tomcat6 (which has the orbeon directory under it) I go to Tomcat6/bin/tomcat6
 and execute the application file. This make Orbeon XForms accessible but 
when running Form Builder I get a "heap space" error.

Also, in the WEB-INF/exist-conf.xml file I don't see how to set the Java parameters.

Any help appreciated 

Randy 
    


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws