« Return to Thread: Re: [nbj2ee] Deploying maven generated ear into GlassFish

Re: [nbj2ee] Deploying maven generated ear into GlassFish

by Andreas Loew :: Rate this Message:

Reply to Author | View in Thread

While I cannot comment on the Mevenide issue, you can still deploy your
EAR app "by hand", set up Glassfish to allow remote debugging (note the
port number), and connect the NB debugger to your Glassfish JVM.

This approach works fine for me.

HTH & best regards,

Andreas


Wouter van Reeven schrieb:

> On Wed, Oct 15, 2008 at 09:27:09AM +0000, pjlehtim wrote:
>> I'm using NetBeans 6.1 and maven to generate ear package from maven project modules. The packaging works fine with Codehaus' mevenide but the deployment fails. The mevenide runs "package org.codehaus.mevenide:netbeans-deploy-plugin:1.2.4:deploy"  goals when I use "run" from the ear project. The package is then deplyed into GlassFish but as an webmodule instead of enterprise application.
>>
>> If I manually depoly the ear package to GlassFish it works but the mevenide deploy fails because the application is ends up into the "Web applications" instead of "Enterprise applications".
>>
>> I don't know how to fix this. I need to run the ear app from NetBeans to enable debugging.
>
> CC-ing the mevenide-users list.

--
Andreas Loew
Java Architect
Sun Microsystems (Germany)


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Re: [nbj2ee] Deploying maven generated ear into GlassFish