Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 50935 invoked from network); 6 Feb 2007 20:46:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 20:46:26 -0000 Received: (qmail 90808 invoked by uid 500); 6 Feb 2007 20:46:33 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 90797 invoked by uid 500); 6 Feb 2007 20:46:33 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 90788 invoked by uid 99); 6 Feb 2007 20:46:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 12:46:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 12:46:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ABB4D7142A6 for ; Tue, 6 Feb 2007 12:46:05 -0800 (PST) Message-ID: <25968676.1170794765700.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 12:46:05 -0800 (PST) From: "Fred Dushin (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-409) samples/streamInterceptor server fails to start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org samples/streamInterceptor server fails to start ----------------------------------------------- Key: CXF-409 URL: https://issues.apache.org/jira/browse/CXF-409 Project: CXF Issue Type: Bug Components: Configuration Affects Versions: 2.0-RC Reporter: Fred Dushin Running off revision 504256, I built a kit and installed it in /tmp. The server fails to start due to a ClassNotFound exception, presumably relating to config: /tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor> ant server Buildfile: build.xml maybe.generate.code: generate.code: [echo] Generating code using wsdl2java... [mkdir] Created dir: /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/build/classes [mkdir] Created dir: /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/build/src [java] wsdl2java -verbose -d /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/build/src /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/wsdl/hello_world.wsdl [java] wsdl2java - 2.0-incubator-RC-SNAPSHOT [touch] Creating /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/build/src/.CODEGEN_DONE compile: [javac] Compiling 17 source files to /private/tmp/cxf/cxf-2.0-incubator-RC-SNAPSHOT/samples/streamInterceptor/build/classes build: server: [java] Starting Server [java] Exception in thread "main" org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.cxf.bus.spring.SpringBusImpl] for bean with name 'cxf' defined in class path resource [server.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.cxf.bus.spring.SpringBusImpl [java] Caused by: java.lang.ClassNotFoundException: org.apache.cxf.bus.spring.SpringBusImpl [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [java] at org.springframework.util.ClassUtils.forName(ClassUtils.java:177) [java] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:313) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:912) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165) [java] at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:687) [java] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:397) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330) [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:71) [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:59) [java] at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:50) [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:67) [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:56) [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:56) [java] at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:66) [java] at javax.xml.ws.Endpoint.publish(Endpoint.java:156) [java] at demo.stream.server.Server.(Server.java:31) [java] at demo.stream.server.Server.main(Server.java:35) [java] Java Result: 1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.