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 D5F2D96AE for ; Tue, 8 May 2012 13:08:10 +0000 (UTC) Received: (qmail 52328 invoked by uid 500); 8 May 2012 13:08:10 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 52312 invoked by uid 500); 8 May 2012 13:08:10 -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 52304 invoked by uid 99); 8 May 2012 13:08:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 13:08:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 13:08:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BEAF043918F for ; Tue, 8 May 2012 13:07:49 +0000 (UTC) Date: Tue, 8 May 2012 13:07:49 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: <677173633.38582.1336482469782.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <595195543.33330.1336375346636.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4291) Wadl2java tool executing by cxf-wadl2java-plugin fails if run without tuning JAVA Garbage Collection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-4291?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D132704= 44#comment-13270444 ]=20 Sergey Beryozkin commented on CXF-4291: --------------------------------------- I agree. I see SourceGenerator does not initialize XmlSchema reference on S= chemaInfo, but only its DOM Element representation. I'll investigate later on what else can be done... =20 > Wadl2java tool executing by cxf-wadl2java-plugin fails if run without tun= ing JAVA Garbage Collection > -------------------------------------------------------------------------= --------------------------- > > Key: CXF-4291 > URL: https://issues.apache.org/jira/browse/CXF-4291 > Project: CXF > Issue Type: Bug > Components: JAX-RS, Tooling > Affects Versions: 2.6 > Reporter: Zebensui M=C3=A9ndez > Attachments: cxf_2_6_0_wadl.zip > > > With several examples tha includes distinct grammars external schemes, th= e wadl2java tool fails if no executed "mvn generate-sources" with memory tu= nning java params. The error message: > =20 > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] Total time: 8.815s > [INFO] Finished at: Mon May 07 08:13:29 BST 2012 > [INFO] Final Memory: 5M/27M > [INFO] ------------------------------------------------------------------= ------ > [ERROR] Failed to execute goal org.apache.cxf:cxf-wadl2java-plugin:2.6.0:= wadl2java (generate-sources) on project cxf_2_6_0_wadl: java.lang.RuntimeEx= ception: No XmlSchema in SchemaInfo -> [Help 1] > [ERROR]=20 > The problem is the class "org.apache.cxf.service.model.SchemaInfo" that u= ses "org.apache.cxf.service.model.SoftReference". This implies that > the garbage collector resets Namespaces declared in a previous import. > Example: > > > =09 > =20 > And the SDMXRestTypes.xsd references SDMXMessage.xsd namespaces. > Executed maven task with for example -Xms512M -Xmx1024M is successful. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira