geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Hryniszak (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR
Date Fri, 07 Nov 2008 17:52:46 GMT


Matthias Hryniszak commented on GERONIMODEVTOOLS-214:


I was trying to get Geronimo 2.1.3 w/ Eclipse 3.4.1 and Geronimo Server Adapter 2.1.3 for
the last 2 days now and I think I might have some idea what's wrong. Here's what I've observed:

1. Install everything as stated in the Geronimo Wiki tutorials
2. Created and EAR project with an EJB part and a WEB application.
3. Create a @Stateless session bean inside the EJB project that's used from within a servlet
in the WEB application (you have to add the EJB project to libraries that are recognized by
WEB project). Use that bean @EJB annotation to get it injected.
4. Try to deploy it using "Add and Remove Projects..."
5. Start the application.
6. Optional: if you've disabled automatic project deployment you'll have to do it manually.

Now in just a few seconds after publishing starts you'll get an error message stating that
the deployment was unsuccessful. You can also observe that the actual _EAR_ file is in fact
a _ZIP_ file (observe "workspace/.metadata/.plugins/
Geronimo v2.1 Server at localhost/

If you'd take the same zip file (named here with, rename it to _project_name_.ear
and use the web console to deploy it everything works just fine. Else if you don't change
the extension from .zip to .ear you'll see the exact same error message that you get when
deploying from Eclipse.

I hope it helps.

> Fictional deployment of EJB-JAR
> -------------------------------
>                 Key: GERONIMODEVTOOLS-214
>                 URL:
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.0.0
>         Environment: Geronimo 2.0.1
>            Reporter: Tomasz Mazan
>            Assignee: Tim McConnell
>         Attachments: deployed jar view.jpg, deploying view.jpg, geronimo console view.jpg,
project view.jpg,
> When I'm deploying my EJB project, Server Views shows it as deployed, but there no any
activity trail on Geronimo.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message