As i remember, resin has some xml parser problem. Try to change xerces/xalan jar as descried in xfire user guide ( in application server section )
On 10/21/06, Christopher Cheng <[EMAIL PROTECTED]> wrote:
I found out that if I drop the war file to tomcat, everything's working fine but not with Resin 3.0.21. Anybody knows how to make xfire and resin work together? -- Christopher Cheng "Christopher Cheng" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a problem running BookService in the example: > 1) running "mvn install war:war" > 2) copy "xfire-book-1.2.2.war" to resin > 3) running BookClient gives me the following: > It seems that something is wrong with spring, so what have I missed? > > > > Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT) > Copyright(c) 1998-2006 Caucho Technology. All rights reserved. > > Using Resin(R) Open Source under the GNU Public License (GPL). > > See http://www.caucho.com for information on Resin Professional, > including caching, clustering, JNI acceleration, and OpenSSL integration. > > Starting Resin on Sat, 21 Oct 2006 12:00:05 +0800 (CST) > > [12:00:06.500] Server[] starting > [12:00:06.500] > [12:00:06.500] Windows XP 5.1 x86 > [12:00:06.500] Java 1.5.0_07-b03, 32, mixed mode, sharing, Cp1252, en, Sun > Microsystems Inc. > [12:00:06.500] resin.home = C:\Java\resin-3.0.19 > [12:00:06.500] server.root = C:\Java\resin-3.0.19 > [12:00:06.500] > [12:00:06.530] http listening to *:8080 > [12:00:06.560] hmux listening to localhost:6802 > [12:00:06.670] Host[] starting > [12:00:06.790] WebApp[http://localhost:8080] starting > [12:00:07.120] In-place class redefinition (HotSwap) is not available. > In-place class reloading during development requires a compatible JDK > and -Xdebug. > [12:00:07.231] WebApp[http://localhost:8080/xfire-book-1.2.2] starting > [12:00:07.241] Resin started in 1071ms > [12:00:19.478] XFireServlet: init > [12:00:19.699] No beans defined in application context > [org.codehaus.xfire.transport.http.XFireConfigurableServlet$GenericWebApplicationContextX;hashCode=15606519] > [12:00:19.719] JDK 1.4+ collections available > [12:00:19.749] Unable to locate MessageSource with name 'messageSource': > using default > [EMAIL PROTECTED] > [12:00:19.759] Unable to locate ApplicationEventMulticaster with name > 'applicationEventMulticaster': using default > [org.springframework.context.event. > [EMAIL PROTECTED] > [12:00:19.769] Unable to locate ThemeSource with name 'themeSource': using > default > [EMAIL PROTECTED] > 6e39f] > [12:00:19.779] Pre-instantiating singletons in factory > [org.springframework.beans.factory.support.DefaultListableBeanFactory > defining beans []; root o > f BeanFactory hierarchy] > [12:00:19.879] Loading XML bean definitions from class path resource > [org/codehaus/xfire/spring/xfire.xml] > [12:00:19.919] Loading XML bean definitions from class path resource > [org/codehaus/xfire/spring/customEditors.xml] > [12:00:20.420] Loading XML bean definitions from class path resource > [META-INF/xfire/services.xml] > [12:00:20.480] 11 beans defined in application context > [org.codehaus.xfire.spring.GenericApplicationContext;hashCode=12606779] > [12:00:20.640] Unable to locate MessageSource with name 'messageSource': > using default > [EMAIL PROTECTED] > 1fd1] > [12:00:20.640] Unable to locate ApplicationEventMulticaster with name > 'applicationEventMulticaster': using default > [org.springframework.context.event. > [EMAIL PROTECTED] > [12:00:20.640] Pre-instantiating singletons in factory > [org.springframework.beans.factory.support.DefaultListableBeanFactory > defining beans [xfire.cus > tomEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire > .servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,org.codehaus.xfire.spring.ServiceBean]; > parent: org.springframework.beans. > factory.support.DefaultListableBeanFactory defining beans []; root of > BeanFactory hierarchy] > [12:00:20.870] Destroying singletons in factory > {org.springframework.beans.factory.support.DefaultListableBeanFactory > defining beans [xfire.customEdit > orConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servle > tController,xfire.messageServiceFactory,xfire.messageBindingProvider,org.codehaus.xfire.spring.ServiceBean]; > parent: org.springframework.beans.factory > .support.DefaultListableBeanFactory defining beans []; root of BeanFactory > hierarchy} > [12:00:20.880] Error initializing XFireServlet. > [12:00:20.880] > org.springframework.beans.factory.FactoryBeanNotInitializedException: > Error creating bean with name 'org.codehaus.xfire.spring.config.H > andlerFactory': FactoryBean returned null object: probably not fully > initialized (maybe due to circular bean reference) > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForSharedInstance(AbstractBeanFactory.java:819) > [12:00:20.880] at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:1 > 51) > [12:00:20.880] at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:96) > [12:00:20.880] at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:193) > [12:00:20.880] at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109) > > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory > .java:1013) > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:8 > 24) > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345 > ) > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226) > [12:00:20.880] at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) > [12:00:20.880] at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275) > [12:00:20.880] at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320) > [12:00:20.880] at > org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:107) > [12:00:20.880] at > org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41) > [12:00:20.880] at > org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(XFireConfigurableServlet.java:86) > [12:00:20.880] at > org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(XFireConfigurableServlet.java:54) > [12:00:20.880] at > org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45) > [12:00:20.880] at > javax.servlet.GenericServlet.init(GenericServlet.java:69) > [12:00:20.880] at > com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600) > [12:00:20.880] at > com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:97) > [12:00:20.880] at > com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) > [12:00:20.880] at > com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) > [12:00:20.880] at > com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268) > [12:00:20.880] at > com.caucho.server.port.TcpConnection.run(TcpConnection.java:389) > [12:00:20.880] at > com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507) > [12:00:20.880] at com.caucho.util.ThreadPool.run(ThreadPool.java:433) > [12:00:20.880] at java.lang.Thread.run(Thread.java:595) > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-- ----- When one of our products stops working, we'll blame another vendor within 24 hours. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email