Can rsync filter on extended attributes?

Hi there,
I've been using rsync for quite a while now to perform various backups on my network, and it's been working without issue.
What I'm wondering today is if it's possible to create an rsync job that can filter on the colour label value of a folder? Bascially I'd like a job that essentially does
"IF this folder IS red OR orange THEN rsync it"
I've google for a while now and while I see that the -E filter preserves extended attributes, and the filter command can filter on file/folder name attributes, I can't seem to figure out a way to filter based on extended attributes.
Is there a way?
...Mike

This is not going to be pretty.
bash doesn't look to have a direct path into Finder's sort-of-private extended attribute information, save via some "creativity" involving xargs and xattr.
There are also paths into the extended attributes via Perl and via [Python xattr calls|http://www.entropy.ch/blog/Developer>.
Invoking osascript to script Finder via AppleScript can be be a path.
I'd probably [customize some C code|http://www.mactech.com/articles/mactech/Vol.21/21.05/ACLs/index.html] to fetch the attributes, and call that from within the bash script. (These APIs are documented, if you're comfortable coding in C.)
The "sneaky" or "clever" approach would be a customized rsync; tweak the file selection logic to do what you want.
Have a look at [updating rsync 3.0|http://patternbuffer.wordpress.com/2008/01/04/rsync-30-looking-very-promisi ng> and (for testing) the [backup bouncer|http://www.n8gray.org/code/backup-bouncer> tool.
But none of this is particularly pretty.

Similar Messages

  • Can not filter the data with the extended class

    Hi,
    I have a quick question about PortableObject format. I have created a class which extends PortableObject interface and implemented serializer methods as well. I have updated it in the pof-config.xml file as well. If I insert the objects of this type of object in the cache, they get inserted properly and I can filter the values based on the getters defined in the class. Everything works fine here.
    Now, I am trying to extend the existing class that I have. We have our custom API which we have built for our domain objects. I need to store these objects in the cache. So, naturally I need to implement PortableObject interface to do that. So, instead of creating a new class with new set of getters and setters and local fields, I am extending our domain class to create a new class which implements PortableObject interface. Instead of defining the local fields and getters and setters i am reusing the ones provided by my existing class. Now, I can insert the objects of the new class to the cache. But I can not filter the values for the objects of this new class.
    Let me show you what exactly I am trying to achieve by giving a small example:
    Domain Class:
    class Person
    private String person_name;
    *public String getPerson_name() {return person_name;}*
    *public String setPerson_name(person_name) {this.person_name = person_name;}*
    The new class implementing PortableObject interface:
    class ExtPerson extends Person implements PortableObject
    public static final PERSON_NAME = 0;
    *public void readExternal(PofReader reader) throws IOException{*
    setPerson_name(reader.readString(PERSON_NAME));
    *public void writeExternal(PofWriter writer) throws IOException{*
    writer.writeString(PERSON_NAME, getPerson_name());
    *// And HashCode, Equals and ToString methods, all implemented using the getter from the Person class*
    So, if I create a new class ExtPerson without extending the Person class and write all the methods, store the objects in the cache and perform the following query, I get the size printed
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    But if I use the extended class and insert the values into the cache and if I use the same query to filter, I get 0 printed on the console.
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    So, can anyone tell what exactly is causing this?
    Thanks!

    Well, just a quick question. It seems that I can not get ContainsAnyFilter or ContainsAllFilter working.
    EqualsFilter is actually working properly.
    I am preparing a Set of Strings and passing it to ContainsAnyFilter or ContainsAllFilter and it is returning me 0 records.
    E.g.:
    Set<String> setStr = new HashSet<String>();
    setStr.add("ABC");
    setStr.add("DEF");
    System.out.println((cache2.entrySet(new ContainsAnyFilter("getPerson_name", setStr))).size());
    I get 0 in my output
    If I try this:
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","DEF"))).size());
    I get 1 for each of the query.
    If I club all these EqualsFilter in a Filter[] array and create an AnyFilter or AllFilter and pass it to the query, it works fine.
    List<Object> lst = new ArrayList<Object>();
              lst.add("ABC");
              lst.add("DEF");
    Filter[] filter = new Filter[lst.size()];
         for(int i=0;i<lst.size();i++)
              filter[i] = new EqualsFilter("getPerson_name",lst.get(i).toString());
    AnyFilter fil = new AnyFilter(filter);
    System.out.println((cache4.entrySet(fil)).size());
    I get the desired result here, which is 2.
    Am I missing something here?

  • Can't repair Macintosh HD in Disk Utility (extended attributes)

    Hi all,
    I have a Retina Macbook Pro with one of them new fancy SSDs in it. I'm running 10.9.3 all up-to-date and am a bit computer-savvy, but I'm more than puzzled by what my Mac has been doing as of late.
    When trying to install Windows via Bootcamp, I ran into an error message in the Partitioning step of the process. I hopped into Disk Utility, figuring I could simply partition from there (something in me trusts Disk Utility more than the Boot Camp Assistant). Partition failed!
    I then executed the "Verify Disk" command in Disk Utility, only to be told I needed to restart from the Recovery Partition and use the "Repair Disk" function of Disk Utility then. Log of this whole event is at the end of this post, but the offending line seems to be
    2014-06-12 20:59:30 -0400: Checking extended attributes file.
    2014-06-12 20:59:30 -0400: (It should be 15783744 instead of 14437995)
    I then restarted and followed these instructions. "Verify Disk" found no errors, nor did "Repair Disk." I rebooted, only to be met with the same problem!
    Is there some sort of lower-level command I can use to repair my disk if I boot in Single User mode or something?
    Thanks,
    Nathan
    2014-06-12 20:58:30 -0400: Disk Utility started.
    2014-06-12 20:58:36 -0400: Verifying partition map for “APPLE SSD SD512E Media”
    2014-06-12 20:58:36 -0400: Starting verification tool:
    2014-06-12 20:58:36 -0400: Checking prerequisites
    2014-06-12 20:58:36 -0400: Checking the partition list
    2014-06-12 20:58:36 -0400: Checking for an EFI system partition
    2014-06-12 20:58:36 -0400: Checking the EFI system partition’s size
    2014-06-12 20:58:36 -0400: Checking the EFI system partition’s file system
    2014-06-12 20:58:36 -0400: Checking all HFS data partition loader spaces
    2014-06-12 20:58:36 -0400: Checking booter partitions
    2014-06-12 20:58:36 -0400: Checking booter partition disk0s3
    2014-06-12 20:58:36 -0400: Checking file system
    2014-06-12 20:58:36 -0400: Checking Journaled HFS Plus volume.
    2014-06-12 20:58:36 -0400: Checking extents overflow file.
    2014-06-12 20:58:36 -0400: Checking catalog file.
    2014-06-12 20:58:36 -0400: Checking multi-linked files.
    2014-06-12 20:58:36 -0400: Checking catalog hierarchy.
    2014-06-12 20:58:36 -0400: Checking extended attributes file.
    2014-06-12 20:58:36 -0400: Checking volume bitmap.
    2014-06-12 20:58:36 -0400: Checking volume information.
    2014-06-12 20:58:36 -0400: The volume Recovery HD appears to be OK.
    2014-06-12 20:58:36 -0400: Checking Core Storage Physical Volume partitions
    2014-06-12 20:58:36 -0400: Checking storage system
    2014-06-12 20:58:36 -0400: Checking volume
    2014-06-12 20:58:36 -0400: disk0s2: Scan for Volume Headers
    2014-06-12 20:58:36 -0400: disk0s2: Scan for Disk Labels
    2014-06-12 20:58:36 -0400: Logical Volume Group D79A3F82-3153-4DCC-A58F-C9B3ADAD2F6E on 1 device
    2014-06-12 20:58:36 -0400: disk0s2: Scan for Metadata Volume
    2014-06-12 20:58:36 -0400: Logical Volume Group has a 16 MB Metadata Volume with double redundancy
    2014-06-12 20:58:36 -0400: Start scanning metadata for a valid checkpoint
    2014-06-12 20:58:36 -0400: Load and verify Segment Headers
    2014-06-12 20:58:36 -0400: Load and verify Checkpoint Payload
    2014-06-12 20:58:36 -0400: Load and verify Transaction Segment
    2014-06-12 20:58:36 -0400: Incorporate 0 newer non-checkpoint transactions
    2014-06-12 20:58:36 -0400: Load and verify Virtual Address Table
    2014-06-12 20:58:36 -0400: Load and verify Segment Usage Table
    2014-06-12 20:58:36 -0400: Load and verify Metadata Superblock
    2014-06-12 20:58:36 -0400: Load and verify Logical Volumes B-Trees
    2014-06-12 20:58:36 -0400: Logical Volume Group contains 1 Logical Volume
    2014-06-12 20:58:36 -0400: Load and verify BDEE2B2F-6770-4707-AE0A-3862965E6414
    2014-06-12 20:58:36 -0400: Load and verify B761A88F-B034-44A9-8F54-F7732861C825
    2014-06-12 20:58:36 -0400: Load and verify Freespace Summary
    2014-06-12 20:58:36 -0400: Load and verify Block Accounting
    2014-06-12 20:58:36 -0400: Load and verify Live Virtual Addresses
    2014-06-12 20:58:36 -0400: Newest transaction commit checkpoint is valid
    2014-06-12 20:58:36 -0400: Load and verify Segment Cleaning
    2014-06-12 20:58:36 -0400: The volume D79A3F82-3153-4DCC-A58F-C9B3ADAD2F6E appears to be OK
    2014-06-12 20:58:36 -0400: The partition map appears to be OK
    2014-06-12 20:58:36 -0400:
    2014-06-12 20:58:36 -0400: Verifying volume “Macintosh HD”
    2014-06-12 20:58:36 -0400: Starting verification tool:
    2014-06-12 20:58:36 -0400: Checking storage system
    2014-06-12 20:58:37 -0400: Checking volume
    2014-06-12 20:58:37 -0400: disk0s2: Scan for Volume Headers
    2014-06-12 20:58:37 -0400: disk0s2: Scan for Disk Labels
    2014-06-12 20:58:37 -0400: Logical Volume Group D79A3F82-3153-4DCC-A58F-C9B3ADAD2F6E on 1 device
    2014-06-12 20:58:37 -0400: disk0s2: Scan for Metadata Volume
    2014-06-12 20:58:37 -0400: Logical Volume Group has a 16 MB Metadata Volume with double redundancy
    2014-06-12 20:58:37 -0400: Start scanning metadata for a valid checkpoint
    2014-06-12 20:58:37 -0400: Load and verify Segment Headers
    2014-06-12 20:58:37 -0400: Load and verify Checkpoint Payload
    2014-06-12 20:58:37 -0400: Load and verify Transaction Segment
    2014-06-12 20:58:37 -0400: Incorporate 0 newer non-checkpoint transactions
    2014-06-12 20:58:37 -0400: Load and verify Virtual Address Table
    2014-06-12 20:58:37 -0400: Load and verify Segment Usage Table
    2014-06-12 20:58:37 -0400: Load and verify Metadata Superblock
    2014-06-12 20:58:37 -0400: Load and verify Logical Volumes B-Trees
    2014-06-12 20:58:37 -0400: Logical Volume Group contains 1 Logical Volume
    2014-06-12 20:58:37 -0400: Load and verify BDEE2B2F-6770-4707-AE0A-3862965E6414
    2014-06-12 20:58:37 -0400: Load and verify B761A88F-B034-44A9-8F54-F7732861C825
    2014-06-12 20:58:37 -0400: Load and verify Freespace Summary
    2014-06-12 20:58:37 -0400: Load and verify Block Accounting
    2014-06-12 20:58:37 -0400: Load and verify Live Virtual Addresses
    2014-06-12 20:58:37 -0400: Newest transaction commit checkpoint is valid
    2014-06-12 20:58:37 -0400: Load and verify Segment Cleaning
    2014-06-12 20:58:37 -0400: The volume D79A3F82-3153-4DCC-A58F-C9B3ADAD2F6E appears to be OK
    2014-06-12 20:58:37 -0400: Checking file system
    2014-06-12 20:58:37 -0400: Performing live verification.
    2014-06-12 20:58:37 -0400: Checking Journaled HFS Plus volume.
    2014-06-12 20:58:37 -0400: Checking extents overflow file.
    2014-06-12 20:58:37 -0400: Checking catalog file.
    2014-06-12 20:58:59 -0400: Checking multi-linked files.
    2014-06-12 20:59:30 -0400: Checking extended attributes file.
    2014-06-12 20:59:30 -0400: (It should be 15783744 instead of 14437995)
    2014-06-12 20:59:30 -0400: Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.
    2014-06-12 20:59:30 -0400:
    2014-06-12 20:59:30 -0400: Disk Utility stopped verifying “Macintosh HD”: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.
    2014-06-12 20:59:30 -0400:

    I'm having a similar problem with my G4 Desktop.
    I have a 2nd internal hard drive and 2 FW Drives.
    None of them are able to be verified or repaired using DU.
    I get the following message: "Verify volume failed with error Could not unmount disk." And then some message about "make sure that all your files are closed."
    I tried soft-booting by holding the shift-key down just as a trouble-shooting idea and I was able to verify and the drives were working well. However, when I restarted in normal mode I was not able to verify or repair.
    What is my G4's problem? Why does it need to use that secondary drive in order to operate? What do I need to do to fix it?
    Any suggestions?
    G4 Dual 1.42   Mac OS X (10.4.6)   1 Gig Ram / 2 Internal Hard Drives

  • How can i extended attribute of user and add attribute to ldap

    how can i extended attribute of user and add attribute to ldap
    1.
    i use spe to modified "Default User Library":add Field like
    title:nation name:accounts[Lighthouse].nation
    2.
    modified "IDM Schema Configuration"
    add <IDMAttributeConfiguration name='nation' description='default attribute from UserExtendedAttributes/UserUIConfig' syntax='STRING'/>
    in <IDMAttributeConfigurations>
    and
    add <IDMObjectClassAttributeConfiguration name='nation' queryable='true' summary='true'/> in<IDMObjectClassConfiguration>
    there is extended attribute when i create new user
    3.
    i create new resource to ldap,and i add nation in "Account Attributes" tab
    but the new attribute not add to ldap
    i am beginner,how to extended attirbute add add to ldap attribute?

    So, if I want to fill in blanks on a form where I need to add more pages to fill history, what program do I need? In Adobe Reader, I can edit and fill in blanks, but I cannot duplicate more blank pages.

  • Snow Leopard (10.6+) - could not copy extended attributes to *

    I have a NAS device running Samba version 3.0.26a.
    Many files I download with Safari, view with iPhoto, or use in many other OS X applications, get extended attributes added to them.
    These extended attributes "cannot" be copied to my network devices using the Finder copy dialog. Finder will copy the file, report it failed to copy extended attribs, then delete the file!
    However, the cp and rsync commands work, but cp complains about the extended attributes. But at least it actually copies, and leaves the file on my network appliance!
    Here is a summary of the log:
    mbp-stnt-09-01:Desktop josh_miller$ cp LexmarkX940eX.dmg /Volumes/projects/_Software/
    cp: LexmarkX940eX.dmg: could not copy extended attributes to /Volumes/projects/Software/Lexmark_X940eX.dmg: Operation not permitted
    Here is an example of an Extended attrib on that file:
    mbp-stnt-09-01:Desktop josh_miller$ xattr LexmarkX940eX.dmg
    com.apple.diskimages.recentcksum
    All other OS X versions back as far as I can see, work fine. This is a new issue with Snow Leopard and I'd very much like it corrected!
    Message was edited by: JoshMillerGNWC

    If you want to report this issue to Apple's engineering, send a bug report or an enhancement request via its Bug Reporter system. To do this, join the Apple Developer Connection (ADC)—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report or enhancement request. The nice thing with this procedure over posting here or submitting feedback is that you get a response and a follow-up number; thus, starting a dialog with engineering.

  • When I restore my Mac with Time Machine and then want to partition my disk, Disk Utility always says incorrect number of extended attributes

    When I need to restore my Mac from a time machine backup and then partition my hard disk (the disk inside the computer not the time machine disk), Disk Utility always says "Incorrect Number of Extended Attributes". I then boot into Recovery HD and run disk repair. The result? "The volume Macintosh HD appears to be OK". So then I reboot into normal OS and try the partition again, still Incorrect number of extended attributes. I have even tried /sbin/fsck -fy in single-user mode but it still says the volume is ok. I have tried partition my disk in the recovery HD and it still fails.
    Can anyone please help me solve this problem?

    Try something stronger, such as DiskWarrior or TechTool Pro.
    iMac refurb (27-inch Mid 2011), OS X Mavericks (10.9.4), SL & ML, G4 450 MP w/Leopard, 9.2.2

  • Cannot create or replace : The specified extended attribute name was invalid.

    New problem arrived today. Trying to copy a file from 10.6 server with an XP (SP3) client. I get this error:
    Cannot create or replace (file name here): The specified extended attribute name was invalid.
    The contents of the file can be copied, but not the folder. Other files can be copied. There are no funny characters. The name is not too long. I propogated the permissions on the share and that had no affect. The problem exists on three different XP systems. Can't find extended properties that could be causeing a problem. Any ideas?

    Nikon just released a Firmware update today for the D750

  • Read BPs from a filter of an Attribute Set.

    Hi SAP Gurus,
    We have a scenario: We have a PROFILE/Attribute List where one attribute is selected. That attribute has a filter criteria which  contains some BPs. We have to read those BPs within the filter and Assign the BPs to a target group. then we have to assign the target group to a campaign.
    1. Do we have any function modules to read BPs from the filter of the attribute list automatically?
    2. Do we have FMs to create a Campaign? we have found a FM 'MKT_ELEMENT_CREATE' which creates a Campaign element within a parent campaign. But we want to create a parent campaign itself. Do we have any FM for that?
    Thanks in Advance.

    Hi,
    You can use the methods in the class 'cl_crm_mktpl_appl_base' to create a campaign and assign target groups.
    the mehods used are : get instance to instantiate an object, 'element create' method followed by 'save method , BAPI_TRANSACTION_COMMIT to create the campaign and 'tggr_assign_create' followed by ''save' and 'bapi commit' to assign the target groups.
    Hope this helps!!!
    Prerna

  • No permission to copy file (to NAS with AFP support) - extended attributes?

    For certain files that I copy from one of my drives to the NAS here (Synology 206j), ever since upgrading to Snow Leopard, Finder's behaviour has changed. It will simply refuse to copy the file, stating that "The operation can’t be completed because you don’t have permission to access some of the items."
    The source is an external USB drive in Mac OS Extended format, I do have full permissions on the files and in any case the drive is set to ignore ownership.
    The target is, like most NASes, in EXT3 format. It's sharing via its own AFP implementation.
    I'd have tried repairing permissions, but for whatever reason, it's greyed out on my external drives. Since then I've figured that it was probably not that anyway, which will become apparent:
    I tried copying the file via the terminal and it actually worked, but also gave an error: "cp: myfile: could not copy extended attributes to /Volumes/media backup/myfile: Operation not permitted"
    This suggests to me that, as expected, the target volume doesn't support extended attributes. But rather than popping up with the message that Leopard did (something along the lines of "your target volume doesn't support extended attributes so your file's metadata may be lost, do you wish to continue") it just aborts instead.
    I'm not sure if this is a Snow Leopard problem or a change that Synology need to catch up with. A workaround is to compress the file to ZIP first.
    Thought I'd mention it here before trying to report it as a bug somewhere. Anyone else having similar issues, either with a NAS or some other storage, in which case please specify?
    Message was edited by: Cloudane

    Thanks guys, yeah I've been monitoring the netatalk mailing list myself: they're onto the same problem, have come to the same conclusions about it being Extended Attributes and have much better proof of such than I
    It looks like they're currently debating the best way to fix it (pretending to support EAs but sending them to a black hole being the quick and dirty way, but I suspect they'll go for implementation)
    It'll be a while for sure, but the Synology guys are very good with Mac support so I'm sure they'll apply the update fairly quickly once the netatalk crew get something public. FWIW, I did detect a certain sense of urgency from the netatalk discussions.
    Although it's essentially answered, I'll leave the question marked as unanswered in case Apple come up with a better one
    Message was edited by: Cloudane

  • How to use extends attribute in jsp page directive

    Can anybody tell how to extend a existing .jsp file from another .jsp file. I have tried but it gives error.
    I have used Extends attribute of page directive as below:
    <%@ page extends = "MyAnotherJsp.jsp"%>
    I also tried : <%@ page extends = "MyAnotherJsp"%>
    I am using Tomcat as a web server
    Also tell where to put those files.
    Thanks.

    Hi I am using Netbeans 5.5, Sun Java System Application Server 9.
    ABC.java
    package javapackage;
    public class ABC{
    public String show(){
    return "Sandip Gaikwad";
    index.jsp
    <%@ page extends="javapackage.ABC" %>
    <html>
    <head>
    <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page </h1>
    </body>
    </html>
    Above code throws following exception at runtime:-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    Server log
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    If I delete the line <%@ extends="javapackage.ABC"%> it works fine. Please tell me what is wrong with this line.

  • Display non extended attribute in a Custom Report

    Hi,
    Is it possible to query external attributes (that are not set as extended attributes) in a user report ?
    I read in this forum that reports are just meant to query IDM repository, is it still true ?
    Thanks,
    Ben

    Hello Sandra,
    Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
    Can I just pass the pdf_fsize imported from  CONVERT_OTF which is of type i.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE    
    bin_file              = pdfxstring
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         = 'application' "'text' " 'application'
           SUBTYPE      = 'pdf' "'html'  "'pdf'
           size           = PDF_FSIZE
         IMPORTING
           ASSIGNED_URL         = lv_URL
         CHANGING
           DATA_TABLE           =  LT_DATA "i_html "LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    Thanks,
    Jaya.

  • I don't find User Extended attributes in IDM 8

    Hi all,
    I have installed idm8 and I need to extend the user attributes, but I can't find the User Extended Attributes object (or Extended User Attributes). Can anyone help me?

    From the release notes :
    Identity Manager 8.0 consolidates the locations where an administrator specifies extended,
    queryable, and summary attributes for user objects into the new
    IDM Schema Configuration object. (ID-17784) In prior versions of Identity Manager, an administrator
    edited the User Extended Attributes configuration object to add extended attributes for
    user objects and the UserUIConfig configuration object to specify additional queryable or
    summary attributes for user objects. An administrator now edits the IDM Schema Configuration
    object for these purposes.

  • "Error writing metadata to" message and extended attributes

    After being frustrated by this error message in Bridge while trying to apply keywords to various image files I finally took the time to investigate, and I think I found the cause of the issue. In a nutshell, if the extend attribute "com.apple.FinderInfo" has not yet been created for a given file, then this message appears.
    The start of the puzzle was that some files would take the keyword and others would not. After observing identical permissions on files that worked and files that did not, I noticed that in a terminal listing of the files in question, some files had extended attributes and some did not (extended attributes are identified by an @ symbol when running ls -la in a terminal window. For example:
    -rw-rw-rw-@   1 mike  staff  26131946 21 Jan 23:56 120114-133059-4612.cr2
    -rw-rw-rw-    1 mike  staff      5710 21 Jan 22:42 120114-133059-4612.xmp
    -rw-rw-rw-@   1 mike  staff  27200794 17 Jan 17:52 120114-133145-4613.cr2
    -rw-rw-rw-    1 mike  staff      5702 21 Jan 22:42 120114-133145-4613.xmp
    -rw-rw-rw-@   1 mike  staff  26973498 21 Jan 23:07 120114-133149-4614.cr2
    -rw-rw-rw-@   1 mike  staff      6648 21 Jan 23:19 120114-133149-4614.xmp
    As you can see, the file called 120114-133145-4613.xmp has not extended attribute, but the file 120114-133149-4614.xmp does. The former throws an error when applying a keyword, the latter does not.
    So I dug a bit further and it appears that when the file attribute called com.apple.FileInfo is missing from an xmp file, metadata cannot be witten. The contents of this extended attribute for a working XMP file look like this
    $ xattr -l 120114-133058-4611.xmp
    com.apple.FinderInfo:
    00000000  54 45 58 54 43 52 61 77 00 00 00 00 00 00 00 00  |TEXTCRaw........|
    00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
    00000020
    According to specs I found googling, the first 4 bits identify the file type (TEXT), and the next four identify the file creator (CRaw). IOW no file-specific info seems to be present.
    So as a test, I simply copied the contents of com.apple.FinderInfo from a file that had it to a file that didn't. Once the file that didn't received the new attribute, metadata writes worked. The command I used for the copy was
    xattr -wx com.apple.FinderInfo "`xattr -px com.apple.FinderInfo 120114-133534-4633.xmp`" 120114-133041-4602.xmp
    It also appears that this metadata is written by Bridge based on some unknown trigger, because occasionally during my investigation a file that previously would not take metadata suddenly did, and once I knew to look for extended attributes, in every case the file in question suddenly had com.apple.FinderInfo extended attribute.
    So...I'm not sure if this is a bug in finder or in bridge, but it is definitely a bug and needs to be addressed.
    ...Mike

    I have tried purging the cache, and also deleting it entirely and starting over, to no effect.
    Mike
    just did a quick try and don't know if it is the right way.
    Using Lightroom 3.6 (not very familiar with Lightroom) and Bridge 4.0.5.11 on MacOSX 10.6.8
    I randomly choose some CR2 files that where somewhere on my system and copied them to a new folder. Imported them in Lightroom and added some rating and a few keywords. (with setting metadata to XMP file active)
    Then went to Bridge and opened the same folder. After caching Bridge showed the info as filed in Lightroom. Added some keywords to all files without problem. Went back to Lightroom (restarted it and had to choose read metadata menu. After this no problem to read new keywords form Bridge. But they only show in Italic because the have not been made persistent in the Bridge keyword list, however this is as expected behavior.
    Tried a develop setting and that was also showing in Bridge correctly. Went a few times back and fort (files in Lightroom showing a memo with Exclamation sign top right of the in Bridge changed thumbnail asking for reading metadata).
    Is this about the way you mean to describe?
    And when having set Automatically export changes to XMP have you set this option in both Lightroom and Bridge (this s to be found in the Camera Raw preferences 'save image settings in: sidecar XMP')
    And there are a few things to refresh also in Bridge besides the deleting of the cache file, you can also delete the Bridge plist file from the user library preferences and restart Bridge holding down option key and chose reset preferences. And did you run the check and repair permissions for your system also?
    I tried to look in terminal but could not find a way to use the ls -la command on the folder with changed files so no comparing on that side I'm afraid.

  • HELP: Extended Attributes Not Appearing In Instances of Custom Content Type

    From Java code I create a custom content type derived from Document and define some extended attributes with default values for that type. All done using the same methodology shown in the Developer's Guide and Oracle example code.
    I start ifsmgr and I can indeed see the content type and the extended attributes.
    If I however create an instance of this (custom) type, either from the Viewer (file Upload) or from Java code (using code simuilar to createDocument from the Oracle ContentModule example), the extended attributes do not appear!
    BUT, if I delete one of the extended attributes using ifsmgr (highlight one of my extened attributes, click on "Remove", and then "Apply"), from that point on the previously missing extended attributes appear (except for the one I deleted of course) when I create files of the custom type from either Java code or the Viewer. Furthermore, once I get ifs to "see" one of these extended attributes in this manner, I can delete the extended attribute and re-create it from Java at will and it will appear in created instances of my custom content type just fine.
    If however I add another new extended attribute to the custom content type, I have to do the "Remove/Apply" drill in ifsmgr to get this new attribute to appear in created files of my custom type.
    I've tried deleting all instances of the custom type and closing both ifsmgr and the Viewer, but unless I delete one of the extended attributes from ifsmgr I cannot get new extended attributes to appear.
    What do I need to do in my 9ifs Java code to get new custom content extended attributes to appear in instances of that custom type?
    Thank you,
    Jeff "Did Kafka Write ifs?" Rininger

    Dear @user10993347,
    As mentioned by @vinod2303, you need to maintain content relationships along with subscriptions.
    Regards,
    Saurabh

  • Custom report Extended Attribute

    Hi,
    On my user selection screen I just need a multiple selection box and user related data needs to be populated in it, can anybody guide me on this.
    Thanx

    Open BPE --
    click File - >
    --> OpenRepository Object
    ---> Forms
    --->EndUserMenu
    you can have a look at EndUserMenu
    if you want to display custom forms then you need
    login as configurator to administrator module
    Click configure Tab
    --->Forms and Process Mapping
    you can find EndUserMenu
    change the name of the EndUserMenu to your form name(should be uploaded to the IDM)
    for adding attributes to your User Object
    login to your http:\\localhost:8080\idm\debug pages then select
    ListObjects -->configuraton
    from the list of values select the User Extended Attributes for edit
    then you can add your Extended Attributes here. eg PassportNo
    <List>
    <String>firstname</String>
    <String>PassportNo</String>
    </List>
    </List>

Maybe you are looking for

  • Are LR Mobile photos encrypted when stored in the cloud?

    I am new to Lightroom and have been exploring the mobile app for iOS devices, but before I start syncing a lot of personal photos I am curious how they are stored in Adobe's cloud.  Can anyone point me to a definitive policy that states whether photo

  • Adf page state problem

    I am using jDeveloper 11.1.1.3g. I have a simple jsp page which has few inputText and commandButton. When i click on the command button i have a logic to add a user in LDAP. Till this is fine. If i click on my the command button the respective method

  • Server Behaviours changed in DW 8?

    Just watching an old movie created using DWMX, and it shows the Server Behaviour Panel having a "Go to Detail" and "Go to Related" page behaviours listed. I don't seem to have these options in DW 8. Have they simply been replaced by the fancy 'Insert

  • Tabbed Panels Questions...

    When a form is submitted on a Tabbed Panel, how do you get it go back to that particular panel and not automatically go to the first panel? I used javascript to create a link on the same page, but can't seem to figure out how to do it on a form submi

  • Error Conversion Currencies.

    Dear Experts, I have a failed load to the cube from ODS. The problem is the currency conversion in the update rule. The monitor details is as follows. Data Package 1 Error conversion foreign curr. -> local curr.: 0000421784 20071008 USD -> TMZ Error