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 01FCBDB78 for ; Wed, 20 Jun 2012 07:52:44 +0000 (UTC) Received: (qmail 33048 invoked by uid 500); 20 Jun 2012 07:52:43 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 32981 invoked by uid 500); 20 Jun 2012 07:52:43 -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 32948 invoked by uid 99); 20 Jun 2012 07:52:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 07:52:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id CE56C14285F for ; Wed, 20 Jun 2012 07:52:42 +0000 (UTC) Date: Wed, 20 Jun 2012 07:52:42 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Message-ID: <51878095.33057.1340178762847.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1012978991.28699.1340090082848.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CXF-4387) when I run a "webapp" of CXF in weblogic9.2, it has some errors. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397337#comment-13397337 ] Freeman Fang commented on CXF-4387: ----------------------------------- Hi, I think we can use javac @argfiles also for classpath if classpath is too long, currently we use this mechanism for java source files list already. Freeman > when I run a "webapp" of CXF in weblogic9.2, it has some errors. > ---------------------------------------------------------------- > > Key: CXF-4387 > URL: https://issues.apache.org/jira/browse/CXF-4387 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.2.12 > Environment: windows xp , weblogic9.2 > Reporter: huanqiuwang > Assignee: Freeman Fang > Labels: api-change > > I have found the reason of the problem and I hope you can correct it. > It's my Code; > JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance(); > Client client = factory.createClient("wsdl"); > [error]:IOException during exec() of compiler "javac". Check your path environment variable > javax.xml.bind.JAXBException: "" doesnt contain ObjectFactory.class or index > The errors are result from code that is " p = Runtime.getRuntime().exec(cmdArray)" in the class of "compiler.class" whose method is "internalCompile "; > > The real reason is the commond ---"cmdArray" is so long. > when the commond is in Windows xp ,the length of bat commond is limited. > so when it executes the commond ,the commond is not integrated. > I hope you can issue the "-classpath" in "cmdArray" ,it's too long. > Other Environment work well. > In weblogic the classpath of weblogic is big ,it results in "cmdArray" that is long. > I am sorry that my English is not well. > Thank you -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira