4 Replies Latest reply on Jul 4, 2011 5:31 PM by franekgc

    EAR on as7

    franekgc

      Can You provide some sample application packaged as EAR with at least one WAR module and at least one JAR module, that will run in as7 and will have all dependencies, sub-deployments, etc. set in propper way?

        • 1. Re: EAR on as7
          jaikiran
          • 2. Re: EAR on as7
            franekgc

            All of these examples are bundled as a WAR archives. But i need the EAR application with some WAR'a and JAR's inside.

            I was trying to do it by myself but i had some difficulties to deploy application like that. For example:

            1. JAR archives (in EAR) was not deployed by container.

            2. WAR and JAR dependencies was not set correctly.

             

            That is why i ask You for example.

            • 3. Re: EAR on as7
              jaikiran

              There isn't anything different when it comes to .ear deployments. The .ear can contain libraries in .ear/lib and also EJB/WAR deployments at the root of the .ear. If you are running into any issues deploying your .ear please post the entire details including any exception stacktraces.

              • 4. Re: EAR on as7
                franekgc

                The first problem is:

                ----

                Caused by: com.sun.faces.config.ConfigurationException: java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/2001/XMLSchema could be loaded

                ----

                for all WAR from examples and my sample aplications.

                 

                Windows 7

                Java 1.6.0_26

                Jboss as 7 CR1

                 

                ///////////////////

                /

                ///////////////////

                 

                SOLUTION FOUNDED:

                 

                JAVA_HOME environment variable was set to wrong folder.