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.

Similar Messages

  • Create the original prov.xml file for Provisioning Toolkit Enterprise?

    How do you create the original prov.xml file to be used with Provisioning Toolkit Enterprise? This is for use to resovle the issue with Creative Cloud Enterprise deployments serialization breaking during imaging. Several people indicated to try and reserialize with PTE. 

    Hi msdavidson,
    Please follow this KB article for Adobe Provisioning Toolkit.
    http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html
    Hope it answers your query.
    Regards,
    Abhijit

  • Recreate server.xml file

    When I copy class files for a seeded application from the server to my JDev project, there are some instances where there is no server.xml file. How do I recreate this?

    Thanks both of you.
    I tried this for $JAVA_TOP/oracle/apps/okc/schema/repository/authoring/server on the Apps server. There is no server.xml file there. So, I
    1. copied all the files in the server directory to %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server
    2. created the package oracle.apps.okc.schema.repository.authoring.server.
    3. highlighted the package in the JDev Navigator
    4. Selected all the files in %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server and did File->Open
    The generated server.xml file is essentially empty -- it does not contain any reference to the files in the directory. Does this matter? Here is the generated server.xml:
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    PackageName="oracle.apps.okc.schema.repository.authoring.server" >
    <DesignTime>
    <Attr Name="_version" Value="9.0.3.14.00" />
    <Attr Name="_ejbPackage" Value="false" />
    </DesignTime>
    </JboPackage>
    Edited by: user522137 on Apr 2, 2009 11:23 AM
    Edited by: user522137 on Apr 2, 2009 11:36 AM

  • Creating jsf faces-config.xml file

    Hello.
    I'm a newbee on Sun Java Studio Enterprice and have just converted from Borland Jbuilder.
    In borland, if I create a new "webmodule" and include the jfs library, Borland automaticaly creates the faces-config.xml file for me. The IDE then helps me keep this file up to date.
    After creating a new project in Sun Java Studio Enterprice I have gone into propereties and included the jsf-1_1_01.zip file (I googled jsf library and found this file. If I include this file I get access to the <h: -taglib etc so it seems to be working). But the IDE doesn't create the faces-config.xml file.
    Do I need to create this manually or what do I do wrong?

    As an alternative to Creator (which mostly implies WYSIWYG editing of JSP pages) you can consider NetBeans 5.0 or NetBeans 5.5 Beta. They also support JSF.

  • When I try to open a file I created in Pages, I get this: "The required index.xml file is missing."  This has happened many times and I have forgotten how I've worked around it.

    When I try to open a file I created in Pages, I get this: "The required index.xml file is missing."
    This has happened many times and I have forgotten how I've worked around it.

    That is wrong advice and you appear to have repeated it all over the forum.
    All Pages files no matter what version have the same file extension, .pages, despite being radically different formats and that is the problem. The System does not distinguish between them when you double click on the file, it opens the first version of Pages it encounters.
    You need to right click on the file and choose the correct App version for the file. Unfortunately there are no clues to tell you which is which.
    If you are unhappy with this and the removal of over 100 features plus the problems with transmitting files across devices, servers and different versions of OS X, rate/review Pages 5.5.2 in the App Store.
    Peter

  • Message "The required index.xml file is missing."

    I updated my OS a couple of weeks ago.  Ever since then I receive the following message whenever I try to open a Pages document:  The required index.xml file is missing.  I first got this message when trying to open something sent from my iPad, that is why I updated.  This morning I received the same message while trying to open a document created on this computer since it was updated.  I don't know what to do.  Any suggestions?  Thanks!

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 90 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • Pages Error "The required index.xml file is missing."

    When I try to open an existing Pages File by double clicking on the name in Finder (default application is Pages), I get the error message "The required index.xml file is missing."
    If I select the pages file, then use Open With / Pages App (default), the file opens fine with no errors. 
    Is there some reason this is happening and is there a fix available.  This error started after I upgraded to Mavericks, then upgraded to the latest version of Pages (5.1).

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.1 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • "The required index.xml file is missing."

    Hello everyone !
    I created a pages files a couple of days ago.
    I modified it successfully yesterday, by adding some jpeg files in it.
    But, now i can't open it.
    The massage is "The required index.xml file is missing."
    Although I still can have a "quick look" at my file.
    This is the first and only time I've had this.
    What can I do ?
    Thank you for your concern.

    speckel wrote:
    I tried using the .zip trick, but it doesn't work...
    May you explain what means "it doesn't work".
    I know what means "it works" : we get a package in which we may find the Index.xml file
    "It doesn't work" may means :
    (1) double click the zip file can't expand the file
    (2) it expands it but there is no index.xml file in the resulting package
    (3) it expands, there is an index.xml file but Pages can't use it
    It's a bit odd but we get the same error message in the three cases
    In case 1, your unique help is the pdf displayed in Preview.
    In case 2 & 3, you may retrieve your picture files if you inserted some of them.
    In case 3, sometimes, we may extract the text contents when a preview.pdf isn't available but for you, it's unneeded as the preview is available. So, you may extract the text component with a Copy/Paste action.
    CAUTION : I hope that this stupid accident will help you to understand that computers aren't perfect tools. When we use them, the main rule is *_keep incremental (chronological) backups_*. This will give you the ability to retrieve an usable document among a set of consecutive copies.
    You may achieve this goal with :
    (1) my free autosave script (dedicated to iWork)
    (2) the application ForeverSave which apply to every applications but is not free (to get incremental backups).
    Yvan KOENIG (VALLAURIS, France) lundi 20 décembre 2010 16:02:05

  • Can't open page documents and get The required index.xml file is missing

    I have “hundreds” of pages documents that were created with pre Pages 09 that will not open now that I have upgraded to Pages 09. In every case I get the error “The required index.xml file is missing“.
    I need a way to fix this or it will cost me many dollars since these files constitute legal backup for earlier federal jobs.
    Anyone out there that can help rather than telling me to open (which I can’t) and save in Pages 08 format!

    If a Pages '08 document doesn't open in Pages '09, the problem is not Pages '09, it's that the document is corrupted.
    I will be disconnected for a few days but if you may wait until tuesday 26th,
    on this day, send me a sample file.
    I will try to understand what is wrong with it.
    Click my blue name to get my mail address.
    Yvan KOENIG (from FRANCE mercredi 20 mai 2009 21:33:43)

  • "ePub_Best_Practices_EN.pages" couldn't be opened. The required index.xml file is missing.

    I've been trying to open the "ePub Best Practices” sample document located at Creating ePub files with Pages but every time I try to open it in Pages '09 4.1, I get the error "“ePub_Best_Practices_EN.pages” couldn’t be opened. The required index.xml file is missing."
    Is the file from Apple's site corrupt? I see a bunch of people online have used it successfully, but I don't know when they downloaded it.  When I open the Zip file the only file inside is "ePub_Best_Practices_EN.pages" which does not open in Pages.
    Thank you!

    Hi Peter,
    Could I get the Pages 2009 version as well?
    I tried clicking on your name and looking for a way to e-mail you, but either it's no longer there or I'm missing something. What am I doing wrong? Or, is there another way to contact you w/o posting my e-mail address here?
    Best,
    -David

  • Pages & Mavericks - "The required index.xml file is missing."

    I upgraded to Mavericks a few days ago, and am using the same Pages '09 (4.0.3) I was using with Snow Leopard. I wrote a text document in Pages after I did the Mavericks upgrade, and now it won't open—I get the "required index.xml file is missing" message instead. I tried a workaround suggested in this forum of changing the ".pages" suffix to ".zip," then changing it back to ".pages," but that did no good. However, text documents saved before the upgrade to Mavericks seem to open OK.
    How can I rescue my work?
    Thanks in advance for your help! 

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • What is this prompt? The required index.xml file is missing. "file" couldn't be opened.

    What is this prompt? The required index.xml file is missing. "file" couldn’t be opened.

    Helps if you tell us what version of Pages and something about the file.
    Probably you have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.1 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • I saved docs from a iMac to a flashdrive but when I plug the flashdrive into an iBookG4 and try to open the docs on the flashdrive, I get this message: Doc 2 cannot be opened. The required index.xml file is missing.

    I saved docs from a iMac to a flashdrive but when I plug the flashdrive into an iBookG4 and try to open the docs on the flashdrive, I get this message: Doc 2 cannot be opened. The required index.xml file is missing. Does this mean that I can't use the info on the flashdrive with the iBookG4 or can I do something to get the required index.xml file?
    Thanks
    jt

    It appears if you write the document with newer version Pages and try to open it older version Pages.

  • I can't open a file on Pages'09 4.1    I get  window that says "The required index.xml file is missing."  How do I get this file open?

    I have a file that I havel been adding to for years. I opened it a week ago but today I tried and I got the window message
    "the required index.xml file is missing"  How do I get this to open?
    I have Pages '09  4.1  Not sure when that was put on or updated.
    Thanks for any help you can give
    Teacher72

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=308&mforum=iworktips ntrick
    Are you sure you haven't upgraded Pages on your Mac to Pages 5?
    Check your Applications folder and the Applications/iWork folder. You may have 2 versions on your Mac.
    Peter

  • HT202879 How do I fix "the required index.xml file is missing?" when opening Pages documents?

    I can't open any documents from my son's iPad.  Error message: the required index.xml file is missing.  How do I fix this error so that I can open his Pages documents?  Before I ran the latest update as prompted when I opened Pages, I WAS able to open and view the document.
    I did try restoring Pages using my Time Machine, but it still won't open the Pages document.
    I have a brand new iMac that I just set up last week. 
    Son uses iPad at school, so we update when the school asks him to update.  Will doublecheck his version of Pages but it should be pretty recent.
    In general I don't like using Pages because it lacks a lot of the backwards / forwards compatibilty of Microsoft Word. 
    However, it is what my son uses with the iPad. 
    Most of the time I have to export his files as WORD files because we never seem to have compatible versions of Pages between the iPad and the desktop iMacs. 
    Where can I recommend that Apple improve its compatibility issues with Pages?
    This week I am going to receive a new iPad at my school (I am a teacher) but I am 100% certain that it will not be compatible with the older version of Pages on my classroom iMac.  I also avoid using Keynote for the same reason.  I have 15 year old Power Points that I can still open, but I am hesitant to switch over to Keynote because I want to be able to open my files any time, any where.
    Please advise.

    Not sure what v5 is. Someone helped me and opened it through Pages 5.2, through the program, rather than the Finder. Thanks for making a suggestion!

Maybe you are looking for

  • Add new field in Automatic Payment Transactions(F110)

    Hello, This problem has been raised by a lot of users, but no complete answers have been given. 1. Does anyone know a screen exit/badi/other enhancement for adding a new field in the screen for the transaction F110? It doesn't matter where, it can be

  • Issue in workflow binding of Table in send mail step

    Hi All, I am working on a Travel Management workflow where mail needs to be sent to the manager along with the trip details. We are displaying data in tables (html format). Now i need to add another such table with details into this already existing

  • Pdf file recovery from over written new save as file

    I over wrote a file  and need to recover the original file that was over written with "save as".

  • Passing Jaas form parameters

    Hello, I develop web application with authentication with this form : <html>      <body>      <form action='j_security_check' method='post'> <table align='center' style='font-size:12px' width='100%'> <tr> <td><img src='./images/logo.gif' style='borde

  • How would I format my table to look like this?

    Hi, I need to learn how to use tables to format the table to look like this. http://img695.imageshack.us/i/screenshot20100206at945.png/ I've tried messing around and watching some tutorials. but I don't really see examples of this particular type of