10 Replies Latest reply on Sep 18, 2013 9:47 AM by S BH

    Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed

    S BH Newbie

      I am migrating our application from "jboss-5.1.0.GA" to "jboss-as-7.1.1.Final". It contains 3 WAR and 2 EAR files.

      Command used to start jboss "standalone.bat -c standalone-full.xml" The folder structure of my ear is

      META-INF

      abc.jar

      xyz.jar

      MyApplication-jar.jar

      MyApplication-war.war


      META-INF : contains MANIFEST.MF & application.xml with following contains,

       

      <?xml version="1.0" encoding="UTF-8"?>
      <application xmlns="http://java.sun.com/xml/ns/j2ee"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
                                       http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
                   version="1.4">
          <display-name>DC13 application</display-name>

          <module>
              <web>
                  <web-uri>MyApplication-war.war</web-uri>
                  <context-root>MyApplication</context-root>
              </web>
          </module>
          <module>
              <java>abc.jar</java>
          </module>
          <module>
              <java>xyz.jar</java>
          </module>

          <module>
              <java>MyApplication-jar.jar</java>
          </module>

      </application>

       

      abc.jar : includs common classes and MANIFEST.MF

      xyz.jar : includs jndi.properties & MANIFEST.MF

      MyApplication-jar.jar : includes application.xml, MANIFEST.MF, persistence.xml and classes

          application.xml contents are same as shown above.

          persistence.xml configures hibernate

      MyApplication-war.war : includes

          META-INF

          WEB-INF

          index.jsp


          META-INF includes MANIFEST.MF

          WEB-INF includes classes, lib(jstl-1.1.1.jar, standard-1.1.1.jar), jboss-classloading.xml, jboss-web.xml & web.xml

      This EAR structure is working fine on jboss-5.1.0.

      I have copied all the files in my "JBOSS_HOME\standalone\deployments". MyApplication.ear is failing and giving following error,


      10:30:04,515 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final

      10:30:04,610 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service

      10:30:05,226 INFO  [org.jboss.jaxr] (MSC service thread 1-3) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory

      10:30:05,271 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]

      10:30:05,368 WARN  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      10:30:05,401 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http-127.0.0.1-127.0.0.1-8080

      10:30:05,451 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA

      10:30:05,675 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=C:\jboss-as-7.1.1.Final\standalone\data\messagingjournal,bindingsDirectory=C:\jboss-as-7.1.1.Final\standalone\data\messagingbindings,largeMessagesDirectory=C:\jboss-as-7.1.1.Final\standalone\data\messaginglargemessages,pagingDirectory=C:\jboss-as-7.1.1.Final\standalone\data\messagingpaging)

      10:30:05,705 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) Waiting to obtain live lock

      10:30:05,686 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-as-7.1.1.Final\standalone\deployments

      10:30:05,741 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-2) Using NIO Journal

      10:30:05,905 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999

      10:30:06,015 WARN  [jacorb.codeset] (MSC service thread 1-1) Warning - unknown codeset (Cp1252) - defaulting to ISO-8859-1

      10:30:06,027 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1/127.0.0.1:4447

      10:30:06,056 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-2) Waiting to obtain live lock

      10:30:06,059 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-2) Live Server Obtained live lock

      10:30:06,077 INFO  [org.jboss.as.jacorb] (MSC service thread 1-1) JBAS016330: CORBA ORB Service started

      10:30:06,452 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      10:30:06,484 INFO  [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016328: CORBA Naming Service started

      10:30:07,352 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-2) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5455 for CORE protocol

      10:30:07,377 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-2) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5445 for CORE protocol

      10:30:07,386 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) Server is now live

      10:30:07,390 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [b5083a7d-1acd-11e3-9fdf-001cc4544b4c]) started

      10:30:07,398 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.queue.testQueue

      10:30:07,409 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/queue/test

      10:30:07,414 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      10:30:07,450 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      10:30:07,454 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      10:30:07,458 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.topic.testTopic

      10:30:07,509 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/JmsXA

      10:30:07,528 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-4) HornetQ resource adaptor started

      10:30:07,532 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-4) IJ020002: Deployed: file://RaActivatorhornetq-ra

      10:30:07,539 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      10:30:07,562 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/topic/test

      10:30:07,567 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      10:30:07,571 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      10:30:07,642 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "MyApplication.ear"

      10:30:07,701 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."MyApplication.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyApplication.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "MyApplication.ear"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_25]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_25]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR ["/C:/jboss-as-7.1.1.Final/bin/content/MyApplication.ear"], module file MyApplication-war.war not found

          at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:168)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          ... 5 more

       

      10:30:07,745 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015951: Admin console listening on http://127.0.0.1:9990

      10:30:07,748 ERROR [org.jboss.as] (MSC service thread 1-2) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 7763ms - Started 171 of 251 services (1 services failed or missing dependencies, 78 services are passive or on-demand)

      10:30:07,748 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "MyApplication.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"MyApplication.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyApplication.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"MyApplication.ear\""}}

      10:30:07,761 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment MyApplication.ear in 9ms

      10:30:07,777 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."MyApplication.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyApplication.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "MyApplication.ear"

       

      10:30:07,787 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"MyApplication.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyApplication.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"MyApplication.ear\""}}}}

       

       

       

       

      I have searched on meny sites/forum but not able to resolve this issue. Please help me to resolve the error.

      Thanks in advance.

        • 2. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
          xiang yingbing Master

          MyApplication-jar.jar : includes application.xml, MANIFEST.MF, persistence.xml and classes

              application.xml contents are same as shown above.

              persistence.xml configures hibernate

          ~~~~~~~~~~~~I think this jar is wrong!!! Why do you include application.xml in this jar instead of ear?


          I think JBoss AS 7.2.0 - Java EE application development - 03.How to create EJB,WAR,Connector and EAR projects is useful to you especially this image:

          new_Enterprise.Application.Project_application.xml.JPG

          1 of 1 people found this helpful
          • 3. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
            S BH Newbie

            Thanks for your reply Xinag.

            I have gone through the steps/information mentioned above. But not able to add JSF capabilities from my eclipse for test project. So ultimately I am not able to deploy the test application in JBoss 7.1.1.

            In my scenario, my ear is supporting file which contains EJB message beans and supporting jar files (it is not a single web application).

            I am new to JBoss so can you guide me to define the structure of my EAR for JBoss 7.

            • 4. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
              xiang yingbing Master

              Sorry for the late reply.

               

              In my scenario, my ear is supporting file which contains EJB message beans and supporting jar files (it is not a single web application).

              ~~~~~~~xxx.ear can contanis ejb, war, jar through application.xml file.

               

              My projects structure:

               

              [-]asb-tms

                  [-]asb-tms

                      .project

                      [-]EarContent

                          [-]META-INF

                              application.xml

                              jboss-app.xml

                  [-]asb-tms-ejb

                      .classpath

                      .project

                      [-]build

                      [-]ejbModule

                          [-]META-INF

                              MANIFEST.MF

                              jboss-ejb3.xml

                              persistence.xml

                          [-]com

                              [-]asb

                                  [-]tms

                                      [-]common

                                          DateHelper.java

                                          FileHelper.java

                                          HashUtil.java

                                          ...

                                      [-]ejb

                                          [-]entity

                                              ActivateCode.java

                                              ...

                                              User.java

                                              UserGroup.java

                                              warning.txt

                                          [-]interceptor

                                              LoginStatusCheckingInterceptor.java

                                          [-]mdb

                                              ...

                                          [-]session

                                              ...

                                              IUserSession.java

                                              ...

                                              UserSession.java

                                              ...

                                          [-]ssh2

                                              ISSH2Executor.java

                                              SSH2Executor.java

                                          [-]timer

                                              ITesterMonitoringTimer.java

                                              MonitoringTask.java

                                              TesterMonitoringTimer.java

                                      [-]query

                                          ....

                  [-]asb-tms-ssh2-ra-api

                      .classpath

                      .project

                      [-]bin

                          [-]META-INF

                              MANIFEST.MF

                          [-]com

                              [-]ybxiang

                                  [-]ssh2

                                      [-]ra

                                          [-]api

                                              ISSHConnection.class

                                              ISSHConnectionFactory.class

                                              ISSHProcessOutputHandler.class

                                              Logger.class

                                              SSHCommandResult.class

                                              SSHConnectionRequestInfo.class

                      [-]src

                          [-]META-INF

                              MANIFEST.MF

                          [-]com

                              [-]ybxiang

                                  [-]ssh2

                                      [-]ra

                                          [-]api

                                              ISSHConnection.java

                                              ISSHConnectionFactory.java

                                              ISSHProcessOutputHandler.java

                                              Logger.java

                                              SSHCommandResult.java

                                              SSHConnectionRequestInfo.java

                  [-]asb-tms-ssh2-ra-app

                      .classpath

                      .project

                      [-]build

                      [-]connectorModule

                          [-]META-INF

                              MANIFEST.MF

                              ra.xml

                          [-]com

                              [-]ybxiang

                                  [-]ssh2

                                      [-]ra

                                          [-]app

                                              SSHConnection.java

                                              SSHConnectionFactory.java

                                              SSHManagedConnection.java

                                              SSHManagedConnectionFactory.java

                                              SSHManagedConnectionMetaData.java

                                              SSHPhysicalConnectionOperator.java

                                              SSHResourceAdapter.java

                      [-]lib

                          ganymed-ssh2-build210.jar

                  [-]asb-tms-war

                      .classpath

                      .project

                      [-]WebContent

                          activate.xhtml

                          console.xhtml

                          index.xhtml

                          login-fail.xhtml

                          login-form.xhtml

                          login-https.xhtml

                          register-success.xhtml

                          register.xhtml

                          [-]META-INF

                              MANIFEST.MF

                          [-]WEB-INF

                              .faces-config.xml.jsfdia

                              faces-config.xml

                              jboss-web.xml

                              web.xml

                              [-]lib

                                  jcommon-1.0.17.jar

                                  jfreechart-1.0.14.jar

                                  mysql-connector-java-5.1.21-bin.jar

                          [-]css

                              ...

                          [-]img

                              ...

                          [-]system

                              ...

                          [-]template

                              displayer_monitoring-shell-list.xhtml

                              displayer_tester-product-list.xhtml

                              displayer_tester-type-list.xhtml

                              displayer_user-list.xhtml

                              footer.xhtml

                              navigator.xhtml

                              pager.xhtml

                              template.xhtml

                              width.setting.txt

                      [-]build

                      [-]src

                          [-]com

                              [-]asb

                                  [-]tms

                                      [-]jsfmbean

                                          AbstractPagerMBean.java

                                          Constants.java

                                          EntitiesConstantsMBean.java

                                          FacesContextMBean.java

                                          JSFHelper.java

                                          ParameterHelper.java

                                          README_MBean.calling.each.other.txt

                                          ...

                                      [-]servlet

                                          AuthenticateServlet.java

                                          ...

              • 5. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                xiang yingbing Master

                application.xml defines the structure:

                 

                <?xml version="1.0" encoding="UTF-8"?>

                <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                    xmlns="http://java.sun.com/xml/ns/javaee"

                    xmlns:application="http://java.sun.com/xml/ns/javaee"

                    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"

                    id="Application_ID" version="6">

                  <display-name>asb-tms</display-name>

                  <module>

                    <ejb>asb-tms-ejb.jar</ejb>

                  </module>

                  <module>

                    <web>

                      <web-uri>asb-tms-war.war</web-uri>

                      <context-root>/tms</context-root>

                    </web>

                  </module>

                  <module>

                    <connector>asb-tms-ssh2-ra-app.rar</connector>

                  </module>

                </application>

                • 6. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                  xiang yingbing Master

                  The structure of asb-tms.ear (D:\java\jboss-as-7.2.0.Final\standalone\deployments\asb-tms.ear)

                   

                  [-]asb-tms.ear

                      [-]META-INF

                          application.xml

                          jboss-app.xml

                      [-]asb-tms-ejb.jar

                          [-]META-INF

                              MANIFEST.MF

                              jboss-ejb3.xml

                              persistence.xml

                          [-]com

                              [-]asb

                                  [-]tms

                                      [-]common

                                          DateHelper.class

                                          FileHelper.class

                                          HashUtil.class

                                          ...

                                      [-]ejb

                                          [-]entity

                                              ActivateCode.class

                                              ...

                                          [-]interceptor

                                              LoginStatusCheckingInterceptor.class

                                          [-]mdb

                                              ...

                                          [-]session

                                              ...

                                              IUserSession.class

                                              ...

                                              UserSession.class

                                              ...

                                          [-]ssh2

                                              ISSH2Executor.class

                                              SSH2Executor.class

                                          [-]timer

                                              ITesterMonitoringTimer.class

                                              MonitoringTask.class

                                              TesterMonitoringTimer.class

                                      [-]query

                                          ...

                      [-]asb-tms-ssh2-ra-app.rar

                          [-]META-INF

                              MANIFEST.MF

                              ra.xml

                          [-]com

                              [-]ybxiang

                                  [-]ssh2

                                      [-]ra

                                          [-]app

                                              SSHConnection.class

                                              SSHConnectionFactory.class

                                              SSHManagedConnection.class

                                              SSHManagedConnectionFactory.class

                                              SSHManagedConnectionMetaData.class

                                              SSHPhysicalConnectionOperator.class

                                              SSHResourceAdapter.class

                      [-]asb-tms-war.war

                          activate.xhtml

                          console.xhtml

                          index.xhtml

                          ...

                          [-]META-INF

                              MANIFEST.MF

                          [-]WEB-INF

                              .faces-config.xml.jsfdia

                              faces-config.xml

                              jboss-web.xml

                              web.xml

                              [-]lib

                                  jcommon-1.0.17.jar

                                  jfreechart-1.0.14.jar

                          [-]css

                              ...

                          [-]img

                              ...

                          [-]system

                              ...

                          [-]template

                              displayer_monitoring-shell-list.xhtml

                              displayer_tester-product-list.xhtml

                              displayer_tester-type-list.xhtml

                              displayer_user-list.xhtml

                              footer.xhtml

                              navigator.xhtml

                              pager.xhtml

                              template.xhtml

                              width.setting.txt

                      [-]lib

                          asb-tms-ssh2-ra-api.jar

                          ganymed-ssh2-build210.jar

                  • 7. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                    xiang yingbing Master

                    I have gone through the steps/information mentioned above. But not able to add JSF capabilities from my eclipse for test project.

                    ~~~~~~~~~

                    (1) What's the problem?

                          One reader told me he succeeded to do everything following this guide.

                     

                    (2) If you failed to add JSF capability, you can modify web.xml and faces-configure.xml directly. The effect is same!

                    • 8. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                      xiang yingbing Master

                      (3) You can even do everything through text editor and compile code through ant, without eclipse!

                       

                      You can download and study the jboss as7 quick start projects examples, here: JBoss Application Server Downloads - JBoss Community

                      It tell you almost everything!

                       

                      6.1.0 FinalEAP built from AS 7.22013-05-20LGPLDeveloper discussion boards watched by Red HatZIP (110MB)  SHA | MD5
                      Release Notes  |  Source (27MB)
                      EAP Maven Repository2013-05-20LGPLDeveloper discussion boards watched by Red HatZIP (189MB)  SHA | MD5
                      Quick Starts2013-05-20LGPLDeveloper discussion boards watched by Red HatZIP (5MB)  SHA | MD5

                       

                       

                       

                      7.1.1.FinalAS Certified Java EE 6 Full Profile2012-03-09LGPLCommunity participation onlyZIP (127MB)
                      Release Notes
                      Check this out in OpenShift
                      AS Certified Java EE 6 Full Profile2012-03-09LGPLCommunity participation onlyTAR.GZ (127MB)
                      Release Notes
                      Quickstarts2012-03-09AL 2Community participation onlysite
                      Release Notes
                      • 9. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                        S BH Newbie

                        Really thanks for your help.

                        Currently I am going through all the help material. I will let you know result soon.

                        • 10. Re: Migration of EAR from jboss-5.1.0.GA to jboss-as-7.1.1.Final failed
                          S BH Newbie

                          I am working on the project "ejb-in-ear". For this I have downloaded source and also configured maven 3.0.5 outside.

                          When I import the "ear-in-ejb" project in eclipse I am getting error.

                          Then I configure external maven 3.0.5 but still facing errors.

                           

                          On cmd command used is : mvn pom.xml

                          Error  = 'build.plugins.plugin.artifactId' is missing.

                           

                          Eclipse compile error :

                          Error resolving version for plugin 'org.apache.maven.plugins:' from the repositories [local (C:\Users\test\.m2\repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository


                          Please guide regarding the same. Am I missing any jar in my eclipse/src/external maven??

                          Thanks in advance.