Hi Richard,
Hmmm I'm having trouble downloading jars for java mail, jmx, jmxtools
and jmxri. The versions that are referred to no longer exist. When I
exclude the dependencies building the jar goes ok.
It looks like Maven doesn't include the log4j.jar file which may very
well be resolved by adding the maven-assembly plugin as you suggest. I
haven't tried that yet.
It looks like the maven-ejb-plugin doesn't include any jars that are
needed at runtime and that's probably why you get the CNFE at deploy
time. I *guess* the maven-ejb-plugin isn't prepared yet for Java EE6 and
it assumes that all necessary external jars are in an EAR file. But
that's just a guess.
So, the issue that was fixed by Homer is just a side effect that arose
by coincidence :-)
Wouter
On Tue, Mar 16, 2010 at 09:41:02AM +0200, Richard Kolb wrote:
>
> Hi Wouter
>
> On 16 March 2010 09:34, Wouter van Reeven <wouter_at_van.reeven.nl> wrote:
>
> On Tue, Mar 16, 2010 at 09:17:28AM +0200, Richard Kolb wrote:
> > Good question. I suppose you would want the packaging to be different in
> EAR's
> > And the libs to be shared between the WAR and EJB.
> >
> > I created a 'Maven EJB Module' under the Maven Category in 6.8.
>
>
> OK thanks. I'll give the steps you provided a go in a moment.
>
>
> Great. Just be aware the deploy of the Maven EJB may fail on deploy
> intermittently with another message that does not relate to the cause. Also
> this effects GlassFish 2 as well.
> Hong has kindly fixed this issue in 3.1 nightly. So now it will deploy every
> time.
>
> regards
> Richard
>
>
>
>
>
> Wouter
>
>
> --
> King Arthur: [after Arthur's cut off both of the Black Knight's arms] Look,
> you
> stupid Bastard. You've got no arms left.
> Black Knight: Yes I have.
> King Arthur: *Look*!
> Black Knight: It's just a flesh wound.
> [Monty Python and the Holy Grail]
>
> Skype: wvreeven
> Facebook: wvreeven
> Twitter: wvreeven
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
>
--
There are 10 kinds of people in the world. Those that understand
the binary system and those that don't.
[Unknown Source]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven