2 Replies Latest reply: Nov 30, 2012 9:33 AM by 923577

plsqlAssemble fails in Ant script

Hi all,

I ran into a problem with an ANT script that used to run smoothly for years in Jdeveloper 10.1.3.4.
It uses <oracle:plsqlAssemble> to generate webservices based on an plsql pakage in the database. Recently that package grew to over 50 procedures. Since then the ant script doesn’t finish anymore due to errors.

This error appears within the ant output:

=================================================
[oracle:plsqlAssemble] INFO: UV.TT_FILTERWAARDEN
[Loaded sun.io.ConversionBufferFullException from C:\jdevj2ee10134\jdk\jre\lib\rt.jar]
[Loaded sun.io.MalformedInputException from C:\jdevj2ee10134\jdk\jre\lib\rt.jar]
[Loaded sun.io.UnknownCharacterException from C:\jdevj2ee10134\jdk\jre\lib\rt.jar]
[Loaded java.text.FieldPosition$Delegate from C:\jdevj2ee10134\jdk\jre\lib\rt.jar] [Loaded java.text.NumberFormat$Field from C:\jdevj2ee10134\jdk\jre\lib\rt.jar]
[Loaded oracle.jpub.mesg.MessagesText from file:/C:/jdevj2ee10134/sqlj/lib/translator.jar]
[oracle:plsqlAssemble] INFO: J2T-106, ERROR: Sorry, unable to continue due to java.io.IOException: CreateProcess: javac -d C:\IVS_SVN\Webservices\OnlineUitvaart\gen\src\war\WEB-INF\classes -classpath C:\jdevj2ee10134\webservices\lib\commons-logging.jar;C:\jdevj2ee10134\j2ee\home\lib\ejb.jar;C:\jdevj2ee10134\j2ee\home\lib\bcel.jar;C:\jdevj2ee10134\j2ee\home\lib\mail.jar;C:\jdevj2ee10134\j2ee\home\lib\activation.jar;C:\jdevj2ee10134\j2ee\home\lib\clover.jar;C:\jdevj2ee10134\j2ee\home\lib\jms.jar;C:\jdevj2ee10134\j2ee\home\lib\http_client.jar;C:\jdevj2ee10134\j2ee\home\lib\javax77.jar;C:\jdevj2ee10134\j2ee\home\lib\javax88.jar;C:\jdevj2ee10134\j2ee\home\lib\servlet.jar;C:\jdevj2ee10134\j2ee\home\lib\jta.jar;C:\jdevj2ee10134\j2ee\home\lib\jacc-api.jar;C:\jdevj2ee10134\j2ee\home\lib\connector.jar;C:\jdevj2ee10134\j2ee\home\lib\cos.jar;C:\jdevj2ee10134\j2ee\home\lib\jaas.jar;C:\jdevj2ee10134\j2ee\home\lib\jaxp.jar;C:\jdevj2ee10134\j2ee\home\lib\jmx_remote_api.jar;C:\jdevj2ee10134\j2ee\home\lib\jmxri.jar;C:\jdevj2ee10134\j2ee\home\lib\oc4j-schemas.jar;C:\jdevj2ee10134\lib\xmlparserv2.jar;C:\jdevj2ee10134\xdk\lib\”
===================================================================

Then there are a lot more ant output lines until it ends with:

==================================================================
[Loaded oracle.j2ee.ws.tools.wsa.FileUtils\$FileFilterImpl from file:/C:/jdevj2ee10134/webservices/lib/wsa.jar]
[oracle:plsqlAssemble] Interface nl.pchooft.onluitv.service.plsqldao.Online_Uitvaart: The class could not be loaded from the class path.

[oracle:plsqlAssemble]

BUILD FAILED
C:\IVS_SVN\Webservices\OnlineUitvaart\build.xml:61: The following error occurred while executing this line:
C:\IVS_SVN\Webservices\build\build-macros.xml:133: oracle.j2ee.ws.common.tools.api.SeiValidationException: Interface nl.pchooft.onluitv.service.plsqldao.Online_Uitvaart: The class could not be loaded from the class path.
==================================================================

Does anyone know what the problem is? Or does anyone know a solution?

I’ve tried:

-Googling “J2T-106, ERROR: Sorry, unable to continue due to java.io.IOException: CreateProcess” in different ways, but it didn’t give any similar problems or solutions.

-Running with newer versions of ant (1.7.1 instead of the build in 1.6.5 version of jdeveloper) and jdeveloper (10.1.3.5)

-when I generate the webservices via the gui (creating new plsql webservice project in jdeveloper) it works and the correct WSDL comes out and Ican run it succesfully in jdevelopers own application server. This is not a real solution since the ant script also creates an ear file and only takes a few steps to run instead of many.

Does anyone have a suggestion what to try next?
Or can someone tell me more about what could be wrong?

Thanks in advance.

Regards,
Erik

Edited by: Erik on Nov 30, 2012 4:40 AM
• 1. Re: plsqlAssemble fails in Ant script
The error:

oracle.j2ee.ws.common.tools.api.SeiValidationException: Interface nl.pchooft.onluitv.service.plsqldao.Online_Uitvaart: The class could not be loaded from the class path

Lead me to a suggestion on internet where they said that the length of the classpath to the generated files could be to long.
After placing all ant scripts and other necessary files in a directory closer to the root of c:\ the ant script worked again.

Hopefully someone else will find this useful in the future.
• 2. Re: plsqlAssemble fails in Ant script
See my reply above.