Unable to deploy project using ANT

(Doc ID 1477791.1)

Last updated on JULY 26, 2012

Applies to:

Oracle Business Process Management Suite - Version 10.3.1 and later
Information in this document applies to any platform.

Symptoms

When trying to deploy a project using ANT you don't get any errors.  If you enable -v you see the following error:

[fuego:publish] fuego.mami.exception.MAMIException: Error
[fuego:publish] at fuego.mami.exception.MAMIException.wrap(MAMIException.java:48)
[fuego:publish] at fuego.mami.ProjectManager.changeProjectRevision(ProjectManager.java:375)
[fuego:publish] at fuego.mami.DeploymentTopology.deploy(DeploymentTopology.java:922)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.doDeploy(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[fuego:publish] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[fuego:publish] at java.lang.reflect.Method.invoke(Method.java:597)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.PublishProjectTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.processTasks(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
[fuego:publish] at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at org.apache.tools.ant.Target.execute(Target.java:341)
[fuego:publish] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[fuego:publish] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[fuego:publish] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[fuego:publish] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[fuego:publish] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[fuego:publish] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[fuego:publish] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[fuego:publish] Caused by: fuego.directory.DirectoryRuntimeException: Exception [java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-01000: maximum open cursors exceeded
[fuego:publish] ].
[fuego:publish] at fuego.directory.DirectoryRuntimeException.wrapException(DirectoryRuntimeException.java:85)
[fuego:publish] at fuego.directory.provider.jdbc.oracle.OraclePersistenceManager.mapSQLException(OraclePersistenceManager.java:183)
[fuego:publish] at fuego.directory.provider.jdbc.datadirect.oracle.DataDirectOraclePersistenceManager.mapSQLException(DataDirectOraclePersistenceManager.java:50)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCPersistenceManager.fetch(JDBCPersistenceManager.java:263)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCPersistenceManager.fetch(JDBCPersistenceManager.java:242)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCOrganizationAccessor.fetchView(JDBCOrganizationAccessor.java:948)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[fuego:publish] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[fuego:publish] at java.lang.reflect.Method.invoke(Method.java:597)
[fuego:publish] at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
[fuego:publish] at $Proxy5.fetchView(Unknown Source)
[fuego:publish] at fuego.directory.DirView.fetch(DirView.java:80)
[fuego:publish] at fuego.papi.impl.view.ViewGenerator.updateBadView(ViewGenerator.java:395)
[fuego:publish] at fuego.papi.impl.view.ViewGenerator.deployProcess(ViewGenerator.java:351)
[fuego:publish] at fuego.papi.impl.view.ViewGenerator.updateProcessDefinition(ViewGenerator.java:428)
[fuego:publish] at fuego.papi.impl.view.ViewGenerator.updateProcessDefinition(ViewGenerator.java:150)
[fuego:publish] at fuego.papi.impl.view.ViewGenerator.updateProcessDefinition(ViewGenerator.java:163)
[fuego:publish] at fuego.mami.ProjectManager.changeProjectRevision(ProjectManager.java:371)
[fuego:publish] ... 28 more
[fuego:publish] Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-01000: maximum open cursors exceeded
[fuego:publish]
[fuego:publish] at albpm.jdbc.base.BaseExceptions.createException(Unknown Source)
[fuego:publish] at albpm.jdbc.base.BaseExceptions.getException(Unknown Source)
[fuego:publish] at albpm.jdbc.oracle.OracleImplConnection.allocateCursor(Unknown Source)
[fuego:publish] at albpm.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
[fuego:publish] at albpm.jdbc.base.BaseStatement.commonExecute(Unknown Source)
[fuego:publish] at albpm.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
[fuego:publish] at albpm.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
[fuego:publish] at fuego.jdbc.FaultTolerantPreparedStatement.executeQuery(FaultTolerantPreparedStatement.java:603)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCPersistenceManager.createResultSet(JDBCPersistenceManager.java:1132)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCPersistenceManager.createResultSet(JDBCPersistenceManager.java:1106)
[fuego:publish] at fuego.directory.provider.jdbc.JDBCPersistenceManager.fetch(JDBCPersistenceManager.java:259)
[fuego:publish] ... 43 more

 


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms