[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to

PeterJ do-not-reply at jboss.com
Tue Jun 23 17:00:05 EDT 2009


If you look closely you will see that you are not getting the same deployment exceptions. Originally you got this:

13:17:55,632 ERROR [AbstractKernelController] Error installing to Start: name=jb
oss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: Web mapping already exists for depl
oyment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwavo
nw5-1-fwavqrrx-9q/SinglePageCrudTable.war/ 

Now you are getting this:

5:23:19,601 ERROR [StandardContext] Context [/SinglePageCrudTable] startup fail
ed due to previous errors
java.lang.RuntimeException: mapped-name is required for jdbc/TRAVEL_ApacheDerby
of deployment SinglePageCrudTable.war 

Fortunately, this second error message actually makes sense and hints at what you have to do to correct it. Based on the name, jdbc/TRAVEL_ApacheDerby, I suspect that this is your datasource name and you either forgot to mention it in your web.xml, or it does not appear in jboss-web.xml.

Post your web.xml and jboss-web.xml.  Don't foget to use the "Code" tags around the source - select the source and hit the Code button above the input editor window. Also, use the Preview button to check the formatting before hitting Submit.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239553#4239553

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239553



More information about the jboss-user mailing list