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.

Similar Messages

  • ERROR: could not create stylesheet for blaf.xss

    I am suddenly getting this error when trying to run a jsp using the following tag in 9.0.3 :
    <uix:styleSheet>
    Any ideas as to why and how I can fix this problem?
    -Teri

    Teri,
    Can you please post some of the source for the UIX-JSP? Are you defining the uix namespace?
    Thanks,
    Ryan

  • Can you play this url? (JMF error 'could not create player for')

    Hello,
    I can play this url in Windows Media Player
    http://anon.vht.com.edgesuite.net/dl/deg18-062405-2425.wmv
    However when I try to play it in JMStudio 2.1.1e, I get error "could not create player for deg18-062405-2425.wmv"
    Any help appreciated,
    thanks,
    Anil

    please login and vote for this bug to be fixed - 4 years old!!!
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4670412

  • Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST

    Hi ,
    I am getting the below error:
    Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.eligibilitymodel1.EligibilityModel1. The SSO ticket needed for authentication to WD_MODELDATA_DEST has expired. Close all applications and logon anew!
    Regards
    Anumit

    Anumit,
    when will you get this error?
    if you are getting this while using adaptive rfc model follow this link Could not create JCOClientConnection for logical System:
    if it doesnot work
    try to reimport the certificate or restart the server
    Thanks
    Bala Duvvuri

  • Could not create JCOClientConnection for logical System: SAP_R3_HumanResour

    Hi,
    For all the standard ESS (sap.com) the JCo connection used is SAP_R3_HumanResources .
    All the applications are working fine.
    I am trying to add a test Component in one of the (sap.com~eepro) for testing a standard BAPI call for getting user details.
    I have used the same Model and the same SAP_R3_HumanResources destination name.
    But i get the following error when i try to execute the standard BAPI_USER_GETDetails (non - HR).The other applications for standard components (Vc ) work when i run the application.
    My question here is why a custom , local webdynpro when try to make a RFC call using the running already existing JCO connection throws such error.
    How could this be solved.Note the connection is running and working fine for all the ESS webdynpros!!
    Error:
    Could not create JCOClientConnection for logical System: SAP_R3_HumanResources - Model: class com.test.hr.model.Test. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    Your experience would be worthy enough.
    Regards,
    Swathi

    Hi Swathi,
    Here are some suggestions to trace down to the actual problem.
    1) First check if all users are having this issue. (All other applications working and only one application giving problem)
    2) If no, then take list of users having this problem and check their portal and SAP accounts
    3) If yes, then concentrate on testing the JCo connections and the user account mapped in JCo settings
    Possible things u can check is user's portal account (locked or not), SAP account (lock or validity), pernr mapped (validity), JCo user (check for lock), ping and test JCo connections
    If none of them are issue, check the logs if there are any trace for this issue. I believe there must be certainly one. That can help u going further.
    Regards,
    Harini S

  • NW2004s SP9 Java Trial - "Could not create mountpoint for SC in ..."

    Hi
    I have installed the Sneak Preview NW2004s SP9 Java Trial on a W2003 Server Macheine and everything is looking fine.
    When trying the Tutorial 2: “Development with a Track“ it cames to the point where i have to Import a Development Configuration from the SLD. I get the error:
    Could not create mountpoint for SC in compartment chynet.at_APPLICATION_1: Could not create remote path /dtr/ws/APPL/chynet.at_APPLICATION/dev/inactive/SCs/chynet.at/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
         at com.sap.tc.devconf.impl.DTRClientErrorMapper.toSyncException(DTRClientErrorMapper.java:65)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2758)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.createMountPointsForSCs(DevelopmentConfiguration.java:3046)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.goOnline(DevelopmentConfiguration.java:5207)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:773)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:698)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:669)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:505)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
    Can anybody tell me what is going wrong or where i can investigate the error?
    LG
    Michael

    Hi There !
    Run SDM RemoteGui.
    Log in.
    Go to deployment tab.
    Find sap.comtcdtr~dbschema.sda in root directory under SDM.
    Adjust deployment configuration to Update deployed SDAs/SCAs that have any version.
    Complete the wizard.
    this works !
    rajendra

  • Could not create remote for an EJB

    Hello,
    We have deployed an App on Sun One 7 that has web as well ejb modules integarted into it. The app deploys properly, However as soon as I try to call a servlet which in turn looks up an EJB (say ClientBean ) it gives me the followign error --->
    "Could not create remote for Client Bean"
    The entries in the xml files are as follows -
    1) In ejb-jar.xml -
    <session>
    <ejb-name>EUClientBean</ejb-name>
    <home>com..ejb.EUClientHomeIF</home>
    <remote>com..ejb.EUClientRemoteIF</remote>
    <ejb-class>com.ejb.EUClsClientBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>database ref</description>
    <res-ref-name>test/db</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    2) in sun-ejb-jar.xml --
    <ejb>
    <ejb-name>EUClientBean</ejb-name>
    <jndi-name>ejb/EUClientBean</jndi-name>
    <ejb-ref>
    <resource-ref>
    <res-ref-name>test/db</res-ref-name>
    <jndi-name>jdbc/test/db</jndi-name></resource-ref>
    <pass-by-reference>true</pass-by-reference>
    <bean-pool>
    <pool-idle-timeout-in-seconds>0</pool-idle-timeout-in-seconds></bean-pool>
    </ejb>
    3) In sun-web.xml -
    <ejb-ref>
    <ejb-ref-name>ejb/test/client</ejb-ref-name>
    <jndi-name>ejb/EUClientBean</jndi-name>
    </ejb-ref>
    4) In web.xml --
    <ejb-ref>
    <ejb-ref-name>ejb/test/client</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.ejb.EUClientHomeIF</home>
    <remote>com.ejb.EUClientRemoteIF</remote>
    <ejb-link>EUClientBean</ejb-link>
    </ejb-ref>
    Actually the same app was working on IAS 6.5.
    Any ideas what cud have gone wrong?

    Hi Mandar,
    Can you post the exception you're getting in your servlet code? Does it happen when the servlet is looking up the ejb or when it tries to create it?
    Regards,
    Ken

  • Could not create mountpoint for SC error in during import configuration

    Hi,
    I have succesfully created a tack in NW7 and during the import of the configuration in developer studio I get the following error on the last step of import
    com.sap.tc.devconf.SyncException: Could not create mountpoint for SC in compartment example.org_APPLICATION_1: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
         at com.sap.tc.devconf.impl.DTRClientErrorMapper.toSyncException(DTRClientErrorMapper.java:65)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2758)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.createMountPointsForSCs(DevelopmentConfiguration.java:3046)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.goOnline(DevelopmentConfiguration.java:5207)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:773)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:698)
         at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:669)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:505)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         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:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
         at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
         at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
         ... 47 more
    Caused by: com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
         at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:233)
         at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:79)
         at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:216)
         ... 48 more
    Caused by:
    [VFS version: 7.00 645_VAL_REL 0010 (2006-08-26 16:27:43 CEST)] com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
        at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
        at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
        at com.sap.tc.devconf.impl.DevelopmentConfiguration.createMountPointsForSCs(DevelopmentConfiguration.java:3046)
        at com.sap.tc.devconf.impl.DevelopmentConfiguration.goOnline(DevelopmentConfiguration.java:5207)
        at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:773)
        at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:698)
        at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:669)
        at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:505)
        at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
        at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
        at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
        at org.eclipse.jface.window.Window.open(Window.java:563)
        at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
        at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
        at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
        at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
        at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
        at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        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:324)
        at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
        at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
        at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
        +++ Nested exception part 1/1
        com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
            at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:233)
            at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:79)
            at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:216)
            at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
            ... 47 more

    Hi There !
    Run SDM RemoteGui.
    Log in.
    Go to deployment tab.
    Find sap.comtcdtr~dbschema.sda in root directory under SDM.
    Adjust deployment configuration to Update deployed SDAs/SCAs that have any version.
    Complete the wizard.
    this works !
    rajendra

  • ERROR: Could not encrypt password for Connection

    Hi
    I am trying to create and run demo application for 'Dveloping RIA using ADF and JDeveloper 11g'.
    When I try to run the application it throws the error- ERROR: Could not encrypt password for Connection 'MyDatabaseConnection'.
    Anyone please guide me how to resolve this issue.
    Thanks

    Can you try delete the Connection and re-create another one to see if it fixes the issue?
    -Arun

  • Could not create JCOClientConnection for logical System:

    Hi,
    I am facing a wierd problem in using the JCO destinations.
    I created a page where it is using some JCO destinations say SAP_R3_HumanResources.
    when i open the page it is working for the first time .without closing the page if i open the same page again it is giving the following error
    Error connecting using JCO.Client: null
    Error connecting using JCO.Client: null
    Pernr:Could not create JCOClientConnection for logical System: SAP_R3_HumanResources - Model: class com.swissre.CustomData. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    Please let me know how to solve this issue
    Thanks
    Bala Duvvuri

    Hi Bala,
    It seems that this is a custom webdynpro application which when executed causes such problem.  This might be due to JCO connection not released back to the pool.
    Please refer to the following threads and that might be helpful. 
    Re: JCO Connection close
    How to close a model object connection for Adaptive RFC?
    You might have to call disconnectIfAlive method on your model.
    Regards,
    Jigar

  • 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.

  • Error: could not create async IO thread [8](-903)

    Hello,
    we're experiencing problems with the MaxDB backup mechanism(Log and Full-Backup).
    It started last week, when we discovered a full log volume,
    because the autoLog was deactivated by a failed log backup.
    Since then our automatic full_backup script,
    wich runs at 00:25 each night, is not able to do a full backup anymore.
    The error we found in the backup history was:
    Error: could not create async IO thread [8](-903)
    In the diagnosis files the error looks like:
    2009-02-27 00:25:00      0xE88 ERR 18008 TASKING  Could not create thread: 'ASYNCi', rc = 8
    2009-02-27 00:25:00      0x584 ERR 52011 SAVE     devspace: surprising blk cnt:
    2009-02-27 00:25:00      0x584 ERR 52012 SAVE     error occured, basis_err 3700
    2009-02-27 08:58:39      0xE88 ERR 18008 TASKING  Could not create thread: 'ASYNCi', rc = 8
    2009-02-27 08:58:39      0x930 ERR 52039 AUTOSAVE terminated, because of: 3700
    (at 00:25 it's a failed full_backup, at 8:58 a failed autolog backup)
    If the autolog was turned off because of this error,
    it was not possible to do a manual log-backup (stated the same error as in the logs)
    We could "solve" this by restarting the X-server.
    After this a manual log-backup was possible and we could turn on
    autolog again.
    As today, the database was not accessible at all and we had to reboot
    the database server. The kerneldumps of these crashes are in the attachment.
    Additionally, you find some log files there.
    Our environment:
    Windows Server 2003 R2 - SP2
    4GB Ram
    MaxDB 7.5.00.44
    Any help to find out, what's going wrong here and to have a stable backup again would be nice.
    Dominic
    .... how can I upload attachments btw?
    Edited by: Transporeon on Mar 2, 2009 4:36 PM

    Hi there!
    > The error we found in the backup history was:
    > Error: could not create async IO thread [8](-903)
    >
    > In the diagnosis files the error looks like:
    > 2009-02-27 00:25:00      0xE88 ERR 18008 TASKING  Could not create thread: 'ASYNCi', rc = 8
    >
    > We could "solve" this by restarting the X-server.
    > After this a manual log-backup was possible and we could turn on
    > autolog again.
    Basically what you're facing is - like Markus correctly assumed - a shortage of Windows system resources.
    Check the returncode meaning with the xsysrc tool which is delivered with every MaxDB installation on Windows:
    commandline> xsysrc 8
    Errortext for errorcode 8:
    'Not enough storage is available to process this command.'
    This means: Windows cannot process the system call (create a new thread in this case), because of a shortage of internal resources.
    Since the resource management of Windows is not really open that much to outside (as in 'outside of the windows kernel development') analysis, very often you cannot do much about this, but reboot.
    Since MaxDB is dynamically creating the threads when they are needed for backup (and removing them afterwards), the problem itself may not be solved completely.
    Anyhow, there are several steps you can make to make it less likely to happen:
    1. Use the /3GB switch for Windows
    2. Use the "USE_FIBERS" parameter to have MaxDB use lightweight threads (aka FIBERS).
    3. Use the "PREALLOCATE_IOWORKER" parameter to disable the dynamic creation of threads.
    MaxDB will then instead create all thread at instance startup - so backups won't fail anymore due to missing resources for new threads.
    and as usual: use the current version of MaxDB instead that old 7.5 Build 44.
    At least install the current 7.5 patch.
    > Our environment:
    > Windows Server 2003 R2 - SP2
    > 4GB Ram
    > MaxDB 7.5.00.44
    > .... how can I upload attachments btw?
    There is no upload facility in the forums. You still may provide a link to your webspace if you want to provide logfiles.
    regards,
    Lars

  • ERROR Could not create DOM from control.xml

    Hi All,
    I am installaing 4.7EE on Sun Solaris 5.9 SPARC with Oracle and JDK version is 1.4.2_08. When i am running sapinst, sapinst GUI opens and after when i am selecting the Central installtion and i click on Next it giving error message that
    WARNING Could not read file control.xml. Please make sure that you called SAPinst with the correct control file (the control file is given to SAPinst as its first command line parameter or as value of the command line property SAPINST_CONTROL_URL)
    ERROR Could not create DOM from control.xml
    How to solve this error. I have searched in SDN but i am unable to get the solution.
    Mahesh C

    Hi Kiran,
    I have given all permissions to the control file. But these control files are in different places /SAPINST/UNIX/SUNOS_64/PATCOL640/WEBAS630 and ORA, DB2, DB6, IND, INF, ADA in these folders i can c the Control.xml files. But i have given all read write and execute permissions but still its getting the same error. I have downloaded the same IM for 3 times and tried.. But the result is the same.
    Is there any other way of work around for this...
    Thanks
    Mahesh C

  • Could not create JCOClientConnection for logical System: MUSA_MODEL_DATA

    Hi,
    I am facing a big problem...I have created WebDynpro Application & when I am running that application from WebDynpro, it's showing the page but giving me the error message as:-
    Could not create JCOClientConnection for logical System: MUSA_MODEL_DATA - Model: class com.bcone.bcool.musa.model.MUSABAPI. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    What do I do? what connections I have to check?
    pls help.

    Hey if you are connecting to SAP system making use of adaptive RFC model you hav to create logical systems(JCOs).So while creating the model you have to specify 2 logical system names(one for model data or on for the meta data).If you have not created the JCOs or if the JCOs are not active  then you are going to get this type of error.To activate those JCOs ask your administrator to activate the JCO for metadata of your application.If you are having proper credentials then log on to portal
    System administration>webdynpro>expand the local directory>select your project>click on maintain JCOs and activate the JCO for the metadata.
    Or else change the logical system in your application.

  • Could not create mountpoint for SC

    Hi..
    For customising the ESS package I have installed and configured NWDI , Now after configuring the CMS when I try to "import configuration" I get the following error.(But some links are seen under the tracks in active and local dc's)
    com.sap.tc.devconf.SyncException: Could not create mountpoint for SC in compartment saphr.com_ESSMSSCOMP_1: Could not create remote path /dtr/ws/ESSMSSTR/saphr.com_ESSMSSCOMP/cons/inactive/SCs/saphr.com/ESSMSSCOMP/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
    And when I try to delete the track(remove configuration) I get the following error
    com.sap.tc.devconf.SyncException: Unable to remove local file or folder. Error when asking for folder item "D:\Documents and Settings\k.mukundan\.dtc\1\SCs\saphr.com\ESSMSSCOMP\_comp\": Getting VFS manager for client J2E_ESSMSSTR_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error
    it was also written in some of the thread that it was the problem with 2004 server
    Is there a solution?
    Could some one please help me with this...
    Thanks in advance

    Hi Krishnagopal,
    make sure you have the JDI roles assigned, assign yourself the Administrator and Developer role. see if this makes a difference.
    Raj

Maybe you are looking for