Re: [mevenide-user] EAR-Deployment Version 3.1

"Milos Kleint" <[email protected]> Tue, 13 May 2008 10:08:44 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
hello,

a status update.
I haven't included a fix for this issue in the released 3.1.1 version.
I was not able to figure what's causing the app to expand in
src/main/dist, however I'm sort of suspecting it's the glassfish
support.
in ant projects the path to sources is shorter thanin maven projects,
so I assume they do something like:
"get source root File somehow"
" now go 2 levels up, that's the project root, create a dist folder there"

and that's failing for maven projects. I couldn't find the actual code
that does this though..

Milos

On 4/29/08, Cyrill Rüttimann <[email protected]> wrote:
> Hi Milos,
>
>  Something is wrong with the project(s) you try to deploy. The name should
> be J2EEApp and not TrainingPlatform. I just verified the attachment I sent
> and I can confirm that the right project(s) are in the archive.
>  The screenshot shows the exploded zip archive:
>
>
>
>
>
>   The only thing to do before you can build the projects is to deploy the
> glassfish libraries (Project Glassfish). There is a shell script you have to
> modify for your platform/installation (install.sh). The main project is
> "J2EEAppBuild".
>
>
>  Regards,
>
>  Cyrill
>
>
>
>  On 29.04.2008, at 21:30, Milos Kleint wrote:
>
>
> > Hello Cyrill,
> >
> > I've tried to deploy through the web admin console but it fails for me
> > for some reason. Any idea?
> > see screenshot..
> >
> > Milos
> >
> >
> > On Tue, Apr 29, 2008 at 9:34 AM, Cyrill Rüttimann <[email protected]>
> wrote:
> >
> > > Hello  Milos,
> > >
> > > Please find attached a sample J2EE application which is a stripped down
> > > version of my current project. After successful deployment (I have done
> it
> > > with the admin web application), you can access the application with the
> URL
> > >
> > > http://localhost:8080/J2EEApp/home.xhtml
> > >
> > >
> > > Deployment with glassfish web admin application:
> > > 1) Start glassfish
> > > 2) http://localhost:4848/login.jsf
> > > 3) admin/adminadmin (or your personal credentials)
> > > 4) Enterprise Applications
> > > 5) Deploy...
> > > 6) Choose File
> > > 7) OK
> > >
> > > And you will see the string "helloworld" displayed (apart from the
> template
> > > strings). That's all.
> > >
> > > The directory "src/main/dist/gfdeploy" will be created as soon as you
> > > choose "Run/Debug" on the ear project. For me, it looks like only the
> web
> > > application gets deployed but not the ear itself. You can compare it
> with
> > > the target directory in the ear project.
> > >
> > >
> > > Regards,
> > >
> > > Cyrill
> > >
> > >
> > >
> > >
> > >
> > > On 29.04.2008, at 07:41, Milos Kleint wrote:
> > >
> > >
> > >
> > > > Do you have a sample project demonstrating the problem?
> > > >
> > > > from the  screenshot I have one comment.
> > > > How come you have the dist/gfdeploy folder with all the libraries and
> > > > stuff in the src/main folder? isn't that supposed to be something
> > > > built by maven in the target/ folder?
> > > >
> > > > Milos
> > > >
> > > > On Sun, Apr 27, 2008 at 10:31 PM, Cyrill Rüttimann <[email protected]>
> > > >
> > > wrote:
> > >
> > > >
> > > >
> > > > > Hello,
> > > > >
> > > > >
> > > > > On 27.04.2008, at 17:25, Wouter van Reeven wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > On Sun, Apr 27, 2008 at 02:54:37PM +0200, Cyrill Rüttimann wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Cannot load org.jboss.seam.servlet.SeamFilter
> reason :
> > > > > > > org.jboss.seam.servlet.SeamFilter
> > > > > > > java.lang.ClassNotFoundException:
> org.jboss.seam.servlet.SeamFilter
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Looks like you're missing some Seam jars in your deployment ear.
> Did
> > > > > >
> > > > >
> > > >
> > > you
> > >
> > > >
> > > > >
> > > > > >
> > > > > >
> > > > > add
> > > > >
> > > > >
> > > > > > dependencies on Seam in your web module?
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > The web module only has the web module specific libraries defined as
> a
> > > > > direct dependency. The other libraries are inherited from the ear.
> The
> > > > > ClassNotFoundExceptions are from a library which should/is included
> in
> > > > >
> > > >
> > > the
> > >
> > > >
> > > > > EAR. In the Netbeans Screenshot - it's the exploded ejb-jar
> > > > > "jboss-seam-2.0.1-GA_jar".
> > > > >
> > > > > The dist directory is missing a lot of libraries, but maybe they are
> > > > > inherited from the "Runtime Libraries"?
> > > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > Cyrill
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe from this list, please visit:
> > > > >
> > > > > http://xircles.codehaus.org/manage_email
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe from this list, please visit:
> > > >
> > > >  http://xircles.codehaus.org/manage_email
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe from this list, please visit:
> > >
> > >   http://xircles.codehaus.org/manage_email
> > >
> > >
> > >
> >
> <servererror.png>---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >   http://xircles.codehaus.org/manage_email
> >
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email