[DeployDecisionServices] Failed at Java Compilation

Hello,
i'm facing a problem when trying to deploy a decision service within a BPEL process. I have created some xml facts and rules with rule author. Everythings works fine also the compilation of jaxb classes and syntax check of RL output.
When using the rule repository in a BPEL process by creating a decision service and a decide activity the deployment stops during the compilation of the jaxb classes. As mentioned the compilation of jaxb classes on cmd works fine an it seems that the compilation during the deployment works fine as well as all .class files are beeing created in PROJECT_HOME%decisionservices\DecisionService\war\WEB-INF\classes. Nevertheless deployment stops at this point and I can't get my decision service deployed.
Any help is much appreciated !
The ant output:
| Deploying decision services for ruleTest on localhost, port 8888
[deployDecisionServices] Start of deploying decision services.
[deployDecisionServices] Deploy decision service in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService
[deployDecisionServices] Start deploying decision service from directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService to J2EE context /rules/test/ruleTest/1.0/DecisionService
[deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
[deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
[deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
[deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
[deployDecisionServices] Start compiling fact type classes in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes
[deployDecisionServices] Compiling from shell, src=C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes, classpath=C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar
[deployDecisionServices] Source file exists. Read Java source file names.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java to the list of Java sources to compile.
[deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java to the list of Java sources to compile.
[deployDecisionServices] Compiled class(es) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java"
[deployDecisionServices] Error in ant execution: Java compilation failed.
Failed to compile file(s) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java".
Exception reported is: C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:39: Class GU.AntragstellerType not found.
return (AntragstellerType) super.getElement("Antragsteller", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 0);
^
C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:50: Class GU.AnschriftType not found.
return (AnschriftType) super.getElement("Anschrift", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 1);
^
C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:61: Class GU.BankverbindungType not found.
return (BankverbindungType) super.getElement("Bankverbindung", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 2);
^
3 errors
Please verify that file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java is valid java file or if all required libraries are included in your classpath.
classpath: C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar

Hi Everyone,
I've resolved the error. It was the fact that I was pointing to the wrong rmi port. I found out by typing out the "opmnctl status -l" on the command line and realised that my rmi port was 12401 instead of 23791. Hence, under the "deployDecisionServices" namespace in the build.xml file, I modified it from "rmiport="${rmiport}" to "rmiport="12401"" and deploy it and everything works. Thank you everyone for your time and efforts.
Regards,
John

Similar Messages

  • Exception:: XSP Java Compiler :: Compilation failed for _index.  The compil

    Dear all
    My organization has a web cum wap site running on XML - XSL. When i uploaded a modified file it started giving me the following error
    java.lang.Exception: XSP Java Compiler: Compilation failed for
    _index.java The compiler has run out of memory. Consider using the
    "-J-mx<number>" command line option to increase the maximum heap
    size.
    The site is running on Linux platform ( with Apache, Jserv, Cocoon).
    can anybody help me to resolve this problem.
    with thanxs and regards
    Rohit Joshi
    (Mobile Application Developer)
    Globe Communication (http://www.globecommunication.net)
    Nil - 26 Malviya Nagar, Delhi, India.

    Thank you very much.
    But the as i had wrote that am using Apache, Jserv and Cocoon, my site is in XML , XSL format..i can do logical work in XML and representation in two formats one is HTML and one in WML through XSL. so only i have to make all these files and put them in to theirs respective place, htdocs. Then , as u know, it automaticaaly parsed, compiled and processed through parsers and processors provided by servers. So i don't need to compile each java file. Now u suggest me what i have to do? Is their any procedure that Cocoon Engine automaticaaly can increased this size.
    Thanxs and regards
    Rohit Joshi

  • Java compiler failed

    I know this has to be a simple solution but I am new to Java. When I try and compile the Hello World program I am getting:
    Error!: Error: java compiler failed: javac -source 1.3 -target 1.1 -g -O -d C:\Users\Chris\AppData\Local\Temp\rapc_29286710.dir -bootcla ...
    I have set my path up through the control panel and still nothing. Any help would be greatly appreciated!

    This is the file:
    * HelloWorld.java
    * The sentinal sample!
    * Copyright © 1998-2008 Research In Motion Ltd.
    * Note: For the sake of simplicity, this sample application may not leverage
    * resource bundles and resource strings. However, it is STRONGLY recommended
    * that application developers make use of the localization features available
    * within the BlackBerry development platform to ensure a seamless application
    * experience across a variety of languages and geographies. For more information
    * on localizing your application, please refer to the BlackBerry Java Development
    * Environment Development Guide associated with this release.
    package com.rim.samples.device.helloworlddemo;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.RichTextField;
    * BlackBerry applications that provide a user interface must extend
    * UiApplication.
    public class HelloWorldDemo extends UiApplication
    * Entry point for application.
    public static void main(String[] args)
    // Create a new instance of the application.
    HelloWorldDemo theApp = new HelloWorldDemo();
    // To make the application enter the event thread and start processing messages,
    // we invoke the enterEventDispatcher() method.
    theApp.enterEventDispatcher();
    * <p>The default constructor. Creates all of the RIM UI components and pushes the
    * application's root screen onto the UI stack.
    public HelloWorldDemo()
    // Push the main screen instance onto the UI stack for rendering.
    pushScreen(new HelloWorldScreen());
    * Create a new screen that extends MainScreen, which provides default standard
    * behavior for BlackBerry applications.
    /*package*/ final class HelloWorldScreen extends MainScreen
    * HelloWorldScreen constructor.
    public HelloWorldScreen()
    // Add a field to the title region of the screen. We use a simple LabelField
    // here. The ELLIPSIS option truncates the label text with "..." if the text
    // is too long for the space available.
    LabelField title = new LabelField("Hello World Demo" , LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    setTitle(title);
    // Add a read only text field (RichTextField) to the screen. The RichTextField
    // is focusable by default. In this case we provide a style to make the field
    // non-focusable.
    add(new RichTextField("Hello World!" ,Field.NON_FOCUSABLE));
    * Display a dialog box to the user with "Goodbye!" when the application
    * is closed.
    * @see net.rim.device.api.ui.Screen#close()
    public void close()
    // Display a farewell message before closing application.
    Dialog.alert("Goodbye!");
    System.exit(0);
    super.close();
    This is what I get when I build:
    Building Helloworldproject
    C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin\rapc.exe -quiet import=..\lib\net_rim_api.jar codename=Helloworldproject Helloworldproject.rapc warnkey=0x52424200;0x52525400;0x52435200 "C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin\Helloworld1.java"
    C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin\Helloworld1.java:30: class HelloWorldDemo is public, should be declared in a file named HelloWorldDemo.java
    public class HelloWorldDemo extends UiApplication
    ^
    1 error
    Error!: Error: java compiler failed: javac -source 1.3 -target 1.1 -g -O -d C:\Users\Chris\AppData\Local\Temp\rapc_29286710.dir -bootcla ...
    Error while building project

  • Would like java compile to fail on warning

    Is there any way to get javac or the javac ant task to fail if the compiler emits any warnings?

    java -nowarnThis causes the compiler to generate no warnings. Thus the compiler trivially fails if it emits any warmings.

  • JSP compilation failed with java.lang.IllegalStateException: zip file close

    Hi,
    I have a web app successfully deployed on Weblogic7.0 and HP UX 11.0, which uses jdk 1.3.1_02
    In this application, when i invoke a jsp (this exception occurs on any jsp not to any specific jsp), i found the following exception trace on wl-domain.log file and server crashes: -
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(Unknown Source)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.upToDate(ChangeAwareClassLoader.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java, Compiled Code)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java, Compiled Code)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can anyone help me in figuring out this problem urgently?
    thanks in advance
    manoj

    Hi Manoj.I am also getting the same problem in the weblogicserver version-6.1 SP2.It is also using the jdk 1.31.
    here is my stack trace.Help i smuch appreciated.!!
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(ZipFile.java:141)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:197)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:106)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:45)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:265)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:156)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:65)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at com.slfc.framework.service.ServiceMessageFactory.createServiceResult(ServiceMessageFactory.java:58)
         at sunlife.nexus.admin.SecPro.establishSupportSession(Unknown Source)
         at sunlife.nexus.admin.Page_secPro_extAppLoader.processPageRequest(Unknown Source)
         at sunlife.wis.servlets.WISServlet.redirect(WISServlet.java:63)
         at sunlife.wis.servlets.WISServlet.doExec(WISServlet.java:107)
         at sunlife.wis.servlets.WISServlet.doGet(WISServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • [DeployDecisionServices] Failed at "Could not get DeploymentManager"

    Hi Everyone,
    I've a small deployment issues which you guys might be able to help me with. I've created a simple business rule using Oracle Business Rule in my embedded OC4J instance and I've also created a BPEL project that consumes this Oracle Business Rule as a "decision service". All is fine until I deploy the BPEL project to my local machine, ANT returns the following messages in the Apache Ant of the Jdeveloper console:
    --- START ---
    Buildfile: C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process BPELProcess1 on localhost, port 8888
    [deployProcess] Deploying process C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
    [deployProcess] Successfully deployed the process "BPELProcess1" on server "localhost" and port "8888"
    deployTaskForm:
    [echo]
    | Deploying workflow form for BPELProcess1 on localhost, port 8888
    [deployTaskForm] There are no forms to deploy
    deployDecisionServices:
    [echo]
    | Deploying decision services for BPELProcess1 on localhost, port 8888
    [deployDecisionServices] Start of deploying decision services.
    [deployDecisionServices] Deploy decision service in directory C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService
    [deployDecisionServices] Start deploying decision service from directory C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService to J2EE context /rules/default/BPELProcess1/1.0/DecisionService
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
    [deployDecisionServices] Start compiling fact type classes in directory C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes
    [deployDecisionServices] Compiling from shell, src=C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes, classpath=C:\Jdeveloper10.132\jdev\lib\ojc.jar;C:\Jdeveloper10.132\ant\lib\ant-oracle.jar;C:\Jdeveloper10.132\integration\lib\orabpel.jar;C:\Jdeveloper10.132\integration\lib\orabpel-ant.jar;C:\Jdeveloper10.132\integration\lib\orabpel-common.jar;C:\Jdeveloper10.132\integration\lib\orabpel-thirdparty.jar;C:\Jdeveloper10.132\webservices\lib\orawsdl.jar;C:\Jdeveloper10.132\lib\xmlparserv2.jar;C:\Jdeveloper10.132\lib\xml.jar;C:\Jdeveloper10.132\j2ee\home\lib\oc4j-internal.jar;C:\Jdeveloper10.132\j2ee\home\lib\adminclient.jar;C:\Jdeveloper10.132\integration\bpm\support\files;C:\Jdeveloper10.132\jdev\lib\jdev.jar;C:\Jdeveloper10.132\ant\lib\xml-apis.jar;C:\Jdeveloper10.132\ant\lib\xercesImpl.jar;C:\Jdeveloper10.132\ant\lib\jakarta-oro-2.0.8.jar;C:\Jdeveloper10.132\ant\lib\commons-net-1.3.0.jar;C:\Jdeveloper10.132\ant\lib\ant.jar;C:\Jdeveloper10.132\ant\lib\ant-xslp.jar;C:\Jdeveloper10.132\ant\lib\ant-xalan1.jar;C:\Jdeveloper10.132\ant\lib\ant-weblogic.jar;C:\Jdeveloper10.132\ant\lib\ant-vaj.jar;C:\Jdeveloper10.132\ant\lib\ant-trax.jar;C:\Jdeveloper10.132\ant\lib\ant-swing.jar;C:\Jdeveloper10.132\ant\lib\ant-stylebook.jar;C:\Jdeveloper10.132\ant\lib\ant-starteam.jar;C:\Jdeveloper10.132\ant\lib\ant-oracle-adfp.jar;C:\Jdeveloper10.132\ant\lib\ant-nodeps.jar;C:\Jdeveloper10.132\ant\lib\ant-netrexx.jar;C:\Jdeveloper10.132\ant\lib\ant-launcher.jar;C:\Jdeveloper10.132\ant\lib\ant-junit.jar;C:\Jdeveloper10.132\ant\lib\ant-jsch.jar;C:\Jdeveloper10.132\ant\lib\ant-jmf.jar;C:\Jdeveloper10.132\ant\lib\ant-jdepend.jar;C:\Jdeveloper10.132\ant\lib\ant-javamail.jar;C:\Jdeveloper10.132\ant\lib\ant-jai.jar;C:\Jdeveloper10.132\ant\lib\ant-icontract.jar;C:\Jdeveloper10.132\ant\lib\ant-commons-net.jar;C:\Jdeveloper10.132\ant\lib\ant-commons-logging.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-resolver.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-regexp.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-oro.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-log4j.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-bsf.jar;C:\Jdeveloper10.132\ant\lib\ant-apache-bcel.jar;C:\Jdeveloper10.132\ant\lib\ant-antlr.jar;C:\Jdeveloper10.132\jdk\lib\tools.jar
    [deployDecisionServices] Source file exists. Read Java source file names.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/Applicant.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ApplicantImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/Applicantinfo.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ApplicantinfoImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/PersonInfo.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/PersonInfoImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Compiled class(es) "C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/Applicant.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ApplicantImpl.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/Applicantinfo.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ApplicantinfoImpl.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/ObjectFactory.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/PersonInfo.java, C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\classes\sample/PersonInfoImpl.java"
    [deployDecisionServices] Compilation of fact type classes done.
    [deployDecisionServices] Delete file DecisionService-web.war
    [deployDecisionServices] Generating the web archive DecisionService-web.war in directory C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\ear
    [deployDecisionServices] Restore WSDL template file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Restore JSP template file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\ear\META-INF\application.xml
    [deployDecisionServices] Replace placeholders in file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\ear\META-INF\application.xml done.
    [deployDecisionServices] Delete file DecisionService.ear
    [deployDecisionServices] Generating the application archive DecisionService.ear in directory C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService
    [deployDecisionServices] Restore template file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\ear\META-INF\application.xml.template
    [deployDecisionServices] Deploying web service to platform oc4j_10g
    [deployDecisionServices] Start of deploying DecisionService.ear to ias
    [deployDecisionServices] java oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline deployer:oc4j:localhost:23791 oc4jadmin welcome1 -deploy -file C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\decisionservices\DecisionService\DecisionService.ear -deploymentName rules_default_BPELProcess1_1_0_DecisionService
    [deployDecisionServices] Start of deploy apps
    [deployDecisionServices]
    [deployDecisionServices]
    [deployDecisionServices] Failed at "Could not get DeploymentManager".
    [deployDecisionServices]
    [deployDecisionServices] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    [deployDecisionServices]
    [deployDecisionServices] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    [deployDecisionServices]
    [deployDecisionServices]
    [deployDecisionServices] Error in ant execution: null
    BUILD FAILED
    C:\Jdeveloper10.132\jdev\mywork\BPEL with Oracle Business Rule\BPELProcess1\build.xml:116: Error while deploying decision services on server "localhost"
    Total time: 1 minute 37 seconds
    --- END ---
    It is able to deploy the BPEL artifact but unable for the decision service, i.e. the Business Rule. I've been looking at web resources for answers but unable to find one. Your assistance is much appreciated and my gut feeling is that it is only a minor glitch which I need to fix. Thank you very much everyone.
    Regards,
    John

    Hi Everyone,
    I've resolved the error. It was the fact that I was pointing to the wrong rmi port. I found out by typing out the "opmnctl status -l" on the command line and realised that my rmi port was 12401 instead of 23791. Hence, under the "deployDecisionServices" namespace in the build.xml file, I modified it from "rmiport="${rmiport}" to "rmiport="12401"" and deploy it and everything works. Thank you everyone for your time and efforts.
    Regards,
    John

  • (App-store) Compilation failed while executing : compile-abc

    I just upgraded to AIR16 and can no longer compile for the ios app store from Windows 7.
    Calling "adt -package -target ipa-test ..." with AIR16 works correctly, installs and runs on my device.
    Calling "adt -package -target ipa-app-store ..." with AIR16 crashes the compiler with this generic error:
    Compilation failed while executing : compile-abc
    Calling "adt -package -target ipa-app-store ..." with AIR14 (and the new compiler, not legacy) works correctly.
    How do I get more information about what is happening? I have no ANEs. Could this have something to do with the new 64-bit requirements? My version of Java? With provisioning profiles? What else is different between test and app-store compile modes?

    Update: I tried a half dozen different ways to compile with AIR16 to no joy. Test works fine, App Store compile fails.
    Then finally tried the current AIR17 beta which DOES work. I don't see anything in the release notes about fixing ios app-store compile issues, though there's a new known ios-related bug with textfields.
    Does ADT produce an error log file somewhere? I'd like to get more info about this "Compilation failed while executing : compile-abc" error if I ever run into it again.

  • Error in Java compilation: \s7u.log (The system cannot find the file specified)

    Hi there,
    I got an error when I tried to compile a group of sqlj and java files. The error below:
    ----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
    out [Translating 53 files]
    out [Reading file AdServerInformationType]
    out [Reading file AdsType]
    out [Reading file AgencyType]
    out [Reading file CampaigntocompletionType]
    out [Reading file CampaignType]
    out [Reading file ChannelType]
    out [Reading file ClientType]
    out [Reading file CompletionType]
    out [Reading file ContactType]
    out [Reading file CreativeType]
    out [Reading file FtpServerType]
    out [Reading file InsertioninstructionType]
    out [Reading file MediaServerType]
    out [Reading file SystemPropertyType]
    out [Reading file VendorType]
    out [Reading file AdServerInformationTypeRef]
    out [Reading file AdServerInformationView]
    out [Reading file AdsTypeRef]
    out [Reading file AdsView]
    out [Reading file AgencyTypeRef]
    out [Reading file AgencyView]
    out [Reading file CampaigntocompletionTypeRef]
    out [Reading file CampaignToCompletionView]
    out [Reading file CampaignTypeRef]
    out [Reading file CampaignTypeRefs]
    out [Reading file CampaignView]
    out [Reading file ChannelTypeRef]
    out [Reading file ChannelTypeRefs]
    out [Reading file ChannelView]
    out [Reading file ClientTypeRef]
    out [Reading file ClientTypeRefs]
    out [Reading file ClientView]
    out [Reading file CompletionTypeRef]
    out [Reading file CompletionTypeRefs]
    out [Reading file CompletionView]
    out [Reading file ContactTypeRef]
    out [Reading file ContactView]
    out [Reading file CreativeTypeRef]
    out [Reading file CreativeTypeRefs]
    out [Reading file CreativeView]
    out [Reading file FtpServerTypeRef]
    out [Reading file FtpServerView]
    out [Reading file InsertioninstructionTypeRef]
    out [Reading file InsertioninstructionTypeRefs]
    out [Reading file InsertionInstructionView]
    out [Reading file MediaServerTypeRef]
    out [Reading file MediaServerView]
    out [Reading file SystemPropertyTypeRef]
    out [Reading file SystemPropertyTypeRefs]
    out [Reading file SystemPropertyView]
    out [Reading file VendorTypeRef]
    out [Reading file VendorTypeRefs]
    out [Reading file VendorView]
    out [Translating file AdServerInformationType]
    out [Translating file AdsType]
    out [Translating file AgencyType]
    out [Translating file CampaigntocompletionType]
    out [Translating file CampaignType]
    out [Translating file ChannelType]
    out [Translating file ClientType]
    out [Translating file CompletionType]
    out [Translating file ContactType]
    out [Translating file CreativeType]
    out [Translating file FtpServerType]
    out [Translating file InsertioninstructionType]
    out [Translating file MediaServerType]
    out [Translating file SystemPropertyType]
    out [Translating file VendorType]
    out [Translating file AdServerInformationTypeRef]
    out [Translating file AdServerInformationView]
    out [Translating file AdsTypeRef]
    out [Translating file AdsView]
    out [Translating file AgencyTypeRef]
    out [Translating file AgencyView]
    out [Translating file CampaigntocompletionTypeRef]
    out [Translating file CampaignToCompletionView]
    out [Translating file CampaignTypeRef]
    out [Translating file CampaignTypeRefs]
    out [Translating file CampaignView]
    out [Translating file ChannelTypeRef]
    out [Translating file ChannelTypeRefs]
    out [Translating file ChannelView]
    out [Translating file ClientTypeRef]
    out [Translating file ClientTypeRefs]
    out [Translating file ClientView]
    out [Translating file CompletionTypeRef]
    out [Translating file CompletionTypeRefs]
    out [Translating file CompletionView]
    out [Translating file ContactTypeRef]
    out [Translating file ContactView]
    out [Translating file CreativeTypeRef]
    out [Translating file CreativeTypeRefs]
    out [Translating file CreativeView]
    out [Translating file FtpServerTypeRef]
    out [Translating file FtpServerView]
    out [Translating file InsertioninstructionTypeRef]
    out [Translating file InsertioninstructionTypeRefs]
    out [Translating file InsertionInstructionView]
    out [Translating file MediaServerTypeRef]
    out [Translating file MediaServerView]
    out [Translating file SystemPropertyTypeRef]
    out [Translating file SystemPropertyTypeRefs]
    out [Translating file SystemPropertyView]
    out [Translating file VendorTypeRef]
    out [Translating file VendorTypeRefs]
    out [Translating file VendorView]
    out [Compiling 53 Java files]
    err*** The following character string is too long:
    err***
    out Error in Java compilation: \s7u.log (The system cannot find the file specified)
    Any suggestion appreciated.
    Daniel Huang

    Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
    Here are a few things to reduce the size of the command line:
    - do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
    - do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
    - you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
    - there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
    - you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
    Let us know how it goes. Thanks!

  • Invoking the java compiler from programs

    HI, I'm a high school java student in the AP Java course. A project that I have been interested in for a while is making a simple IDE, but to do this I need to compile and run programs from within my program.
    What I have tried:
    The method Compiler.compileClasses("name of file i wanted to compile");
    The method System.loadLibrary(System.getProperty("java.compiler"));
    The JavaCompiler class in javax.tools. this is my source code.
    import javax.tools.*;
    public class CompileTest
         public static void main(String[] args)
              String fileToCompile ="Test.java";
              JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
              int compilationResult =     compiler.run(null, null, null, fileToCompile);
              if(compilationResult == 0)
                   System.out.println("Compilation is successful");
              else
                   System.out.println("Compilation Failed");
    After this threw NullPointerExceptions I put the line System.out.println(ToolProvider.getSystemJavaCompiler()); and the output was null.
    Any help would be appreciated.
    Also, if anyone knows how to run the subsequent class file, that would also be a big help

    To run the program, load the class file with a classloader, which will give you a Class object. You then use reflection to find the public static void main(String[] args) Method object, then use Method's invoke method to call main.
    You should deal with any exceptions from the program so that it doesn't break your IDE.
    It would probably be a good idea to run the program in its own classloader which you could trash after it finishes running so you don't leave resources hanging around.
    And finally you probably need to deal with the case where the program calls System.exit(). That could be tricky. (translation, I haven't the foggiest idea how to handle it but I'm sure its possible).
    Also there is the issue of background threads (non daemon and daemon) running after main completes. What ya gonna do?
    Runtime.exec() is looking mighty attractive right now.
    Bruce

  • Web Based Java Compiler

    Hello,
    I am doing Java programming at Bournemouth University and find it a real pain when half of the computers there only have the JRE and no J2SDK, for this reason I set work on a web front end for the JDK. Its quite probable that I will get hosting at the university on one of their servers but I also have my own which i have made public.
    http://wcc.ath.cx/wjc
    Just make a new account (simply username and password) and you can get started. Hopefully someone will find this useful.
    any comments / suggestions welcome [email protected]
    regards,
    Karsten Pedersen
    Edit: C++ version also up http://wcc.ath.cx/wcc

    Looking at what you have done from the username I can suggest that you did not add .java to the end of the test source file. I failed to catch this error before I uploaded the first version of the web compiler, in the C++ one I made I checked the output log looking for the username + password string and removed it from the text but I overlooked this one in the java compiler because I failed to produce this bug. This will be fixed. The whole reason username/password/source is made is so that the username and password from the Session["UserPath"] can get you to the right directory. Please also be aware that no other users can see your password.
    Cheers for the help!
    Edit: Added the filtering so the above error should not occur, also added automatic .java extension to java version of compiler. C++ version http://wcc.ath.cx/wcc also running
    Edited by: g7878444 on Dec 27, 2007 2:50 PM

  • XML Publisher report failing with java.lang.outofmemoryerror.

    Hi,
    We have developed a custom Oracle report that produces an XML output file that is about 13M in size (about 18K rows from the database). When running report as concurrent request, post processing fails with java.lang.outofmemoryerror. The failure occurs when specifying output format as Excel, RTF or HTML. However, the process completes successfully when specifying output format as PDF. We have also noticed that Excel, RTF and HTML will complete successfully if the XML data file is smaller (around 3M).
    Is anyone aware of a restriction on the size of the XML data file when specifying output formats Excel, RTF or HTML? We have tried setting temp directory but that has not helped.
    Thanks.

    Hi
    I found this at metalink [Note:390968.1].. hope it helps =)
    Symptoms: When attempting to run an XML Publisher concurrent program the following error occurs:
    ERROR: Warning!!! Got out of memory exception, retrying with scalable option..
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    Oracle.apps.xdo.oa.cp.JCP4XDODataEngine
    Program exited with status 1
    Solution: To implement the solution, please execute the following steps:
    1. Login select the responsibility: System Administrator.
    2. Navigate to Concurrent > Program > Define.
    3. Query for concurrent program that is receiving the error.
    4. In the 'Options' field please enter -Xmx512M.
    5. Save the change and retest the issue.
    6. If the report still fails with the option set to -Xmx512M change the value to -Xmx1024M, save and try again
    7. Migrate the solution as appropriate to other environments.

  • Run time java compiler

    Last year I researched oracle spatial technology and created prototype using oracle 9i, standalone oc4j. In order to start oc4j, i had to download java 1.4.2 from sun site. everything worked fine.
    Now I am expanding on the prototype on different machine but am using oracle 10g. I followed the same steps (installed 10g, oc4j, downloaded j2se 1.4.2 and installed). When I start oc4j by following command
    java -jar oc4j.jar, I get
    error message stating Error loading package at file:/E:/oracle_downloads/oc4j/j2ee/home/applications/admin_ejb.jar, javac.exe no
    t found under F:\oracle\product\10.1.0\db_1\jre\1.4.2, please use a valid jdk or
    specify the location of your java compiler in server.xml using the <java-compil
    er .../> tag.
    I am not sure how do I specify location of java compiler in server.xml file sysntactically. I do not not recall this step with oracle 9i.
    I edited server.xml and http-wev-site.xml as per instructions in my spatial class for mapviewer application but I need help on how to enter the location of java compiler file in server.xml file.
    Thank you

    You cannot use the JRE java to start oc4j. Must install a complete 1.4.2 J2SDK (not JRE) then use the java binary under its bin directory to start oc4j (not the one under jre/bin directory).
    lj

  • How to run a java program without Java Compiler

    I have a small project and I want share it with my friends but my friend'pc have not
    Java compiler.
    for example, I writen a application like YM, then 2cp can sent,receive messege. My cumputer run as Server, and my frien PC run as client.
    How can my friend run it? or how to create an icon in dektop tu run a java program..??..
    (sorry about my English but U still understand what i mean (:-:)) )

    To run a program you don't need a Java compiler. Just the Java Runtime Engine. That can be downloaded from the Sun website and comes with an installer.
    You could then turn your application into an executable jar file and start it somehow like jar myYM.
    There is also software that packs a Java program into an executable file. I've never used that but one that comes to my mind is JexePack. It's for free if you can live with a copyright message popping up every time you start the program.
    http://www.duckware.com/jexepack/index.html

  • Compilation failed while executing : compile-abc

    This is with the latest AIR 4.0 beta, dated 12/17, with "-useLegacyAOT no" on Mac, OS X 10.9.
    0  compile-abc              0x0095d728 PrintStackTrace(void*) + 40
    1  compile-abc              0x0095dba1 SignalHandler(int) + 449
    2  libsystem_platform.dylib 0x9039fdeb _sigtramp + 43
    3  libsystem_platform.dylib 0xffffffff _sigtramp + 1875247679
    4  compile-abc              0x0005846b halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 667
    5  compile-abc              0x00058fc6 halfmoon::cleanBlocks(halfmoon::Context*, halfmoon::InstrGraph*, halfmoon::Cleaner*) + 166
    6  compile-abc              0x0005ab34 halfmoon::removeDeadCode(halfmoon::Context*, halfmoon::InstrGraph*) + 324
    7  compile-abc              0x0004ee1c halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 316
    8  compile-abc              0x000c0a76 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 182
    9  compile-abc              0x000c1788 halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 216
    10 compile-abc              0x00129d3b avmplus::NullWriter::writeEpilogue(avmplus::FrameState const*) + 27
    11 compile-abc              0x00183829 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1273
    12 compile-abc              0x000053af compile_abc::CompilerCore::emitPoolToModule(compile_abc::PoolInfo&, compile_abc::LLVMModule*) + 927
    13 compile-abc              0x00004a80 compile_abc::CompilerCore::compile() + 4496
    14 compile-abc              0x0000363f compile_abc::CompilerCore::run(int, char**) + 1471
    15 compile-abc              0x00005f62 main + 66
    16 compile-abc              0x00002235 start + 53
    There's also a lengthy list of program arguments, looks like it's working on ABCs from native extensions. Buried in there is this line as well:
    41063 Bus error: 10

    Hey, I have found this:
    Swf compiled with Flash Pro CS6 with AIR 3.9 SDK selected
    No error
    ipa is created a working without any problems.
    Swf compiled with Flash Develop and Flex 4.6 AIR 3.9 SDK
    adt throws this error:
    Compilation failed while executing : compile-abc
    Swf compiled with Flash Develop and Adobe AIR 4.0 SDK
    adt throws this error:
    duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
    e$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-0_3.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
    e in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-0_3.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils$ in
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-1_4.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-1_4.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
    ilsLoginEvent$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-2_5.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
    ilsLoginEvent in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-2_5.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
    e$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-0_0.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
    e in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-0_0.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK$ in
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-1_1.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-1_1.o
    ld: 10 duplicate symbols for architecture armv7
    Compilation failed while executing : ld64

  • Export release build failed with an error message: complilation failed while excuting : compile-abc

    I updated air sdk from 4.0 to 16.0 beta to fix apple app store submitting bug. I can build the project and run it on simulator without any problem.  But when I tried to export the ios release build, I got this error message: complilation failed while excuting : compile-abc. 
    I use commmand line to excute compile-abc.exe with the parameters that adt gives it, but it failed without any error message.
    Here is the command line:
    compile-abc.exe -mtriple=armv7-apple-ios -filetype=obj -sdk "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1 - air16\lib\aot/lib/avmglue.abc" -fields "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1 - air16\lib\aot/lib/air-fields.arm-air.txt" -O3 -abc-file-list=E:\MyApp\bin-debug\AOTBuildOutput8184169967790207636.tmp\ABCFilesList.txt
    There's a empty file AOTBuildOutput-0000001821_1821.o left in the command line workaroud path. I opened file AOTBuildOutput-0000001821.abc, but didn't get any clue. How can I trace this problem?

    Still having similar issues - seems to be when I embed an image - but works for every release except for release build
    Tried your work around but doesnt seem to make a different
    [Embed(source = "/../assets/[email protected]")]
    protected static const ATLAS_IMAGE:Class;
    [Embed(source = "/../assets/[email protected]", mimeType = "application/octet-stream")]
    protected static const ATLAS_XML:Class;
    [Embed(source = "/../assets/iconMap.png")]
    protected static const ATLAS_IMAGE_LOW_RES:Class;
    [Embed(source = "/../assets/iconMap.xml", mimeType = "application/octet-stream")]
    protected static const ATLAS_XML_LOW_RES:Class;
    if(Starling.current.viewPort.width > 320)
    atlas = new TextureAtlas(Texture.fromBitmap(new ATLAS_IMAGE(), false), XML(new ATLAS_XML()));   
    }else{
    atlas = new TextureAtlas(Texture.fromBitmap(new ATLAS_IMAGE_LOW_RES(), false), XML(new ATLAS_XML_LOW_RES()));

Maybe you are looking for

  • External Seagate drive suddenly "not readable" by iMac

    I'm having a problem with a Seagate Backup Plus external desktop hard drive. It was working fine, but then I restarted my computer and got a window with the error message:  "The disk you inserted was not readable by this computer." and options to Ini

  • How do I add movies to icloud to free up memory on my device? Is this possible?!

    My ipod is 16GB, I have a few movies etc on there & not space to dowload any more. I have 4.1 free space on icloud - so I just wondered how I can move movies over to free up space to be able download. Hope makes sence!

  • Install odi error

    edit file :/etc/profile,add content: JAVA_HOME="/usr/local/jdk1.5.0" JRE_HOME="/usr/local/jdk1.5.0/jre" PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$JRE_HOME/bin CLASSPATH=.:$JAVA_HOME/lib/:$JRE_HOME/lib/ export JAVA_HOME JRE_HOME PATH CLASSPATH [oracle@loca

  • Photoshop CS3 Spot Healer Problems

    Hi guys, I'm trying to remove eyebags using the spot healing tool. I'm a big time newbie so been watching a youtube tutorial but i just get this strange appearance. Take a look! I did the correction over where the white bit is! Can anyone help?

  • Question related to REGEX  functions

    Hi, I am working on Oracle 10gR2. I am working on a column which stores username. Let's say that one of the values in this column is "Ankur". I want to fetch all records where username is a concatenated string of "Ankur" followed by some numerical di