2 Replies Latest reply on Dec 1, 2011 8:26 AM by pedrocu

    JBOSS 5.1.0 DEPLOY EAR

    pedrocu

      Hi all, this is my first question about JBOSS in this community. I'm going to explain my problem:

       

      I have installed JBOSS 5.1.0, until now, I have installed applications on JBOSS 4.2.3, and I want to install it on 5.1.0. My problem is:

       

      When I want to deploy an ear with 3 wars inside I have this error:

       

      Caused by: java.io.FileNotFoundException: D:\Proyecto\jboss-5.1.0.GA\server\Senegal\deploy\iscore-sahel-01.00.00.ear\lib\isssoSRV-sahel-01.00.00.jar\org\jasig\cas\web (El sistema no puede encontrar la ruta especificada)

                at java.util.zip.ZipFile.open(Native Method)

                at java.util.zip.ZipFile.<init>(ZipFile.java:127)

                at java.util.jar.JarFile.<init>(JarFile.java:135)

                at java.util.jar.JarFile.<init>(JarFile.java:72)

                at

       

      Deploy well the first war, but the second it is installed in another tmp directory, and doesn't find it.

       

      What can I do?

       

      Thanks in advanced...

        • 1. Re: JBOSS 5.1.0 DEPLOY EAR
          wdfink

          A bit more details about the structure of your ear might helpful

          • 2. Re: JBOSS 5.1.0 DEPLOY EAR
            pedrocu

            Ok, my ear have the next structure:

             

            iscore-sahel-01.00.00.ear -->

            lib/isssoSRV-sahel-01.00.00.jar

            lib/jar2.jar

            packagewar1.war

            packagewar2.war

            packagewar3.war

             

            My problem is that the first war try to access to one directory that it's in the jar1.jar (org\jasig\cas\web), and it doesn't find it. The jar has the structure that the ear needs.

             

            If you need more information, I give you. One detail, I deployed ok this ear on JBOSS 4.2.3.

             

            Thanks