3 Replies Latest reply: Nov 28, 2012 6:27 AM by 871780 RSS

    variable "Sender" is not defined

    RobertMetcalf
      Hi all,
      I have started getting an error when building or rebuilding some of my ABCS'. I did get this error once over a year ago:
      Composite errors after upgrade to 11.1.1.5.0
      On the previous occasion I was unable to resolve it and simply recreated all the affected ABCS'

      The Errors I am getting are as follows:
      scac:
      [scac] Validating composite "H:\JDev_ADF_SOA\mywork\AAAS\AccessQueryListEbizOSSProvABCS\composite.xml"
      [scac] Setting BPELC option 'classpath' to C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\oracle\products\JDeveloper_ADF_SOA\Middleware_11_1_1_5_0\jdeveloper\lib\aia.jar;;H:\JDev_ADF_SOA\mywork\AAAS\AccessQueryListEbizOSSProvABCS\SCA-INF\classes
      [scac] error: in AccessQueryListEbizOSSProvABCSProcess.bpel(85): XML element "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}Sender" of variable "Sender" is not defined
      [scac] error: in AccessQueryListEbizOSSProvABCSProcess.bpel(87): XML element "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}EBMHeader" of variable "EBM_HEADER" is not defined
      [scac] error: in AccessQueryListEbizOSSProvABCSProcess.bpel(469): XML element "{http://schemas.xmlsoap.org/ws/2003/03/addressing}EndpointReference" of variable "EndpointReference" is not defined


      I am working on a complicated project with mutiple ABCS'. This error appeared on on of the ABCS' when I created it. After spending a day generating the ABCS about 8 times on mutiple machines I always got the error with the same 3 variables reporting themselves to not be defined.
      I then asked the SOA server and Database backend to be restarted. This cleared the error and the composite complied normally.

      Now a couple of days later I have opened different ABCS and made one very small change. When I compile this composite the error has appeared. (3 variables not being defined)
      I tried un-doing the change and re-compiling, and I still get the problem.
      I have tried uploading the file to the Weblogic server and deploying using a deployment plan but I still get the same error.
      I have tried mutiple full restarts of the server and database but this time it is not making the error go away.


      I have weblogic 11.1.1.5
      I am on a cluster enviroment with 2 machines in the cluster.

      I have also redeployed the AIAConfigurationProperties file but that didn't work. After this I restarted weblogic and it's database and then the probem went away again; however a subsequent attempt to rebuild the composite resulted in the error returning.

      I have looked through vaious logs but can not find anything that points to a possible cause.
      Can anyone suggest any further avenues of enquiry?
      Robert
        • 1. Re: variable "Sender" is not defined
          RobertMetcalf
          Update, after the last redeploy and reboot the error seems to occur when rebuilding any ABCS not just the initial two that were failing.
          The error still occurs of different machines.
          • 2. Re: variable "Sender" is not defined
            RobertMetcalf
            FYI my scac log conatins the following:
            04-Oct-2012 14:46:49 oracle.adf.share.ADFContext getCurrent
            WARNING: Automatically initializing a DefaultContext for getCurrent.
            Caller should ensure that a DefaultContext is proper for this use.
            Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
            This message may be avoided by performing initADFContext before using getCurrent().
            To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
            04-Oct-2012 14:46:51 oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
            INFO: XMLSchema incremental build enabled.
            04-Oct-2012 14:46:52 com.collaxa.cube.CubeLogger info
            INFO: validating "AccessQueryListEbizOSSProvABCSProcess.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)

            Although this error appears when building ABCS' that both work and do not work
            • 3. Re: variable "Sender" is not defined
              871780
              Just Try to Edit the variables "sender","EBM Header" etc and Re-Select the Message Type.

              It should Work.

              Thanks,
              Chandra_