Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 46637 invoked from network); 9 Feb 2007 08:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 08:21:27 -0000 Received: (qmail 49912 invoked by uid 500); 9 Feb 2007 08:21:34 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 49770 invoked by uid 500); 9 Feb 2007 08:21:34 -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 49751 invoked by uid 99); 9 Feb 2007 08:21:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 00:21:34 -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; Fri, 09 Feb 2007 00:21:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 38E3241095E for ; Fri, 9 Feb 2007 00:21:06 -0800 (PST) Message-ID: <23720909.1171009266231.JavaMail.jira@brutus> Date: Fri, 9 Feb 2007 00:21:06 -0800 (PST) From: "Bozhong Lin (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Assigned: (CXF-409) samples/streamInterceptor server fails to start In-Reply-To: <25968676.1170794765700.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozhong Lin reassigned CXF-409: ------------------------------- Assignee: unrealjiang > 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 > Assigned To: unrealjiang > > 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.