[forge-dev] Forge Error

Lincoln Baxter, III lincolnbaxter at gmail.com
Fri Mar 30 12:52:41 EDT 2012


Hmm... could you please post the command you used to create the alias?

Always post as much information as possible when you ask questions :) it
will help us answer. Thanks,
~lincoln

On Tue, Mar 27, 2012 at 3:41 PM, Vlad Bogolin <vladbogolin at gmail.com> wrote:

> Sorry to bother you again. Maybe I don't understand how it is supposed to
> be used but after making a step by step plugin described on Forge website
> after adding an Alias I get the No such command error. I should not run it
> in forge command line or it is something wrong?
>
>
> On Tue, Mar 27, 2012 at 9:45 PM, <vladbogolin at gmail.com> wrote:
>
>> Thanks for your help! It works.
>>
>> La data de , "Lincoln Baxter, III" <lincolnbaxter at gmail.com> a scris:
>>
>> > You set up your persistence unit to reference EclipseLink, but JBoss
>> AS7 uses Hibernate.
>> >
>> > ~Lincoln
>> >
>> > On Sun, Mar 25, 2012 at 4:49 PM, vladbogolin at gmail.com> wrote:
>> >
>> > I dont't know if i did it right because i get the same output
>> >
>> > [test] test $ set VERBOSE true
>> > [test] test $ as7 deploy
>> >
>> > [INFO] Scanning for projects...
>> > [INFO]
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Building test 1.0.0-SNAPSHOT
>> >
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO]
>> > [INFO] --- jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) @ test
>> ---
>> > [INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.
>> >
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 0.913s
>> > [INFO] Finished at: Sun Mar 25 23:46:58 EEST 2012
>> >
>> > [INFO] Final Memory: 49M/356M
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [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]
>> >
>> > [ERROR]
>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> >
>> > [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> >
>> > And this is also the error message i get from as instance:
>> >
>> >
>> > 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
>> >
>> > at
>> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
>> [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.runWorker(ThreadPoolExecutor.java:1110)
>> [rt.jar:1.6.0_23]
>> >
>> > at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>> [rt.jar:1.6.0_23]
>> > at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]
>> > 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)
>> >
>> > at
>> org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
>> > at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
>> > at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
>> >
>> > at
>> org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
>> > at org.jboss.modules.Module.addPaths(Module.java:841)
>> > at org.jboss.modules.Module.link(Module.java:1181)
>> > at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)
>> >
>> > at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
>> > at
>> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70)
>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>> > ... 5 more
>> >
>> >
>> > 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"}}
>> >
>> > 23:48:39,524 INFO [org.jboss.as.server.deployment] (MSC service thread
>> 1-3) JBAS015877: Stopped deployment test.war in 9ms
>> > 23:48:39,529 INFO [org.jboss.as.controller] (management-handler-thread
>> - 14) JBAS014774: Service status report
>> >
>> > 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
>> >
>> >
>> >
>> > La data de , Thomas Frühbeck fruehbeck at aon.at> a scris:
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > Hello Vlad,
>> >
>> > >
>> > >
>> > >
>> > > please activate verbose output via:
>> > >
>> > >
>> > >
>> > > set VERBOSE true
>> > >
>> > >
>> > >
>> > > and retry your command and send the output.
>> >
>> > >
>> > >
>> > >
>> > > Am 25.03.2012 22:35, schrieb Vlad Bogolin:
>> > > Hi,
>> > >
>> > > I get the fallowing error when I try to run as7 deploy
>> >
>> > >
>> > > [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.
>> >
>> > >
>> > > I found out that the problem is caused by some missing
>> > > dependencies but I couldn't resolve it. I hope you can help me.
>> > >
>> > > Thanks,
>> > >
>> > > Vlad
>> > >
>> >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > _______________________________________________
>> > > forge-dev mailing list
>> > > forge-dev at lists.jboss.org
>> >
>> > > https://lists.jboss.org/mailman/listinfo/forge-dev
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>> > _______________________________________________
>> >
>> > forge-dev mailing list
>> >
>> > forge-dev at lists.jboss.org
>> >
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Lincoln Baxter, III
>> > http://ocpsoft.org
>> > "Simpler is better."
>> >
>> >
>>
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120330/b12afd9d/attachment-0001.html 


More information about the forge-dev mailing list