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!

Similar Messages

  • 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!

  • 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.

  • How can I get permission to create a symbolic link?

    I am trying to create a symbolic link from a program, but I keep getting:
    A required privilege is not held by the client.
    I am running the program from my account which is in the Administrators group, and otherwise has admin rights. However, if I login to the Administrator account the program runs fine, so I know the program code is correct.
    I have checked the local security settings, and even added my account explicitly to the local security settings to create symbolic links, but that does not help. I have also turned of UAC, but that does not help.
    What do I need to do on Windows 8.1 to be able to create a symbolic link from an account other than Administrator?
    Cheers, Eric
    Eric Kolotyluk - software developer, music DJ, swing dancer

    Basically I have a Scala program that is doing:
      try {
        Files.createSymbolicLink(link21, folder1)
      catch {
        case fileSystemException: FileSystemException =>
          System.err.println("\n\t**** Error configuring test fixture ***\n\n")
          println(fileSystemException)
          if (fileSystemException.getMessage().contains("A required privilege is not held by the client"))
            println("You need to set permissions by...\n")
    Where Files is the java.nio API. In fact it's a unit test fixture that tests to make sure my code handles symbolic links properly. The test fixture creates a temporary directory, for example
    C:\Users\Eric\AppData\Local\Temp\testFolder-432432684744817467
    and more files and folders below that. In one folder, it tries to make a symbolic link to another folder.
    I tried what you said with Run As Administrator, in this case, I ran my Eclipse IDE as Administrator and the code works -- thanks for the tip :-)
    However, in practice, I need this to work as part of automated unit test running as part of a Maven build, so is there some way to set things up that do not require "Run As Administrator"?
    Now that I have one solution, I can probably figure out some hack, but I was hoping there would be some more simple straightforward way to do what I want.
    Eric Kolotyluk - software developer, music DJ, swing dancer

  • 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

  • Java File IO getCanonicalFile() handling Linux Symbolic links

    Does anyone have any experience using the File.getCanonicalFile() method. I would prefer to use the getCanonicalFile() to obtain the real file pointed to by a symbolic link, rather than the Linux "ls" command.
    I currently check for any changes by executing a "ls" every second,when I test the getCanonicalFile() method, I see he doesn't seem to keep up with the real situation on the FileSystem ?
    Example:
    2009-04-28 13:56:57:575 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135651 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:56:58:569 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135651 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:56:59:594 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135651 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:00:592 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135651 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:01:543 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135651 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:02:503 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135701 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:04:058 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135701 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:04:460 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135701 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135627
    2009-04-28 13:57:05:526 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135701 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135701
    2009-04-28 13:57:06:546 [00000] TEST: ls file=/ama/log/PPT/ape/feAPE_090428_135701 getCanonicalFile()=/ama/log/PPT/ape/feAPE_090428_135701
    Thx.

    Hi ejp, nice picture :) .
    The task:
    Trying to count specific records in a log file (A type of modified Linux tail). I've tried to use the symbolic name as the original filename (FileInputStream) but when the file gets switched (link deleted and recreated) the fileDescriptor knows nothing about the new file, no changes are ever seen.
    So basically, how can I track the latest "real" log file ? I'm using "ls" every iteration, If the filename changes, I close the current stream and open new one?
    I've also tested using "new File(...)" and using a Filter on the list output but this is slower than the "ls". I hoped getCannonicalFile() was the answer.
                // Close the current Buffered Input stream
                is.close();
                // Open a new buffered input stream with the NEW Filename
                is = new BufferedInputStream(new FileInputStream(filename));
                // Log the details of the found file
                sp.getLog().msg(clientBean.getPort(), "Tracking new filename: " + filename + " InputStream Found available to read: " + is.available());
                // Connect the Input stream to a Data input stream
               dis = new DataInputStream(is);

  • 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

  • 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-
              >>> >>
              >>> >>
              >>> >>
              >>> >
              >>> >
              >>>
              >>
              >>
              >
              

Maybe you are looking for