Definition class name missing in XML file of type taskFlow

Hi all,
I am trying to invoke a bounded taskflow from a region on a jspx page.
My jspx page has: *<af:region value="#{bindings.citySearchTF.regionModel}" id="r1" />*
Its page def file has :
*<taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
My taskFlow file is :
*<?xml version="1.0" encoding="windows-1252" ?>*
*<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">*
*<task-flow-definition id="city-search-tf">*
*<default-activity>search-city.jsff</default-activity>*
*<data-control-scope>*
*<shared/>*
*</data-control-scope>*
*<view id="search-city.jsff">*
*<page>/view/bounded/city/search-city.jsff</page>*
*</view>*
*<use-page-fragments/>*
*</task-flow-definition>*
*</adfc-config>*
Now, while running this jspx page, I am getting the following errors:
On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
On WLS Logs :
oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
     at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
     at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
     at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
     at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
     at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
     at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
     at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
     at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
     at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
     at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
     at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
     at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
     at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
     at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
     at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
     at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.
Edited by: 965225 on Dec 17, 2012 3:43 AM

Hi all,
I am trying to invoke a bounded taskflow from a region on a jspx page.
My jspx page has: *<af:region value="#{bindings.citySearchTF.regionModel}" id="r1" />*
Its page def file has :
*<taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
My taskFlow file is :
*<?xml version="1.0" encoding="windows-1252" ?>*
*<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">*
*<task-flow-definition id="city-search-tf">*
*<default-activity>search-city.jsff</default-activity>*
*<data-control-scope>*
*<shared/>*
*</data-control-scope>*
*<view id="search-city.jsff">*
*<page>/view/bounded/city/search-city.jsff</page>*
*</view>*
*<use-page-fragments/>*
*</task-flow-definition>*
*</adfc-config>*
Now, while running this jspx page, I am getting the following errors:
On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
On WLS Logs :
oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
     at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
     at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
     at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
     at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
     at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
     at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
     at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
     at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
     at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
     at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
     at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
     at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
     at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
     at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
     at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
     at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
     at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
     at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
     at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.
Edited by: 965225 on Dec 17, 2012 3:43 AM

Similar Messages

  • Create the missing server.xml files yourself

    Paula and I created the missing server.xml files ourselves. The script is at the bottom of the post.
    We badly needed the missing server.xml files to work on the customizations and Oracle was unable to solve this problem.
    "I checked on our Automated Release Updates System found that we dont have server.xml that includes PosDelivSchedVO. This confirms that there is no patch available at present to provide you with this file.
    As this is not related to coding issue,Support will not be able to log a bug with Development. You may log an Enhancement Request via Metalink, so that Development would review your requirement and if feasible would include this file at the time of future releases"
    #!/bin/sh
    # This script is used to generate the missing server.xml files for $JAVA_TOP/oracle/apps/pos
    # Usage: server.sh
    # Note: This script has many hardcoded codes and it may generate the wrong server.xml.
    # The manual fixes to the generated server.xml may be need.
    # Check the codes before you use it.
    # It's possible to write a generic version of this script to deal with more issues, like
    # 1. dealing with the Oracle apps patches applied
    # 2. only generates the missing server.xml files automatically
    # 3. can specify the module, like pos or po ..., to generate server.xml.
    # 4. including only the OA Framework objects used.
    # 5. correctly generate the right "encoding"
    # Luke Chi
    APP=pos
    PKG_HEAD=oracle.apps.$APP
    PKG_TAIL=server
    SERVER_FILENAME=server_1.xml
    cd $JAVA_TOP/oracle/apps/$APP
    # for SUB_DIR in asn isp lov product rcv sbd ship administration changeorder jar planning profile registration schema servic
    es suppreg
    for SUB_DIR in asn lov product rcv ship administration planning profile schema services suppreg
    do
    echo $SUB_DIR
    cd $SUB_DIR/server
    PKG=$PKG_HEAD.$SUB_DIR.$PKG_TAIL
    cat << EOF > $SERVER_FILENAME
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <!-- \$Header: server.xml 115.11 2003/03/25 22:31:14 luke ship $ -->
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    EOF
    echo " PackageName=\"$PKG\" >" >> $SERVER_FILENAME
    ls *.xml | grep -v server*.xml | while read FILE
    do
    BASENAME=`basename $FILE .xml`
    cat << EOF >> $SERVER_FILENAME
    <Containee
    Name="$BASENAME"
    FullName="$PKG.$BASENAME"
    EOF
    for TYPE in AM EO VL VO AO
    do
    BASENAME_2=`basename $BASENAME $TYPE`
    if [ $BASENAME_2 != $BASENAME ]; then
    case $TYPE in
    AM) echo " ObjectType=\"AppModule\" >" >> $SERVER_FILENAME ;;
    EO) echo " ObjectType=\"Entity\" >" >> $SERVER_FILENAME ;;
    VL) echo " ObjectType=\"ViewLink\" >" >> $SERVER_FILENAME ;;
    VO) echo " ObjectType=\"ViewObject\" >" >> $SERVER_FILENAME ;;
    AO) echo " ObjectType=\"Association\" >" >> $SERVER_FILENAME ;;
    CO) echo " ObjectType=\"Luke_CO\" >" >> $SERVER_FILENAME ;;
    *) echo " ObjectType=\"Luke_UNKNOWN\" >" >> $SERVER_FILENAME ;;
    esac
    break
    fi
    done
    echo " </Containee>" >> $SERVER_FILENAME
    done
    echo "</JboPackage>" >> $SERVER_FILENAME
    grep Luke $SERVER_FILENAME
    if [ $? -eq 0 ]; then
    mv $SERVER_FILENAME server_error.xml
    fi
    pwd
    cd ../..
    done

    We loaded the Oracle seeded BC4J components from mid-tier file system to jdev OA Framework using the server.xml files generated by our Unix script attached in the privious posting above. We ,then did the customizations and successfully deployed them to our test Oracle apps.

  • After migrating to new Mac Pro Dreamweaver won't launch, says missing menus.xml file. How do I resolve this?

    After migration to a new Mac Pro Dreamweaver CS6 won't launch. It says it is missing menus.xml file. How do I resolve this?

    Hi rustyg12,
    Go to Applications/Adobe Dreamweaver CS6/Configuration/Menus/menus.bak
    You'll see a menus.xml there - it is a backup copy of the actual menus.xml file that DW uses.
    Copy it from that folder, paste it 1 level above (in Menus folder).
    Fire up DW. See if it works.

  • How can I change the name of the XML file which is submitted by mail?

    Hello Everybody,
    If I submit my pdf file as XML
    I will get something like this:
    MyFile.PDF -> submit as XML -> MyFile_data.XML
    My problem is with the _data at the end of the file name -> this addition is coming from the windows logon language,
    I know that because if the windows logon is in spanish I get the addition _datos for example: MyFile_datos.XML
    Is there a way to change the name of the xml file for example : MyFile.XML
    Thank you all in advance,
    Eran

    Hello Uti,
    I found out it is something with the adobe reader installation.
    If it is in English the suffix is _data
    If it is in Spanish the suffix is _datos
    If it is in Hebrew the suffix is _נתונים
    So Now I think i will have to open OSS for this issue.
    Thank you so much for your reply - I thought i was the only one with this problem...
    Best Regards,
    Eran

  • Can not open dreamweaver due to missing menu.xml file, how do I fix this problem?

    Can not open dreamweaver due to missing menu.xml file, how do I fix this problem?

    @alicia - We have seen such issues before
    Allow me to quote David Powers from http://forums.adobe.com/thread/1192197
    The menus.xml file is normally in your personal configuration folder. Before going to the trouble of reinstalling, try deleting your configuration folder. Details of how to find it are here: http://forums.adobe.com/thread/494812.
    When you launch Dreamweaver, it should build a new configuration folder.

  • When I try to convert my .pdf to Word, I get a sidebar that has fields for: the name of my pdf file, the type of file I want to convert to (In my case, Word), and a button that says "Convert".  My problem is that the "convert to" field isn't active.  I ca

    When I try to convert my .pdf to Word, I get a sidebar that has fields for: the name of my pdf file, the type of file I want to convert to (In my case, Word), and a button that says "Convert".  My problem is that the "convert to" field isn't active.  I can see the words "Microsoft Word" in pale gray, but when I click on the field, nothing happens.

    You have posted in the wrong forum.  Try posting in the forum for the product you are trying to use.
    Here is a link to a page that has links to all Adobe forums... use the drop down list to see all.
    Forum links page:
    https://forums.adobe.com/welcome

  • Selecting certain iWeb templates results in missing index.xml file error

    some, not all my templates (which are all the default ones that come with iWeb) do not work. Of course, the one I need right now is one of the defunct templates!
    When I launch iWeb, I get the "Choose a template for your webpage" and the list of available templates.
    When I select either "White" or "Black" I get an error message that indicates I'm missing the index.xml file and the only option is "close", which results in an unusable iWeb that I have to re-launch.
    What happened to the index.xml file? What do I have to do to get it back? I've updated to the latest release but that did not solve the problem.
    Is there an index.xml file somewhere else that I can just copy into the right folder and move on?

    What follows is a LOG that I took as I dealt with the above problem noted in this post. I apologize for the *CAPS LOCK SYNDROME* and the *AKWARD NATURE OF MY PROCESS* but *IT WORKED!!!*
    *IWEB REDESIGN PROBLEM (April 13, 2008)*
    1. OPEN DOMAIN FILE AND RENAMED 'index-new.xml' to 'index.xml'
    2. STILL NO CHANGE AND CANNOT OPEN IWEB FILE!
    3. AFTER SOME TIME IT OPENED THE FILE BUT COULDN'T FIND ALL MEDIA FILES (LINK SEEMED BROKEN)
    4. COPIED BOTH DOMAIN AND DOMAIN.SITES FILE TO EXTERNAL HD.
    5. TRASHED REMAINING DOMAIN FILES FROM APPLICATION SUPPORT/ IWEB FOLDER.
    6. TRANSFERED ORIGINAL DOMAIN FILE (SAVED) FROM EXTERNAL HD TO INTERNAL HD IWEB FOLDER.
    7. DELETED PLIST FILE FROM PREFERENCES.
    8. OPENED IWEB APPLICATION WHICH CREATED NEW DOMAIN FILE (of course).
    9. TRASHED NEW DOMAIN FILE.
    10. TRIED TO OPEN ORIGINAL DOMAIN FILE WHICH I RENAMED AS 'Domain (redesign 2008)' BUT IT WOULDN'T! STARTING FROM NEW DOMAIN FILE INSTEAD!
    11. TRIED TO RENAME THE ORIGINAL FILE BACK TO JUST 'DOMAIN' AND WALLAH AFTER MUCH TRIAL AND ERROR ORIGINAL FILE IS BACK EXACTLY AS I LEFT IT BEFORE UPLOADING TO .MAC ACCOUNT LAST NIGHT.
    THOUGHTS:
    Something definitely happened to the original domain file when it was being uploaded to .mac account and the renaming of the index.xml file to index-new.xml plus the inclusion of another 'Domain.sites' file in my iWeb folder where originally there was only one 'Domain' file caused the confusion and resulting panic that followed! AAAAAAAAAAAAAAAAAH!
    The crazy thing is that this will probably happen again as I make more changes (redesign) and upload them to the mac server. If someone has a *REAL FIX* to prevent this CHANGE from happening - *PLEASE POST THIS HERE!*
    Good luck to all who read this and remember: 'When there is a will, there is a way!'

  • How to change generated class name when create binding files.

    I have a dtd file, which has lines like this:
    <!ELEMENT rights (
         %plain-text;
         | rights.owner
         | rights.startdate
         | rights.enddate
         | rights.agent
         | rights.geography
         | rights.type
         | rights.limitations
         )*>
         <!ELEMENT rights.type (%plain-text;)*>
    when i use xjc to create binding files, I got an error:
    trying to create the same field twice: value.
    I suspect that the reason is because the name of rights and rights.type.
    so, i'd like to know how can i control the generated class name. for example, i want to generate a class RightTypeEle for element rights.type. how can do that?
    btw, i use latest version of jaxb.
    Thanks in advance.

    hi Vincentq,
    What function are you using to create the attachment?  Have you looked at SAP_WAPI_ATTACHMENT_ADD?
    Cheers,
    Sue

  • How different Web Services can use a class which parses an XML file

    I am using RAD6.1 for developing and deploying web services.As I am using 15 web Services which uses a common class which is used to parse an XML file.As this XML file should be parsed only once and should be used by all the web services.I have made this common class as Singleton but it works as singleton for only one webservice and for other web service again it is parsing the xml file.I want to parse this xml file only once and used by all the web services.In my case tis file is parsed 15 times for 15 web services, but it should be parse donly once and used by all 15 services.Please give me the solution.
    Thanks and Regards
    Sayeeduzzaman

    Hello,
    the 15 Webservices should have a static attribute which contains the xml:
    private static String xml;
    then initialise the xml like this:
    if (xml == null)
    xml = parseIt();
    else
    //do nothing, XML already initialised!
    }

  • Missing opmn.xml file and opmn/conf folder

    I downloaded Oracle Application Server 10g, Version 10.1.3.4.0
    My app says “Warning: Could not find file /Desktop/OAS/opmn/conf/opmn.xml to copy.” My opmn/conf folder is missing and I am unable to install my application that uses OAS. The zip file I downloaded, oc4j_extended_101340.zip, doesn’t have that directory either. So how do I generate it?
    The readme file doesn’t say anything about it. It just says
    “There are no specific tasks that need to be performed to ready the new OC4J
    instance for use. The new OC4J instance can be used immediately after the unzip
    operation has completed.”
    So then the opmn/conf should come right out of the box, right?

    First thing, if you are using standalone OC4J (the one installed by unzipping oc4j_extended_101340.zip), you will not have OPMN in there. That means $ORACLE_HOME/opmn directory (and any sub directory) will not exist. Standalone OC4J is not managed by OPMN.
    But if you installed Oracle Application Server from the media using regular Oracle Installer, it is OPMN managed and all of opmn directories and files should exist. If any of the file or directory doesn't exist that would mean your installation wasn't clean. You will have look at installer logs for errors. In theory you can try by creating/copying files and opmn directories from some other clean installation but I will strongly suggest to re-install to avoid any other future potential issues.
    I didn't understand the part when you say your application is complaining about missing opmn.xml. What is this application? Any custom (non-Oracle provided) application does/should not have any dependency on opmn. Can you clarify this?
    Thanks
    Shail

  • ISABuild: missing sda_build.xml file

    Dear all,
    I have downloaded the ISABuild-Tool from note 594370 and followed the instructions given at mySAP CRM SAP Internet Sales Building and Updating Modified SAP Internet Sales Web Applications.
    The documentation wants me to copy "sda_build.xml" to <ISA build tool>/sap_ear. There is nowhere mentioned where I do get this file from ...
    I have taken a look at the <ISA build tool>/bin/build.xml file, finding this comment:
    5. Copy the sda_build.xml from your sap distribution to  the sap_ear folder
    I did a search of J2EE_ENGINE_ROOT without any hit. Any idea where it could be? Could it be inside b2b.ear (basis web app to be copied)? How can I take a look at the content of this file (using windows here)?
    "ant build" intterupts the build process when there is no sda_build.xml file.
    Any help is highly appreciated.
    Thanks,
    Martin Muellenberg

    Hi Martin,
               I assume you are talking abt ISA 4.0 version.
    For any 4.0 version you would get the sar file from the market place (something like ISAWAC40SP11P_3-20000529.SAR). When you extract this using sapcar you would find the sda_build.xml which you can use in isa build tool.
    Hope this helps.
    Thanks and Rgds,
    Satya

  • Name of Syndicated XML file(MDM SS)

    Hi,
    Currently syndication server creates files with such names: "10002-10-1-04-01-09-10-33-11_090401-103314_000.xml".
    I Have three question: 
    1. How can I change names of syndicated files?
    2. As I understand first part of the name "10002" shows number of syndication. What will be if number of syndication will be larger then 99999?
    3. How can I zero this counter?
    Thank You.

    Hi Pavel,
    Are you syndicating the file through an MDM workflow or is it directly through the MDSS.
    As it is not very clear the figure "10002" refers to the Workflow ID or the number of syndications as mentioned by you.
    It first needs to be clarified what does the number point to ,and in either of the case in my opinion  if the count reaches 99999 it should get incremented by +1.
    As there is no such upper limit specified for the number of time you want to auto syndicate.
    The only care that needs to be taken here is the number of output files that keep getting accumulated in the outbound ready folder and the large number of logs generated in the log folder.Probably we may need to periodically clean up those folders to avoid overcrowding but otherwise it should work fine.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Look-up name value from XML file based on user entered number value

    My form has an "Employee Number" numeric field and an "Employee Name" textfield. I want the user to enter their employee number and have JavaScript that will "look-up" that employee number in the XML data file and return the corresponding Employee Name into the employee name textfield. I need an example XML data file and form with the appropriate script.
    Can anyone help me with this?

    Hi ,
    Re-read your post, find that the col2 in List1 is people and group type column, SharePoint Lookup type column showing additional fileds option does not support people and group type column, so there should be no OOB method to achieve your
    goal.
    http://techtrainingnotes.blogspot.com/2012/01/sharepoint-not-all-column-types-can-be.html
    I think you can try using InfoPath form to manipulate the correspond col2 value when lookup col1 from List1 then show in list view, or may use custom visual web part to achieve you goal.
    http://sharepointsolutions.com/sharepoint-help/blog/2011/11/get-infopath-to-display-lookup-column-value-not-id/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Class name cannot be resolved to a type

    Dear All,
    I have one main class calling another class but I keep getting this error "
    SMSClient cannot be resolved to a type". Before this I tried on other pc it was ok. Below is part of the codes. What could have been wrong? Can it be a missing library but how to trace that?
    public class callSMSClient{   public static void main(String[] args)  {       
              SMSClient t1 = new SMSClient(0);       
              t1.sendMessage("+6065544223","testing one two");  }}public class callSMSClient
              public static void main(String[] args)
           SMSClient t1 = new SMSClient(0);
           t1.sendMessage("+6065544223","testing one two");
    public class SMSClient implements Runnable{  
    public final static int SYNCHRONOUS=0; 
    public final static int ASYNCHRONOUS=1; 
    private Thread myThread=null;  
    private int mode=-1; 
    private String recipient=null; 
    private String message=null;  
    public int status=-1; 
    public long messageNo=-1;   
    public SMSClient(int mode) {     
    this.mode=mode;   
    public int sendMessage (String recipient, String message)
          this.recipient=recipient;   
          this.message=message;  
          myThread = new Thread(this);   
          myThread.start();
          //    run();   
          return status;   
    public void run()
    Sender aSender = new Sender(recipient,message);    
    try{     
    //send message         
    aSender.send ();         
    // System.out.println("sending ... ");      
    //in SYNCHRONOUS mode wait for return : 0 for OK, -2 for timeout, -1 for other errors     
    if (mode==SYNCHRONOUS)
    while (aSender.status == -1)
    {            myThread.sleep (1000);         
    if (aSender.status == 0)
    messageNo=aSender.messageNo ;   
    catch (Exception e)
    {         e.printStackTrace();    
    this.status=aSender.status ;    
    aSender=null;   
    }public class SMSClient implements Runnable{
      public final static int SYNCHRONOUS=0;
      public final static int ASYNCHRONOUS=1;
      private Thread myThread=null;
      private int mode=-1;
      private String recipient=null;
      private String message=null;
      public int status=-1;
      public long messageNo=-1;
      public SMSClient(int mode) {
          this.mode=mode;
      public int sendMessage (String recipient, String message){
        this.recipient=recipient;
        this.message=message;
        //System.out.println("recipient: " + recipient + " message: " + message);
        myThread = new Thread(this);
        myThread.start();
    //    run();
        return status;
        public void run(){
        Sender aSender = new Sender(recipient,message);
        try{
          //send message
              aSender.send ();
             // System.out.println("sending ... ");
          //in SYNCHRONOUS mode wait for return : 0 for OK, -2 for timeout, -1 for other errors
          if (mode==SYNCHRONOUS) {
              while (aSender.status == -1){
                myThread.sleep (1000);
          if (aSender.status == 0)
             messageNo=aSender.messageNo ;
        }catch (Exception e){
            e.printStackTrace();
        this.status=aSender.status ;
        aSender=null;
    }

    Dear Ejp,
    I would like to first share a simple case here first. Below is the simplied codes. Here I dont need any import statement. I keep both this in the same directory. I am using this command to compile javac callSMSClient.java. Why even this simple case is not working?
    public class callSMSClient{
      public static void main(String[] args)
           SMSClient t1 = new SMSClient(1);
           t1.sendMessage("+6014466044","testing one two");
    public class SMSClient {
      private int mode=-1;
      private String recipient=null;
      private String message=null;
      public SMSClient(int mode) {
          this.mode=mode;
      public void sendMessage (String recipient, String message){
        this.recipient=recipient;
        this.message=message;
        System.out.println("recipient: " + recipient + " message: " + message);
    }

  • How to save an XML file with a proper name and how to maintain the history?

    Hi All,
    As per the requirement, I have to remane the name of the XML file which is under the KM repository Userhome/personaldocuments based on the user logon information.
    I have created a Repository service for the same and following is the code for the same. The service is working, but only for the first entry in the XML form. Second onwards, the file does not get remaned to the preferred one.
    Request you to throw some light as what is wrong or missing in the code, so that I can follow the right approach. Many thanks in advance.
    // Code snippet is here//
    //Starts here//
    com.sap.security.api.IUser epUser;
                                            epUser = UMFactory.getAuthenticator().getLoggedInUser();
                                     String EntID = epUser.getUniqueName();
    IResourceContext resContext = null;
    try {
         resContext = ResourceFactory.getInstance().getServiceContext("cmadmin_service");
    } catch (ResourceException e1) {
              e1.printStackTrace();
    RID rid = RID.getRID("/userhome""/"EntID+"/Personal Documents");
    IResource resource = null;
    try {
         resource = (ResourceFactory.getInstance().getResource(rid, resContext));
    } catch (ResourceException e2) {
              e2.printStackTrace();
    ICollection collection = (ICollection)resource;
    IResourceList resourseList = null;
    try {
         resourseList = collection.getChildren();
    } catch (AccessDeniedException e3) {
              e3.printStackTrace();
    } catch (ResourceException e3) {
              e3.printStackTrace();
         for(int i=0;i<resourseList.size();i++){
              IResource res_new = resourseList.get(i);
                try {
                   res_new.rename("Address_new.xml");
              } catch (NotSupportedException e) {
                                  e.printStackTrace();
              } catch (AccessDeniedException e) {
                                  e.printStackTrace();
              } catch (ResourceException e) {
                                  e.printStackTrace();
    //Code ends here//
    Regards
    DK
    Edited by: DIPENDRA MOHANTY on Jun 5, 2009 5:20 PM

    Hi,
    The code seems ok.
    But you have mentioned about a KM Rep service, what service is that? which event it is listening to?
    Regards
    BP

Maybe you are looking for