CDI 1.0 doesn't explicit well how lib part of an ear and webapps communicates

it will be fixed in CDI 1.1 (JavaEE 7 normally)

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2012/12/17 Jukkales <s...@nodch.de>:
> Hm okay, if i put everything in one WAR file and deploy it (exploded) it
> will work.
>
> But why it wont work when i put everything in a EAR? Did you mean that this
> not specified?
>
> 2012/12/15 Romain Manni-Bucau [via OpenEJB] <
> ml-node+s979440n4659669...@n4.nabble.com>
>
>> It will not and this in ear is not specified :s
>> Le 15 déc. 2012 13:27, "Jukkales" <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=4659669&i=0>>
>> a écrit :
>>
>> > Jean-Louis MONTEIRO wrote
>> > > Can you it a try with 1.5.1?
>> >
>> > Did this already, its the same Problem with it.
>> >
>> >
>> >
>> > Jean-Louis MONTEIRO wrote
>> > > Try to copy your jar file to apps and lib folder.
>> >
>> > It dont make a difference. And as i said, if i deploy the ejb-jar and
>> war
>> > exploded and one after other it works. But my Problem is that i cant use
>> > this so.
>> >
>> > My goal is, that the ejb is like a heartbeat timer. It will fire CDI
>> > Events,
>> > and classes in the WAR will observe these Events. But this can only work
>> if
>> > the ejb and the war are in the same context. As i know, if there are
>> > deployed independent it wont work (correct me if im wrong)
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://openejb.979440.n4.nabble.com/TomEE-EAR-Cannot-locate-the-class-from-the-codebase-tp4659658p4659668.html
>>
>> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>> >
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://openejb.979440.n4.nabble.com/TomEE-EAR-Cannot-locate-the-class-from-the-codebase-tp4659658p4659669.html
>>  To unsubscribe from TomEE: EAR: Cannot locate the class from the
>> codebase, click 
>> here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4659658&code=c2hAbm9kY2guZGV8NDY1OTY1OHw3NjUyNzE0Ng==>
>> .
>> NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> --
> *Steffen Herrmann*
> nodch.de
> Roonstraße 9
> 38102 Braunschweig
> Germany
> Tel: +49 178 97 00 767
> s...@nodch.de
> www.nodch.de
> Chat *ICQ: 784548 Skype: jukkales*
> Social Media *Twitter: @Jukkales <https://twitter.com/#%21/Jukkales>*
>
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/TomEE-EAR-Cannot-locate-the-class-from-the-codebase-tp4659658p4659754.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to