It looks CXF doesn’t follow the @PostConstruct instruction[1].

[1]https://docs.oracle.com/javaee/7/api/javax/annotation/PostConstruct.html


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On November 15, 2014 at 1:41:03 AM, sab12in (sab1...@yahoo.co.in) wrote:
> Hi,
>  
> I have both cxf-rt-transports-http,cxf-rt-transports-http-jetty jar and now
> i get the following exception.
>  
>  
>  
> Exception while deploying the app [camel-example-reportincident-2.14.0] :
> The lifecycle method [finalizeConfig] must not throw a checked exception.
> Related annotation information: annotation
> [@javax.annotation.PostConstruct()] on annotated element [public void
> org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.finalizeConfig()  
> throws java.security.GeneralSecurityException,java.io.IOException] of type  
> [METHOD]. Please see server.log for more details.
> Thanks and Regards,
> Sabyasachi
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CXF-webservice-deployment-on-glassfish-tp5758405p5759153.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to