NetBeans Forums

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

Maven EAR deployment - gfdeploy directory issues

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



Joined: 27 Jun 2011
Posts: 2

PostPosted: Mon Jun 27, 2011 3:06 pm    Post subject: Maven EAR deployment - gfdeploy directory issues Reply with quote

Glassfish 3.1, Netbeans 7.

After converting my large netbean projects to maven projects, I am having a problem deploying via netbeans.

My ear is being successfully created, and it deploys fine from the registry to glassfish using the admin console.

however when trying to run with netbeas, the gfdeploy ends up doing something strange.

With netbeans projects, the ear modules were copied to directories, so an EJB module name ejbone.jar would be copied as a directory to gfdeploy as ejbone_jar.

When deploying my large ear the gfdeploy directory has BOTH the artifact and exploded versions. Glassfish seems to think I want to deploy the same ejb components multiple times, and so complains and does not deploy the module.

Any idea what might be causing this? Like I said, the EAR produced before trying to run does deploy fine if using the glassfish console. So I don't think it is how the ear is being built - just how the IDE tools in the are trying to deploy it.
Back to top
joelstewart



Joined: 27 Jun 2011
Posts: 2

PostPosted: Mon Jun 27, 2011 6:34 pm    Post subject: Reply with quote

I installed netbeans 6.9.1 and with no changes, the project deploys to glassfish.

So there is a problem with maven deployment in Netbeans 7.
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 612
Location: Simpsonville, SC

PostPosted: Tue Jun 28, 2011 12:40 am    Post subject: Re: Maven EAR deployment - gfdeploy directory issues Reply with quote

Please open an issue in the bug tracker with as much detail as you can provide.

On Mon, Jun 27, 2011 at 2:34 PM, joelstewart <address-removed ([email]address-removed[/email])> wrote:
Quote:
I installed netbeans 6.9.1 and with no changes, the project deploys to glassfish.

So there is a problem with maven deployment in Netbeans 7.







--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
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