[jboss-as7-dev] Having trouble in building JBoss AS7 quickstarts

Vimal Kansal vkansal at redhat.com
Tue Jun 14 12:10:33 EDT 2011


Ok, my maven profile was not setup correctly and now I am able to deploy 
the helloservlet but I can't access it through browser. My console log 
seems to be saying that the app has been deployed :

01:07:02,306 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC 
service
  thread 1-6) HornetQ Server version 2.1.2.Final (Colmeia, 120) started
01:07:02,382 INFO  [org.jboss.as] (MSC service thread 1-2) JBoss AS 
7.0.0.Beta3
"Salyut" started in 11503ms - Started 100 of 147 services (47 services 
are passi
ve or on-demand)
01:48:14,531 INFO  [org.jboss.as.server.deployment] 
(ManagementCommunication-thr
eads - 3) Content added at location 
C:\Apps\jboss-7.0.0.Beta3\standalone\data\co
ntent\c9\426f0f7f253294c648717632e6314dacd52347\content
01:48:14,565 INFO  [org.jboss.as.server.deployment] (MSC service thread 
1-6) Sta
rting deployment of "jboss-as-helloworld.war"
01:48:14,574 WARN  [org.jboss.vfs] (MSC service thread 1-13) VFS was 
unable to s
et the URLStreamHandlerFactory.  This will have unpredictable results
01:48:14,873 INFO  [org.jboss.weld] (MSC service thread 1-12) Processing 
CDI dep
loyment: jboss-as-helloworld.war
01:48:15,539 INFO  [org.jboss.weld] (MSC service thread 1-2) Starting 
Services f
or CDI deployment: jboss-as-helloworld.war
01:48:15,584 INFO  [org.jboss.weld.Version] (MSC service thread 1-2) 
WELD-000900
  1.1.1 (Final)
01:48:15,662 INFO  [org.jboss.weld] (MSC service thread 1-8) Starting 
weld servi
ce
01:48:16,222 INFO  [org.jboss.web] (MSC service thread 1-11) registering 
web con
text: /jboss-as-helloworld

When I try accessing it I get 404.

Moreover, to undeploy the app, when I use

mvn jboss-as:undeploy

Maven complains :

[ERROR] No plugin found for prefix 'jboss-as' in the current project and 
in the
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available 
from the r
epositories [local (C:\vkk\maven_repository), 
jboss-public-repository-group (htt
ps://repository.jboss.org/nexus/content/groups/public-jboss/), central 
(http://r
epo1.maven.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF

Can somebody please help.

Thx

Vimal


On 15/06/2011 1:23 AM, Vimal Kansal wrote:
> Hi,
>
> I am going through the quickstarts guide and have installed eclipse
> indigo with JBoss tools as described in the doc. When I import maven
> projects, eclipse hangs and closes suddenly.
>
> Trying to deploy through commandline, I am getting the following error :
>
> C:\vkk\downloads\software\jboss\JBossAS\quickstarts\helloworld>mvn
> install -U
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: Helloworld 7.0.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/jboss/as/plugins/jboss-as-deploy-
> plugin/7.0.0.Beta3/jboss-as-deploy-plugin-7.0.0.Beta3.pom
> [WARNING] The POM for
> org.jboss.as.plugins:jboss-as-deploy-plugin:jar:7.0.0.Beta
> 3 is missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.760s
> [INFO] Finished at: Wed Jun 15 01:14:03 EST 2011
> [INFO] Final Memory: 2M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Plugin org.jboss.as.plugins:jboss-as-deploy-plugin:7.0.0.Beta3
> or one of
>    its dependencies could not be resolved: Failed to read artifact
> descriptor for
> org.jboss.as.plugins:jboss-as-deploy-plugin:jar:7.0.0.Beta3: Could not
> find arti
> fact org.jboss.as.plugins:jboss-as-deploy-plugin:pom:7.0.0.Beta3 in
> central (htt
> p://repo1.maven.org/maven2) ->  [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
> ch.
> [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 rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
> onException
>
> Can somebody please help.
>
> Thx
>
> Vimal
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110615/17a5a142/attachment.html 


More information about the jboss-as7-dev mailing list