Error while transforming XSLT by calling function with Reflection API

Hi,
I'm new to Reflection API. I want to call function from the jar file which is not in my application context. So I have loaded that jar ( say XXX.jar) file at runtime with URLClassLoader and call the function say [ *myTransform(Document document)* ]. Problem is that when I want to transform any XSLT file in that function it throws exception 'Could not compile stylesheet'. All required classes are in XXX.jar.
If I call 'myTransform' function directly without reflection API then it transformation successfully completed.
Following is code of reflection to invoke function
        ClassLoader contextCL = Thread.currentThread().getContextClassLoader();
        URLClassLoader loader = new URLClassLoader(jarURLs, contextCL);
        Class c = loader.loadClass(fullClasspath);
        Constructor constructor = c.getDeclaredConstructor(constructorParamsClasses);
        Object instance = constructor.newInstance(constructorParams);
        Method method = c.getDeclaredMethod("myTransform", methodParamsClasses);
        Object object = method.invoke(instance, methodParams);Following is function to be called with reflection API.
public Document myTransform ( Document document ) {
// Reference of Document (DOM NODE) used to hold the result of transformation.
            Document doc = null ;
            // DocumentBuilderFactory instance which is used to initialize DocumentBuilder to create newDocumentBuilder.
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance () ;
            // Reference of DocumentBuilder used to create new Document (DOM NODE).
            DocumentBuilder builder;
            try {
                  // Initialize DocumentBuilder by using DocumentBuilderFactory instance.
                  builder = factory.newDocumentBuilder ();
                  // Initialize new document instance by using DocumentBuilder instance.
                  doc = builder.newDocument () ;
                  // Creates new DOMSource by using document (DOM NODE) which is coming through current transform() method parameter.
                  DOMSource domsource = new DOMSource ( document ) ;
                  // Creates new instance of TransformerFactory.
                  TransformerFactory transformerfactory = TransformerFactory.newInstance () ;
                  // Creates new Transformer instance by using TransformerFactory which holds XSLT file.
                  Transformer transformer = null;
********* exception is thrown from here onward ******************
                  transformer = transformerfactory.newTransformer (new StreamSource (xsltFile));
                  // Transform XSLT on document (DOM NODE) and store result in doc (DOM NODE).
                  transformer.transform ( domsource , new DOMResult ( doc ) ) ;
            } catch (ParserConfigurationException ex) {
                  ex.printStackTrace();
            } catch (TransformerConfigurationException ex) {
                  ex.printStackTrace();
            } catch (TransformerException ex) {
                 ex.printStackTrace();
            } catch (Exception ex) {
                 ex.printStackTrace();
            //holds result of transformation.
            return doc ;
}Following is full exception stacktrace
ERROR:  'The first argument to the non-static Java function 'myBeanMethod' is not a valid object reference.'
FATAL ERROR:  'Could not compile stylesheet'
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:623)
        at com.actl.dxchange.utilities.Transformation.transform(Transformation.java:83)
        at com.actl.dxchange.base.BaseConnector.transform(BaseConnector.java:330)
        at com.actl.dxchange.connectors.KuoniConnector.doRequestProcess(KuoniConnector.java:388)
        at com.actl.dxchange.connectors.KuoniConnector.hotelAvail(KuoniConnector.java:241)
        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:585)
        ...........

Hi,
Thanks for response.
Following is code for setting 'methodParamsClasses' array object. I do ensure that Document is not null and valid. My application is web application.
Document requestObj = /* my code for generating Document object*/
Object[] methodParams = new Object[]{requestObj}
Class[] methodParamsClasses = new Class[]{};
            if (methodParams != null) {
                methodParamsClasses = new Class[methodParams.length];
                for (int i = 0; i < methodParams.length; i++) {
                    if (methodParams[i] instanceof Document) {
/************** if parameter is instance of Document then I set class type as "Document.class" ***********/
                        methodParamsClasses[i] = Document.class;
                    } else {
                        methodParamsClasses[i] = methodParams.getClass();

Similar Messages

  • Error while transforming XSLT,"Could not compile stylesheet"

    Hi,
    During transformation of my XSLT I needs to fetch data from method named *"myMethod(String str)"*, which is in *"mypackage.test.MyClass"* class. MyClass is in{color:#000000} XXX.jar. {color}
    This XXX.jar is not in context of my web application.*
    Following is part of XSLT which I am using.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:aaa="mypackage.test.MyClass">
    <xsl:template match="/responseData">
    <xsl:for-each select="response">
    <XMLResponse>
    <xsl:for-each select="status">
    <xsl:variable name="Vvar_ResResponseType" select="."/>
    <xsl:attribute name="ResResponseType">
    <xsl:value-of select="aaa:myMethod($Vvar_ResResponseType)"/>
    </xsl:attribute>
    </xsl:for-each>
    </XMLResponse>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>So I tried to use reflection API to load XXX.jar file at runtime.
    But while transforming Transformer does not find "myMethod(String str)" and gives error like "Could not compile stylesheet"
    Following is full exception stacktrace
    ERROR:  'The first argument to the non-static Java function 'myMethod' is not a valid object reference.'
    FATAL ERROR:  'Could not compile stylesheet'
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:623)
    at com.actl.dxchange.utilities.Transformation.transform(Transformation.java:83)
    at com.actl.dxchange.base.BaseConnector.transform(BaseConnector.java:330)
    at com.actl.dxchange.connectors.KuoniConnector.doRequestProcess(KuoniConnector.java:388)
    at com.actl.dxchange.connectors.KuoniConnector.hotelAvail(KuoniConnector.java:241)
    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:585)
    ...........Please suggest is there any other way, so that Transformer can find required bean class from XXX.jar duruing transformation process.
    Thanks & Regards,
    Rohit Lad
    Edited by: Rohit_Lad on Jan 29, 2009 7:38 PM
    Edited by: Rohit_Lad on Jan 30, 2009 9:57 AM
    Edited by: Rohit_Lad on Jan 30, 2009 10:02 AM

    Got the solution from forum named
    "Reflections & Reference Objects"
    Following is link for whom encountered this issue.
    http://forums.sun.com/thread.jspa?threadID=5362426
    Edited by: Rohit_Lad on Jan 30, 2009 2:35 PM

  • Internal error while transforming bpmn to bpel

    Hi,
    i designed a simple bpmn model and i’ve got an error while transforming the model into a bpel process.
    Steps i’ve done:
    1.     SOA > Transform business process into bpel process
    2.     the following semantic check was ok and there were no errors listed
    3.     I selected the check box “create log file”
    4.     Then an error occurs: “Unable to perform transformation. Internal error: There are semantic errors in this model. The errors have been displayed on the model”
    5.     After clicking OK, the log file appears: -- WARNINGS --: W#17 : Warning: in the current model, some functions are not connected to services.”
    6.     in the bpmn model there are two objects marked with a red line: an automated activity and a XOR gateway (data-based).
    I don’t know what’s wrong with these objects. I checked the properties of the automated activity, but “Abstract BPEL activity” is selected and so I don’t understand what the problem is.
    Are there dependencies, I don’t see? The assignments of both objects are correct. Are there other requirements i have to consider?
    Previous to the automated activity there’s another XOR gateway (data-based) with three branches (one of them is the obviously incorrect activity) and all three branches meet in the red marked XOR gateway.
    Any idea?
    Regards
    Julika

    Hi Julika,
    The error message might not be related to the activities itself. I assume your model is not well structured. Consider that the following points aren't disregarded:
    * Never "jump" out of a particular branch into a different part of the model or into another branch
    * All functions/events have only one incoming/outgoing connection
    * Process parallel flows should be specified by splitting and joining AND/XOR rules, or they should contain either one splitting AND/XOR rule only for which there is no other connection between their paths, or one joining AND/XOR rule only that is met by all connections.
    Let me know if it did not help to fix your problem.
    Best regards,
    Danilo

  • Error while executing SAP E-Commerce Application with UME system

    When attempting to login to the B2B application (http://hostname:port/b2b/init.do), we receive the following error:
    Error while executing SAP E-Commerce Application with UME system; try again to log on. If the problem persists, call our hotline.
    I checked the defaultTrace log and every time the login page is called the following messages are displayed:
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The output is committed.
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###  at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:354)#
    another 40 lines of similar text
    When a login is attempted, the following messages are appended to the trace file:
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#Guest#0##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='begin' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin'#
    tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='end' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin' [forward]='/login.do' [exectime]='42'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofuncionexecution]='begin' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##<hostname>_CJM_678801250#USER1#f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofunctionexecution]='end' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM' [exectime]='12'#
    I have modified the userid and hostname in the above trace output.
    Does anyone know how we can debug this issue further?
    Thanks,
    Setu

    Hi,
    Are you using UME login type for your B2B Scenario?
    In your B2B XCM setting have you selected UME related login type?
    eCommerce Developer

  • Error while executing C MEX S-function 'sysgen', (mdlTerminate)

    Hi 
    We are trying to use System generator with Vivado 2014.4. We are encountering the above problem, which is causing a segmentation violation and MATLAB crach, when a simulation in sysgen is finishing up.
    It seems like that there has been an equivalent problem before, in an older version of System Generator, which has been answered in AR#31095. Search results say that this AR was:
    Why do I receive "Error while executing C MEX S-function 'sysgen', (mdlTerminate). Unexpected unknown exception from MEX file" when I simulate my System Generator model? How do I set up my system environment properly? See (Xilinx Answer 31095).
    Unfortunately, the AR is missing in the xilinx site. What did this answer record say? Might be applicable to our case?
     

    That is because the bpel file contains the absolute path to the xsl file instead of the relative path.
    ora:doXSLTransformForDoc('file:/C:/JDeveloper/mywork/xsl/tranform_02.xsl' .....
    should be
    ora:doXSLTransformForDoc('xsl/tranform_02.xsl' .....
    As far as I know, this is a bug in JDeveloper for putting this information here. I've removed it using the source view only to find it there again.

  • Powershell error while importing module and executing function from module

    powershell error while importing module and executing function from module
    Function called in uncertain order..
    VERBOSE: The 'Function1' command in the MyModule module was imported, but because its name does not include an approved verb, it might be difficult to find. The
    suggested alternative verbs are "Clear, Install, Publish, Unlock".
    VERBOSE: Importing function 'Function1'.
    VERBOSE: The 'Function2' command in the MyModule' module was imported, but because its name does not include an approved verb, it might be difficult to fin
    d. For a list of approved verbs, type Get-Verb.
    VERBOSE: Importing function 'Function2'.

    First of all those errors look more related to HBR, though if it worked before I would restart services then log into the planning app and then try again.
    Have you tried a different form as well one without an ampersand &.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • JSPM: Error while detecting start profile for instance with ID _c.

    Hi Experts,
    we have an error when we start JSPM with message "cannot initialize application data. Error while detecting start profile for instance with ID _c." . Until now nothing has been updated yet. The system can be started up and shut down without any problem. The profiles are found in /usr/sap/PMA/SYS/profile
    Our BI system is currently Netweaver 7.0 with SPS14. We plan to update it to SPS20. But when we start JSPM, we have abover error.
    could somebody give a help? Thank you very much.
    Rongfeng
    P.S. the log file DETECT_SYSTEM_PARAMETERS_01.LOG:
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/log/log_2009_11_18_10_28_50/DETECT_SYSTEM_PARAMETERS_01.LOG]/>
    <!PATTERN[DETECT_SYSTEM_PARAMETERS_01.LOG]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    #1.5^H#C000995FC0200000000000207BD47BD40004789C01294DB0#1258511336558#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.gui.InitialParametersDetector.initializeJspmDataModel(InitialParametersDetector.java:397)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.InitialParametersDetector.initializeJspmDataModel(InitialParametersDetector.java:397)#Java###Initializing JSPM data model...##
    #1.5^H#C000995FC0200000000000217BD47BD40004789C01295968#1258511336561#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.gui.InitialParametersDetector.detectProfileDirectory(InitialParametersDetector.java:1468)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.InitialParametersDetector.detectProfileDirectory(InitialParametersDetector.java:1468)#Java###Detected profile directory .#1#/usr/sap/PMA/SYS/profile#
    #1.5^H#C000995FC0200000000000227BD47BD40004789C0141AFE0#1258511338156#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.gui.InitialParametersDetector.detectDb(InitialParametersDetector.java:936)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.InitialParametersDetector.detectDb(InitialParametersDetector.java:936)#Java###Detecting the parameters of the database...##
    #1.5^H#C000995FC0200000000000237BD47BD40004789C014205D0#1258511338178#/System/Server/Upgrade/JSPM##com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:261)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:261)#Java###Executing command with arguments .#2#dbinfo#/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/config/DBINFO.XML#
    #1.5^H#C000995FC0200000000000247BD47BD40004789C01421570#1258511338182#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:41)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:41)#Java###Java process ID , name has been started.#2#5#com.sap.sdt.dmt.main.DMT#
    #1.5^H#C000995FC0200000000000257BD47BD40004789C01421958#1258511338183#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:54)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:54)#Java###Command line: #2#  #/opt/IBMJava2-amd64-142/jre/bin/java -cp .:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/sdt_dmt.jar:/oracle/client/10x_64/instantclient/ojdbc14.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/jddi.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/opensqlsta.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/tc_sec_secstorefs.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/frame.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/exception.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/logging.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/jperflib.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/lib/util.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/./lib/tc_sec_secstorefs.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/./lib/exception.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/./lib/logging.jar:/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/./lib/opensqlsta.jar:/sapmnt/PMA/global/security/lib/tools/info/IAIKSecurityFS.list:/sapmnt/PMA/global/security/lib/tools/iaik_jce.jar:/sapmnt/PMA/global/security/lib/tools/iaik_smime.jar:/sapmnt/PMA/global/security/lib/tools/iaik_jsse.jar:/sapmnt/PMA/global/security/lib/tools/w3c_http.jar:/sapmnt/PMA/global/security/lib/tools/iaik_ssl.jar:/sapmnt/PMA/global/security/lib/engine/info/IAIKSecurityFS.list:/sapmnt/PMA/global/security/lib/engine/iaik_jce.jar com.sap.sdt.dmt.main.DMT -rootdir=/usr/sap/PMA/DVEBMGS10/j2ee/JSPM -descriptor=csrt29_PMA -logfile=/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/log/log_2009_11_18_10_28_50/DMT_01.LOG dbinfo /usr/sap/PMA/DVEBMGS10/j2ee/JSPM/config/DBINFO.XML#
    #1.5^H#C000995FC0200000000000267BD47BD40004789C01422128#1258511338185#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:55)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.JavaOsProcessController.logProcessInfo(JavaOsProcessController.java:55)#Java###Standard out: #2#  #/usr/sap/PMA/DVEBMGS10/j2ee/JSPM/log/log_2009_11_18_10_28_50/DMT_01_01.OUT#
    #1.5^H#C000995FC0200000000000277BD47BD40004789C01424838#1258511338195#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.OsProcessController.launch(OsProcessController.java:126)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.OsProcessController.launch(OsProcessController.java:126)#Java###Process ID has been started.#1#5#
    #1.5^H#C000995FC0200000000000287BD47BD40004789C014253F0#1258511338198#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:182)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:182)#Java###Waiting for process ID , name to finish.#2#5#java#
    #1.5^H#C000995FC0200000000000297BD47BD40004789C017402B0#1258511341454#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:215)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.tools.proc.OsProcessController.waitFor(OsProcessController.java:215)#Java###Process ID , name has been finished, exit code .#3#5#java#0#
    #1.5^H#C000995FC02000000000002A7BD47BD40004789C01741638#1258511341459#/System/Server/Upgrade/JSPM##com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:273)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:273)#Java###Command has been executed.#1#dbinfo#
    #1.5^H#C000995FC02000000000002B7BD47BD40004789C017421F0#1258511341462#/System/Server/Upgrade/JSPM##com.sap.sdt.jspm.gui.InitialParametersDetector.detectDb(InitialParametersDetector.java:984)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.InitialParametersDetector.detectDb(InitialParametersDetector.java:984)#Java###Detection of the parameters of the database has finished. Database type is , database name is and database version is .#3#ORA#Oracle#10.2.0.2.0#
    #1.5^H#C000995FC02000000000002C7BD47BD40004789C01744CE8#1258511341473#/System/Server/Upgrade/JSPM##com.sap.sdt.j2ee.tools.sysinfo.AbstractInfoController.updateProfileVariable(AbstractInfoController.java:284)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.j2ee.tools.sysinfo.AbstractInfoController.updateProfileVariable(AbstractInfoController.java:284)#Java###Parameter has been detected. Parameter value is .#2#/J2EE/StandardSystem/DefaultProfilePath#/usr/sap/PMA/SYS/profile/DEFAULT.PFL#
    Sorry, I don't know how to format post 
    Edited by: Rongfeng Shi on Nov 18, 2009 4:20 AM

    Hi Rongfeng,
    There is not much information about the error in the log file you have pasted above.
    Please repeat the issue and catch the log files once again.
    Are you able to open SDM ?
    Best Regards
    Raghu

  • System is giving ABAP run time error while perform LT06 or create TO with r

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    Short dump has not been completely stored. It is too big.
    P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    Hi,
    Go to Tcode ST22 and mentione the dump code there and check.
    Also take help[ of Abapers to fix it.
    Thanks
    Utsav

  • ABAP run time error while perform LT06 or create TO with respect to posting

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    >> Short dump has not been completely stored. It is too big.
    >       P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    This part is just the place in the program where the error occured, but why the error occured is mentioned earlier in the dump.
    Maybe you have a too big number in the field and hence a field overflow, maybe you have a character instead of a number in the field.
    Read the dump from the beginning. if you dont know how to read a dump,then try to get help from any local Abaper.

  • Error while transforming XML in mediator

    I have a mediator on my composite that routes from a webservice to an ADF-BC Service.
    I mapped the input from my webservice to the input of my ADF BC SDO. That works. When i look in the enterprise manager, the parameters are routed correctly.
    The service will return a record so i need a transformation from the SDO to the webservice. When i create this, and test the transformation i get a transformation failed error.
    When in JDeveloper, you can test the XSL and let JDev generate an XML to test the XSL. With that XML it works but when i look at the payload in the enterprise manager of my service, it looks completly different.
    This is the error i see in my EM: Error in transforming message part "parameters" using "xsl/getUserResponse_To_getUserResponse.xsl"
    here is an example of the XML generated by JDev that WORKS with the XSL:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ns4:getUserResponse xmlns:ns4="http://myserver.com/">
       <return>
          <classificationCode>17</classificationCode>
          <companyAddress>14</companyAddress>
          <companyVAT>CompanyVat1</companyVAT>
          <createdBy>CreatedBy21</createdBy>
          <creation>2010-09-15T09:32:31.314</creation>
          <dn>Dn22</dn>
          <email>Email8</email>
          <firstLanguage>FirstLanguage9</firstLanguage>
          <firstName>Firstname3</firstName>
          <jobFunction>JobFunction18</jobFunction>
          <lastModification>2010-09-15T09:32:31.314</lastModification>
          <lastModifiedBy>LastModifiedBy20</lastModifiedBy>
          <lastName>Lastname4</lastName>
          <login>Login2</login>
          <mobile>Mobile12</mobile>
          <password>Password5</password>
          <personalWorkAddress>15</personalWorkAddress>
          <photo>MTY=</photo>
          <remarks>Remarks19</remarks>
          <secondLanguage>SecondLanguage10</secondLanguage>
          <status>13</status>
          <telephoneWork>TelephoneWork11</telephoneWork>
          <title>Title6</title>
          <userContact>7</userContact>
          <validFrom>2010-09-15T09:32:31.314</validFrom>
          <validTo>2010-09-15T09:32:31.314</validTo>
       </return>
    </ns4:getUserResponse>This is the payload i see in the enterprise manager that will not get transformed:
    <message>
    <parts>
    <part name="parameters">
    <ns2:getUserResponse>
    <ns2:result>
    <ns1:CompanyVat>1234</ns1:CompanyVat>
    <ns1:Login>Yannick</ns1:Login>
    <ns1:Firstname>Yannick</ns1:Firstname>
    <ns1:Lastname>Ongena</ns1:Lastname>
    <ns1:Password xsi:nil="true"/>
    <ns1:Title xsi:nil="true"/>
    <ns1:UserContact xsi:nil="true"/>
    <ns1:Email xsi:nil="true"/>
    <ns1:FirstLanguage xsi:nil="true"/>
    <ns1:SecondLanguage xsi:nil="true"/>
    <ns1:TelephoneWork xsi:nil="true"/>
    <ns1:Mobile xsi:nil="true"/>
    <ns1:Status xsi:nil="true"/>
    <ns1:CompanyAddress xsi:nil="true"/>
    <ns1:PersonalWorkAddress xsi:nil="true"/>
    <ns1:Classification xsi:nil="true"/>
    <ns1:JobFunction xsi:nil="true"/>
    <ns1:Remarks xsi:nil="true"/>
    <ns1:ValidFrom>2010-09-14T08:52:05.0Z</ns1:ValidFrom>
    <ns1:ValidTo>2010-09-14T08:52:05.0Z</ns1:ValidTo>
    <ns1:LastModification>2010-09-14T08:52:05.0Z</ns1:LastModification>
    <ns1:LastModifiedBy xsi:nil="true"/>
    <ns1:Creation>2010-09-14T08:52:05.0Z</ns1:Creation>
    <ns1:CreatedBy xsi:nil="true"/>
    <ns1:Dn xsi:nil="true"/>
    </ns2:result>
    </ns2:getUserResponse>
    </part>
    </parts>
    </message> As you can see... it looks different.
    However the mapping is based upon the WSDL's from my webservice and ADF-BC service. I can't see what i'm doing wrong.
    As last, here is the XSL:
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
      <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
      <mapSources>
        <source type="WSDL">
          <schema location="http://idirblockap008:7001/UserDataService/UserDataService?wsdl"/>
          <rootElement name="getUserResponse" namespace="/myServer/dataaccess/common/types/"/>
        </source>
      </mapSources>
      <mapTargets>
        <target type="WSDL">
          <schema location="../public_html/WEB-INF/wsdl/UserService.wsdl"/>
          <rootElement name="getUserResponse" namespace="http://myServer.com/"/>
        </target>
      </mapTargets>
      <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.2.0(build 091103.1205.1216) AT [WED SEP 15 09:45:29 CEST 2010]. -->
    ?>
    <xsl:stylesheet version="1.0"
                    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                    xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                    xmlns:types="/myServer/dataaccess/common/types/"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:ns4="http://myServer.com/"
                    xmlns:tns="/myserver/dataaccess/common/"
                    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                    xmlns:ora="http://schemas.oracle.com/xpath/extension"
                    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                    xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
                    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                    xmlns:ns1="commonj.sdo/xml"
                    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                    xmlns:ns5="http://infrabel.businesscorner.com/types"
                    xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/"
                    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                    xmlns:med="http://schemas.oracle.com/mediator/xpath"
                    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:ns3="commonj.sdo/java"
                    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                    xmlns:ns0="commonj.sdo"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                    exclude-result-prefixes="xsi xsl types tns soap wsdl errors ns1 ns2 ns3 ns0 xsd ns4 soap12 mime ns5 bpws xpath20 ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
      <xsl:template match="/">
        <ns4:getUserResponse>
          <return>
            <classificationCode>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Classification"/>
            </classificationCode>
            <companyAddress>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CompanyAddress"/>
            </companyAddress>
            <companyVAT>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CompanyVat"/>
            </companyVAT>
            <createdBy>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CreatedBy"/>
            </createdBy>
            <creation>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Creation"/>
            </creation>
            <dn>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Dn"/>
            </dn>
            <email>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Email"/>
            </email>
            <firstLanguage>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:FirstLanguage"/>
            </firstLanguage>
            <firstName>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Firstname"/>
            </firstName>
            <jobFunction>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:JobFunction"/>
            </jobFunction>
            <lastModification>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:LastModification"/>
            </lastModification>
            <lastModifiedBy>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:LastModifiedBy"/>
            </lastModifiedBy>
            <lastName>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Lastname"/>
            </lastName>
            <login>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Login"/>
            </login>
            <mobile>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Mobile"/>
            </mobile>
            <password>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Password"/>
            </password>
            <personalWorkAddress>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:PersonalWorkAddress"/>
            </personalWorkAddress>
            <photo>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Photo"/>
            </photo>
            <remarks>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Remarks"/>
            </remarks>
            <secondLanguage>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:SecondLanguage"/>
            </secondLanguage>
            <status>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Status"/>
            </status>
            <telephoneWork>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:TelephoneWork"/>
            </telephoneWork>
            <title>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Title"/>
            </title>
            <userContact>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:UserContact"/>
            </userContact>
            <validFrom>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:ValidFrom"/>
            </validFrom>
            <validTo>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:ValidTo"/>
            </validTo>
          </return>
        </ns4:getUserResponse>
      </xsl:template>
    </xsl:stylesheet>Am i doing something wrong in the mediator?
    Edited by: Yannick Ongena on Sep 15, 2010 9:52 AM

    Here is the output of the log:
    <Sep 15, 2010 2:07:52 PM CEST> <Error> <oracle.webservices.service> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid..>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)
            at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381)
            at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298)
            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 com.sun.el.parser.AstValue.invoke(AstValue.java:157)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260)
            at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985)
            at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:716)
            at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569)
            ... 68 more
    Caused by: javax.xml.ws.soap.SOAPFaultException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882)
            at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:715)
            at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226)
            at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97)
            at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256)
            ... 71 moreAnd this is the operation part of the mediator:
    <operation name="getUser" deliveryPolicy="AllOrNothing" priority="4"
                 validateSchema="false">
        <switch>
          <case executionType="direct" name="UserDataService.getUser">
            <action>
              <transform>
                <part name="$out.parameters"
                      function="xslt(xsl/getUserSmall_To_getUserSmall.xsl, $in.parameters)"/>
              </transform>
              <invoke reference="UserDataService" operation="getUser">
                <onReply>
                  <transform>
                    <part name="$out.parameters"
                          function="xslt(xsl/getUserSmallResponse_To_getUserSmallResponse.xsl, $in.parameters)"/>
                  </transform>
                  <reply/>
                </onReply>
                <onFault type="ServiceException"/>
              </invoke>
            </action>
          </case>
        </switch>
      </operation>Edited by: Yannick Ongena on Sep 15, 2010 2:08 PM
    Edited by: Yannick Ongena on Sep 15, 2010 2:39 PM

  • Error while generating code in brf+ function

    Hi all,
    i am getting error while generating code in function in bRF+
    am using weight fields ..if i dont use quantity fields am able to generate code .
    please help.
    Thanks.

    Can you provide more details? What exactly is the error?
    I think we have provided a note for the issue. With the details it should be possible to identify the note number.

  • Error while running forge post Endeca integration with ATG

    Hi All,
    We have integrated Endeca application with ATG and then tried running the Endeca baseline update script. However the script failed with the below error message
    Parsing XML dimensions data with validation turned on
    Parsing project file "C:\apps\ATGSample\data\forge_output\ATGSample.xml" (project="ATGSample")
    XMLParser: Reading dimensions, dvals, and synonyms from file "C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml"
    ERROR 06/07/13 05:15:57.022 UTC (1370582157018) DGIDX {dgidx,baseline} Internal error while decompressing input stream: null
    FATAL 06/07/13 05:15:57.022 UTC (1370582157018) DGIDX {dgidx,baseline} Fatal error at file , line 0, char 0; Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml
    WARN 06/07/13 05:15:57.022 UTC (1370582157019) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/06/07 10:45:57 | INFO | Disabling log callback
    We checked the physical location of forge output and found that there is no file called 'ATGSample.dimensions.xml '
    However, when we manually placed this file in the forge output folder and ran dgidx alone, the baseline update failed with the below error
    Parsing XML dimensions data with validation turned on
    Parsing project file "C:\apps\ATGSample\data\forge_output\ATGSample.xml" (project="ATGSample")
    XMLParser: Reading dimensions, dvals, and synonyms from file "C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml"
    ERROR 06/07/13 05:15:57.022 UTC (1370582157018) DGIDX {dgidx,baseline} Internal error while decompressing input stream: null
    FATAL 06/07/13 05:15:57.022 UTC (1370582157018) DGIDX {dgidx,baseline} Fatal error at file , line 0, char 0; Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml
    WARN 06/07/13 05:15:57.022 UTC (1370582157019) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/06/07 10:45:57 | INFO | Disabling log callback
    ============================================================================
    === DGIDX: Version = "6.4.0.692722"
    === Start Time : Fri Jun 07 11:04:15 2013
    === Arguments : "C:\Endeca\MDEX\6.4.0\bin\dgidx.exe -v --compoundDimSearch --lang en --out C:\apps\ATGSample\logs\dgidxs\Dgidx\Dgidx.log --dtddir C:\Endeca\MDEX\6.4.0\conf\dtd --tmpdir C:\apps\ATGSample\data\temp C:\apps\ATGSample\data\forge_output\ATGSample C:\apps\ATGSample\data\dgidx_output\ATGSample"
    === Current Directory : C:\apps\ATGSample
    === Exec Path : C:\Endeca\MDEX\6.4.0\bin\dgidx.exe
    ============================================================================
    Language/collation in use is English (collation=endeca)
    WARN 06/07/13 05:34:15.054 UTC (1370583255046) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/06/07 11:04:15 | INFO | Enabling log callback
    No application configuration specified. Using "C:\apps\ATGSample\data\forge_output\ATGSample" as the application configuration prefix.
    ============================================================================
    === DGIDX: Starting phase "Read raw dimensions, properties, and records"
    === Current Time : Fri Jun 07 11:04:15 2013
    === Total Elapsed : 0.1131 seconds
    === User CPU Time : 0.0625 seconds
    === System CPU Time : 0.1250 seconds
    === Memory Usage : 18.44 MB
    ============================================================================
    Parsing XML dimensions data with validation turned on
    Parsing project file "C:\apps\ATGSample\data\forge_output\ATGSample.xml" (project="ATGSample")
    XMLParser: Reading dimensions, dvals, and synonyms from file "C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml"
    In Dval [id=10001] named "clothing-sku.color", the name is non-searchable.
    In Dval [id=10002] named "clothing-sku.size", the name is non-searchable.
    In Dval [id=10003] named "furniture-sku.woodFinish", the name is non-searchable.
    In Dval [id=10093] named "product.brand", the name is non-searchable.
    In Dval [id=10094] named "product.catalogId", the name is non-searchable.
    In Dval [id=10006] named "product.disallowAsRecommendation", the name is non-searchable.
    In Dval [id=10007] named "product.features.displayName", the name is non-searchable.
    In Dval [id=10095] named "product.language", the name is non-searchable.
    In Dval [id=10008] named "product.nonreturnable", the name is non-searchable.
    In Dval [id=10096] named "product.priceListPair", the name is non-searchable.
    In Dval [id=10009] named "product.siteId", the name is non-searchable.
    In Dval [id=10010] named "sku.siteId", the name is non-searchable.
    In Dval [id=10011] named "product.category", the name is non-searchable.
    In Dval [id=10079] named "item.type", the name is non-searchable.
    XMLParser: Done reading dimensions, dvals, and synonyms from "C:\apps\ATGSample\data\forge_output\\ATGSample.dimensions.xml"
    XMLParser: Reading auto propmap file "C:\apps\ATGSample\data\forge_output\\ATGSample.auto_propmap.xml"
    XMLParser: Done reading auto propmap file "C:\apps\ATGSample\data\forge_output\\ATGSample.auto_propmap.xml"
    XMLParser: Reading properties from file "C:\apps\ATGSample\data\forge_output\ATGSample.prop_refs.xml"
    XMLParser: Done reading properties from file "C:\apps\ATGSample\data\forge_output\ATGSample.prop_refs.xml"
    XMLParser: Reading rollup properties and dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.rollups.xml"
    XMLParser: Done reading rollup properties and dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.rollups.xml"
    XMLParser: Reading record spec property from file "C:\apps\ATGSample\data\forge_output\ATGSample.record_spec.xml"
    XMLParser: Property "common.id" is a record spec property.
    XMLParser: Done reading record specs from "C:\apps\ATGSample\data\forge_output\ATGSample.record_spec.xml"
    XMLParser: Reading record filter properties from file "C:\apps\ATGSample\data\forge_output\ATGSample.record_filter.xml"
    XMLParser: Done reading record filter properties from file "C:\apps\ATGSample\data\forge_output\ATGSample.record_filter.xml"
    XMLParser: Creating dimensions from dvals.
    XMLParser: Reading rollup properties and dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.rollups.xml"
    XMLParser: Done reading rollup properties and dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.rollups.xml"
    XMLParser: Reading dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimension_refs.xml"
    XMLParser: Done reading dimensions from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimension_refs.xml"
    XMLParser: Reading dimension groups from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimension_groups.xml"
    XMLParser: Done reading dimension groups from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimension_groups.xml"
    XMLParser: Reading precedence rules from file "C:\apps\ATGSample\data\forge_output\ATGSample.precedence_rules.xml"
    XMLParser: Done reading precedence rules from file "C:\apps\ATGSample\data\forge_output\ATGSample.precedence_rules.xml"
    XMLParser: Reading dval refs from file "C:\apps\ATGSample\data\forge_output\ATGSample.dval_refs.xml"
    XMLParser: Done reading dval refs from file "C:\apps\ATGSample\data\forge_output\ATGSample.dval_refs.xml"
    XMLParser: Reading dval ranks from file "C:\apps\ATGSample\data\forge_output\ATGSample.dval_ranks.xml"
    XMLParser: Done reading dval ranks from file "C:\apps\ATGSample\data\forge_output\ATGSample.dval_ranks.xml"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10079] "item.type"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10094] "product.catalogId"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10095] "product.language"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10009] "product.siteId"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10001] "clothing-sku.color"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10007] "product.features.displayName"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10006] "product.disallowAsRecommendation"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10002] "clothing-sku.size"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10003] "furniture-sku.woodFinish"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10008] "product.nonreturnable"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10093] "product.brand"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10096] "product.priceListPair"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10010] "sku.siteId"
    ERROR 06/07/13 05:34:15.242 UTC (1370583255242) DGIDX {dgidx,baseline} No dimension_refs entry found for dimension [10011] "product.category"
    XMLParser: Reading refinement config from file "C:\apps\ATGSample\data\forge_output\ATGSample.refinement_config.xml"
    XMLParser: Done reading refinement config from file "C:\apps\ATGSample\data\forge_output\ATGSample.refinement_config.xml"
    XMLParser: Reading dimension search index configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimsearch_index.xml"
    XMLParser: Done reading dimension search index configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.dimsearch_index.xml"
    XMLParser: Reading record search index configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.recsearch_indexes.xml"
    XMLParser: Done reading record search index configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.recsearch_indexes.xml"
    XMLParser: Reading record search interface configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.recsearch_config.xml"
    XMLParser: Done reading record search interface configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.recsearch_config.xml"
    WARN 06/07/13 05:34:15.288 UTC (1370583255283) DGIDX {dgidx,baseline} Errors while parsing record search interface configuration from file "C:\apps\ATGSample\data\forge_output\ATGSample.recsearch_config.xml": RETURN_RELRANK_SCORE no longer supported. Search interface member "allAncestors.displayName" in interface "All" is not a property or dimension Search interface member "product.displayName" in interface "All" is not a property or dimension Search interface member "sku.displayName" in interface "All" is not a property or dimension Cannot put search interface member "product.features.displayName" into the search interface "All" because it has not been enabled for full-text search Cannot put search interface member "product.brand" into the search interface "All" because it has not been enabled for full-text search Search interface member "product.repositoryId" in interface "All" is not a property or dimension Search interface member "sku.repositoryId" in interface "All" is not a property or dimension Search interface member "product.briefDescription" in interface "All" is not a property or dimension Search interface member "product.description" in interface "All" is not a property or dimension Search interface member "product.longDescription" in interface "All" is not a property or dimension Search interface member "product.keywords" in interface "All" is not a property or dimension Cannot put search interface member "clothing-sku.color" into the search interface "All" because it has not been enabled for full-text search Cannot put search interface member "clothing-sku.size" into the search interface "All" because it has not been enabled for full-text search Cannot put search interface member "furniture-sku.woodFinish" into the search interface "All" because it has not been enabled for full-text search Search interface member "sku.manufacturer_part_number" in interface "All" is not a property or dimension
    XMLParser: Reading search chars from file "C:\apps\ATGSample\data\forge_output\ATGSample.search_chars.xml"
    XMLParser: Done reading search chars from file "C:\apps\ATGSample\data\forge_output\ATGSample.search_chars.xml"
    XMLParser: Reading language stemming settings from file "C:\apps\ATGSample\data\forge_output\ATGSample.stemming.xml"
    XMLParser: Done reading per-language stemming settings from file "C:\apps\ATGSample\data\forge_output\ATGSample.stemming.xml"
    Default language English manually configured to use static word forms.
    XMLParser: Reading word forms from file "C:\Endeca\MDEX\6.4.0\conf\stemming\en_word_forms_collection.xml"
    XMLParser: Done reading word forms from file "C:\Endeca\MDEX\6.4.0\conf\stemming\en_word_forms_collection.xml". There are 50374 word forms.
    XMLParser: Reading language config from file "C:\apps\ATGSample\data\forge_output\ATGSample.languages.xml"
    XMLParser: Done reading language config from file "C:\apps\ATGSample\data\forge_output\ATGSample.languages.xml"
    XMLParser: Reading stop words from file "C:\apps\ATGSample\data\forge_output\ATGSample.stop_words.xml"
    XMLParser: Done reading stop words from file "C:\apps\ATGSample\data\forge_output\ATGSample.stop_words.xml", finished in 0.0039 seconds.
    FATAL 06/07/13 05:34:17.616 UTC (1370583257616) DGIDX {dgidx,baseline} ENE Indexer: Error processing records file.
    WARN 06/07/13 05:34:17.616 UTC (1370583257616) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/06/07 11:04:17 | INFO | Disabling log callback

    I've seen this type of error before when Forge is configured to read multiple files with spec *.xml.  Is that how you've configured your record adapter?  This configuration then collides with Forge XML config files merged into the same data/processing directory.
    From memory there's a couple of solutions for this - one might be to give the files a common name prefix if that's feasible, e.g. _data*.xml.  You could use a sub-directory to separate the files, but you'd need to modify your copy scripts.

  • ORA-28750 Unknown Error while trying to execute an external app's API call?

    New to using web services in PLSQL
    Environment
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux IA64: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    App Server:
    RedHat ES 3.0 and Oracle Application Server 9.0.4 (IAS release 1)
    We are designing a plsql application, that is able to call an external application's webservice APIs. We have created an oracle wallet for this, where we have successfully imported the corrrect security certificate issued by the API provider.
    All we are trying to do is to call one of the methods (LOGIN), which should login the provided user into the application and should return a valid session id. For this, I have a function, http_request, which first establishes the request to the URI. The code is failing at this call, with following error:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-28750: unknown error
    I could not find more information on ORA-28750..?
    Here is the function cal, in our application package:
    FUNCTION http_request(
    p_uri IN VARCHAR2,
    p_method IN VARCHAR2 DEFAULT 'GET',
    p_http_version IN VARCHAR2 DEFAULT NULL
    RETURN UTL_HTTP.req IS
    v_request UTL_HTTP.req;
    BEGIN
    v_request := UTL_HTTP.begin_request(p_uri, p_method, p_http_version);
    IF v_session_id IS NOT NULL THEN
    UTL_HTTP.set_header(v_request, 'SessionID', v_session_id);
    END IF;
    RETURN v_request;
    END http_request;
    Here is my anonymous block, where I tested the function with the URI parameters
    declare
    v_request UTL_HTTP.req;
    begin
    UTL_HTTP.set_wallet('file:/etc/ORACLE/WALLETS/attask', '<pwdforattask>');
    v_request := pkg_attask_api.http_request('https://streamsandbox.attask-ondemand.com/attask/api/login?username=<valid_user_name>&password=<valid_pwd>','GET',NULL);
    end;
    Please note that user name and passwords used for the above test have been tested to be correct. When I login to web interface of the URL, these values work fine.
    Any help is appreciated as I am close to hitting the wall on this!
    Thanks for your time and expertise,
    Suma

    28750, 00000, "unknown error"
    // *Cause:   An Oracle Security Server error of an unspecified type occurred.
    // *Action:  Enable tracing to determine the exact cause of this error.
    //           Contact Oracle customer support if needed.

  • Call function with select arguments

    Hi Gurus,
    I have problem to call function inside select statements as follow:
    select a.ID_ELE2, a.ID_ELE3, a.DT_FIS_YR, c.NU_FIS_PER, c.dt,
    (case
    when c.ld is null then
    GET_LD_CHECK (a.DT_FIS_YR,c.NU_FIS_PER, a.ID_ELE3, a.ID_ELE2) -- 1
    -- GET_LD_CHECK ('2009',7, '8010', '7493') --- 2
    else
    c.ld
    end ) description
    from ACCOUNT a, TRANSACTION c
    where a.DT_FIS_YR ='2009'
    and a.ID_ELE3 <> '0000'
    and c.TY_SRC not in ('CL', 'CN')
    and a.DT_FIS_YR = c.nu_fis_yr
    and a.AK = c.AK_FGCHAR
    and trim(a.ID_ELE3) ='8010'
    and c.NU_FIS_PER <> 14
    order by 1,4,5,6
    the 1 doesn't output result but the 2 it does! How can pass the select result to the function?
    Thanks in advance for your help.
    Ben

    The statement / function call seems to be ok. So there are not much chances left for your call to return different (=non) values.
    1) It could be that you have different values in the column then during your test call.
    2) Maybe your function raises an error and that error is supressed in some ugly WHEN OTHERS EXCEPTION => Solution: Get rid of the error handler.
    3) datatype conversion. For example if a.dt_fis_yr is a number value, then you should test with number values and not with strings. GET_LD_CHECK (2009,7, '8010', '7493'). Same logic goes for the other paramters, make sure the datatype is correct and matches the function parameter.

  • Call function with DML

    I have a function that performs DML. I am calling the function from toplink with the following. I get an error
    ORA-14551: cannot perform a DML operation inside a query when I try to execute this function. Is there another way to call functions without using select From dual?
    String queryFunc = "SELECT " +
    "CCU.adjPaymentTrans(#caseID, #obligorPIN, #ccuPIN, #transCd, #payorTp) " +
    "FROM dual";
    SQLCall sqlCallFunc = new SQLCall(queryFunc);
    ValueReadQuery valueReadFunc = new ValueReadQuery(sqlCallFunc);
    valueReadFunc.addArgument("caseID");
    valueReadFunc.addArgument("obligorPIN");
    valueReadFunc.addArgument("ccuPIN");
    valueReadFunc.addArgument("transCd");
    valueReadFunc.addArgument("payorTp");
    valueReadFunc.bindAllParameters();
    Vector theArgumentValuesFunc = new Vector(6);
    theArgumentValuesFunc.add(caseID);
    theArgumentValuesFunc.add(obligorPIN);
    theArgumentValuesFunc.add(ccuPIN);
    theArgumentValuesFunc.add(transCd);
    theArgumentValuesFunc.add(payorTp);
    Number amountReversed = (Number)uow.executeQuery(valueReadFunc, theArgumentValuesFunc);

    Normally DML is only done from stored procedures, not stored functions, you may want to consider changing the function to a procedure.
    To call a function that does DML, you must call the function through a PLSQL call. If you did not require the return value, the code would be:
    >>
    String queryFunc = "begin " +
    "CCU.adjPaymentTrans(#caseID, #obligorPIN, #ccuPIN, #transCd, #payorTp);" +
    "end;";
    SQLCall sqlCallFunc = new SQLCall(queryFunc);
    DataModifyQuery modifyFunc = new DataModifyQuery(sqlCallFunc);
    >>
    If you require the return value, then the SQL would be:
    >>
    String queryFunc = "begin ? = " +
    "CCU.adjPaymentTrans(?, ?, ?, ?, ?);" +
    "end;";
    >>
    However this would have to be executed through a CallableStatement in JDBC. TopLink currently only supports executing stored procedures as callable statements, so you would need to execute this directly through JDBC. You could also convert the function to a procedure, or wrap the function with a procedure. I believe TopLink 10.1.3 will have support for a StoredFunctionCall that can call DML stored functions.
    To get a JDBC connection from a TopLink session uses,
    UnitOfWork uow = session.acquireUnitOfWork();
    uow.beginEarlyTransaction()
    uow.getAccessor().getConnection();
    uow.commit();

Maybe you are looking for

  • HOWTO: Setting up Server-Side Authentication with SSL

    This howto covers the configuration of server-side SSL authentication for both Net8 and IIOP (JServer) connections. It documents the steps required to set up an SSL encrypted connection; it does not cover certificate authentication. It is worthwhile

  • How to recover previously purchased songs

    I had previously had an iPod. I used to buy song directly off the iPod. The iPod had never been plugged into a computer. Since then that iPod has been wiped clean. My QUESTION is: is there a way to get those previously purchased songs on my new iPod.

  • Preview - how to specify "open with thumbnails"?

    Prior to 10.8 my files that I opened in Preview would open with the sidebar of thumbnails displayed.  Now with 10.8, my docs all open in "Content Only" mode, which is a PITA when I want to quickly locate something by scanning the thumbs.  Is there a

  • Need help exporting animation to Wordpress (I've looked at all the tutorials I could find).

    Alright, I've been working on a slide show animation for sometime now, but I need to export it to wordpress and I can't exactly understand how to do it correctly. I've even used the edge wordpress plugin, but it doesn't seem to work at all (I tried o

  • I o s 6

    I have a I pad 3rd gen with IOS6  but when I try to do  iPhoto it keeps telling me I need IOS 6 Anyone have a clue why