Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when Deploying Java app with GlassFish

What does this error with GlassFish (when being used with Eclipse) mean? login is a Java project I was working with earlier. I take it I have to stop it or remove it or something. Can some please help?

cannot Deploy numberquiz
deploy is failing=Error occurred during deployment: Exception while loading the app : 
java.lang.Exception: WEB0113: Virtual server [server] already has a web module [login] loaded at 
[/numberquiz]; therefore web module [numberquiz] cannot be loaded at this context path on this 
virtual server. . Please see server.log for more details.

Thanks, Conor.

like image 326
ConorW Avatar asked May 28 '13 21:05

ConorW


1 Answers

You already have an application deployed with the contextpath /numberquiz. Changing the context path in your project settings will result in the same problem the next time you deploy your app.

You have to undeploy your application via Eclipse or in the Glassfish Admin GUI,

The Admin GUI can be accessed under http://localhost:4848. Go to Applications in the left menu, select your application and click Undeploy.

like image 86
unwichtich Avatar answered Nov 11 '22 09:11

unwichtich