Regarding Exception in  compiling BPEL in Jdeveloper

I am getting the following exception building the SOA Composite in Jdeveloper. Can any one please help me in solving this issue. Your help is appreciated.
c:\programfiles(x86)\oracle\middleware\jdevloper\bin\ant-sca-compile.xml : 236 : Java returned : 1
These are the errors in the scac.log file
java.lang.NoClassDefFoundError:Files
Caused by : java.lang.ClassNotFoundException:Files
at java.net.URLClassLoader$1.run(URLClassLoader.java : 202)
at java.Security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java : 190)
at java.lang.ClassLoader.loadClass(URLClassLoader.java : 307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(URLClassLoader.java : 248)
Could not find the main class : Files. Program will exit
Exception in thread "main"
Thanks,
Naveen

Hi Naveen,
Make sure your JDEV installation directory path doesn't have any spaces, also verify your Java installation, it can not have spaces either... The problem can also be in the class path...
java.lang.NoClassDefFoundError:*Files*... This tell me that JDEV is trying to get something from C:\Program Files \...
Hope this helps...
Cheers,
Vlad

Similar Messages

  • Error:SCAC-50012 while deploiyng BPEL from JDeveloper 11.1.1.5

    Hi,
    Jdeveloper encounter Error: SCAC-50012 after I add correlation into BPEL. Process (asynchronous) is very simple 2 invokes and 1 pick with onMessage and onAlarm branches.
    When I remove correlation set from pick (onMessage which receives an event) activity problem disappear.
    What can I do to add correlation and cancel this error?
    12.3.2012 15:28:53 oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    12.3.2012 15:28:59 com.collaxa.cube.CubeLogger info
    INFO: validating "process.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Thanks for advance.

    Hi, maybe these two posts can help u:
    Error when deploying AIA Demo BPEL project to SAR file
    http://11gsoasuite.blogspot.com/2011/09/jrf-is-unable-to-determine-current.html
    best
    rolando

  • Exception Handling In BPEL  By using Catch Blocks or Fault Policies Or Both

    I have a confusion regarding
    Exception handling :
    When Should i go for 1)Catch Block (Remote , or binding ) in bpel for exception handling .
    2)Fault Policy , Fault binding.xml
    Currently iam using catch blocks , but even fault policy is good , but can i use both...
    Currently in My bpel ,when any error occurs i have to send a error notification by Email .
    Currently i have exposed the email service which shuts emails and write a file with errored Message.
    Hence if any error i will catch i in a parent BPEL, i will just invoke the above email, service .
    So anybody can help me by giving the suggestion how to go for the best approach
    Edited by: anantwag on Mar 23, 2011 6:31 AM

    Currently in My bpel ,when any error occurs i have to send a error notification by Email .
    Currently i have exposed the email service which shuts emails and write a file with errored Message.Seeing your use case I will suggest you to use fault handling framework (fault policy). Fault handling framework should be used where you need generic error handling framework which handles all the faults occured in any composite component. Generally BPEL catch block should be used to propagate error info/fault back to the client/to fault handling framework or to consume an error
    Regards,
    Anuj

  • Error(41,64): SCAC-50012 at mediator when compiling BPEL composite.

    HI,
    I am getting Error(41,64): SCAC-50012 at mediator in composite.xml when compiling BPEL composite.Please help in resolving the same. Please find the below Log
    scac log shows:
    Jun 1, 2013 6:07:31 PM oracle.adf.share.config.ADFContextMDSConfigHelperImpl createMDSSession
    INFO:
    oracle.adf.share.ADFShareException: MDSConfigurationException encountered in parseADFConfiguration
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:180)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:497)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:568)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:546)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:611)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:52)
         at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1690)
         at oracle.mds.internal.net.OraMDSURLConnection.getMDSSession(OraMDSURLConnection.java:169)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:80)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:576)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:438)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:377)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:937)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:820)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:719)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:688)
         at oracle.fabric.common.wsdl.SchemaBuilder.convDOMElemToWSDLDef(SchemaBuilder.java:1279)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:501)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.java:453)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:244)
         at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:287)
         at oracle.fabric.common.wsdl.SchemaManager.getXSDEntityResolver(SchemaManager.java:490)
         at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:458)
         at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:201)
         at com.collaxa.cube.lang.compiler.ComponentCompilationModel.getWSDLManager(ComponentCompilationModel.java:61)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.lookupPartnerLinkType(BPELComponentCompilationModel.java:147)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.assertPartnerLink(BpelParser.java:4570)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parsePartnerLink(BpelParser.java:1317)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:572)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:491)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:454)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:401)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: oracle.mds.exception.MDSException: MDS-01373: unable to retrieve password.
    MDS-01373: unable to retrieve password.
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:959)
         at oracle.mds.config.PConfig.<init>(PConfig.java:758)
         at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:787)
         at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:848)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:491)
         at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2690)
         at oracle.mds.core.MDSInstance.findAndStoreMDSInstanceWithCustConfig(MDSInstance.java:2523)
         at oracle.mds.core.MDSInstance.getOrCreateInstanceInternal(MDSInstance.java:2031)
         at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:740)
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:139)
         ... 50 more
    Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: oracle.mds.exception.MDSException: MDS-01373: unable to retrieve password.
    MDS-01373: unable to retrieve password.
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:953)
         ... 59 more
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELSequenceBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELScopeBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELCompensationHandlerBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELSwitchBlock
    java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more
    SCAC-50012
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more
    An internal exception has not been properly handled by the server.
    Set the logging level for all loggers to debug, and resubmit your request again. The server log should contain a more detailed exception report.
    Exception: java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
    Handled As: com.collaxa.cube.CubeException
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:500)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         ... 11 more
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more

    The MDS schema that you are using in your composite component is causing this issue I believe.
    You could check whether the password specified in mstore-usage_2 is correct. As the mds is accessible this is happening

  • Exception while compiling model

    Hello Experts,
    I am working with Flex 2 , SPS 14. while compiling or deploying model, I am getting following exception:
    Flex2Compiler.Compile: XGLException: Generic Exception:
    Can anyone guide me how to solve this issue?
    Regards,
    Nirav Shah

    Hi Govindu,
    I have done that. Every time I open the model. I get this error.
    I have some more updates here for you.
    I get this error, whenever I put the alert data service on the model. i got it deployed successfully when i removed alert data services.
    Regards,
    Nirav Shah

  • Best Practice for Implementing Exception Handling in BPEL

    Hi All,
    what is the best practice and the approach to follow Exception Handling in BPEL.
    1) Do we need to implement Exception Handling in BPEL as we do in Java, means
         method 3 throws error to method 2 (if any) and
         method 2 throws error to method 1 (if any) and
         finally method 1 throws error to the main Class.
    If we replicate the above scenario to BPEL
    In BPEL main Scope have Custom Fault, Catch ALL
         Each Invoke is surrounded by a Scope Activity with Remote Fault, Binding Fault & Custom Fault
    and follow the paradigm of Java, assuming we have Inner Scopes
         [ OR ]
    2) In BPEL main Scope have all exceptions defined like
         Remote Fault,
         Binding Fault,
         anyOther System Fault (selectionFailure / forcedTermination),
         Custom Fault (if required) and
         CatchALL
         and also
         each Invoke is surrounded by a Scopes Acitivity with Custom Fault (business fault) exception Handling
    I feel 1st one may not be a good practice, may be i am wrong...
    Any Suggestions from experts.
    Thanks in Advance
    anvv sharma

    Hi-
    In you can create different scope and use catch branch to catch binding, remote, custom faults, business faults etc. If an error happens in a scope it will not move to the next scope( eg: you have 3 scope, error occured in 2nd scope then it will not propogate to the 3rd scope. One thing to be noticed here is your transaction in the 1st scope doesnt gets commited when an error happens in 2d scope).
    You can have a catch all to catch error which are not being caught at catch level. So if any error happens which is not defined in catch block then then it will be caught in catch all branch.
    Edited by: 333333 on Apr 12, 2011 9:39 AM

  • Creating Fault Handling and Exception in Oracle BPEL

    I am following BPELtutorial-Orderbooking.pdf and have successfully reached chapter 6 i.e. Creating Fault Handling and Exception in Oracle BPEL. Everything went fine except this one... i.e. after implementing the Fault Handling and Exception in Oracle BPEL when I execute my process and enter CustId that begins with 0.... the invokeCR generates error message as follows as expected:
    <NegativeCredit xmlns="http://services.otn.com">
    <part name="payload">
    <error xmlns="http://services.otn.com">Bankruptcy Report</error>
    </part>
    </NegativeCredit>
    However, the execution proceeds ahead instead of terminating. The tutorial states that the BPEL process should terminate as the SSN is invalid, can anyone please tell me whats going wrong.. ?

    Well not exactly.... but when click on the 'Audit' sheet under BPEL Console for this instance, I can see the following:
    invokeCR (faulted)
    [2006/03/20 10:35:07] "{http://services.otn.com}NegativeCredit" has been thrown. less
    <NegativeCredit xmlns="http://services.otn.com">
    <part name="payload">
    <error xmlns="http://services.otn.com">Bankruptcy Report</error>
    </part>
    </NegativeCredit>
    The above is exactly what the tutorial states will be the output, so I presumed that the exception must have fired !

  • How to specify java compiler options in JDeveloper ?

    I am using JDeveloper 10.1.2. I downloaded and installed JDK 5.0.
    In my "Project Properties"->"Libraries" I created a new "JDK 5.0" J2SE Version and pointed to the new JDK5.0 execuitable. So far so good.
    Now I need to compile all my source code with -source=1.4 option. How do I specify java compiler option "-source=1.4" in JDeveloper ?
    Thanks
    Sachin

    Even before compilig I am not sure that by just going to "Project Properties"->Libraries and creating a new J2SE, I now have the new compiler working with JDEveloper. How do I test this ?

  • IBM JRE 1.5: Uncaught exception in compiler

    I installed trial version of Flex Builder 2 Eclipse plug-in.
    If I run eclipse with the shortcut created by Flex Builder
    installation, everything works fine (it uses the Sun JRE 1.4.2
    included with the installation). If I modify the shortcut to run
    eclipse with the IBM JRE 1.5 (according to Flex 2.0.1 system
    requirements, such configuration is supported) and create new Flex
    project, the following error appears during the first build:
    Error
    Mon May 28 13:53:00 IDT 2007
    Uncaught exception in compiler
    java.lang.IllegalAccessError:
    org.apache.xerces.util.XMLAttributesImpl$Attribute
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
    at
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.j ava:160)
    at
    org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:49 8)
    at
    org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java: 468)
    at
    org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager. java:427)
    at
    org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :410)
    at
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:188)
    at
    org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:33 9)
    at
    org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
    at
    org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
    at
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.<init>(XMLDocumentFragmentScanner MMImpl.java:105)
    at
    org.apache.xerces.impl.XMLDocumentScannerMMImpl.<init>(XMLDocumentScannerMMImpl.java:258)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.<init>(XMLNSDocumentScannerMMImpl.java: 120)
    at
    org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.createDocumentScanner(Integ ratedParserConfigurationMMImpl.java:282)
    at
    org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown
    Source)
    at
    org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown
    Source)
    at
    org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.<init>(IntegratedParserConf igurationMMImpl.java:193)
    at
    org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:1 82)
    at
    org.apache.xerces.parsers.XML11ConfigurationMMImpl.<init>(XML11ConfigurationMMImpl.java:1 39)
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1263)
    at org.apache.xerces.util.ObjectFactory.newInstance(Unknown
    Source)
    at
    org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown
    Source)
    at org.apache.xerces.util.ObjectFactory.createObject(Unknown
    Source)
    at org.apache.xerces.util.ObjectFactory.createObject(Unknown
    Source)
    at
    org.apache.xerces.parsers.SAXParserMMImpl.<init>(SAXParserMMImpl.java:155)
    at
    org.apache.xerces.parsers.SAXParserMMImpl.<init>(SAXParserMMImpl.java:138)
    at
    org.apache.xerces.jaxp.SAXParserMMImpl.<init>(SAXParserMMImpl.java:109)
    at
    org.apache.xerces.jaxp.SAXParserFactoryMMImpl.newSAXParser(SAXParserFactoryMMImpl.java:10 2)
    at
    flex2.compiler.config.FileConfigurator.load(FileConfigurator.java:60)
    at
    flex2.tools.Compiler.processConfiguration(Compiler.java:465)
    at
    flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:208)
    at
    flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:180)
    at
    flex2.tools.oem.Application.recompile(Application.java:662)
    at flex2.tools.oem.Application.compile(Application.java:530)
    at
    flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:224)
    at
    com.adobe.flexbuilder.project.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(Un known
    Source)
    at
    com.adobe.flexbuilder.project.compiler.internal.ASApplicationBuilder.build(Unknown
    Source)
    at
    com.adobe.flexbuilder.project.compiler.internal.ASBuilder.build(Unknown
    Source)
    at
    com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(U nknown
    Source)
    at
    com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown
    Source)
    at
    org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
    at
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
    at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at
    org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
    at
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
    at
    org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
    at
    org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
    at
    org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145)
    at
    org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    I found the problem! Seems to be due to the fact that I'm using a package called "data", which caused a conflict while trying to access "this.data" in an item renderer.
    Explicitely casting "this.data" solved the problem!
    If someone would like to try to reproduce this error, old code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    autoDrawBackground="false" xmlns:components="visual.components.*">
    <components:ContactElement ContactID="{this.data.ContactID}"
    Sender="{this.data.Sender}"
    Target="{this.data.Target}"
    Accepted="{this.data.Accepted}"
    Player="{this.data.Player}"/>
    </s:ItemRenderer>
    New code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    autoDrawBackground="false" xmlns:components="visual.components.*">
    <fx:Script>
    <![CDATA[
    import data.ContactItem;
    ]]>
    </fx:Script>
    <components:ContactElement ContactID="{ContactItem(this.data).ContactID}"
    Sender="{ContactItem(this.data).Sender}"
    Target="{ContactItem(this.data).Target}"
    Accepted="{ContactItem(this.data).Accepted}"
    Player="{ContactItem(this.data).Player}"/>
    </s:ItemRenderer>
    Thanks again for the help. I panicked quite a lot when I discovered that ugly error!

  • *** Doubt regarding Exception Block ***

    Hi,
    I have a doubt regarding exception.
    My SP has 5-6 select queries that is used in" open <cursor name> for select ...."
    also a 'select count(id) into...' statement.
    Do I need to have an Exception block inside? I dont have any user defined execptions at all. So will there be any exceptions that gets generated in a select query?
    Also 'WHEN OTHERS THEN' is it OK to use where I dont know what all excaptions might occur?
    Regds,
    S

    Hi,
    Oracle will raise an error NO_DATA_FOUND , if any of your SELECT statement returns zero records, If you want your process to fail then you can have one common handler (either write to a error_log_table) do all the error_handling.
    If you want to continue for some SQL's to move to the next statement then you can do some thing like this.
    begin
    select statement
    when no_data_found then --not an issue, if no data is returned.
    NULL;
    Refere to this link for more information.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm#1079
    thanks

  • Regarding Exceptions in Reporting!!!

    Hi BI Experts,
    Is there any way to get or change the available colors in Exceptions on a query.
    I mean it gives three colors for exception reporting Green, Yellow and Red, but instead I want Green, <b>Blue</b> and Yellow.

    Hi Arun,
    You can change the color of exception at workbook level not query level.
    Please go through this Bhanu Gupta Post,
    Customizing color for defined exceptions
    and
    Re: regarding exceptions
    if it is useful assign points
    Regards,
    Senthil

  • Query regarding 'EXCEPTION'.Please see.

    I have a question regarding Exception.
    Lets assume that I have a method that throws an 'ArithmeticException',but
    instead of catching this exception,I will catch the 'Exception' object.
    try {
        }catch(Exception e){
        } Now correct me if I am mistaken in my analysis :
    Normally having a 'superclass and subclass heirarchy' gives you polymorphism.
    The subclass will override the method defined in the superclass and gives it
    its own implementation.
    I can then use the 'superclass reference' as a argument to a method which can execute
    the overridden method dynamically.
    Because the subclass has overridden the base class method,polymorphism takes place.
    Am I right in the above analysis?
    Now look at the exception example on top.
    I am passing the Exception reference to the catch clause (which is an indirect parent
    of ArithmeticException).
    My Question is:
    1)Which method has ArithmeticException overridden for polymorphism to take place?
    (ie,I am passing the superclass of the exception,and the JVM knows which exception to
    generate)
    2)Am I right in my analysis?

    Lets assume that I have a method that throws an
    'ArithmeticException',butThen your app is buggy.
    instead of catching this exception,I will catch the
    'Exception' object.Don't do that. Better fix your code.
    Am I right in the above analysis?Yepp, I guess so.
    1)Which method has ArithmeticException overridden for
    polymorphism to take place?Look at its source. Probably none.
    (ie,I am passing the superclass of the exception,and
    the JVM knows which exception to
    generate)That doesn't make sense. You're not passing anything. The code or JVM knows which exception to generate, and you just tell it which one to catch.

  • Query regarding Exception and invocation.

    I have a query regarding Exception.
    In my code, which throws an ArithmeticException:
    <code>
    public class TestArithmeticException{
    public static void main(String[] args)
    int a,b ;
    try {
    b=0;
    a = 50/b;
    }catch(Exception ex) {
    ex.printStackTrace()
    </code>
    The above code is catching exception of type Exception(which is superclass of all RuntimeExceptions)
    and which inturn extends the Throwable class.
    ie. Throwable -
    Exception -
    RuntimeException
    ArithmeticException
    Am I correct in my assumption below:
    a Because ArithmeticException is an indirect subclass of Throwable and has access to its inherited methods,
    it overrides the methods defined in 'Throwable', and then via polymorphism(superclass reference 'ex' in the catch clause)
    invokes the method ex.printStackTrace() ?
    Does it mean that all runtime exception child classes override the methods defined in Throwable, and then via polymorphism execute overridden
    methods?

    Yes.

  • Unable to deploy BPEL from jdeveloper 11g

    Hi
    I tried to deploy a simple bpel project from jdeveloper 11g to SOA 11g
    but i get the following error in the jdeveloper..
    Buildfile: D:\software\JDeveloper 111100\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite : 'D:\software\JDeveloper 111100\jdeveloper\system\mywork\DeployedBpelApplication\TestBpel\composite.xml'
    BUILD FAILED
    D:\software\JDeveloper 111100\jdeveloper\bin\ant-sca-compile.xml:242: Java returned: 1 Check log file : D:\software\JDeveloper 111100\jdeveloper\system\mywork\DeployedBpelApplication\TestBpel\SCA-INF\classes\scac.log for errors
    Total time: 4 seconds
    The Log file for ur reference ..
    java.lang.NoClassDefFoundError: 111100\jdeveloper\
    Caused by: java.lang.ClassNotFoundException: 111100\jdeveloper\
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: 111100\jdeveloper\. Program will exit.
    Exception in thread "main"
    Help me with these issue
    Thanks & Regards
    Bala

    Yes.
    Like pointed out by Theo,
    the exception is : "java.lang.NoClassDefFoundError: 111100\jdeveloper\."
    Its trying to look in the folder "111100" which does not exist (due to space instead of ....\JDeveloper 111100\.... , it starts right from \111100)
    I guess you will have ro re-install the JDev
    regards,
    Ketan

  • Null Pointer exception while invoking BPEL process

    Hi all,
    I am getting following exception when I am invoking a BPEL process1 (deployed in 10.1.3.1) from another BPEL Process 2 (deployed in 10.1.3.3)
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    BPEL Process 1 is working fine when given manual input (testing through console). But when invoked using BPEL Process 2, it gives the above error. I also tried invoking BPEL Process 1 (and many other webservices deployed in 10.1.3.1) using TCPMON tool and got the same error.
    Am I missing something here in configuration of 10.1.3.1 or any other issue? Please help as it is really urgent.

    Contact [email protected]
    Slava Imeshev wrote:
    Hi Ramu,
    "Ramu" <[email protected]> wrote in message
    I have just upgraded to service pack #13 on WLS 5.1 from service pack #6.I am using the same code as it was with SP #6. When I invoke finder method
    on entity bean, I get null pointer exception. The primary key object for the
    entity bean has equals() method.
    javax.ejb.FinderException: Exception executing finder:java.lang.NullPointerException
    atweblogic.ejb.internal.StatefulEJBCache.getFinderContext(StatefulEJBCache.jav
    a:264)
    atweblogic.ejb.internal.StatefulEJBCache.getEJBContext(StatefulEJBCache.java:3
    54)
    Check if equals() method can handle null parameter.
    Regards,
    Slava Imeshev--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • Video Podcast no longer plays audio

    Within the last week, (Possibly the last update), I can no longer get audio to work on Video Podcasts.  No audio in iTunes or on iPhone for Video Podcasts.  However, Audio Podcasts play just fine and no other issues with Movies, etc. 

  • CS6 won't export png correctly

    I used to be able to run an action in CS5 which would save a file in png with transparency, but now when I run the same action in CS6 the file is exported as a html file instead. Is anyone else having this issue?

  • Fan on stacks does not display

    I've used stacks before and I hadn't had this problem happen to me until just recently. I made a stack and when I right click and ctrl to view the preferences to change from grid to fan, fan is not even an option it only shows grid, list and automati

  • How to import from existing lightroom to the cloud

    How do I get my existing LR photos and catalogs into the new LR CC version? Thanks for your help!

  • Anti-virus program wants to delete all of compressed inbox, can't find offending file.

    Here's the message I get. Norton wants to delete entire compressed inbox and sent folders. Don't want to lose my entire inbox. Unresolved Threats: Risks in compressed file "Inbox" Type: Compressed Risk: High (High Stealth, High Removal, High Performa