Erroneous Deployment Failed Message - Glassfish V2 on OS X with IDEA 7.0.2

I have been trying to get a deployment to work using the built-in support for Glassfish. Using a local instance I am getting the following message in the Run dialog.

Facet Web: Module is being deployed, please wait...
Facet Web: Module is not deployed. Press 'Deploy' to start deployment

The module is deployed though. It shows up in the Glassfish admin UI and is reachable via browser. My run/debug configuration uses an Ant task to build a WAR which is then configured to be deployed via the deployment tab.

Any tips on make this reflect a successful deployment?

--
Matthew

0
6 comments
Avatar
Permanently deleted user

Hi Matthew,

This is not a known problem and I don't know what to fix without further investigation. Could you please report it here http://www.jetbrains.net/jira/browse/JEEAS and attach a sample project?

- Martin

0
Avatar
Permanently deleted user

Hi Martin,

I will do a bit more investigation and will file an issue.

Thanks.

--
Matthew

0
Avatar
Permanently deleted user

Ahh I was having the same problem and did the following:
1) Make sure you have an exploded war directory deployed instead of a war file. In fact do not even select "create war file" in your EE Build Settings
2) Make sure you do NOT check "exclude from module content" in your web module exploded directory
3) Make all sure your dependencies are "copy files to" (in my case it is /WEB-INF/lib)
4) Make sure all previously deployed projects are undeployed on glassfish
5) Use the remote deployment
6) Make sure debugging is turned on in glassfish and the ports match up with IntelliJ

Message was edited by:
Jeremy Leipzig

0

I had the same problem. I started the server, went into the server admin, undeployed the webapp, closed the server, then started it via IntelliJ.

0
Avatar
Permanently deleted user

Hi Matthew,

In the meantime this issue has been tracked (and solved) here: http://www.jetbrains.net/jira/browse/JEEAS-168

Regards,
Martin

0
Avatar
Permanently deleted user

Thanks Martin. I was just about to post here again. I was never able to consistently reproduce this in a new project. Glad you found out what was going wrong.

--
Matthew

0

Please sign in to leave a comment.