8 Replies Latest reply on Oct 10, 2007 3:39 PM by 564913

    java.lang.OutOfMemoryError: Java heap space deploying BPEL

    564913
      Hi,

      I'm trying to deploy a BPEL process using ant outside jdeveloper. I created a pre-build.xml that is executed before the build.xml.
      I've done this with 4 processes and everything went alright but I'm having problems with one of the BPEL process. When I run the ant, I get this message:

      Buildfile: bpel.ant
      [echo] DeployBPEL...
      __main__:
      [echo] ******** copia de bpel.basedir C:\bpelDeployment
      [echo] ******** a destino C:/pruebaDespliegue/FinalizarProceso_BPEL
      [copy] Copying 1 file to C:\pruebaDespliegue\FinalizarProceso_BPEL
      [copy] Copying 1 file to C:\pruebaDespliegue\FinalizarProceso_BPEL
      [copy] Copying 1 file to C:\pruebaDespliegue\FinalizarProceso_BPEL
      [echo] ******* ejecuta el build.xml
      pre-build:
      [echo] ++++++++++++ prebuild.basedir C:\pruebaDespliegue\FinalizarProceso
      BPEL
      [echo] D:\product\10.1.3.1\OracleAS_4\bpel at bpel-ant.xml
      [echo] D:\product\10.1.3.1\OracleAS_4\bpel\lib\orabpel-ant.jar
      [echo] true
      [taskdef] File C:\pruebaDespliegue\FinalizarProceso_BPEL\bpelantlib.xml does
      ot exist
      pre-build:
      [echo] pre build ant script executing...
      [echo] ************ basedir C:\pruebaDespliegue\FinalizarProceso_BPEL
      [echo] ************ bpel.basedir C:/bpelDeployment **********
      BUILD FAILED
      C:\bpelDeployment\bpel.ant:18: The following error occurred while executing thi
      line:
      C:\bpelDeployment\bpel.ant:28: The following error occurred while executing thi
      line:
      C:\bpelDeployment\build.xml:211: The following error occurred while executing t
      is line:
      java.lang.OutOfMemoryError: Java heap space
      Total time: 4 seconds
      Presione una tecla para continuar . . .

      Does anybody know why this might be happening? The only difference between this process and the ones that work is that this one invokes a PL, so it needs to connect to a database.

      Please, I need urgent help, I need to be able to deploy this in the production environment!

      Thanks in advance,
      Zaloa