[jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OWB-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12835162#action_12835162 ] Mark Struberg commented on OWB-286: --- too bad, this slipped into webbeans-core. We have to

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
I have remarked several times about issues related with Java EE 6 dependencies. I emphasize the fact that JSR-299 is a Java EE 6 specification not for Jetty, Tomcat or any other containers that is not Java EE 6. But we are doing the best to run it possible on those containers. But we must not

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
Pretty harsh :-) Not intended :) he 299 spec _require_ validator API Yes. Look at specification 3.6 Additional Beans does weld (candi) also have this *hard* dependency on the javax.validation API ? For weld -- yes

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Matthias Wessendorf
On Thu, Feb 18, 2010 at 2:24 PM, Gurkan Erdogdu cgurkanerdo...@gmail.com wrote: Pretty harsh :-) Not intended :) I know; it wasn't you that wrote the spec :-) he 299 spec _require_ validator API Yes. Look at specification 3.6 Additional Beans does weld (candi) also have this *hard*

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
it says optionaltrue/optional :-) Optional because runtime environment provides this :) IF there is no validation-api it throws ClassNFException as you have got. It means that, if you provide scope as optional and your maven project use it, its optional dependency does not transitively passed to

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Joseph Bergmark
I agree that the 3rd and 4th bullets in 3.6 make this a hard requirement. It seems the tradeoff to me is: 1) Additional complexity of another plugin based approach to avoid this scenario. or 2) Handling of the CNF exception inside OWB with a warning message vs. The user having to bundle an API

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Matthias Wessendorf
exactly On Thu, Feb 18, 2010 at 3:40 PM, Joseph Bergmark bergm...@apache.org wrote: I agree that the 3rd and 4th bullets in 3.6 make this a hard requirement. It seems the tradeoff to me is: 1) Additional complexity of another plugin based approach to avoid this scenario. or 2) Handling of

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Matthias Wessendorf
cgurkanerdo...@gmail.com Betreff: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError:   javax/validation/Validator An: dev@openwebbeans.apache.org Datum: Donnerstag, 18. Februar, 2010 14:33 Uhr it says optionaltrue/optional :-) Optional because runtime environment provides

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Paul J. Reder
not only a cool feature. Actually playing nice with customers (the guys that are supposed to use OWB ;-) ) LieGrue, strub --- Gurkan Erdogducgurkanerdo...@gmail.com schrieb am Do, 18.2.2010: Von: Gurkan Erdogducgurkanerdo...@gmail.com Betreff: Re: [jira] Commented: (OWB-286

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Mark Struberg
(and if you have multiple occurrences of the same log text) LieGrue, strub --- Joseph Bergmark bergm...@apache.org schrieb am Do, 18.2.2010: Von: Joseph Bergmark bergm...@apache.org Betreff: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator An: dev

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
, February 18, 2010 7:58:23 PM Subject: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator +1, but I'm not sure I see the need to remove WebbeansLogger. That provides an abstraction layer on top of whatever logging technology you want to use, which may make

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator I don't buy this. The only Validator imports in weld are under the main/java/org/jboss/weld/bean/builtin/ee/ and this whole package imo only get's used (and classloaded) if you are running in an EE container

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Gurkan Erdogdu
@openwebbeans.apache.org Sent: Thu, February 18, 2010 8:21:22 PM Subject: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator The question is whether we need to wrap a wrapper of a wrapper of ... ;) The java.util.logging.Logger has a few downsides, but along the line

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Matthias Wessendorf
, 18.2.2010: Von: Paul J. Reder rede...@remulak.net Betreff: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError:  javax/validation/Validator An: dev@openwebbeans.apache.org Datum: Donnerstag, 18. Februar, 2010 18:11 Uhr Slightly off-topic, but along these same lines

Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError: javax/validation/Validator

2010-02-18 Thread Matthias Wessendorf
...@remulak.net schrieb am Do, 18.2.2010: Von: Paul J. Reder rede...@remulak.net Betreff: Re: [jira] Commented: (OWB-286) java.lang.NoClassDefFoundError:  javax/validation/Validator An: dev@openwebbeans.apache.org Datum: Donnerstag, 18. Februar, 2010 18:11 Uhr Slightly off-topic, but along