You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Waruna Ranasinghe (JIRA)" <ji...@apache.org> on 2009/12/11 20:50:18 UTC
[jira] Updated: (ODE-693) Configure Database as Oracle, when
accessing ODE console, "Java heap space" exception is thrown.
[ https://issues.apache.org/jira/browse/ODE-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Waruna Ranasinghe updated ODE-693:
----------------------------------
Attachment: ODE-693.patch
This issue occurs due to the assignment of the FetchBatchSize openjpa property to a huge value (i.e. Integer.MAX_SIZE)
I think we should read this value from a configuration file.
I set to 0 so that FetchBatchSize property will be set to the default value of the JDBC driver
this a one line fix, but it took few days to figure out the fix :)
> Configure Database as Oracle, when accessing ODE console, "Java heap space" exception is thrown.
> ------------------------------------------------------------------------------------------------
>
> Key: ODE-693
> URL: https://issues.apache.org/jira/browse/ODE-693
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Environment: WinXP SP2 + Apache Tomcat 5.5 + Oracle 9i
> Reporter: bob
> Fix For: 1.3.3
>
> Attachments: ODE-693.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Firstly I configured Database as Oracle in the following way:
> 1) Add ode-axis2.properties in {TOMCAT_HOME}\webapps\ode\WEB-INF\conf
> ode-axis2.db.mode=EXTERNAL
> ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ODEDB
> 2) Modify server.xml in {TOMCAT_HOME}\conf
> <Context path="/ode" docBase="ode" debug="5" reloadable="true" crossContext="true">
> <Resource name="jdbc/ODEDB" auth="Container" type="javax.sql.DataSource"
> maxActive="20" maxIdle="5" maxWait="50000"
> username="ODE2" password="ODE2" driverClassName="oracle.jdbc.OracleDriver"
> url="jdbc:oracle:thin:@10.166.56.230:1521:ORA92"/>
> </Context>
> Then access ODE console, it throws exceptions
> Exception occured in loadInstanceInfo(): java.lang.RuntimeException: Invocation of method listAllInstances in management interface failed: Java heap space[object Element]
> Exception Occurred java.lang.RuntimeException: Invocation of method listAllProcesses in management interface failed: Java heap space[object Element]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.