You set up your persistence unit to reference EclipseLink, but JBoss AS7 uses Hibernate.<br><br>~Lincoln<br><br><div class="gmail_quote">On Sun, Mar 25, 2012 at 4:49 PM, <span dir="ltr"><<a href="mailto:vladbogolin@gmail.com">vladbogolin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I dont't know if i did it right because i get the same output<br><br>[test] test $ set VERBOSE true<br>[test] test $ as7 deploy <br>
[INFO] Scanning for projects...<br>[INFO] <br>[INFO] ------------------------------------------------------------------------<br>[INFO] Building test 1.0.0-SNAPSHOT<br>
[INFO] ------------------------------------------------------------------------<br>[INFO] <br>[INFO] --- jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) @ test ---<br>[INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.<br>
[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD FAILURE<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 0.913s<br>[INFO] Finished at: Sun Mar 25 23:46:58 EEST 2012<br>
[INFO] Final Memory: 49M/356M<br>[INFO] ------------------------------------------------------------------------<br>[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) on project test: Could not execute goal deploy on test.war. Reason: Deployment failed and was rolled back. -> [Help 1]<br>
[ERROR] <br>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>[ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>[ERROR] <br>[ERROR] For more information about the errors and possible solutions, please read the following articles:<br>
[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a><br><br>And this is also the error message i get from as instance:<br>
<br>23:48:39,295 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service."deployment.test.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.test.war".main: Failed to load module: deployment.test.war:main<br>
        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]<br>
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]<br>        at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]<br>Caused by: org.jboss.modules.ModuleNotFoundException: Module org.eclipse.persistence:main is not found in local module loader @1f66cff (roots: /home/vlad/jboss-as-7.1.1.Final/modules)<br>
        at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)<br>        at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)<br>        at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)<br>
        at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)<br>        at org.jboss.modules.Module.addPaths(Module.java:841)<br>        at org.jboss.modules.Module.link(Module.java:1181)<br>        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)<br>
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)<br>        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>        ... 5 more<br>
<br>23:48:39,515 INFO [org.jboss.as.server] (management-handler-thread - 14) JBAS015870: Deploy of deployment "test.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.test.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.test.war\".main: Failed to load module: deployment.test.war:main"}}<br>
23:48:39,524 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test.war in 9ms<br>23:48:39,529 INFO [org.jboss.as.controller] (management-handler-thread - 14) JBAS014774: Service status report<br>
JBAS014777: Services which failed to start: service jboss.module.service."deployment.test.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.test.war".main: Failed to load module: deployment.test.war:main<br>
<br><br>La data de , Thomas Frühbeck <<a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>> a scris:<div class="HOEnZb"><div class="h5"><br>> <br>> <br>> <br>> <br>> <br>> Hello Vlad,<br>
> <br>> <br>> <br>> please activate verbose output via:<br>> <br>> <br>> <br>> set VERBOSE true<br>> <br>> <br>> <br>> and retry your command and send the output.<br>
> <br>> <br>> <br>> Am <a href="tel:25.03.2012%2022" value="+12503201222" target="_blank">25.03.2012 22</a>:35, schrieb Vlad Bogolin:<br>> Hi,<br>> <br>> I get the fallowing error when I try to run as7 deploy<br>
> <br>> [ERROR] Failed to execute goal<br>> org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy<br>> (default-cli) on project test: Could not execute goal deploy on<br>> test.war. Reason: Deployment failed and was rolled back.<br>
> <br>> I found out that the problem is caused by some missing<br>> dependencies but I couldn't resolve it. I hope you can help me.<br>> <br>> Thanks,<br>> <br>> Vlad<br>> <br>
> <br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> forge-dev mailing list<br>> <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>></div>
</div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."<br>