Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle apex ords installation

AQHFeb 9 2021

i am using oracle 11g and apex 18.1, tomcat 9.0.4, during the installing of ords on step java -jar ords.war, below error raise

Enter the location to store configuration data: C:\ords\config
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at oracle.dbtools.jarcl.Entrypoint.invoke(Entrypoint.java:66)
        at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:77)
Caused by: java.lang.OutOfMemoryError: Java heap space
....more

i have create with setenv.h file with following statements but no luck!

CATALINA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 
-server -Xms1536m -Xmx1536m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m 
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"
This post has been answered by jariola on Feb 9 2021
Jump to Answer

Comments

jariola
Answer

When you execute java -jar ords.war, your environment file for Tomcat isn't anyhow involved.
Try execute e.g. java -Xmx800m -jar ords.war

Marked as Answer by AQH · Feb 9 2021
1 - 1

Post Details

Added on Feb 9 2021
1 comment
1,261 views