Exception : Could not compile stylesheet

Dear All,
I'm using SimpleTransform.java (renamed as ReceiptTransformer.java for custom use) found in xalan-j_2_7_0 samples directory for transformations in my custom application. The program compiles successfully but gives the following error during runtime:
ERROR: 'org/apache/avalon/framework/configuration/Configuration'
FATAL ERROR: 'Could not compile stylesheet'
Exception in thread "main" javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at ReceiptTransformer.main(ReceiptTransformer.java:29)
Any help in this regard is greatly appreciated.

StreamSource/Results are simple POJOs: the interpretation of the the system ID you construct them from is left to the interpretation of the object that will use them. This is why the behavior is not consistent.
For this reason, I never use StreamSource/Result(String) constructors but prefer either the constructor that takes a File or a Reader.

Similar Messages

  • XSLT Exception: FATAL ERROR:  'Could not compile stylesheet'

    Hi....
    Am getting Folowing Exception while parsing the XSL file. Am using java 1.4 and MSXML4.2 SP2 parser andSDK.
    but when I installed SQLServer2005, with that MSXML 6.0 Parser is Installed.
    It is working fine before instalation of SQLServer2005.
    java.lang.NullPointerException
         at com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.translate(FunctionCall.java:826)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.ValueOf.translate(ValueOf.java:114)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:490)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XslAttribute.translate(XslAttribute.java:252)
    Compiler warnings:
    file:///F:/Data/JRun4/servers/ABC/MainXSL.xsl: line 155: Attribute 'LenderBranchIdentifier' outside of element.
    file:///F:/Data/JRun4/servers/ABC/MainXSL.xsl: line 156: Attribute 'LenderRegistrationIdentifier' outside of element.
    ERROR: 'null'
    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:753)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:548)
         at com.ls.lsglobal.common.CLOUTSQLXML.TransXml2Xml(CLOUTSQLXML.java:274)
    And My XSL is
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.5" xmlns:lsjava1="com.ls.lsglobal.common" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="lsjava1" >
         <xsl:output method="xml" indent="yes" encoding="utf-8" doctype-system="MyRequest.1.3.DTD"/>
         <xsl:template match="/" >
              <REQUEST_GROUP>
                                       <TRANSMITTAL_DATA>
                                            <xsl:if test="AppraisedVal!=''">
                                                 <xsl:attribute name="AppraisedValueAmount"><xsl:value-of select="AppraisedVal"/></xsl:attribute>
                                            </xsl:if>
                                            <xsl:if test="StatedVal!=''">
                                                 <xsl:attribute name="EstimatedValueAmount"><xsl:value-of select="StatedVal"/></xsl:attribute>
                                            </xsl:if>
                                            <xsl:for-each select="ROOT/AppMain/MyLoop/Liab">
                                                 <xsl:if test=" normalize-space(LiabTypCd) = 'SMG' and (normalize-space(PresFutTypCd) = 'BOTH' or normalize-space(PresFutTypCd) = 'PRES') and PresLienPos='1' and normalize-space(RefCd) != 'LOAN'">
                                                      <xsl:attribute name="CurrentFirstMortgageHolderType"><xsl:value-of select="LiabId"/></xsl:attribute>
                                                 </xsl:if>
                                            </xsl:for-each>
                                            <xsl:attribute name="LenderBranchIdentifier">0001</xsl:attribute>
                                            <xsl:attribute name="LenderRegistrationIdentifier"><xsl:value-of select="ROOT/AppMain/MyNum"/></xsl:attribute>
                                       </TRANSMITTAL_DATA>
              </REQUEST_GROUP>
         </xsl:template>
    </xsl:stylesheet>
    And My Java Code is
    public String TransXml2Xml(String xmlInFile, String xslFile, String xmlOutFile) throws Exception
              try
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setIgnoringElementContentWhitespace(true);
                   Document document;
                   File stylesheet = new File(xslFile);
                   File dataInfile = new File(xmlInFile);
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   document = builder.parse(dataInfile);
                   System.err.println("-->AVC:::xslFile="+xslFile+" xmlInFile="+xmlInFile+" xmlOutFile="+xmlOutFile);
                   StreamSource stylesource = new StreamSource(stylesheet);
                   TransformerFactory t=TransformerFactory.newInstance();
                   Transformer transformer = t.newTransformer(stylesource);
                   DOMSource source = new DOMSource(document);
                   javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(new File(xmlOutFile));
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.INDENT , "yes");
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.ENCODING, "UTF-8");
                   transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
                   if(strCLUTDTD_PATH.equals(""))
                        java.util.Properties props = new java.util.Properties();
                        java.io.FileInputStream fis = new java.io.FileInputStream("DataFileBasePath.properties");
                        props.load(fis);
                        fis.close();
                        strCLUTDTD_PATH = checkNull(props.get("CLUTREQDTD_PATH"));
                   transformer.setOutputProperty(javax.xml.transform.OutputKeys.DOCTYPE_SYSTEM , strCLUTDTD_PATH);
                   transformer.transform(source, result);
              catch(Exception e)
                   e.printStackTrace();
                   throw e;
              return "";
    can any one know what solution for this problem. It is very help full for me.

    So look at your code and find out what you are passing to the TransformerFactory. Then find out why it's null. Don't just sit there and say "Duh", it's your code.
    And remember that nobody but you can see it yet. If you like you could post it here and then others could see it and comment on it.

  • NewTransformer - Could not compile stylesheet exception

    Using the following code:
    Transformer transformer = factory.newTransformer( new StreamSource(xsltFile) );
    If I fill the xsltFile string variable with "contents.xslt" it goes through fine.
    But, if I put the following into the xsltFile variable, it throws the following exception:
    "C:\\test\\src\\xslt\\contents.xslt"
    Failed to transform file C:\DB Documenter\output\xml\main.xml due to: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    I am formatting the the source and result strings in the actual transform the same way, and they work fine pointing to a c:\ directory. Any reason this blows up on the newTransformer call?
    Here is the whole code:
    public void performTransform(String xsltFile, String xmlFile, String htmlFile) {       
    try {           
    TransformerFactory factory = TransformerFactory.newInstance();
    /* xsltFile = "contents.xslt"; */
    xsltFile = "C:\\DB Documenter\\src\\xslt\\contents.xslt";
    Transformer transformer = factory.newTransformer( new StreamSource(xsltFile) );
    StreamSource xmlSource = new StreamSource(xmlFile);
    StreamResult htmlResult = new StreamResult(htmlFile);
    transformer.transform(xmlSource, htmlResult);
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Failed to transform file " + xmlFile + " due to: " + e);
    }

    StreamSource/Results are simple POJOs: the interpretation of the the system ID you construct them from is left to the interpretation of the object that will use them. This is why the behavior is not consistent.
    For this reason, I never use StreamSource/Result(String) constructors but prefer either the constructor that takes a File or a Reader.

  • 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

  • 11g and Could not compile stylesheet

    Hello,
    I using Oracle 11g R2.
    I'm using a Java Stored Procedure.
    And I'm using the Oracle's XSL file example.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:math="http://www.oracle.com/XSL/Transform/java/java.lang.Math">
    <xsl:template match="/">
    <xsl:value-of select="math:ceil('12')"/>
    </xsl:template>
    </xsl:stylesheet>
    And I get the following exception :
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
    Can anybody help me ?

    I believe you should ask this question at some XML forum.
    Aman....

  • TransformerConfigurationException...Could not compile stylesheet

    So far my XSLT stylesheet was executed in operations mapping without problems.
    However I had to make some changes (e.g. adding some additional xsl:choose elements) and now I get the following compilation error:
    TransformerConfigurationException occured when loading XSLT xxxxxxx; details: Could not compile stylesheet
    I develop and change the XSLT externally using XML Spy and there I could run a test transformation without problems or errors.
    Only after reimporting as IA archive and selecting the new version in operations mapping I get the error.
    How is this possible? How can I debug to find the root cause for the error?
    Edited by: Florian Guppenberger on Nov 13, 2009 6:05 PM

    Hello,
    what I have done is to add an additional <xsl:choose> to an already existing <xsl:choose> in the <xsl:otherwise> branch at several locations. Example below.
    I hope that there was not typo somwhere else, however what is very strange is that XML Spy says that the XSLT is well-formed and a test transformation executes successfully too.
    For that XSLT it is not such a big problem, because I can roll-back to the previous version but I am really concerned if you build a big XSLT from scratch in XML Spy an after import in PI you get a compilation error. So it would be really good to find a root cause for this.
    <xsl:choose>
    <xsl:when test="RET_DATE">
      <xsl:attribute name="nullFlavor"><xsl:value-of select="RET_DATE"/></xsl:attribute>
    </xsl:when>
    <xsl:otherwise>
        <xsl:choose>
            <xsl:when test="RET_DATE_VALUE='00000000'">
                 <xsl:attribute name="nullFlavor"><xsl:text>NA</xsl:text></xsl:attribute>
            </xsl:when>
            <xsl:otherwise>
                 <xsl:attribute name="value"><xsl:value-of select="RET_DATE_VALUE"/></xsl:attribute>
            </xsl:otherwise>
          </xsl:choose>  
    </xsl:otherwise>
    </xsl:choose>
    Edited by: Florian Guppenberger on Nov 16, 2009 11:05 AM
    Edited by: Florian Guppenberger on Nov 16, 2009 11:06 AM

  • XSLTC Giving Could Not Compile Stylesheet.

    Hi All,
    Till now i am using xalan.jar and my xsl is as fallows
    <xsl:stylesheet xmlns:js="javascriptcode" xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="js java" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lxslt="http://xml.apache.org/xslt" version="1.0">
    <xsl:template match="/">
    <xsl:apply-templates select="b"/>
    </xsl:template>
    <xsl:template match="b">
    <tar:target xmlns:tar="http://target">
    <tar:Element>
    <xsl:value-of select="js:fnMathematicalAbsolute(/b/b12)"/>
    </tar:Element>
    </tar:target>
    </xsl:template>
    <lxslt:component prefix="js">
    <lxslt:script lang="javascript">function fnMathematicalAbsolute(iNum) {return(Math.abs(iNum))}</lxslt:script>
    </lxslt:component>
    </xsl:stylesheet>
    This works fine Xalan . It is able to call the js extensions .
    I want to move from xalan to JDK 1.5 XSLTC .If ia m using this xsl It is giving Could not compile the stylesheet.
    Can anyone tell me why JDK1.5 doent compiling the stylesheet or is it a problem with my stylesheet. .This is urgent for me as i need to move to jdk 1.5 xsltc.
    Thanks in advance ,
    Sasi.A

    The problem is that J2SE 5 (unlike J2SE 6) does not include a JavaScript engine which is, however, required to interpret the JavaScript code embedded in XSLT stylesheets. You either have to keep on using Xalan (this utilizes Mozilla's Rhino JavaScript engine through the org.apache.bsf.BSFManager class) or switch to J2SE 6.
    Below are download links to three components that make up an applicable unit to compile your stylesheet:
    Xalan (xalan.jar, 3078601 bytes)
    http://apache.mirrors.ebizlab.hit.bme.hu/dist/xml/xalan-j/binaries/xalan-j_2_7_0-bin.zip
    Rhino JavaScript engine (js.jar, 708951 bytes)
    ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_6R5.zip
    Jakarta BSF (bsf.jar, 113369 bytes)
    http://apache.mirrors.crysys.hit.bme.hu/dist/jakarta/bsf/binaries/bsf-bin-2.4.0.zip

  • Could not compile stylesheet error on tomcat environment.

    I have created xslt for generating pdf report.It's working fine on OPM when I run through OPM.
    But when I deployed same XSL on tomcat enviroment it doesn't compile error.
    Following the XSLT I have created
    and it give me the error for this line
    i.e ERROR: 'Syntax error in 'name() eq'attribute' '.'
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
    <xsl:template match="/">
    <fo:root>
    <fo:layout-master-set>
    <fo:simple-page-master master-name="my-page">
    <fo:region-body margin="1in"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
    <fo:flow flow-name="xsl-region-body">
    <fo:block >
    <xsl:apply-templates mode="dump" select="/session/entity/instance/attribute"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    <xsl:template match="*" mode="dump" priority="100">
    <fo:block >
    <xsl:if test="name() eq'attribute' ">
              <fo:block margin-left="1cm">
              <xsl:for-each select="@question-text">
              <xsl:value-of select="."/>=
              </xsl:for-each>
              <xsl:if test="string-length(normalize-space(text())) > 0">
                             <xsl:value-of select="text()"/>
                   </xsl:if>
              </fo:block>
    </xsl:if>
    <xsl:apply-templates mode="dump" select="*"/>
    </fo:block>
    </xsl:template>
    </xsl:stylesheet>

    Not every xslt parser acts the same, the one in OPM is not so restrictive (unfortunately)
    Try adding a space between eq and 'attribute'.

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi,
    I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
    <head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
    Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
    Does somebody know the reason?
    TIA,
    Brian

    If everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
    Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
    Please check to see if there are errors in the logs.

  • Unhandled Exception "Could not find any available Domain Controller"

    Hi,
    I keep on having exchange 2010 loosing contact to domain controllers.
    "Unhandled Exception "Could not find any available Domain Controller.". EventID 1. Once I restart the sever, this error disappear and reappear again after a few days.
    When I run AD setting, the result shows as below. Update version is currently as at 14.02.0342.003. And boths DCs have 100% uptime.
    PS C:\> Get-ADServerSettings | fl
    RunspaceId                                
    : 9392eb25-bcdc-462e-816b-2d5626c572a5
    DefaultGlobalCatalog                      
    : DC2.com.au
    PreferredDomainControllerForDomain        
    DefaultConfigurationDomainController      
    : dc1.com.au
    DefaultPreferredDomainControllers         
    : {DC2.com.au}
    UserPreferredGlobalCatalog                
    UserPreferredConfigurationDomainController :
    UserPreferredDomainControllers            
    RecipientViewRoot                         
    ViewEntireForest                          
    : True
    WriteOriginatingChangeTimestamp           
    : False
    WriteShadowProperties                     
    : False
    Identity                                  
    IsValid                                   
    : True
    Could you please help as this exchange server has our management team and their outlook keep on going offline.
    Thanking you in advance.
    Cheers,
    Pwint

    I have another issue. I was trouble shooting exchange bin folder for permission and as a result of it Exchange transport service stopped and couldn't restart. I quickly changed to local service account and able to restart. Fixed the transport roles folder
    permission but don't know the password of network service account so I can't change it back. I can send and receive emails internally and externally but I am worried that by running with local account maybe not recommended? Is it safe to reset network service
    password? Thanks. I am freaking out... Regards, Pwint

  • ADS: COM.adobe processing exception could not retrieve a password

    Hi,
    I am getting the error while clicking onto the print preview option at VF03. I am not able to get any output after that. Please help to resove this issue. The print preview report is in Adobe format.
    ADS.com:Adobe processing Exception could not retrieve a password for credentials:reader rights(200,101)
    regards
    raj

    Hi,
    That error message would sure to seem to point that the credentials are not accessible to the user that ADS webservice call is being made by,
    Check for user credential
    Check for below url as well
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/f2c94a069f44a785b85748e11f82a0/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fe/e8cc48abee49f082dfbd5b45d98dd4/content.htm
    Hope it helps.
    Cheers
    Deepanshu

  • ADS:com.adobe.Processing Exception:Could not retrive(200101)

    I am trying to create an Interactive ADOBE form. Created the form through SFP transaction and coded the print program also. When I am trying to give the EDITing fascility to my form I am getting error saying "ADS:com.adobe.Processing Exception:Could not retrive(200101)" how to resolve the issue? do anyboyd got the same problem and how did resolve?

    Thanks for replying.
    I am not getting the error if I comment the line. The code is as below
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'ZZ_TEST_ADOBE1'
        IMPORTING
          e_funcname = fm_name.
    now call the generated function module
    FP_OUTPUTPARAMS-FILLABLE = 'X'.
      fp_outputparams-connection = p_conn.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    DO p_loop TIMES.
        FP_DOCPARAMS-FILLABLE = 'X'.
        fp_docparams-langu   = 'EN'.
        fp_docparams-country = 'US'.
        CALL FUNCTION fm_name
          EXPORTING
            /1bcdwb/docparams = fp_docparams
           zvbak              = VBAK
           zadr               = ADRC.
    Plz tell me how to remove th error.

  • Exception  Could not create the Java virtual machine

    Hello All,
    OS: AIX 5.3 IBM
    DB: 10g
    Using putty to connect to the server.
    xclock is running.
    ORACLE_HOME & SID are set.
    oracle:>java -version
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411ifx-20040810 (141SR3) (JIT enabled: jitc))
    oracle:>echo $PATH
    /usr/bin:/etc:/usr/sbin:/usr/ucb/:/u08/ora10g/sid/db/bin:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:.
    I am trying to create dbconsole as below:
    Pwd
    oracle:>pwd
    /ORACLE_HOME/bin
    oracle:>./emca
    Exception Could not create the Java virtual machine.
    DN

    for example.
    setenv JAVAHOME /usr/local/redhat/packages/usr.local/java/jdk1.4.0_01

  • Exception: Could not find '/OVS/running_pool/30_Test02' in any storage repo

    when try to power on an virtual machine of Win 2003 server OS,it failed.
    And the log said:failed:<Exception: Could not find '/OVS/running_pool/30_Test02' in any storage repository.>
    Who can tell me the reason ?
    Thanks a lot,
    Mary

    login Oracle VM server to make sure that image/vm.cfg files are under /OVS/running_pool/30_Test02.
    what output if you issue command on Oracle VM Server?
    # cd /OVS/running_pool/30_Test02
    # xm create -c your_configuration_file.cfg
    Please post info in /var/log/xen/xend.log if any error.
    Message was edited by:
    Changhai

Maybe you are looking for

  • Batch management report

    Hi Experts, Is there any report in batch management  to get a detailed listing of inventory(finished goods) by batch with all characteristic values info included? Best Regards CS

  • Admin console with CU4 not working on Windows 8.1

    I cannot get the admin console with CU4 to work on Windows 8.1.  I don't get any errors when I install it. But after installation I cannot connect to any site.

  • Which Linux is the best?

    hi guys, This is not related to java, but I am currently thinking of getting a linux OS, which linux is the best out there? redhat, mandrake, suse, or whatelse?....

  • Hyper-V, NIC Teaming and 2 hosts getting in the way of each other

    Hey TechNet, After my initial build of 2 Hyper-V Core server which took me a bit of time without a domain, I started building 2 more for another site. After the initial two, setting up the new ones went very fast until I ran into a very funny issue.

  • Fixed Term Deposits - Integrated Limit Check

    Hi, We require the SAP Integrated Limit Check to include investments with future value dates (Term-Start). Consider the following scenario: 1.     Our limits are defined as follows in TBL1: Partner  Val.From           Val.To               Limit Curre