6 Replies Latest reply on Dec 5, 2003 10:31 AM by jnelson

    Why I can't untar JBOSS source file?

    dudoes Newbie

      Hi, Everyone:

      It's a very Strange problem.
      I'll install jboss-3.2.2.tgz in Tru64UNIX System, jboss-3.2.2.tar can't be untared after it's successfully be ungzip.

      the message is "
      ml, 760 bytes, 2 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/session/package-summar
      y.html, 1877 bytes, 4 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/session/QueueSessionTe
      st.html, 2464 bytes, 5 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/session/SessionTest.ht
      ml, 3143 bytes, 7 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/session/TopicSessionTe
      st.html, 2748 bytes, 6 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/topic/package-frame.ht
      ml, 554 bytes, 2 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/topic/package-summary.
      html, 1566 bytes, 4 tape blocks
      x jboss-3.2.2/docs/tests/org/objectweb/jtests/jms/conform/topic/TemporaryTopicTe
      st.html, 1927 bytes, 4 tape blocks
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : No such file or directory
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : Unable to preserve time
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : No such file or directory
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : Unable to preserve time
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : Unable to preserve mode
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : unable to preserve owner/group
      tar: jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/clas
      ses/org/jboss/invocation/ : Unable to preserve time
      "

      I 'm very sad, but it's unziping worked well in Linux system.

      beg your suggestion.








        • 1. Re: Why I can't untar JBOSS source file?
          Jon Barnett Master

          The zip may be slightly different if I remember the situation correctly. Try unzipping it in Linux and transfer the resultant TAR to Tru64 - it should be able to handle normal TAR.

          Otherwise in Linux:
          tar xvzf jbosssrc-version.tar.gz
          tar cvf jbosssrc-version.tar jboss-version

          Copy jbosssrc-version.tar to your Tru64 version. Adjust the commands for your JBoss version, etc.

          • 2. Re: Why I can't untar JBOSS source file?
            dudoes Newbie

            Sorry, Nothing get better.

            I feel more mazed, I found out that some directory and file in deeper layer had lost, and some name of them became shorter with just two or three letters left. where did thay go?

            My God, all these fog me heavily, I don't know what's wrong with the jboss code or Tru64UNIX's tar command.
            Don't jboss's code be suitd for Tru64UNIX?





            • 3. Re: Why I can't untar JBOSS source file?
              Jon Barnett Master

              It doesn't have a lot to do with JBoss. However, Linux uses GNU tar and it is slightly different to the Tru64 tar, I think. You might try using the zip format instead by completely unpacking the JBoss distribution and then packing it with zip only. I assume that the binary transfer to Tru64 isn't damaging the file or it isn't being transferred as ASCII?

              • 4. Re: Why I can't untar JBOSS source file?
                jnelson Newbie

                I believe that your problem is that when you gunzip the file the file name that is left is jboss-3.2.2-src. rename that file to something like jboss-3.2.2-src.tar and then untar that file. especially if you are untarring to the current directory.

                • 5. Re: Why I can't untar JBOSS source file?
                  dudoes Newbie

                  When I ungunzip jboss-3.2.2.tgz, jboss-3.2.2.tar is actually created replacing jboss-3.2.2.tgz. untar jboss-3.2.2.tar in the same directory with some exception above.

                  I'll use zip format according to jonlee's reply, but i can't find unzip utility in Tru64UNIX though it have fullly installed. I just find some documents about unzip in Internet.

                  Who can send unzip source of Tru64UNIX to me?

                  Thank you

                  • 6. Re: Why I can't untar JBOSS source file?
                    jnelson Newbie

                    Under Solaris, I have used the jar command to "unzip" zipped files. I don't know if that applies or will work for Tru64UNIX