NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem Deploying EAR Application (The module has not been deployed.)

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
dboileau



Joined: 18 Jan 2010
Posts: 2

PostPosted: Mon Jan 18, 2010 4:54 pm    Post subject: Problem Deploying EAR Application (The module has not been deployed.) Reply with quote

Hi,

I have created a Test Enterprise Application with a EAR and Client Application, added a EJB Module, Session Bean with a remote stateless business method and deployed it to a remote GF V3 Server.

I have checked using the admin console that the application has been deploy (which it has).

When I try and run the standalone client I get the following error message.

pre-run-deploy:
Distributing /home/damien/NetBeansProjects/PaymentGatewayClient/dist/PaymentGatewayClient.jar to [GlassFish v3]
Initializing...
deploy?path=/home/damien/NetBeansProjects/PaymentGatewayClient/dist/PaymentGatewayClient.jar&name=PaymentGatewayClient&force=true failed on GlassFish v3
/home/damien/NetBeansProjects/PaymentGatewayClient/nbproject/build-impl.xml:591: The module has not been deployed.
BUILD FAILED (total time: 0 seconds)

Line 591 from the build-impl.xml file

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>

Can anyone point me in the right direction for finding the problem.

Thanks Damien
Back to top
SSCBrian



Joined: 25 Feb 2010
Posts: 6

PostPosted: Thu Feb 25, 2010 4:40 pm    Post subject: Reply with quote

Getting the same error here on a local GlassFish server. Oddly, everything was working fine until I had to reboot, now (with exactly the same code) I get the error.

Not doing anything different with GlassFish that I can think of. Hmmm. Sad
Back to top
webinspired



Joined: 07 Dec 2010
Posts: 4

PostPosted: Thu Mar 03, 2011 6:56 pm    Post subject: i am getting the same problem Reply with quote

i can deploy the app via glassfish admin but i get the same error:

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>

with using nebeans...
Back to top
SSCBrian



Joined: 25 Feb 2010
Posts: 6

PostPosted: Thu Mar 03, 2011 6:58 pm    Post subject: Reply with quote

SSCBrian wrote:
Getting the same error here on a local GlassFish server. Oddly, everything was working fine until I had to reboot, now (with exactly the same code) I get the error.

Not doing anything different with GlassFish that I can think of. Hmmm. Sad


I don't know exactly when (as I've been working on JSE projects), but it's working fine now. I didn't do anything to fix it, it just seems to have self-healed somehow. :-/
Back to top
Shawn.Savage



Joined: 05 May 2011
Posts: 3

PostPosted: Thu May 05, 2011 10:20 pm    Post subject: NetBeans 6.9.1 module did not deploy work around Reply with quote

I have been having a problem with my JSF 2.0 web application connecting to a MySQL database called registrar for my Java IT315 class at CTU. I tried everything even a new install of 6.9.1 after removing all instances of NetBeans and GlassFish and a new build still would not work.

On another computer, I had 6.8 loaded I took the project there, ran clean & build and the it ran. I then brought it back to my computer with 6.9.1 and it also ran. However, when I moved it back to my computer C: drive it would not run again and got the same exact error. I opened the copy on the thumb drive and it still ran fine.

I moved the C: drive copy to E: and open and ran it without a clean & build and it ran just fine. I created a new project on the other drive and it also ran just fine. I tried to create a new project on the C: drive and still got the module did not deploy error.

A work around this problem is to try and move your project to a different drive than you have NetBeans and GlassFish installed.
Back to top
Tony Dietrich
Posted via mailing list.





PostPosted: Fri May 06, 2011 12:31 pm    Post subject: Re: Problem Deploying EAR Application (The module has not been deployed.) Reply with quote

I think you'll find that this is probably due to the fact that you tried to
deploy using a directory that included spaces or other characters.

Typical Windows error.. was your project folder in c:\My Documents or
similar?

Tony

-----Original Message-----
From: Shawn.Savage [mailto:address-removed]
Sent: 05 May 2011 23:20
To: address-removed
Subject: [nbj2ee] Problem Deploying EAR Application (The module has not been
deployed.)

I have been having a problem with my JSF 2.0 web application connecting to a
MySQL database called registrar for my Java IT315 class at CTU. I tried
everything even a new install of 6.9.1 after removing all instances of
NetBeans and GlassFish and a new build still would not work.

On another computer, I had 6.8 loaded I took the project there, ran clean &
build and the it ran. I then brought it back to my computer with 6.9.1 and
it also ran. However, when I moved it back to my computer C: drive it would
not run again and got the same exact error. I opened the copy on the thumb
drive and it still ran fine.

I moved the C: drive copy to E: and open and ran it without a clean & build
and it ran just fine. I created a new project on the other drive and it also
ran just fine. I tried to create a new project on the C: drive and still got
the module did not deploy error.

A work around this problem is to try and move your project to a different
drive than you have NetBeans and GlassFish installed.
Back to top
Shawn.Savage



Joined: 05 May 2011
Posts: 3

PostPosted: Fri May 06, 2011 12:44 pm    Post subject: Directory Structure - Module did not deploy Reply with quote

Hi Tony,
The thumb drive path directory has spaces, and when I moved the project to the E: drive, I moved the entire My Documents directory so the only difference was the drive letter in that path name.

Shawn
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo