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

Cyrill Rüttimann <[email protected]> Tue, 29 Apr 2008 09:34:51 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
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
J2EEAppBuild.zip (application/zip, 46.9 KB) - not displayed