Does ucf.jar preserve symbolic links in native plugins

Hi everybody,
First of all, this question is not the same as:
Does ucf.jar handle symbolic links?
My question is: I have a native plugin for InDesign CC 2014 (.InDesignPlugin) on a Mac. I wish to package it (with some other stuff: another zxp containing Flex panels, and some Java jars) in a ZXP. To do so, there are two ways of doing it: using ucf.jar or using ZXPSignCmd.
This post here decided me to use ucf.jar, because of this citation:
"You may ask why the ucf.jar and not ZXPSignCmd: the reason is that, in order to be CS6 compatible, ucf.jar is the tool of choice."
There are no explanation, and I decided to trust the author. Maybe is it an error?
I am able to construct a ZXP and install it with the extension manager. But the installed plugin does not work well. The reason is (I'm pretty sure of it) all the symbolic links of the plugins were replaced by the target of the links. I say I'm pretty sure, because when I use directly the plugin before packaging it in the ZXP, everything is fine. The only difference I could find are these symbolic links that have been transformed.
In parallel, I tried packaging the ZXP using ZXPSignCmd, and this seems to work fine. This surprised me, because of the link to the blog I mentioned above.
My ZXP must work with InDesign from CS5 to CC 2014.
The question is: how to handle symbolic links on mac with ucf.jar?
Bonus question: why should I not use ZXPSignCmd?
Thanks

If the file exists, then the pointed-to files are packaged, instead of the symbolic link itself, which is not what I'm after either; this is a link which will be correct on the destination after the bundle is unpacked, but which may not yet be present on the system doing the packaging. I think this may be related to http://forums.adobe.com/message/4681087#4681087 , though it is not exactly the same problem.
Perhaps to rephrase my question then:
How may I package a symbolic link using ucf.jar?
At the moment there are two options:
• Destination pointed to by link does not exist -> failure with “file not found”.
• Destination pointed to by link does exist -> package is built containing the destination file, not the symbolic link.
Neither of these behaviours is what I want: I want to package the link!

Similar Messages

  • Does ucf.jar handle symbolic links?

    When bulding a .zxp package using ucf.jar on the command line, I wish to package symbolic links which point at files which are not necessarily here on my system - they point at elements which will be installed as part of the extension.
    When ucf.jar encounters such a symbolic link, however, it stops, saying “no such file” with the name of the link.
    Is this expected behaviour? If so, when will this bug be fixed? Let me know if more details are required!

    If the file exists, then the pointed-to files are packaged, instead of the symbolic link itself, which is not what I'm after either; this is a link which will be correct on the destination after the bundle is unpacked, but which may not yet be present on the system doing the packaging. I think this may be related to http://forums.adobe.com/message/4681087#4681087 , though it is not exactly the same problem.
    Perhaps to rephrase my question then:
    How may I package a symbolic link using ucf.jar?
    At the moment there are two options:
    • Destination pointed to by link does not exist -> failure with “file not found”.
    • Destination pointed to by link does exist -> package is built containing the destination file, not the symbolic link.
    Neither of these behaviours is what I want: I want to package the link!

  • Does ucf.jar handle spaces in file names?

    As far as I can see, it does not:
    humber:zxpdir williamg$ find .
    ./foo
    ./foo/foo bar
    ./foo/foobar
    humber:zxpdir williamg$ java -Djsse.enableSNIExtension=false -jar ../../../adobesigningtoolkit/ucf.jar -package ../foo.zxp -C /Users/williamg/Projects/zxptesting/build/zxpdir/ .
    humber:zxpdir williamg$ unzip -l ../foo.zxp
    Archive:  ../foo.zxp
      Length     Date   Time    Name
           41  08-26-13 19:46   mimetype
            0  08-26-13 19:46   foo/foobar
           41                   2 files
    That appears to indicate that the file “foo/foobar” is being added to the zipfile, but that “foo/foo bar” is not.
    Is this a known bug, … and if so, is there an ETA for it to be fixed?
    As an aside: is there a way to determine the version number of the ucf.jar that I have? “-version” doesn't seem to be available on the command line.

    According to the documentation:
    “If you have created your product using earlier versions of these tools, or the free Creative Suite SDK, or if it is a script or  C++ plug-in, or some combination of these things, you can manually create a manifest MXI file and package your delivery files into a ZXP, using the command-line utility in the Packaging and Signing Toolkit. See the section Packaging Manually”
    (The link points to the section which indicates that the UCF command line tool should be used to create the package.)
    Is this documentation wrong?
    The Packager utility indicates that it supports the following types of content for Photoshop:
    Actions (ATN)
    Brushes (ABR)
    Gradients (GRD)
    Patterns (PAT)
    Scripts (JSX)
    Swatches (ACO, ASE)
    That does not include filter plug-ins (.8bf on Windows, .plugin on Mac), and so it does not apply to my use case.
    (Furthermore, it does not appear to be possible to run the packager tool from the command line, meaning that it is not useful to me since it would be very difficult to integrate it with our build system. Is it possible to run the Packager from the command line?)

  • Chkconfig does not create right symbolic links

    Hello all,
    I am just adding a script to automate start / stop during Oracle Linux reboot. I figured out that the symbolic links are not created in the right order. To prove that, I create a small script for test purposes.
    =====================================================
    # #!/bin/sh
    # Name: init.test
    # chkconfig: 45 80 20
    # description: Script test for chkconfig
    echo "This is a test script only. chkconfig is not creating correct symbolic links."
    =====================================================
    Then I used chkconfig --add init.test
    It should be created entries for levels 4-5 only, but it creates more soft links in rc.d directories.
    find /etc -name "*init.test" | sort
    /etc/rc.d/init.d/init.test
    /etc/rc.d/rc0.d/K20init.test
    /etc/rc.d/rc1.d/K20init.test
    /etc/rc.d/rc2.d/K20init.test
    /etc/rc.d/rc3.d/K20init.test
    /etc/rc.d/rc4.d/S80init.test
    /etc/rc.d/rc5.d/S80init.test
    /etc/rc.d/rc6.d/K20init.test
    Even that chkconfig show the correct levels, I am just curious why it created more kill soft links in rc.d directories.
    chkconfig --list init.test
    init.test      0:off     1:off     2:off     3:off     4:on     5:on     6:off
    Someone could try to explain to me why the kill script has been added to runlevel 0, 1, 2, and 6? Am I missing something here?
    Appreciate your help on this.
    Cesar
    Edited by: CESARDBAIBM on Feb 18, 2013 2:43 AM

    see
    man chkconfigwhere you can find a good example including explanation
           For example, random.init has these three lines:
           # chkconfig: 2345 20 80
           # description: Saves and restores system entropy pool for \
           #              higher quality random number generation.
           This says that the random script should be started in levels 2,  3,  4,
           and 5, that its start priority should be 20, and that its stop priority
           should be 80.  You should be able to figure out  what  the  description
           says;  the \ causes the line to be continued.  The extra space in front
           of the line is ignored.

  • Relative symbolic links damaged by Finder

    I have little experience of these matters and would be grateful if somebody could explain the apparent differences between command line and Finder use of relative symbolic links. The example below examines relative symbolic link z before, during and after it has been moved twice by the Finder.
    G4:~ neville$ cd /x/y
    G4:y neville$ ln -s ../ z
    G4:y neville$ ls -l
    total 8
    lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
    Move z to x with Finder.
    G4:y neville$ cd ../
    G4:x neville$ ls -l
    total 8
    drwxr-xr-x 3 neville staff 102 4 Jul 21:48 y
    lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
    The above listing is as I would expect and Finder's Get Info confirms that z points to root.
    Move z to y with Finder.
    G4:x neville$ cd y
    G4:y neville$ ls -l
    total 8
    lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
    The above listing is as I would expect but Finder's Get Info still shows z pointing to root.
    Is it possible that the first Finder move converts the Finder's view of z to an absolute path so that subsequent Finder moves no longer maintain the correct relative relationship? Clearly the Terminal continues to report what one would expect although, unfortunately, double clicking z appears to confirm the Finder's incorrect interpretation.
    How can I ensure that the Finder does not alter relative symbolic links and hence maintain consistency between Terminal and Finder?

    Neville Hillyer wrote:
    I was not aware that the Finder had a cache - where is it?
    In the Finder process.
    killall Finder is a little drastic - is there a way to clear the cache or force an update without relaunching the Finder?
    No. The cache is there to prevent repeated disk accesses. It wouldn't help to store such a cache on disk.
    I wonder if this cache foible is likely to ever result in serious loss of data due to imperfect backups etc - can anybody think of any such issues?
    No. This is only in the Finder processes. If your backups relied on the Finder, opened relative symbolic links, then moved them around, then opened them again, it might have problems. That would be a really wacky backup program.
    Symbolic links are UNIX things and, as such, are rarely manipulated by the Finder. The expectation is that anyone using symbolic links will do so from a shell.
    My understanding is that relative links are often used by applications during normal operation and installation.
    Not often. When they are used, they are rarely opened with the Finder and then moved.
    I came across this while customising Thunderbird for easy deployment with different users/Macs. Relative links made the task much easier.
    The links themselves have not been changed. They will work fine in Thunderbird.
    There is an almost total lack of information in man pages about relative links
    There is plenty of information. It is mostly in developer documentation related to file systems.
    It would be much more helpful if Finder Get Info were to display relative paths in the same way as the Terminal ie: z -> ../
    That would only make the problem worse. Get Info clearly shows the Original being in the wrong location. The Finder was designed for Aliases, not symbolic links. Symbolic links work in the Finder a whole lot better than Aliases work in the Terminal.

  • Symbolic links in jar

    hi
    i am facing some problem with symbolic links in JAR.
    1)i create a jar file of a directory which has symbolic links in it.
    2)when i unjar it the symbolic links are lost and instead those links contains the data which they were referencing to, which means that the links are dereferenced.
    Can any of u help me out of this? Do jar or zip maintains the symbolic link or not?
    thanks in advance.
    Vipul

    jar-files are typically moved away, so having a symlink in it would be a problem, cause it would mostly be invalid on the target host.
    A few hosts run windows which doesn't even know symbolic links.
    As jar is a kind of zip - how should you zip a symbolic link?
    The idea of symbolic links is, to show some files, which are in fact at some other place, as if they were there.
    Therefor jar 'believes' that those files are there.
    If it would check the file-type, and find out, it is a symlink, what should it do?
    If you don't move your zip around, what's the benefit of a jar?
    It's smaller, because it's packed.
    But you may not make a symlink smaller.

  • Including symbolic links in a JAR

    I'm trying to package a webapp that has a symbolic link for the images directory. The images will live on another server where they can be shared across all servers. I'm building the jar using:
    jar cvf myapp.war *
    When dropping the war into the resin webapps directory, it automatically unpacks it. It appears the symbolic link is turning into a regular directory when it is unpacked. I also tried just unpacking it using "jar xf myapp.war" and it looses the symbolic link also.
    Is there any way to retain the symbolic link information in a jar? Any other creative ways to accomplish what I am trying to do?
    Thanks,
    Saul

    Nevermind, I found a way to do it within Resin. It can map virtual directories through its config.
    Thanks

  • Does Java/JVm have a way to ditinguish between real files and Symbolic link

    Hello guys,
    I am using java.io.File.listFiles to list files in a directory. I have a symbolic link in the directory. the "listFiles" listing symbolic file contents too. As the real directory Symbolic link pointing is huge, the application taking too much time to load. is it a normal behaviour? are there any work arounds?

    Short version: If getCannonicalPath() and getAbsolutePath() return different values, then the file you look at is a symlink.
    [longer version|http://www.idiom.com/~zilla/Xfiles/javasymlinks.html]

  • Does TM backup files pointed to from a symbolic link?

    I was just wondering if TM would backup files that are pointed to by a symbolic link or some such alias?
    It would be a way to make TM backup files it would ordinarily skip, such as files on another drive or even computer.
    Just a though and a question.

    I would imagine that TimeMachine uses similar API's to Spotlight, in which case all filesystem writes are noted, regardless of the source.
    Unfortunately, I can't confirm this until I've got TM working with my network file server
    --Andrew

  • FTP does not see symbolic linked files

    I have an FTP site the drive that it's on cannot hold all my files so I used symbolic link(ln -s filelocation/filename) them from another drive. When I ftp into the site (Windows or Mac) the the symbolically linked files don't appear. How can't make these files visible?

    Hi Gene,
    I had the same problem with a symbolic link I placed into the "Movies" Folder, the links wasn't visible within Frontrow.
    I solved the problem by selecting the symbolic link in the Finder and creating an Alias of this symbolic link. The new Alias pointed on the original directory with all required permissions and was visible through Frontrow. I could delete the symbolic link itself as the Alias pointed to the new place.
    Should work in your case as well,
    Chris

  • How to create a ZXP from CS5 throughout CC2014 using ucf.jar

    Hi everybody,
    I use a maven build to generate a ZXP from CS5 throughout CS6 for InDesign. Now, I wish to add CC and CC 2014 to this ZXP, so that I have an universal ZXP for all my supported versions.
    I use the ucf.jar to generate my current ZXP. I have tried adding CC and CC2014 to my mxi to be able to install on these versions.
    The ZXP generate well, and can be installed without signaling any error in the installation. But when I launch InDesign CC 2014 for example, my native plugins behave strangely.
    I have noticed in technical notes about UCF that the mentioned versions are up to CS6:
    Adobe Exchange
    I have seen other technical notes talking about ZXPSignCmd to package a ZXP, but with do not mention anything about a supported version:
    http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/SigningTechNote_ CC.pdf
    I have tried packaging my extension with UCF, but InDesign CC 2014 seems not to work well with installed extension once installed. I have noticed the symbolic links contained within installed plugins where replaced by the pointed file of the link.
    I have tried packaging my extension with ZXPSignCmd, but Extension Manager CS6 tells me the ZXP does not contain any valid signature.
    Is there no mean to create an universal ZXP working on all these versions?

    Hi everybody,
    I had the chance to talk to Fraser Gregor, developer at Adobe involved in ZXPSignCmd tool development. He told me it was impossible to generate such a ZXP this way.
    UCF.jar is a tool for InDesign CS6 and earlier. ZXPSignCmd has been designed for CC and latter versions. The solution he proposed me was having a ZXP for any version under CS6, and a ZXP for any version latter than CC. Then, he told me to have a wrapper ZXP to contain both of them. Following this way, I can have an universal ZXP.
    It is a little more work, but this should work. To create the universal ZXP, we can use ZXPSignCmd.

  • Symbolic link error when exporting during heterogeneous system copy

    My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing  heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
    I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
    I want to export both ABAP & JAVA stack but only the java stack is getting  picked.
    Below  is part of the resultng sapinst.log 
    Thanks
    INFO 2011-09-05 10:44:30.573
    Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    INFO[E] 2011-09-05 10:44:33.851
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:44:33.851
    FSL-02061  Link /._ is invalid: Unable to link a link to itself.
    INFO 2011-09-05 10:44:46.118
    Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
    #Mon Sep 05 10:44:45 EAT 2011
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
    java.vm.version=1.4.2_09-b05
    java.vm.vendor=Sun Microsystems Inc.
    java.vendor.url=http\://java.sun.com/
    path.separator=\:
    java.vm.name=Java HotSpot(TM) Client VM
    file.encoding.pkg=sun.io
    user.country=US
    sun.os.patch.level=unknown
    java.vm.specification.name=Java Virtual Machine Specification
    user.dir=/oracle/PRD/INSTDIR/sapinst_dir
    java.runtime.version=1.4.2_09-b05
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
    os.arch=sparc
    java.io.tmpdir=/var/tmp/
    line.separator=\n
    java.vm.specification.vendor=Sun Microsystems Inc.
    os.name=SunOS
    sun.java2d.fontpath=
    java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
    java.specification.name=Java Platform API Specification
    java.class.version=48.0
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    os.version=5.10
    user.home=/
    user.timezone=Africa/Nairobi
    java.awt.printerjob=sun.print.PSPrinterJob
    file.encoding=ISO8859-1
    java.specification.version=1.4
    java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
    user.name=root
    java.vm.specification.version=1.0
    java.home=/usr/j2sdk1.4.2_09/jre
    sun.arch.data.model=32
    user.language=en
    java.specification.vendor=Sun Microsystems Inc.
    java.vm.info=mixed mode
    java.version=1.4.2_09
    java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
    sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
    java.vendor=Sun Microsystems Inc.
    file.separator=/
    java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
    sun.io.unicode.encoding=UnicodeBig
    sun.cpu.endian=big
    sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
    INFO 2011-09-05 10:44:47.076
    Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
    INFO 2011-09-05 10:44:47.572
    Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    INFO 2011-09-05 10:44:47.715
    Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    WARNING 2011-09-05 10:44:47.944
    Could not determine a valid JAVA_HOME directory from the environment.
    INFO 2011-09-05 10:44:48.86
    Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:48.890
    Account sapinst already exists.
    INFO 2011-09-05 10:44:48.894
    Account prdadm already exists.
    INFO 2011-09-05 10:44:48.917
    Account oraprd already exists.
    INFO 2011-09-05 10:44:49.73
    Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.217
    Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.341
    Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.480
    Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
    INFO[E] 2011-09-05 10:44:52.251
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:44:52.252
    FSL-02061  Link /._ is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.760
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.761
    FSL-02061  Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.762
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.762
    FSL-02061  Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.763
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.764
    FSL-02061  Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.765
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.765
    FSL-02061  Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.766
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.767
    FSL-02061  Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.768
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.768
    FSL-02061  Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.769
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.770
    FSL-02061  Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.771
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.772
    FSL-02061  Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.773
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.773
    FSL-02061  Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.774
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.775
    FSL-02061  Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.776
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.777
    FSL-02061  Link /oracle/PRD/css is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.778
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.778
    FSL-02061  Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.779
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).

    Hi,
    In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
    Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full  offline backup .
    Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
    Regards
    APR

  • There are too many levels of symbolic links to translate a path name.

    Hi
    I am copying from our TEST to DEV system, the command being this
    cp -r /oracli2/oracle/testora/iAS .
    However, the following messages were returned during the process
    cp: java There are too many levels of symbolic links to translate a path name.
    I checked and there indeed are many symbolic links.
    I have checked ML for this and no luck.
    Any one have an idea??
    Thank you,
    DA
    Told to tar the files, working on that now.
    Edited by: Dan A on Sep 18, 2008 12:11 PM

    Hussein what a marvelous suggestion.
    That by using cp -RPI can avoid doing a tar ...
    I am copying the applciation directories from TEST to DEV.
    I have copied the iAS directory from TEST to DEV using the tar (appcldev user)
    Now with the appdbdev user, I try to do the same and I get an error with tar:
    tar: 0511-169 A directory checksum error on media
    After checking for the solutions and fining nothing that could help me, I am now simpy copying using the cp -RP.
    Now I have (i know this is a UNIX thing) on the target system:
    iAS directory that was copied using tar (for appcldev user)
    iAS directory where symbolic links were preserved (for appdbdev user)
    Is this difference acceptable vis a vis cloning? Or should I go back to the appcldev user and recopy the iAS directory with the cp _RP option?
    Thanks again.

  • Clustering, unix symbolic links, and war files

              Hello,
              we use symbolic links in our web application to a large shared storage device.
              This works when running a single server, when the application is not a war file.
              When we cluster the application, the admin server creates a war file, blindly
              follows the symbolic links and tries to include all files in the shared storage
              device. Bad!
              Is there a work-around to this problem in a clustered configuration?
              -Thanks-
              

              hi,
              can you tell me know you deploy your app to the cluster member
              manually? do you run each member as an admin server? how do
              you group them into a cluster then?
              thanks,
              yan
              "Philippe Lantin" plantin_AT_cobaltgroup.com wrote:
              >
              >
              >Yes, this method works. I did want to keep a central admin server to
              >avoid have
              >multiple configuration files, and deploy new code to only one location.
              >I suppose
              >I could do this via a shared drive.
              >
              >I have an open case with BEA on this issue. The root of the problem appears
              >to
              >be that the jar format isn't equipped to deal with symbolic links. Webapps
              >which
              >are exploded in directories lose their symbolic links when packaged in
              >a war.
              >
              >Thanks,
              >
              >Philippe Lantin
              >
              >"Cameron Purdy" <[email protected]> wrote:
              >>I've never used that centralized deployment feature; rather I've always
              >>configured each of the cluster members manually, partly because of the
              >>bug
              >>in the admin server in 6.0 (?) that would not allow it to deploy to
              >the
              >>cluster.
              >>
              >>Can you try to deploy the application manually?
              >>
              >>Peace,
              >>
              >>--
              >>Cameron Purdy
              >>Tangosol Inc.
              >><< Tangosol Server: How Weblogic applications are customized >>
              >><< Download now from http://www.tangosol.com/download.jsp >>
              >>
              >>
              >><Philippe Lantin plantin_AT_cobaltgroup.com> wrote in message
              >>news:[email protected]...
              >>>
              >>>
              >>> Hi,
              >>>
              >>> our web application is not a war when we use a single server. We simply
              >>use a
              >>> directory under "applications". This method works correctly with symbolic
              >>links
              >>> under weblogic v.6.1.
              >>>
              >>> To test our application in the cluster, we use the previous single
              >>server
              >>as the
              >>> administration server, leaving the application directory intact. We
              >>create
              >>a cluster
              >>> definition with it's target members using this web application.
              >>>
              >>> When we start up the cluster members, the administration server creates
              >>a
              >>war
              >>> file that is distributed to to cluster members. This is not somthing
              >>we
              >>control,
              >>> this is automatically done by weblogic.
              >>>
              >>> This is where we run into trouble. When the admin server creates the
              >>war
              >>file
              >>> to distribute to the cluster target, it follows the symbolic links
              >>and
              >>recursively
              >>> includes all files and directories. This creates a huge war file,
              >and
              >>is
              >>obviously
              >>> not the behavior we are looking for.
              >>>
              >>> Creating a war file manually doesn't help, since jar doesn't support
              >>symbolic
              >>> links.
              >>>
              >>> Thanks,
              >>>
              >>> Philippe Lantin
              >>>
              >>>
              >>> "Cameron Purdy" <[email protected]> wrote:
              >>> >I don't understand at which point you are running into a problem.
              >>> >
              >>> >> we use symbolic links in our web application to a large shared
              >storage
              >>> >device.
              >>> >
              >>> >That is not uncommon, for example to use a Sun storage box or EMC
              >>with
              >>> >some
              >>> >fault tolerant characteristics to host the application images etc.
              >>> >
              >>> >> This works when running a single server, when the application is
              >>not
              >>> >a war
              >>> >file.
              >>> >
              >>> >Do you mean when it is "exploded"? Does it work with a single server
              >>> >when
              >>> >the app is a war file?
              >>> >
              >>> >> When we cluster the application, the admin server creates a war
              >>file,
              >>> >blindly
              >>> >> follows the symbolic links and tries to include all files in the
              >>shared
              >>> >storage
              >>> >> device.
              >>> >
              >>> >This is the part that I don't follow. Are you using 6.1sp1? What
              >are
              >>> >the
              >>> >steps that you are taking with the admin server?
              >>> >
              >>> >Peace,
              >>> >
              >>> >--
              >>> >Cameron Purdy
              >>> >Tangosol Inc.
              >>> ><< Tangosol Server: How Weblogic applications are customized >>
              >>> ><< Download now from http://www.tangosol.com/download.jsp >>
              >>> >
              >>> >
              >>> ><Philippe Lantin plantin_AT_cobaltgroup.com> wrote in message
              >>> >news:[email protected]...
              >>> >>
              >>> >>
              >>> >> Hello,
              >>> >>
              >>> >> we use symbolic links in our web application to a large shared
              >storage
              >>> >device.
              >>> >> This works when running a single server, when the application is
              >>not
              >>> >a war
              >>> >file.
              >>> >> When we cluster the application, the admin server creates a war
              >>file,
              >>> >blindly
              >>> >> follows the symbolic links and tries to include all files in the
              >>shared
              >>> >storage
              >>> >> device. Bad!
              >>> >>
              >>> >> Is there a work-around to this problem in a clustered configuration?
              >>> >>
              >>> >> -Thanks-
              >>> >>
              >>> >>
              >>> >>
              >>> >
              >>> >
              >>>
              >>
              >>
              >
              

  • Maintaining Multiple Arch Installs, Symbolic Links, BTRFS

    Hi again.
    A quick update on my previous post (https://bbs.archlinux.org/viewtopic.php?id=164627). The GRUB problem I was having seems to have stopped. I got a very useful recommendation regarding pacman and XBMC still hasn't been fixed, but is fully usable with the workaround I am using and have just gotten used to it so it's not so much of an issue now. I think now that it should be marked as solved but how do I do that? Was looking around but guess I'm just missing it.
    Anyway now I have a few more issues, or more just questions I guess that I would like help on. Recently I found an old laptop of mine and so to learn more about the Arch system I decided to try and install Arch. Now this laptop is around 5-6 years old and I haven't been able to get WiFi working fully for around 3 years and eventually upgraded 2 years ago to my current laptop. The WiFi was always 'soft-locked' until after about 4-5 restarts (in windows it was fine, but any Linux Distribution post Ubuntu 10.10 had the same issue). The issues still remains in other distributions even after "rfkill all". In Arch ever since running that command (the first boot from install media the issue occurred) this laptops WiFi has been brilliant. I also installed XFCE4 desktop for speed of set up. Now I'm looking to give my laptop to my younger brother before he heads of to University in September until he can afford a new one (or he breaks this one - somehow his laptops never last), as this old one now runs better than it ever did on Windows Vista. My girlfriend is also looking for me to install Linux again on her laptop (we used WUBI in the past) but a full install since her Windows Vista laptop is near unusable in Windows. So far I have got hamachi set up between my new and old laptop, this gives static IP addresses and will allow me to SSH into the laptop for upgrades every so often. I'm planning to do the same for my girlfriends laptop. Would I be stupid to do this via Arch? I've heard it breaks often and I don't want to have to be doing fixes for other peoples laptops as I won't have the time to do so. I guess the reason I want to use Arch is both laptops are quite old and Arch has breathed new life into my old one.
    Secondly I have symbolic links set up in my "Music" and "Video" folders in my home directory to their counterparts in my Windows partition. However my music player "Clementine" doesn't find every album in the music folder. Does symbolic links have "flaws" like this or is it more likely to be my music player behaving badly with symbolic links? I would try another music player but I can't seem to find one which plays FLAC files with external / embedded .cue files so can't really test this out. I can of course link directly to the location but I thought I would ask, just to learn more I guess.
    Now when I installed Arch using BTRFS file system I didn't know that I had to mount using compression immediately, I thought I could add it to the fstab at a later point - obviously not. Now I found a command which will defragment my drive and supposedly compress everything. However this command doesn't make any sense to me and I don't want to just run it without knowing what it does. Could anyone other me any insight into this please? Also does defragmentation after the fstab mount options have been added cause the compression?
    "find -xdev -type f -exec btrfs fi defrag '{}' \;"
    or I also found
    "btrfs filesystem defragment ~/stuff"
    Thanks for any help, I understand this post is quite long so I really appreciate it.
    Last edited by BradPJ (2013-06-13 10:19:47)

    Ah right thanks. I thought as much which is why I asked before I did so, I'll find another distribution. Just where I've been running Arch for a few weeks now and haven't had to do any maintenance at all really, but weren't too sure what I'd be in for in the long-run. I mean to be fair I was always planning on another distribution but as I was playing around at first on the old laptop I ended up with my current way to SSH in and just wondered if it would be viable to do it this way.
    I knew it would be a driver issue at the core of my problem, just weren't too sure if it something else could of been affecting it. Guess I'll try and find another distribution which runs near as new software to Arch as possible as it seems the issue has been fixed in newer versions of the kernel and drivers. Granted the old laptop had been unused for around a year so any update in the last year could of fixed it in this case. Thanks for your input!
    Last edited by BradPJ (2013-06-13 11:35:16)

Maybe you are looking for

  • Connecting the front audio to my Audigy 2

    Is there any possibilty to do this? I know Creative wants to sell platinum dri'ves, but the pins are there on the card. I have a Thermaltake Soprano Case and 7 Connectors named: MIC VCC MIC-IN GROUND EAR R EAR L RETUR R RETURN L Is someone here who k

  • POE startup delay

    I have a SG30010-MPP Is there a way to delay applying POE to a port until after the switch is fully booted? I have a situation where I am using the switch with DCHP capabilities, but I need the switch and DHCP server to be fully booted before power i

  • How to use the XSD that is registered in Oracle Service Registry.

    Hi, I got a requirement to publish a XSD in Oracle Service Registry and there after use the XSD from Service registry. I have done the following. --> Published the XSD in Oracle Service Registry. But do not know how to access the XSD, that is publish

  • Background Problem of Bitmap set to W3D

    Ok, I have posted about this issue a while back but it was never resolved. I have a program that allows the user to select from a list of objects. The list consists of several different W3D models that are imported into my 3D cast member after a mous

  • Healing Brush does not work

    When I use the healing brush, I see the white paint, but when I click and let go, nothing happens.  I am on a Mac.