Two components do PublishedStaticFiles over the same file, who wins?

Hi,
I use UCM 11G PS4.
Does anyone knows how PublishedStaticFiles is working, I know it publish
resources into the weblayout/resources/wcm/custom.
But does anyone knows what happens if two components try to publish same file?
I will expect that Content Server to merge the 2 published files into one
depending by loadOrder.
Can anyone tell me what is the difference between PublishedStaticFiles and PublishedWeblayoutFiles?
Regards,
Cipi

The PublishedStaticFiles and PublishedWeblayoutFiles tables are essentially the same thing, in that they both define where to publish in the Weblayout folder/directory. However, PublishedStaticFiles is used to publish static items like images, while PublishedWeblayoutFiles is generally used to publish dynamic items like layouts. When you're in the config manager, the "Publish static layout files" and "Publish dynamic layout files" publish those tables, respectively. A brief overview can be read on Kyle's post.
As far as merging published files, no, that is not possible. The Content Server publishes all component files, but if any have the same file name, the component with the bigger (higher) loadOrder will "win" and its file will override the other.
For instance, in the .hda file of the component you want to be loaded, you'll have:
@ResultSet MergeRules
4
fromTable
toTable
column
loadOrder
SSOPublishedStaticFiles <-- your table that defines where in the weblayout directory you want to publish your files to
PublishedStaticFiles
null
500 <--loadOrder (set the value to something big like 500)

Similar Messages

  • Deploying web applications - jsp generated servlet's may be written over the same file!

    Hi, I have made the following test:
    Created two simple web applications with one jsp page, and deployed it
    with different context names, in weblogic.properties I have:
    weblogic.httpd.webApp.weirdApp=\java\weblogic\myserver\weirdApp.war
    weblogic.httpd.webApp.weirdAppTwo=\java\weblogic\myserver\weirdAppTwo.war
    (Note: I have used two diferent war files, because I have a different
    implementation of the jsp page, I could have used the same warfile, and
    deployed it two times with the same different names I have used)
    These two applications have a jsp named myHomePage.jsp
    If I access the first application, like this:
    http://myServer:7001/weirdApp/myHomePage.jsp
    the servlet for myHomePage is created in
    /java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
    If I access the second application, like this:
    http://myServer:7001/weirdAppTwo/myHomePage.jsp
    the servlet for myHomePage is created in
    /java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
    It overrides the first one! Because the servlets are keeped in memory by
    a different class loader this seems to not affect the other servlet, but
    I am wondering what may happen with this strange beaver from weblogic!
    Bruno Antunes,
    Java Software Engineer
    email: mailto:[email protected]
    Phone: +351.21.7994200
    Fax : +351.21.7994242
    WhatEverSoft - Java Center
    Centro de Competencia Java
    Praca de Alvalade, 6 - Piso 4
    1700-036 Lisboa - Portugal
    URL: http://www.whatevernet.com
    ****************** Internet Mail Footer ****************************
    A presente mensagem pode conter Informação considerada Confidencial.
    Se o receptor desta mensagem não for o destinatário indicado, fica
    expressamente proibido de copiar ou endereçar a mensagem a terceiros.
    Em tal situação, o receptor deverá destruir a presente mensagem e
    por gentileza informar o emissor de tal facto.
    Privileged or Confidential Information may be contained in this
    message. If you are not the addressee indicated in this message,
    you may not copy or deliver this message to anyone. In such case,
    you should destroy this message and kindly notify the sender by
    reply email.

    I have a separate java class that gets my data and returns a Result object. Do you mean java.sql.ResultSet?
    In my main servlet I do the following:
    request.setAttribute("supporttracker",
    supporttracker.findsupporttracker(monthYear));
    and then in my JSP I can iterate through the Result
    like the following with no problems:
    <c:forEach var="supporttracker" begin="0"
    items="${supporttracker.rows}" varStatus="counter">
    My problem is that I can only iterate through this
    once in the page whereas I have no problem doing
    multiple forEach loops through other types of
    lists/collections such as an ArrayList. Right, because a ResultSet is a database cursor and doesn't act the same way that an ArrayList does. It's more like an InputStream - once you read it, you close it. If you want to re-read it, you have to re-initialize it again.
    Iterators behave that way, too. Once you walk through them, you have to re-initialize them.
    I've looked
    on the web and in a couple of books, I first thought
    it may be scope or some attribute in forEach that I
    was missing but I'm stumped. It seems like it's
    because the pointer to the result set is at the end
    of the result set when trying the second iteration,
    but I thought by using the begin="0" would put the
    pointer at the first row again, on my second
    iteration I'm getting no rows/data outputed.
    Please help and thanks in advance!The better thing to do is for your method to return a List of objects, one per row, that represent what the ResultSet returns. Have that method iterate through the ResultSet, loading the rows into the List, and close it before you leave in a finally block. A database cursor is a scarce resource, so it's a good idea to close it as soon as you can.
    %

  • Getting two differents UrlConnection.inputStream() over the same Session

    I need to access two diferents webservices by GET method but to access the second one the session created by the first must be alive. Till now, I got something like the following code but this code doesn�t let session keep alive. I would like to advise that I cannot use web tools like servlets to manage this =/
    DocumentBuilderFactory dbf;  
       DocumentBuilder docBuilder;  
       public ClasseXML(){  
          dbf = DocumentBuilderFactory.newInstance();  
          try {  
             docBuilder = dbf.newDocumentBuilder();  
          } catch (ParserConfigurationException e) {  
             alerta("Parsing error: "+e.getMessage());  
       public void request1(String params) {  
          try{     
             String url = myHost+"/"+params;  
             Document doc = docBuilder.parse( new URL(url).openStream() );  
       public void request2(String params) {  
          try{  
             String url = myHost+"/"+params;  
             System.out.println( url );  
             Document doc = docBuilder.parse( new URL(url).openStream() );  
    ...  

    So you are connecting to Server X, and you want to send two web service requests to that server? And you want the server to process both requests in the same session?
    If that's what you mean, then you have to do whatever the server wants you to do to maintain the session. Often servers send a cookie to the client and require it to be sent back to maintain a session, but that's not the only way. Your first step is to find out how the server is maintaining the session. If there's no published information about that, and you have nobody to ask, then you would have to reverse engineer the requests and responses in a normal session.
    Then you would have to write your code to send the same requests and handle the responses accordingly.

  • Can two different adobe accounts sync the same files?

    I'm trying to figure out how to my client and I can use the InCopy/InDesign workflow using the adobe cloud storage. I get how the client can download the .indd files and open them in InCopy to edit, and upload it back to the cloud storage - but my question is - will that edited .indd file then sync to my hard drive copy of the file? Please confirm.

    Yes you can do this using the file sync that is part of the Creative Cloud desktop application and the Collaborate option that is part of the Creative Cloud Files page at https://creative.adobe.com/files.
    The file sync is on by default and creates a Creative Cloud Files folder in your user directory. Place a folder (not file) that you want to collaborate on in this folder (you can also create the folder from https://creative.adobe.com/files). Place the InDesign and InCopy files into this folder. From the Creative Cloud Files page select the Collaborate option. Alternatively from the Creative Cloud Files folder you can select the context menu for the folder of Creative Cloud > Collaborate which then launches your default browser and takes you to the option.
    Help document:
    Creative Cloud Help | Collaborate by sharing folders

  • IBooks app thinks my two user created textbooks are the same!

    iBooks app thinks my two user created textbooks are the same file. Whichever I load first works just fine, but when I try to load the second, nothing happens and then my first book opens up again. I use drop copy to move files onto my class' iPads (20 of them), but I have to uninstall the first book in order to load the second. This only happens with my two textbooks. Other user created books work fine.
    My semester has already started and I'm not able to put my content into their hands. Please help!!

    Thank God somebody figured it out! This was driving me nuts. But I have to say this is a pretty stupid way to address the problem...I have a client that produces iBooks for corporate clients, customizing the book for each one. Having to start from scratch every time, then  copy and paste all the content in to a new instance of the template is really, REALLY stupid. There should be some field you fill in within the U/I that would allow you to specify the name of the book, so that the iBooks app would know if it's a new rev of an existing book, or a new book altogether. Kinda brain dead the way they do it now.

  • Two users opened the same file at the same time with file on Win2K Server

    I just had a problem with a file that could not be saved. After a little investigation I discovered that two users had the same file open at the same time. This is with both users using InDesign CS2 and saving to a Windows 2000 Server. Any ideas how this even happened? The only thing I can think of is if they both opened the file at the exact same time but even that I doubt. I guess the more likely possibility is that the user on 10.5 (which we have had a lot of problems with, it's hard to tell how many of them are CS3 problems (yes CS3) and how many are Windows 2003 Server problems) had InDesign CS2 flake out and not tell her the file was open. Has anybody else seen this? The other user was using 10.4. Both computers have the most recent updates for the OS and for their various adobe products.

    I have videos on mov file and my quick time player does not play them.
    The MOV file container is the generic QT file container. Any audio and video data compatible with the computer system used to create the file can be placed in the MOV file container. Unfortunate, other systems cannot play the file unless they too are configured with the same components as those used to create the file. The normal procedure here is to use the Finder "Info" or alternative media play "Inspector" window to determine what codecs were used to create the original file and, if they are available for your Mac, install them on your system for playback use. Also be advised that some "legacy" codecs may require playback in the QT 7 Player for proper QT support.
    I opened with other players, there is no sound. Then I opened the same file on my windows 7, it plays perfectly with the sound and everything? What is the problem?
    This would indicate these players either access your QT codec component configuration which does not include the required codec or the app has its own built-in codec support which does not include the required audio codec but you Windows 7 media player is configured with the required codec support. This may incidate the use of a really old codecs that may or may not be available/supported on a Mac any longer.

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Using Illustrator CS and being able to open the same file on two machines!

    Hi,
    Don't know if anybody can help?
    I have been using macs for many years and now we have moved over to windows!
    We are using a server (not sure which type? NT?) and we have found that with the Mac you could not have two users in the same file but with Windows I can be in an Illustrator file and a colleague can also open the same file - no error message comes up or anything! We can then both do changes in that file and the last to save has the updated file.
    Can we do anything so you get a error message for the second user?
    Any ideas?
    Thanks
    Carole

    Hi,
    this does not make sense? Its the SAME version of Illustrator as that was on the Mac but when working on the PC you can both be in the file. On the Mac you get an error message saying the file is already open and you cannot access it.
    This must be a Windows issue or a Server issue as the problem is not on the Mac?

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • The same file with the same name need to call two RFC's with the sequence

    i have to pick up the same file with the same name  and call the two RFC in sequence
    scenario.i have xxx.txt file.file should be proces first calling the first rfc .
    I created two different communication channels
    for the first sender file communication channel i should not use processing mode archive,delete,Test
    and only option is set read only.
    if i set the read only the file ..then i can not use the same file again to call second RFC.
    how we can acheive the above scenario?
    Regards,
    Hyma

    If you want to file need to be picked up twice in same folder, it seems it is hard for PI adapter to achieve it, you should look for API's that control adapters availibility.
    But if you have different folder, then it make your scenario simpler since you can process first time, then output to another folder, configure another adapter to pick up from different folder.
    Regards
    Liang

  • Two dreamweavers accessing the same files

    I have two desktops, one with client files on its hard drive
    and shared. The other is mapped to that hard drive and uses the
    same drive letter. Both machines have Dreamweaver on them. When one
    desktop opens a job and builds pages, the other can also (at a
    different time of course) open the same file and make edits. At
    times, one of these machines will come back to a file, and its all
    screwed up. I thought it might have something to do with the latest
    version of Plugin Labs menu extension, but now I'm thinking it has
    something to do with Dreamweaver's handling of the files. Has
    anybody else experienced problems in a similar situation. I find
    myself constantly backing up entire site files to a zip folder just
    in case everything blows up when I open it. Problem is, sometimes
    one files is screwed up, and it overwrites the backed up
    one....can't win for trying sometimes.

    I do this ALL the time, and have never experienced your issue
    (Vista and
    XPPro - files on XPPro).
    I would also not touch anything from Plugin Labs.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Gadget1969" <[email protected]> wrote in
    message
    news:f85li7$jsj$[email protected]..
    >I have two desktops, one with client files on its hard
    drive and shared.
    >The
    > other is mapped to that hard drive and uses the same
    drive letter. Both
    > machines have Dreamweaver on them. When one desktop
    opens a job and builds
    > pages, the other can also (at a different time of
    course) open the same
    > file
    > and make edits. At times, one of these machines will
    come back to a file,
    > and
    > its all screwed up. I thought it might have something to
    do with the
    > latest
    > version of Plugin Labs menu extension, but now I'm
    thinking it has
    > something to
    > do with Dreamweaver's handling of the files. Has anybody
    else experienced
    > problems in a similar situation. I find myself
    constantly backing up
    > entire
    > site files to a zip folder just in case everything blows
    up when I open
    > it.
    > Problem is, sometimes one files is screwed up, and it
    overwrites the
    > backed up
    > one....can't win for trying sometimes.
    >

  • HT1660 if i create a copy in mp3 format in itunes from the mp4 music i already have in itunes it puts both formats in the same file is there a way of seperating the two formated albums from each other completely but keep them in itunes

    HAVE CONVERTED MY ITUNES MUSIC INTO A SECOND FORMAT OF MP3. WHEN I DID THIS IT COPIES THE MP3 FORMAT DIRECTLY INTO THE SAME FILE. THEN IT SHOWS TWO OF EACH SONG IN THE MUSIC FILE IN MP3 AND MP4. WOULD LOVE TO SEPERATE THEM INTO DIFFERENT FILES LIKE WINDOWS MEDIA PLAYER DOES WITH WMA AND MP4 IT CREATES A SEPERATE FILE FOR THE MP4 FILE DIRECTLY IN THE WMP MUSIC FOLDER THAT YOU CAN CLICK ON. QUESTION IS CAN IT BE DONE IN ITUNES IS THERE SOMETHING I CAN CLICK ON IN ITUNES THAT WILL SEPERATE THESE TWO FORMATS FROM EACH SO IT WILL BE EASIER FOR ME TO PICK WHEN NEEDED WHICH ONE I NEED WITHOUT DOING IT ONE SONG AT A TIME. THANKS PLEASE HELP!!!

    Select the Songs view. Use the Search window to display the tracks from the album. Turn on the Kind column and sort on it. Give each version of the album a distinct title. E.g. Album [AAC] and Album [MP3].
    See Grouping tracks into albums for tips on iTunes organization.
    tt2

  • Two or more users editing the same script file in cq5, is it possible?

    In cq5 is possible two or more users editing the same jsp file? There is a lock system preventing simultaneous editing of the same file?
    Thanks,
    Gabriel

    you really should use eclipse and maven to work with multiple developers. something like [1] will be helpful
    [1] http://www.cqblueprints.com/xwiki/bin/view/Blue+Prints/The+CQ+Project+Maven+Archetype

  • Is it possible to work on the same files/catalog from two different computers?

    My wife and I are photographers and work on two separate iMacs.  We just purchased an NAS and would like to know if we can both access the same files AND the Lightroom catalog from our respective computers.  All of the files are on the NAS but I can't figure out how to get her computer to recognize the catalog.  Any help would be greatly appreciated!
    -Brent

    Another option, since you already have the nas, is to get something like "Synchronize! Pro X",and use the nas to transfer the catalog back and forth.  You don't have to USB the catalog, just transfer it to the nas each time you are done, and before you start...
    Of course, I think both solutions are based on you not editing at the same time... i.e., both of you are making changes, as neither approach will work for that!
    Cheers!

  • Is it possible that Exchange UM could be configure with two call managers over the same sip?

    Hi,
    I have Cisco call manager 8.2 integrated with Microsoft Exchange Server 2010 Unified Messaging.
    Call manager has primary and secondary server. I created a sip trunk and linked primary CUCM with Exchange. Users can leave and get voice mails.
    Problem: In case that primary server is down (WAN is down) the users registered on secondary server but they cannot contact to Exchange Unified Messaging.
    I added  new UM Dial Plan with the same pilot and associated it to the secondary CUCM server. UM answered but do not recognize the extension number "is not a valid mailbox extension".
    Is it possible that Exchange UM could be configure with two call managers over the same sip, the same pilot number, different associated UM servers and get access to the same voice mail boxes?
    If not:
    Does exist a way to configure Exchange UM that will work if one CUCM server is down?
    Thank you,
    Peter

    Hi,
    I have Cisco call manager 8.2 integrated with Microsoft Exchange Server 2010 Unified Messaging.
    Call manager has primary and secondary server. I created a sip trunk and linked primary CUCM with Exchange. Users can leave and get voice mails.
    Problem: In case that primary server is down (WAN is down) the users registered on secondary server but they cannot contact to Exchange Unified Messaging.
    I added  new UM Dial Plan with the same pilot and associated it to the secondary CUCM server. UM answered but do not recognize the extension number "is not a valid mailbox extension".
    Is it possible that Exchange UM could be configure with two call managers over the same sip, the same pilot number, different associated UM servers and get access to the same voice mail boxes?
    If not:
    Does exist a way to configure Exchange UM that will work if one CUCM server is down?
    Thank you,
    Peter

Maybe you are looking for

  • How can I record my voice on iMovie without needing to place a photo or video in?

    I'm trying to make an anime review. But before placing photos in it, I wanted to record my voice first before adding pictures in it. So I was wondering what do I do to actually get my voice in it without it being cut because there were no photos or v

  • Oracle XE database take more place everyday

    Hi everyone, I know I'm not on the correct forum but I can't access the Oracle XE forum. It keeps telling me "Error: you do not have permission to view the requested forum or category." I'm registered to the XE forum (but I never receive the confirma

  • Netflix setup to someone elses email by mistake, and cant remember password

    I just registered to netflix on my appletv and missed the word "the" off the start of my email address, but registration was successful, its linked payments via my apple acct to somone elses email, and I can't remember the password. I know it worked

  • SRM classic scenario with shopping cart

    In a SRM classic scenario it's possible to create a shoping cart for material stock or it's only possible to create for indirect material (center cost, order, etc).

  • In Matrix Value is duplicating while giving add row

    In matrix i have given add row but the value is duplicating from the previous row in update mode.in add mode its ok and while clicking update =    error is coming "This entry already exists in the following tables " plz help its Urgent