Skip to main content

j2ee+mysql project

1 reply [Last post]
Joined: 2010-03-17

i am developing a j2ee application using mysql database and netbeans ide.

created a login page and trying to establish a connection with the database and validating the user.

When trying to deploy the application, getting the following error

Undeployment of component failed. Application is referenced by server and must be referenced by no server instances or clusters

Please help.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-02-11

which server you are using?
The error that you have mentioned is during undeployment. It might be possible that first your server undeploy the application and deploying it again to reflect the changes and during undeployment you are getting the error.
If you have deployed your application with login page,same procedure should be used to deploy it again. Try with fresh deployment.