On Mar 5, 2009, at 8:24 AM, Ricardo Peironcely wrote:
I've found my error, but i don't know how to solve it.
I'm working with eclipse geronimo adapter. And when I define the
modules in geronimo-application.xml i wrote:
<app:module>
<app:web>PruebaGeronimoWeb.war</app:web>
<app:alt-dd>PruebaGeronimoWeb.war</app:alt-dd>
</app:module>
<app:module>
<app:jar>PruebaGeronimoEjb.ejb</app:jar>
<app:alt-dd>PruebaGeronimoEjb.jar</app:alt-dd>
</app:module>
The error raises when try to open the jar file as an xml because is
referenced by the <alt-dd> tag.
But I don't know what write in this <alt-dd> tag. Must I create any
new file in the EAR package? Is not enough with the openejb-jar.xml
from EJB jar and geronimo-web.xml from WAR?
- if you have individual module plans (openejb-jar.xml and geronimo-
web.xml) in the modules you should be able to completely leave out
both app:module elements
- I prefer to have all my geronimo configuration in one place. In
this case you would put the content of the module plans inside the
app:module elements in place of the app:alt-dd element. I actually
prefer to keep this single plan outside my ear file but this is
certainly not necessary.
thanks
david jencks
Best regards and thanks.
Ricardo Peironcely
2009/3/4 Kevan Miller <[email protected]>:
On Mar 4, 2009, at 3:25 PM, Ricardo Peironcely wrote:
Hello all!!
I've a problem with a very simple application.
I've developed an war with a simple JSP that uses a simple method
in a
class of the same project. This class invoques a Stateless 3.0 EJB
that always return hello world. The application is packed in an EAR.
When I try to deply this app in Geronimo 2.1.3 with the "Deploy New"
option in the console, always get the same error:
That's certainly not a very helpful error message. Can you tell us
what's in
your EAR file? Or, can you share your EAR file with us?
--kevan