Errors of using uix template?

I just copied the example from the Help Documentation "UIX Includes and templating" for a test. But I always get two error message:
I wonder what has caused these two errors?
<?xml version="1.0" encoding="UTF-8"?>
<templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
          xmlns:ui="http://xmlns.oracle.com/uix/ui"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          targetNamespace="http://www.example.org/demo/templates"
          localName="demoPageLayout">
<!-- define the template's type information -->
<type base="ui:pageLayout">
   <namedChild name="topHead"/>
   <attribute name="selectedTab" javaType="int"/>
</type>
<!-- define the content of the page -->
<content>
   <pageLayout>
     <!-- magic incantation to be explained below -->
     <attributeMap><rootAttributeMap/></attributeMap>
     <!-- another magic incantation -->
     <childMap><rootChildMap/></childMap>
     <!-- set up a default set of tabs -->
     <tabs>
       <tabBar data:selectedIndex="selectedTab@ui:rootAttr">
         <contents>
           <link text="Tab 1"/>
           <link text="Tab 2"/>
           <link text="Tab 3"/>
           <link text="Tab 4"/>
           <link text="Tab 5"/>
         </contents>
       </tabBar>
     </tabs>
     <!-- set up a default set of global buttons -->
     <globalButtons>
       <globalButtonBar><!-- ... --></globalButtonBar>
     </globalButtons>
     <!-- now, the content of the pageLayout -->
     <contents>
       <!-- Start with the "topHead" child at the top -->
       <rootChild name="topHead"/>
       <!-- Then add the indexed children -->
       <rootChild name="contents"/>
     </contents>
   </pageLayout>
</content>
</templateDefinition>
<page xmlns="http://xmlns.oracle.com/uix/controller"
           xmlns:demoTmps="http://www.example.org/demo/templates">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
      <templateImport source="demo_PageLayout.uit"/>
    </templates>
    <content>
      <demoTmps:demoPageLayout xmlns="http://xmlns.oracle.com/uix/ui"
                                   selectedTab="3">
        <start>
          <sideNav></sideNav>
        </start>
        <demoTmps:topHead>
          <header text="A first header">
          </header>
        </demoTmps:topHead>
        <contents>
          <header text="A second header">
          </header>
        </contents>
      </demoTmps:demoPageLayout>
    </content>
</page>
===>
1. Error(9,52): <Line 9, Column 52>: XSD-2034: (Error) Element 'demoPageLayout' not expected.
2. Error(26,15): <Line 26, Column 15>: XSD-2021: (Error) Element not completed: 'content'.Best Regards
Yong

please do not cross post on the UIX and JDeveloper
forums. I will reply as soon as I can on the UIX
forum:
Error of using UIX Template?

Similar Messages

  • Error of using UIX Template?

    I just copied the example from the Help Documentation "UIX Includes and templating" for a test. But I always get two error messages:
    I wonder what has caused these two errors?
    <?xml version="1.0" encoding="UTF-8"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
              xmlns:ui="http://xmlns.oracle.com/uix/ui"
              xmlns:data="http://xmlns.oracle.com/uix/ui"
              targetNamespace="http://www.example.org/demo/templates"
              localName="demoPageLayout">
    <!-- define the template's type information -->
    <type base="ui:pageLayout">
       <namedChild name="topHead"/>
       <attribute name="selectedTab" javaType="int"/>
    </type>
    <!-- define the content of the page -->
    <content>
       <pageLayout>
         <!-- magic incantation to be explained below -->
         <attributeMap><rootAttributeMap/></attributeMap>
         <!-- another magic incantation -->
         <childMap><rootChildMap/></childMap>
         <!-- set up a default set of tabs -->
         <tabs>
           <tabBar data:selectedIndex="selectedTab@ui:rootAttr">
             <contents>
               <link text="Tab 1"/>
               <link text="Tab 2"/>
               <link text="Tab 3"/>
               <link text="Tab 4"/>
               <link text="Tab 5"/>
             </contents>
           </tabBar>
         </tabs>
         <!-- set up a default set of global buttons -->
         <globalButtons>
           <globalButtonBar><!-- ... --></globalButtonBar>
         </globalButtons>
         <!-- now, the content of the pageLayout -->
         <contents>
           <!-- Start with the "topHead" child at the top -->
           <rootChild name="topHead"/>
           <!-- Then add the indexed children -->
           <rootChild name="contents"/>
         </contents>
       </pageLayout>
    </content>
    </templateDefinition>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
               xmlns:demoTmps="http://www.example.org/demo/templates">
        <templates xmlns="http://xmlns.oracle.com/uix/ui">
          <templateImport source="demo_PageLayout.uit"/>
        </templates>
        <content>
          <demoTmps:demoPageLayout xmlns="http://xmlns.oracle.com/uix/ui"
                                       selectedTab="3">
            <start>
              <sideNav></sideNav>
            </start>
            <demoTmps:topHead>
              <header text="A first header">
              </header>
            </demoTmps:topHead>
            <contents>
              <header text="A second header">
              </header>
            </contents>
          </demoTmps:demoPageLayout>
        </content>
    </page>
    ===>
    1. Error(9,52): <Line 9, Column 52>: XSD-2034: (Error) Element 'demoPageLayout' not expected.
    2. Error(26,15): <Line 26, Column 15>: XSD-2021: (Error) Element not completed: 'content'.Best Regards
    Yong

    You are probably getting those errors on Validate XML
    correct? If so you can safely ignore those. They
    are known issues with XML Validation with UIX. Use
    make/build on UIX files instead.

  • Error when using the template installer MI post installation process

    Hi all,
    I am busy to configure the Netweaver Administrator in order to create setup packages for mobile devices. This is a WAS 6.40 ABAP JAVA instance with mobile infrastructure.
    I have installed the netweaver SR1 and upgraded abap and java to SPS18 afterwards.
    Afterwards I used the template installer, I executed:  MI post installation process.
    But when I did this an error message occured on the following node:
    step ID 8 registering RFC connection.
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Here after I followed manual: MI25 SPS18 inst newtech.pdf for configuring the NWA.
    I checked the complete manual, but still the error message occurs, when I am using the template installer.
    There is one more thing.
    When I go to the NWA, to the Mobile Infrastructure node, allmost all subnodes give me the following error:
    (For instance on hierarchy grouping:)
    Failed to get hierarchy group elements from middleware. Reason: Could not connect to middleware.
    Does this error message relate to the other error message?
    Please give me advise/hints/directions to solve this problem....
    Your help will be appreciated!
    Best regards,
    Jacco Raymakers

    I got error during use of template installer in NWA. It is MI post installation in N/w2004s SP09
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Please help me the resolve this.

  • ' Include ... ' tag in a page which use UIX template is not work! Help!

    I've used JDev9.0.4 and UIX.
    I want to use include and template at the same time.
    So I've put a 'globalHeader' and a 'tabBar' in 'Test.uit'.
    And I've made 'TestUIT.uix' which used 'Test.uit' as a template include 'Table.uix'.
    But 'Table.uix' included by 'TestUIT.uix' has been ignored and has not worked!!
    Is this problem oriented from my fault or a bug of jdev904?
    My codes like this.
    -->
    Test.uit
    <?xml version="1.0" encoding="windows-949"?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.example.org/demo/templates"
    localName="oplBaseLayout">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    </provider>
    <contents>
    <pageLayout>
    <tabs>
    <include node="../Component/MenuBar/TabBar.uix"/>
    </tabs>
    <pageHeader>
    <include node="../Component/MenuBar/GlobalHeader.uix"/>
    </pageHeader>
    <contents>
    </contents>
    </pageLayout>
    </contents>
    </dataScope>
    </content>
    </templateDefinition>
    TestUIT.uix
    <?xml version="1.0" encoding="windows-949"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:myTemplate="http://www.example.org/demo/templates">
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="OligoAppModule" definition="View.OplModule"
    releaseMode="stateful">
    <bc4j:viewObjectDef name="Oligo" rangeSize="3"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="Test.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider/>
    <contents>
    <document>
    <metaContainer>
    <head title="UITTest"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <myTemplate:oplBaseLayout title="UITTest">
    <contents>
    <bc4j:viewObjectScope name="Oligo">
    <contents>
    <include node="Table.uix"/> </contents>
    </bc4j:viewObjectScope>
    </contents>
    </myTemplate:oplBaseLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers/>
    </page>

    Hi -
    But 'Table.uix' included by 'TestUIT.uix' has been
    ignored and has not worked!!So is the problem that you don't see the contents of Table.uix? Are any error messages logged? Do you see the contents of the GlobalHeader.uix and TabBar.uix includes?
    It would be very helpful if you could put together a minimal testcase which reproduces the problem (no BC4J tags) that we could use to test the problem out over here.
    Andy

  • Portal error while using BI template created by Web appliaction designer

    Hello Guys,
    I am getting error
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 03:58_20/08/08_0031_7258650
    See the details for the exception ID in the log file.
    while checking template from BI menu . And if i am using option Publish to portal i am getting Portal Home page .
    Please suggest me a solution .
    Regards
    Nilesh Vakil

    good

  • Variable not defined: '_MR' error when using sub template

    Hi,
    I am creating a check print report. When I had the check layout and the invoice layout on the same template it worked fine. But when I moved the check layout to a sub template then I started getting the error Variable not defined: '_MR' but I dont have any variable '_MR' can some please help me on this.
    Thanks a ton in advance
    Lakshmanan a.

    Hi Lakshmanan
    Its probably worth running the XML Publisher template regenerator program. somehow, I think your templates are out of sync
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • ADF Faces: What is similar to UIX templates?

    Hi,
    could someone point me in the right direction? We used UIX templates (mainly for the PageLayout node) to set some named children and attributes to set values (as a main value for the version, a main menu, etc). I cannot seem to find something equivalent for JSF .
    I'm probably just looking in the wrong place but can somebody point me in the right direction?
    Thanks in advance.
    Regards,
    Robert

    One key difference between ADF Faces regions and the JSP custom tag feature is that the ADF Faces regions are data-binding aware and that databinding can be parameterized. Unfortunately we ran out of time in the 10.1.3 release to finish/polish the design time for the ADF Faces version of regions, but if you check out example # 91 from my blog, you can see an example that exploits the ADF Swing incarnation of regions, whose design time support did make it in time for the 10.1.3.x release "train".
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#91
    In that example, you'll notice the use of a "region binding" in the "Executables" section of the page that includes a region, and also notice the use of region parameters to pass desired data control and data collection references into the region. The ADF Model data binding for regions is the same regardless of client.

  • Error Message in UIX Editor when using a custom parameter to a template

    In my UIX template, I have a custom attribute "selectedTab", as advised in the documentation:
    <type base="ui:pageLayout">
    <!-- define the template's type information -->
    <namedChild name="topHead"/>
    <attribute name="selectedTab" javaType="int"/>
    </type>
    I use it in the UIX file, again as advised by the doc:
    <myTemplate:SalmonTrap title="SalmonTrap - Live Accounts" xmlns:myTemplate="salmontrap" selectedTab="0">
    It works but I get the following message when I compile or try to GUI edit:
    Error(0,0): Attribute selectedTab not defined on element myTemplate:SalmonTrap
    What do I do wrong?

    Eric,
    That should work and not show the usage of selectedTab as an error. (You may need to restart JDev after creating the template for it to work right.) In fact, when you select the SalmonTrap component in the structure pane, the property inspector should actually show you that selectedTab is an attribute you can set. I can make this work.
    One other thing to check: is the UIT in the same project as the UIX file? I'm not positive this is required for the design-time to work, but it may be.
    -brian
    Team JDeveloper/UIX

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error while accessing UIX pages when deployed using OC4J

    UIX: 2.1.9
    JDeveloper: 9.0.3
    Database: 8i Release 3.
    Using UIX and BC4J, I created few pages for a small application. I installed the OC4J standalone and configured setting library paths and and deployed this application. I extended the UixPageBroker and TrivialPageFlow engine to suit my application requirements. All pages within the application requires the user to login. While accessing a UIX page, I am getting the error provided below. However, if I am not extending the UixPageBroker and PageFlowEngine, UIX pages are rendered with no problem. Can someone tell me what is the cause of this?
    500 Internal Server Error
    java.lang.NullPointerException
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.bali.share.util.ClassLoaderUtils.loadClass(Unknown Source)
         at oracle.bali.share.util.ClassLoaderUtils.loadClass(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.init(Unknown Source)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Unknown Source)

    I found out the workaround but not sure whether it is the right solution.
    When the application is deployed, it will be creating few files under the directory "application-deployments", of which some are configuration files specific to the deployed application.
    Edit the file: orion-web.xml and uncomment the following:
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />Save the file and restart OC4J.

  • Error while posting initial quantities using stocktaking template of DTW

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode WarehouseCode Counted
    ItemCode WarehouseCode Counted
    CHA0002 1 500
    CHA0076 1 4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    Hi Gordon,
    Thanks a lot for your time. I am able to post the quantities. Now please let me know how to update the item cost/price for these items using DTW ?
    Regards,
    Noor Hussain

  • Why am I getting an error message when trying to use a template?

    Why am I getting an error message when trying to use a Pages template?

    You are getting an error message because there is an error.
    Knowing wht version of Pages you are using, what template you are attempting to open, and what error message Pages is sending you might help determine why you are getting that specific rror message. Without those, the first sentence above i pretty much all that can be said with any assurance.
    Regards,
    Barry

  • Error when using ANY "save site as template Include Content" solution to create a NEW Site Collection

    Here is the scenario. (SharePoint 2013)
    In Dev/Test/Prod any Site that we Save as Template and include content and then, Download and try to use in a new Site Collection errors out upon use "List does not exist" error.
    This occurs with ANY Site, even OOB Team Site template that is immediately "Saved as Template".
    We can do this in any other environment (we have several test labs 1 in O365 and 1 in VM that is very OOB)
    We can take the site solution from the environments we're having the issue in and use them successfully in our Lab environments (on prem or in the cloud).
    We have also tried taking Site solution from lab environment (where we know it works fine) and tried to use these in Dev/Test/Prod and they also error on us.
    In the Dev/Test/Prod environments that have the issue if we DO NOT include content, the template works just fine to create a new site collection with the template.
    Keep in mind we're talking about environment with no 3rd party apps, no custom code, just 2013 SharePoint with all patches and CU up to June 2013, AND this is ANY template even a vanilla OOB template without anything in it.
    You can always save site as template including content, download/upload it to new site collection solutions gallery and activate it without any issue... it's only if you try to use these templates to create a site that the error occurs.
    Any thoughts on this?
    J

    I also experiencing the same issue. I also tried to create a new site-collection using publishing site template, resulting in "list not found" error.
    Later I tried just a team-site (with content) -> the same error.
    The error appears on two different (post SP1) farms. That's why I tested the site-collection creation on an old (pre SP1) farm: the error doesn't exist. Site-Collections are created properly.
    My conclusion is: either SharePoint SP1 or a later CU causing the error.
    Regards,
    Valerian

  • "Error while using XML iview" with XML iview template

    Our portal platform: HP-UX,  WAS 6.40 JAVA, EP 6.0 SP14
    We created an XML iview using XML iview template and configured the XML source URL with RSS feeder addresses such as"https://forums.sdn.sap.com/rss/rssmessages.jsp?forumID=41". And then select RSS to XHTMLB as the XML transformation format and save.  When I try to preview the iview, I always got error "Error while using XML iview, please contact your system administrator".  Here is the log and among which I found an error "java.net.UnknownHostException: news.163.com".  Does this indicate that the Portal server is not able to interpret the address of the URL host?
    #1.5#000F20196FBC0063000000080000623300043FCBAE39EA79#1196043941051#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC00630000000A0000623300043FCBAE39EDB0#1196043941051#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC005B0000001E0000623300043FCBCC12043B#1196044441749#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_37##0#0#Error##Java###Error openning connection when getting input stream for URL:http://news.163.com/special/00011K6L/rss_newstop.xml
    [EXCEPTION]
    #1#java.net.UnknownHostException: news.163.com
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
         at java.net.Socket.connect(Socket.java:474)
         at java.net.Socket.connect(Socket.java:424)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:522)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:499)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:378)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:391)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
         at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
         at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
         at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    And then I tried to upload an XML file on the portal server through KM and created another XML iview.  I got the same error message "Error while using XML iview....". But I found that the log contained different message:
    #1.5#000F20196FBC0059000000090000623300043FCC25CCAC4B#1196045947167#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC00590000000B0000623300043FCC25CCAEDC#1196045947168#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC005C000000180000623300043FCC5EB48FCF#1196046901893#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC0066000000020000623300043FCC61683438#1196046947221#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC00570000000D0000623300043FCC7B6DCFB3#1196047383789#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Java###Error openning connection when getting input stream for URL:http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
    [EXCEPTION]
    #1#java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at sun.net.www.protocol.http.HttpURLConnection$3.run(HttpURLConnection.java:840)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:834)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:601)
         at com.sapportals.portal.ivs.http.HttpClient.getResponseInputStream(HttpClient.java:615)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.getInputStreamResponse(DataFetcher.java:182)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:296)
         at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
         at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
         at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:794)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:395)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
         ... 37 more
    #1.5#000F20196FBC00570000000E0000623300043FCC7B6DD77E#1196047383800#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC0057000000100000623300043FCC7B6DD9C8#1196047383801#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    Anyone has any idea on this? thanks.

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • Code syntax error in header using a template?

    Now running CS5 DW in a 32 bit Windows/Vista ultimate environment. The improved error messages have brought to light a problem that I apparently have had for a long time but didn't know it as CS4 simply flagged the line but no message.
    Many of my site pages use a template http://a0540807.uscgaux.info/Templates/A0540807_Skeleton_2010.dwt
    If I build or edit a page using this template in CS5, when in code view I see "There is a syntax error on line 57. Code hinting may not work until you fix this error.  Line 57 is within the header of the page and is simply </script>
    But if I simply detach the template from the page, the error goes away and it says no syntax errors.
    So I am confused, is there an issue with the code or is this a Dreamweaver issue dealing with template usage?
    While the error appears cosmetic, I keep wondering what to do to eliminate. Apparently, I have had this situation a long time as Line 57 is also identified back in CS4 but no error message until CS5. Any pointers are appreciated. Thanks.
    Andy

    I don't actually think there is any problem with your page...run one of your child pages through the W3C validator: http://validator.w3.org/ . I cast a page from your template and it came through with flying colors!
    Beth

Maybe you are looking for