<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 :<br>
<br>
01:07:02,306 INFO [org.hornetq.core.server.impl.HornetQServerImpl]
(MSC service<br>
thread 1-6) HornetQ Server version 2.1.2.Final (Colmeia, 120)
started<br>
01:07:02,382 INFO [org.jboss.as] (MSC service thread 1-2) JBoss AS
7.0.0.Beta3<br>
"Salyut" started in 11503ms - Started 100 of 147 services (47
services are passi<br>
ve or on-demand)<br>
01:48:14,531 INFO [org.jboss.as.server.deployment]
(ManagementCommunication-thr<br>
eads - 3) Content added at location
C:\Apps\jboss-7.0.0.Beta3\standalone\data\co<br>
ntent\c9\426f0f7f253294c648717632e6314dacd52347\content<br>
01:48:14,565 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-6) Sta<br>
rting deployment of "jboss-as-helloworld.war"<br>
01:48:14,574 WARN [org.jboss.vfs] (MSC service thread 1-13) VFS was
unable to s<br>
et the URLStreamHandlerFactory. This will have unpredictable
results<br>
01:48:14,873 INFO [org.jboss.weld] (MSC service thread 1-12)
Processing CDI dep<br>
loyment: jboss-as-helloworld.war<br>
01:48:15,539 INFO [org.jboss.weld] (MSC service thread 1-2)
Starting Services f<br>
or CDI deployment: jboss-as-helloworld.war<br>
01:48:15,584 INFO [org.jboss.weld.Version] (MSC service thread 1-2)
WELD-000900<br>
1.1.1 (Final)<br>
01:48:15,662 INFO [org.jboss.weld] (MSC service thread 1-8)
Starting weld servi<br>
ce<br>
<big>01:48:16,222 INFO [org.jboss.web] (MSC service thread 1-11)
registering web con<br>
text: /jboss-as-helloworld</big><br>
<br>
When I try accessing it I get 404.<br>
<br>
Moreover, to undeploy the app, when I use <br>
<br>
mvn jboss-as:undeploy<br>
<br>
Maven complains :<br>
<br>
[ERROR] No plugin found for prefix 'jboss-as' in the current project
and in the<br>
plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
available from the r<br>
epositories [local (C:\vkk\maven_repository),
jboss-public-repository-group (htt<br>
ps://repository.jboss.org/nexus/content/groups/public-jboss/),
central (<a class="moz-txt-link-freetext" href="http://r">http://r</a><br>
epo1.maven.org/maven2)] -> [Help 1]<br>
[ERROR]<br>
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e swit<br>
ch.<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 rea<br>
d the following articles:<br>
[ERROR] [Help 1]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF">http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF</a><br>
<br>
Can somebody please help.<br>
<br>
Thx<br>
<br>
Vimal<br>
<br>
<br>
On 15/06/2011 1:23 AM, Vimal Kansal wrote:
<blockquote cite="mid:4DF77CEE.9030409@redhat.com" type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://repo1.maven.org/maven2/org/jboss/as/plugins/jboss-as-deploy">http://repo1.maven.org/maven2/org/jboss/as/plugins/jboss-as-deploy</a>-
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]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti">http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti</a>
onException
Can somebody please help.
Thx
Vimal
_______________________________________________
jboss-as7-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a>
</pre>
</blockquote>
</body>
</html>