[VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Willem Jiang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Once again, there have been a bunch of bug fixes and enhancements that
have been done compared to the 2.1.2 release.   Over 51 JIRA issues
are resolved for 2.1.3.

List of issues:
https://issues.apache.org/jira/browse/CXF/fixforversion/12313354

The staging area is at:
http://people.apache.org/~ningjiang/stage_cxf/2.1.3

The distributions are in the "dist" directory. The "maven" directory
contains the stuff that will by pushed to the central repository.

This release is tagged at:
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3


Here is my +1.   The vote will be open here for at least 72 hours.

Willem
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj3RZMACgkQI1CSmK6N6eQjugCfTRF0/8ITShj5jBWz5AqqTEko
kjEAnAjOhm3LVyc2ZJoY8ZA8E1WSo8Jb
=bSq2
-END PGP SIGNATURE-


Re: How to support inheritance ?

2008-10-16 Thread Sergey Beryozkin

Hi,

Please consider switching to jax-rs. Perhaps seeing the other cxf jax-rs pioneers struggling to make things working with our JAX-RS 
being involved is not very encouraging :-), it's still a better move. We'll get the JAX-RS issues sorted out eventually and I reckon 
that the inhertitance is supported quite well in our JAX-RS impl...


Cheers, Sergey



Hi,

For testing purposes, I made a minor change to the
apache-cxf-2.1\samples\restful_http_binding example. I made the
Customer.class extend from a SuperCustomer.class.

package demo.restful.server;
public class SuperCustomer {
   protected String username;

   public String getUserName() {
   return username;
   }

   public void setUserName(String name) {
   this.username = name;
   }
}

Now when I execute "wget --post-file add.json
http://localhost:8080/json/customers";, I get the following exception. What
needs to be changed to fix this issue ?

Thanks,
Praveen


Oct 14, 2008 7:18:00 PM
org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage
INFO: Invoking POST on /customers
Oct 14, 2008 7:18:00 PM
org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor
handleMessage
INFO: URIParameterInterceptor handle message on path [/customers] with
content-type [application/x-www-form-urlencoded]
Oct 14, 2008 7:18:00 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.NullPointerException
   at
org.apache.cxf.binding.http.IriDecoderHelper.interopolateParams(IriDecoderHelper.java:306)
   at
org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor.mergeParams(URIParameterInInterceptor.java:122)
   at
org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor.handleMessage(URIParameterInInterceptor.java:103)
   at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
   at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:280)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:254)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
   at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
   at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
   at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:324)
   at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
   at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
   at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
   at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Oct 14, 2008 7:18:00 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.IllegalStateException: Invalid JSON namespace:
http://cxf.apache.org/bindings/xformat
   at
org.codehaus.jettison.mapped.MappedNamespaceConvention.getJSONNamespace(MappedNamespaceConvention.java:151)
   at
org.codehaus.jettison.mapped.MappedNamespaceConvention.createKey(MappedNamespaceConvention.java:158)
   at
org.codehaus.jettison.mapped.MappedXMLStreamWriter.writeStartElement(MappedXMLStreamWriter.java:239)
   at
org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:204)
   at
org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:61)
   at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
   at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)
   at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
   at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:280)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:254)
   at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
   at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
   at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
   at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.

Re: [VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Ulhas Bhole

+1,

-- Ulhas
Willem Jiang wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Once again, there have been a bunch of bug fixes and enhancements that
have been done compared to the 2.1.2 release.   Over 51 JIRA issues
are resolved for 2.1.3.

List of issues:
https://issues.apache.org/jira/browse/CXF/fixforversion/12313354

The staging area is at:
http://people.apache.org/~ningjiang/stage_cxf/2.1.3

The distributions are in the "dist" directory. The "maven" directory
contains the stuff that will by pushed to the central repository.

This release is tagged at:
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3


Here is my +1.   The vote will be open here for at least 72 hours.

Willem
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj3RZMACgkQI1CSmK6N6eQjugCfTRF0/8ITShj5jBWz5AqqTEko
kjEAnAjOhm3LVyc2ZJoY8ZA8E1WSo8Jb
=bSq2
-END PGP SIGNATURE-
  




Re: [VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Benson Margulies
+1

On Thu, Oct 16, 2008 at 10:10 AM, Ulhas Bhole <[EMAIL PROTECTED]> wrote:
> +1,
>
> -- Ulhas
> Willem Jiang wrote:
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>>
>> Once again, there have been a bunch of bug fixes and enhancements that
>> have been done compared to the 2.1.2 release.   Over 51 JIRA issues
>> are resolved for 2.1.3.
>>
>> List of issues:
>> https://issues.apache.org/jira/browse/CXF/fixforversion/12313354
>>
>> The staging area is at:
>> http://people.apache.org/~ningjiang/stage_cxf/2.1.3
>>
>> The distributions are in the "dist" directory. The "maven" directory
>> contains the stuff that will by pushed to the central repository.
>>
>> This release is tagged at:
>> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3
>>
>>
>> Here is my +1.   The vote will be open here for at least 72 hours.
>>
>> Willem
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.8 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkj3RZMACgkQI1CSmK6N6eQjugCfTRF0/8ITShj5jBWz5AqqTEko
>> kjEAnAjOhm3LVyc2ZJoY8ZA8E1WSo8Jb
>> =bSq2
>> -END PGP SIGNATURE-
>>
>
>


[DOSGi] Patch for CXF-1876

2008-10-16 Thread David Bosschaert
Hi all,

I've attached a patch to https://issues.apache.org/jira/browse/CXF-1876
Would greatly appreciate if someone could apply the patch.

Cheers,

David


RE: [DOSGi] Patch for CXF-1876

2008-10-16 Thread Eoghan Glynn

Thanks David, applied.
Cheers,
Eoghan

-Original Message-
From: David Bosschaert [mailto:[EMAIL PROTECTED]
Sent: Thu 16/10/2008 12:03
To: dev@cxf.apache.org
Subject: [DOSGi] Patch for CXF-1876
 
Hi all,

I've attached a patch to https://issues.apache.org/jira/browse/CXF-1876
Would greatly appreciate if someone could apply the patch.

Cheers,

David



[DOSGi] Fix for CXF-1873

2008-10-16 Thread David Bosschaert
Hi all,

I've attached a patch to https://issues.apache.org/jira/browse/CXF-1873
Would appreciate if someone could apply.

Thanks,

David


Re: [VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Daniel Kulp

I have to say -1.

The release notes were not updated and still say 2.1.2 and don't list the 
things fixed in 2.1.3, etc

That said, it might be best to wait till tomorrow afternoon to re-spin 2.1.3 
or back out my last commit off of 2.1.x. I'm seeing a strange behavior 
with ws-rm right now.   By really making responses asynchronous instead 
of "synchronous, but on a background thread", I think the partial responses 
are actually coming in after some of the real messages or something.   Not 
really sure yet.   Still digging.

Dan


On Thursday 16 October 2008 9:46:25 am Willem Jiang wrote:
> Once again, there have been a bunch of bug fixes and enhancements that
> have been done compared to the 2.1.2 release.   Over 51 JIRA issues
> are resolved for 2.1.3.
>
> List of issues:
> https://issues.apache.org/jira/browse/CXF/fixforversion/12313354
>
> The staging area is at:
> http://people.apache.org/~ningjiang/stage_cxf/2.1.3
>
> The distributions are in the "dist" directory. The "maven" directory
> contains the stuff that will by pushed to the central repository.
>
> This release is tagged at:
> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3
>
>
> Here is my +1.   The vote will be open here for at least 72 hours.
>
> Willem



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog


Re: [VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Willem Jiang
Hi Dan,

I just added a wiki page[1] of  CXF 2.1.3 release note, please feel free
to add some documents about the your asynchronous client API and some
import changes in CXF 2.1.3.

Now I revert this vote, and will re-spin 2.1.3 this weekend.

[1]
http://cwiki.apache.org/confluence/display/CXF/Apache+CXF+2.1.3+Release+Notes

Willem

Daniel Kulp wrote:
> I have to say -1.
> 
> The release notes were not updated and still say 2.1.2 and don't list the 
> things fixed in 2.1.3, etc
> 
> That said, it might be best to wait till tomorrow afternoon to re-spin 2.1.3 
> or back out my last commit off of 2.1.x. I'm seeing a strange behavior 
> with ws-rm right now.   By really making responses asynchronous instead 
> of "synchronous, but on a background thread", I think the partial responses 
> are actually coming in after some of the real messages or something.   Not 
> really sure yet.   Still digging.
> 
> Dan
> 
> 
> On Thursday 16 October 2008 9:46:25 am Willem Jiang wrote:
>> Once again, there have been a bunch of bug fixes and enhancements that
>> have been done compared to the 2.1.2 release.   Over 51 JIRA issues
>> are resolved for 2.1.3.
>>
>> List of issues:
>> https://issues.apache.org/jira/browse/CXF/fixforversion/12313354
>>
>> The staging area is at:
>> http://people.apache.org/~ningjiang/stage_cxf/2.1.3
>>
>> The distributions are in the "dist" directory. The "maven" directory
>> contains the stuff that will by pushed to the central repository.
>>
>> This release is tagged at:
>> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3
>>
>>
>> Here is my +1.   The vote will be open here for at least 72 hours.
>>
>> Willem
> 
> 
> 



Re: [VOTE] Release Apache CXF 2.1.3

2008-10-16 Thread Christian Schneider

+1

Willem Jiang schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Once again, there have been a bunch of bug fixes and enhancements that
have been done compared to the 2.1.2 release.   Over 51 JIRA issues
are resolved for 2.1.3.

List of issues:
https://issues.apache.org/jira/browse/CXF/fixforversion/12313354

The staging area is at:
http://people.apache.org/~ningjiang/stage_cxf/2.1.3

The distributions are in the "dist" directory. The "maven" directory
contains the stuff that will by pushed to the central repository.

This release is tagged at:
http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.3


Here is my +1.   The vote will be open here for at least 72 hours.

Willem
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj3RZMACgkQI1CSmK6N6eQjugCfTRF0/8ITShj5jBWz5AqqTEko
kjEAnAjOhm3LVyc2ZJoY8ZA8E1WSo8Jb
=bSq2
-END PGP SIGNATURE-

  



--

Christian Schneider
---
http://www.liquid-reality.de