Topic
8 replies Latest Post - ‏2011-05-31T15:50:46Z by SystemAdmin
SystemAdmin
SystemAdmin
462 Posts
ACCEPTED ANSWER

Pinned topic ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

‏2011-04-28T16:48:13Z |
Hi,

We've been running the beta on z/OS and have seen this problem in both drop 1 & 2 but it doesn't seems to be resolved in drop 3 either.

When updating or uninstalling an Enterprise application we get the following errormessage:
BBOO0221W: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot be deleted.
And the consequence is that the directory is not deleted during uninstall or update and in the latter case files get left in the directory even if the updated EAR-file doessn't contain that file

This time I did some analysis myself and did an application update with trace turned on(com.ibm.ws.management.util.*=all: com.ibm.ws.management.application.sync.*), which showed the following:

Trace: 2011/04/27 14:18:13.613 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.application.sync.RemoveBinaryTask
ExtendedMessage: --- Delete ft_seip_b from /home/seip/j2eeappW80/ft_seip_b.ear
Trace: 2011/04/27 14:18:13.613 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils.delete
ExtendedMessage: Entry; name=/home/seip/j2eeappW80/ft_seip_b.ear, followLink=false
Trace: 2011/04/27 14:18:13.613 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils._delete
ExtendedMessage: Entry; file=/home/seip/j2eeappW80/ft_seip_b.ear, followLink=false
Trace: 2011/04/27 14:18:13.613 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils.isSymbolicLink
ExtendedMessage: Entry; file=/home/seip/j2eeappW80/ft_seip_b.ear
Trace: 2011/04/27 14:18:13.614 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils
ExtendedMessage: isSymbolicLink; absolutePath=/home/seip/j2eeappW80/ft_seip_b.ear, canonicalPath=/OSI2/home/seip/j2eeappW80/ft_sei
p_b.ear
Trace: 2011/04/27 14:18:13.614 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils.isSymbolicLink
ExtendedMessage: Exit; true
Trace: 2011/04/27 14:18:13.614 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils
ExtendedMessage: BBOO0221W: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot be deleted.
Trace: 2011/04/27 14:18:13.615 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils._delete
ExtendedMessage: Exit
Trace: 2011/04/27 14:18:13.615 02 t=8B5548 c=UNK key=S2 tag= (13007004)
SourceId: com.ibm.ws.management.util.FileUtils.delete
ExtendedMessage: Exit

I think that the problem is that the directory that we use (and has used since at least WAS 6.1) contains a symbolic link and the reason why it does that is that it's the recommended way to set up your "System specific mountpoints in the Sysplex root" according to our z/OS / MVS / USS people.
I've tried to do a similar application update/uninstall to a directory which does not qualify in the above trace to be a "isSymbolicLink = true" (e.g. the default directory in WAS config directory, which you get when you don't specify any specific Directory to install application in) and then it works OK.

Could you please look into this, as I said the exact same update/uninstall is working fine on WAS 7.0 and worked fine on 6.1 also

Kind Rgds,
Peter Larsson, Svenska Handelsbanken
Updated on 2011-05-31T15:50:46Z at 2011-05-31T15:50:46Z by SystemAdmin
  • aknguyen
    aknguyen
    5 Posts
    ACCEPTED ANSWER

    Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

    ‏2011-05-02T14:48:25Z  in response to SystemAdmin
    Do you have the link to the trace? Which driver beta 3 you used?
  • SystemAdmin
    SystemAdmin
    462 Posts
    ACCEPTED ANSWER

    Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

    ‏2011-05-02T16:00:53Z  in response to SystemAdmin
    Hi,
    I'll upload the complete trace, I'm not sure what you mean by "which driver beta 3 do you used" ?
    We've downloaded the z/OS drop 3 driver from the betasite (SMP/E format)

    This problem has been reported since drop 1 through our beta contact Frederick Rowe

    Kind Rgds,
    Peter Larsson

    Attachments

    • aknguyen
      aknguyen
      5 Posts
      ACCEPTED ANSWER

      Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

      ‏2011-05-02T23:14:26Z  in response to SystemAdmin
      Hi,

      I have looked at the trace provided. I will need to recreate this problem in 7.0 tomorrow on ZOS with symlink and compare the trace.
      • aknguyen
        aknguyen
        5 Posts
        ACCEPTED ANSWER

        Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

        ‏2011-05-03T20:33:28Z  in response to aknguyen
        Hi,

        Could you confirm the steps to reproduce this from the provided trace?

        1. Install the app with binaryURL as /home/seip/j2eeappW80/ft_seip_b.ear
        2. create symlink /OSI2/home/seip/j2eeappW80/ft_seip_b.ear from binaryURL above
        3. Uninstall the app.

        If this is not the step you did, could you provide steps on how you do the symlink? Thanks
        • SystemAdmin
          SystemAdmin
          462 Posts
          ACCEPTED ANSWER

          Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

          ‏2011-05-03T20:53:41Z  in response to aknguyen
          Hi, not exactly

          1. Create symlink /home which point to /ÅSYSNAME/home (which should be a common way to set up "System specific mountpoints in the Sysplex root")
          2. Create directory /home/seip
          3. Mount filesystem on /home/seip
          4. Create directory /home/seip/j2eeappW80
          5. Install the app with binaryURL as /home/seip/j2eeappW80/ft_seip_b.ear
          6. Either update the application or uninstall the application, both actions ends up with:
          ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

          Kind Rgds,
          Peter
          • aknguyen
            aknguyen
            5 Posts
            ACCEPTED ANSWER

            Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

            ‏2011-05-04T03:08:24Z  in response to SystemAdmin
            Thanks for the provided steps. I got the trace for 7.0 now, continue to investigating...
            • aknguyen
              aknguyen
              5 Posts
              ACCEPTED ANSWER

              Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

              ‏2011-05-04T20:13:58Z  in response to aknguyen
              Update: working on a patch ...
              • SystemAdmin
                SystemAdmin
                462 Posts
                ACCEPTED ANSWER

                Re: ADMA0078W: The file: /home/seip/j2eeappW80/ft_seip_b.ear cannot deleted.

                ‏2011-05-31T15:50:46Z  in response to aknguyen
                Hi, got patch and it solves the problem

                Thanks !
                /peter