[jira] [Assigned] (CXF-7599) The apache-cxf-3.2.1-features.xml for karaf OSGi is not correct enough

2018-01-05 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned CXF-7599:
-

Assignee: Freeman Fang

> The apache-cxf-3.2.1-features.xml for karaf OSGi is not correct enough
> --
>
> Key: CXF-7599
> URL: https://issues.apache.org/jira/browse/CXF-7599
> Project: CXF
>  Issue Type: Bug
>  Components: OSGi
>Affects Versions: 3.2.0, 3.2.1
> Environment: Java 8
>Reporter: Xilai Dai
>Assignee: Freeman Fang
>
> Start karaf 4.1.3 or 4.2.0.M1 container, try to install cxf-jaxrs-cdi feature:
> feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.2.1/xml/features
> feature:install cxf-jaxrs-cdi
> 100 │ Active   │  80 │ 1.0.0.RC2│ OPS4J Pax CDI Bean Bundle API
> 101 │ Active   │  80 │ 1.0.0.SNAPSHOT   │ OPS4J Pax CDI Bean Bundle API
> 102 │ Active   │  80 │ 1.0.0.RC2│ OPS4J Pax CDI Extender for Bean 
> Bundles
> 103 │ Resolved │  80 │ 1.0.0.SNAPSHOT   │ OPS4J Pax CDI Extender for Bean 
> Bundles
> 104 │ Active   │  80 │ 1.0.0.RC2│ OPS4J Pax CDI Portable Extension 
> for OSGi
> 105 │ Active   │  80 │ 1.0.0.SNAPSHOT   │ OPS4J Pax CDI Portable Extension 
> for OSGi
> 106 │ Active   │  80 │ 1.0.0.RC2│ OPS4J Pax CDI Service Provider 
> Interface
> 107 │ Active   │  80 │ 1.0.0.SNAPSHOT   │ OPS4J Pax CDI Service Provider 
> Interface
> 108 │ Active   │  80 │ 1.0.0.RC2│ OPS4J Pax CDI Weld Adapter
> There are multi versions of CDI bundles are installed (1.0.0.RC2, 
> 1.0.0.SNAPSHOT), which is not expected. the cause is this repository 
> statement in the apache-cxf-3.2.1-features.xml
> mvn:org.ops4j.pax.cdi/pax-cdi-features/[1.0.0.RC1,2)/xml/features
> It states pax-cdi-features as version range insteadof real version normally.
> The other failed test case is, when you try to adding some CXF 3.2.1 features 
> into custom container using karaf-maven-plugin, you will have ERROR:
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.1.4:features-add-to-repository 
> (add-features-to-repo)
>  on project talend-esb: Error populating repository: Can't resolve artifact 
> org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1.0.0
> .RC1,2): Could not find artifact 
> org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1.0.0.RC1,2) in 
> springsource.release (http://rep
> ository.springsource.com/maven/bundles/release)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (CXF-7567) Unable to resolve pax-cdi-features when trying to build Karaf feature repo with apache-cxf feature

2018-01-05 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-7567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned CXF-7567:
-

Assignee: Freeman Fang

> Unable to resolve pax-cdi-features when trying to build Karaf feature repo 
> with apache-cxf feature
> --
>
> Key: CXF-7567
> URL: https://issues.apache.org/jira/browse/CXF-7567
> Project: CXF
>  Issue Type: Bug
>  Components: OSGi
>Affects Versions: 3.2.0, 3.2.1
>Reporter: Matej Ferencak
>Assignee: Freeman Fang
>
> Since version 3.2.0, there is a problem in OSGI Karaf feature apache-cxf.
> The issue is caused by changes introduced in CXF-7060.
> Two symptoms: 
> 1. Installing CXF in Karaf at runtime - see [last 
> comment|https://issues.apache.org/jira/browse/CXF-7060?focusedCommentId=16240130&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16240130]
>  in the issue.
> 2. Creating the Karaf feature repository which includes CXF - see 
> [pom.xml|https://gist.github.com/matejf/55ee928a37a6affb90f040a9fad50bae] and 
> try to compile with maven. 
> Reverting to CXF 3.1.4 works.
> Using CXF 3.2.0 results in an error:
> {{Failure to find 
> org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1.0.0.RC1,2)}}
> As already noted in CXF-7060 comment, the problem is line 21 of features.xml:
> {{mvn:org.ops4j.pax.cdi/pax-cdi-features/[1.0.0.RC1,2)/xml/features}}
> Not sure if  tag supports version range like that?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CXF-7604) Change to "Error occurred during error handling, give up!" message

2018-01-05 Thread Andy McCright (JIRA)
Andy McCright created CXF-7604:
--

 Summary: Change to "Error occurred during error handling, give 
up!" message
 Key: CXF-7604
 URL: https://issues.apache.org/jira/browse/CXF-7604
 Project: CXF
  Issue Type: Bug
  Components: Core
Affects Versions: 3.2.1, 3.1.14
Reporter: Andy McCright
Priority: Minor


One of our users complained about the message "Error occurred during error 
handling, give up!" that is output from AbstractFaultChainInitiatorObserver.  
The complaint is that it sounds like the message is telling the user to give 
up, rather than alerting them that error handling process is aborting due to an 
unexpected failure.  

It looks like that message is hardcoded into the Java source instead of loaded 
from the Messages.properties file, so this should probably change to.  I'd like 
to suggest that we change the message to something like this:

_An unexpected error occurred during error handling.  No further error 
processing will occur._

Please comment if you have strong opinions on the proposed wording or have 
other suggestions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (CXF-7604) Change to "Error occurred during error handling, give up!" message

2018-01-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16314006#comment-16314006
 ] 

ASF GitHub Bot commented on CXF-7604:
-

andymc12 opened a new pull request #364: CXF-7604 Refine error message during 
error handling
URL: https://github.com/apache/cxf/pull/364
 
 
   Use Messages.properties and change message to better indicate that an
   error occurred during error handling, preventing further action.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Change to "Error occurred during error handling, give up!" message
> --
>
> Key: CXF-7604
> URL: https://issues.apache.org/jira/browse/CXF-7604
> Project: CXF
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 3.1.14, 3.2.1
>Reporter: Andy McCright
>Priority: Minor
>
> One of our users complained about the message "Error occurred during error 
> handling, give up!" that is output from AbstractFaultChainInitiatorObserver.  
> The complaint is that it sounds like the message is telling the user to give 
> up, rather than alerting them that error handling process is aborting due to 
> an unexpected failure.  
> It looks like that message is hardcoded into the Java source instead of 
> loaded from the Messages.properties file, so this should probably change to.  
> I'd like to suggest that we change the message to something like this:
> _An unexpected error occurred during error handling.  No further error 
> processing will occur._
> Please comment if you have strong opinions on the proposed wording or have 
> other suggestions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)