Skip to Main Content

Integration

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

java.lang.OutOfMemoryError: Java heap space deploying BPEL

564913Oct 10 2007 — edited Oct 10 2007
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

Comments

That isn't a java or jni question.

There is nothing magic in java/jni that allows/prevents that.

You should create a test app that has no java/jni in it and figure out how to dynamically load a dll (presumably what you are doing.)  A windows programming site can help with specifics.

As a suggestion I would suggest that you do the following since it will help debugging problems.

1. Determine the fully qualified path to the dll

2. Use that

3. If the dll fails to load then report that fully qualified path.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 7 2007
Added on Oct 10 2007
8 comments
4,345 views