7 Replies Latest reply on Nov 9, 2015 2:33 AM by Pradeep Pantula

    IJ020017: Invalid archive

    Pradeep Pantula Newbie

      Hi,

       

      Got following warning while deploying wmq.jmsra.rar (IBM MQ RAR file) in WildFly 8.2.

      Can anyone let me know why is this coming and help me out to resolve this.

      Any help is appreciated.

       

       

      15:38:13,960 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "wmq.jmsra.rar" (runtime-name: "wmq.jmsra.rar")

      15:38:14,449 INFO  [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-1) IJ020001: Required license terms for file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

      15:38:15,281 WARN  [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

      15:38:15,290 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-2) IJ020001: Required license terms for file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

      15:38:15,293 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020001: Required license terms for file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

      15:38:15,332 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) JBAS010406: Registered connection factory java:/qcf/vhptp

      15:38:15,445 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-2) JBAS010406: Registered connection factory java:/qcf/vh

      15:38:15,502 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

      15:38:15,518 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-2) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

       

      Thanks in Advance.

      Pradeep. P

        • 1. Re: IJ020017: Invalid archive
          Jay SenSharma Master

          Your issue looks related to :  https://issues.jboss.org/browse/WFLY-4431

          As above JIRA is marked as out of date (Fixed in : WildFly 10.0.0.Alpha5) so it is better to quickly try on WildFly 10.

           

          Else try deploying Exploded "wmq.jmsra.rar" to avoid this warning message and to see if you can reproduce the issue.

          • 2. Re: IJ020017: Invalid archive
            Stefano Maestri Expert

            Yup this should be solved in WF10

             

            regards

            S.

            • 3. Re: IJ020017: Invalid archive
              Pradeep Pantula Newbie

              Thank you for responding to this.

              Currently we are using the versions which are ready for production. As WF10 is not yet released, we are using WF8.2.

               

              Here is the structure of my rar file. Please look into this and suggest how these can be fixed.

               

              wmq.jmsra.rar
              META-INF/
              META-INF/MANIFEST.MF
              META-INF/jboss-deployment-structure.xml
              META-INF/ra.xml

              Is lib folder necessary for these type of files ?

               

              Thanks in Advance.

              • 4. Re: IJ020017: Invalid archive
                Jay SenSharma Master

                For the RAR archives there is no concept of "lib".

                 

                What ever jars are needed for that rar can be directly placed in the root of that rar.  I mean just beside the META-INF directory if any jar is placed inside a RAR then it should be picked up without any issue.

                 

                Here i am suspecting that your RAR might be actually corrupted. As it looks like you tried altering the RAR by adding "META-INF/jboss-deployment-structure.xml"  so there are possibility that your RAR might not be created properly and may be it is actually corrupted.

                 

                Please let us know if you you are able to extract the RAR properly ?

                 

                Also as mentioned earlier that the https://issues.jboss.org/browse/WFLY-4431   Issue should be in WildFly 10. However if upgrade is not an option for you then can you try deploying the RAR "wmq.jmsra.rar" in exploded format and see if you still get that WARN?

                • 5. Re: IJ020017: Invalid archive
                  Pradeep Pantula Newbie

                  I have tried with exploded option, but still getting WARN messages.

                  Moreover, above mentioned RAR file with META-INF/jboss-deployment-structure.xml worked well with jboss 7.1.1 final. We have kept all the libs as a dependency.

                   

                  I have tried the same thing which explained in JIRA issue that you mentioned above. But still facing WARN messages.

                  For lib folder I have just given a try. In actual deployment I do not have lib folder placed in RAR file.

                   

                  Can you please assist.

                   

                  Thanks In Advance.

                  Pradeep. P

                  • 6. Re: IJ020017: Invalid archive
                    Jay SenSharma Master

                    Hello Pradeep,

                     

                         As you mentioned that you tried with exploded option as well and still you were getting that same WARN message  that really interesting and surprising, This is because when you deploy an exploded directory content then it's contents are not extracted inside the "wildfly-8.2.0.Final/standalone/tmp/vfs/temp/"

                     

                         So with exploded deployment you Must not be getting that warning:

                     

                    15:38:15,502 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp5438f421053ace7c/wmq.jmsra.rar-9384600472901d6e/contents/

                     

                        Can you please double check that ? Also for quick testing you can take a backup of  "tmp" directory and then  rename it to something else like "tmp_x" , and then try restarting your wildfly with "Exploded" RAR to see if you still get those WARN messages.

                     

                    mv   wildfly-8.2.0.Final/standalone/tmp   wildfly-8.2.0.Final/standalone/tmp_x
                    
                    • 7. Re: IJ020017: Invalid archive
                      Pradeep Pantula Newbie

                      Hello Jay,

                       

                      Based on your suggestions I have tried deployment of exploded rar file in WildFly 8.2.0.Final. But still Invalid archive warning persists.

                      Here is the tmp directory structure, deployment directory structure and warning messages. Please suggest that how can I deploy wmq.jmsra.rar without any issues.

                      Thanks in advance for your help.

                       

                      tmp directory structure:

                      [1006][jboss@pradeepp ~/wildfly-8.2.0.Final/standalone/]

                      $tree tmp/

                      tmp/

                      ├── auth

                      └── vfs

                          └── temp

                       

                      deployments directory structure:

                      [jboss@pradeepp ~/wildfly-8.2.0.Final/standalone/]

                      $tree deployments/

                      deployments/

                      ├── wmq.jmsra.rar

                      │   └── META-INF

                      │       ├── jboss-deployment-structure.xml

                      │       ├── MANIFEST.MF

                      │       └── ra.xml

                      └── wmq.jmsra.rar.deployed

                       

                      WildFly server log:

                      12:56:37,822 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-6) JBAS010406: Registered connection factory java:/qcf/phptp

                      12:56:37,825 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/qcf/vhptp

                      12:56:37,825 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-7) JBAS010406: Registered connection factory java:/qcf/ph

                      12:56:37,826 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) JBAS010406: Registered connection factory java:/qcf/vh

                      12:56:37,842 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,843 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-7) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,844 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,849 WARN  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-6) IJ020017: Invalid archive: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,883 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020002: Deployed: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,883 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-6) IJ020002: Deployed: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,883 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-7) IJ020002: Deployed: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,884 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020002: Deployed: file:/home/jboss/wildfly-8.2.0.Final/standalone/deployments/wmq.jmsra.rar/

                      12:56:37,887 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-6) JBAS010401: Bound JCA ConnectionFactory [java:/qcf/phptp]

                      12:56:37,888 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-8) JBAS010401: Bound JCA ConnectionFactory [java:/qcf/vh]

                      12:56:37,889 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) JBAS010401: Bound JCA ConnectionFactory [java:/qcf/vhptp]

                      12:56:37,890 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-5) JBAS010401: Bound JCA ConnectionFactory [java:/qcf/ph]

                      12:56:38,013 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "wmq.jmsra.rar" (runtime-name : "wmq.jmsra.rar")

                       

                       

                      Regards,

                      Pradeep. P