Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19B001081B for ; Tue, 7 Jan 2014 10:38:06 +0000 (UTC) Received: (qmail 9269 invoked by uid 500); 7 Jan 2014 10:38:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 8969 invoked by uid 500); 7 Jan 2014 10:38:02 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 8868 invoked by uid 99); 7 Jan 2014 10:37:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 10:37:57 +0000 Date: Tue, 7 Jan 2014 10:37:57 +0000 (UTC) From: "Devang Ganatra (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5483) Facing issue while deploying CXF 2.7.8 Rest Web service on Glassfish 4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Devang Ganatra created CXF-5483: ----------------------------------- Summary: Facing issue while deploying CXF 2.7.8 Rest Web service on Glassfish 4 Key: CXF-5483 URL: https://issues.apache.org/jira/browse/CXF-5483 Project: CXF Issue Type: Bug Components: JAX-RS Affects Versions: 2.7.8 Environment: Glassfih 4 & 3.1.2 Reporter: Devang Ganatra Hi, I want to deploy Rest Web Service created with CXF 2.7.8 to Glassfish 4. However I am getting below error. Caused by: 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]. I am able to load my application on Glassfish 3.1.2, however I want to use JAX-RS 2.0 and if I load my application on Glassfish 3.1.2 then it creates problem, because Glassfish 3.1.2 has Jersey1.x which implement JAXRS1.0. So i would like to know weather CXF2.7.8 supports glassfish 4 or not? If it doesn't support glassfish4 then how do I make sure that Glassfish 3 jersey implementation doesn't clash with CXF JAX-RS implementation. I tried setting JVM option in glassfish 3, however that didn't work as well. -Dcom.sun.enterprise.overrideablejavaxpackages=javax.ws.rs,javax.ws.rs.core,javax.ws.rs.ext -- This message was sent by Atlassian JIRA (v6.1.5#6160)