Announcement Announcement Module
Collapse
No announcement yet.
Virgo 2.1.1 problem with splash application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Virgo 2.1.1 problem with splash application

    Hi, I made one spring + flex + osgi application, and everything works OK.
    But in my dependencies for flex integration I have: com.springsource.org.apache.xalan-2.7.1.jar

    Problem is when I have this bundle in repository/usr/ Virgo splash application is not working

    Code:
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    	org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
    	org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:72)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:938)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:890)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:286)
    	org.springframework.web.servlet.DispatcherServlet.createDefaultStrategy(DispatcherServlet.java:679)
    	org.springframework.web.servlet.DispatcherServlet.getDefaultStrategies(DispatcherServlet.java:648)
    	org.springframework.web.servlet.DispatcherServlet.initHandlerAdapters(DispatcherServlet.java:479)
    	org.springframework.web.servlet.DispatcherServlet.initStrategies(DispatcherServlet.java:337)
    	org.springframework.web.servlet.DispatcherServlet.onRefresh(DispatcherServlet.java:325)
    	org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:526)
    	org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:1)
    	org.springframework.context.event.GenericApplicationListenerAdapter.onApplicationEvent(GenericApplicationListenerAdapter.java:50)
    	org.springframework.context.event.SourceFilteringListener.onApplicationEventInternal(SourceFilteringListener.java:97)
    	org.springframework.context.event.SourceFilteringListener.onApplicationEvent(SourceFilteringListener.java:68)
    	org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
    	org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
    	org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
    	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
    	org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)
    	org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
    	org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
    	org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
    	org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    	javax.servlet.GenericServlet.init(GenericServlet.java:212)
    	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	org.eclipse.virgo.web.tomcat.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:29)
    	org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
    	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    	org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    	java.lang.Thread.run(Thread.java:662)
    
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    	javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:108)
    	org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter.<init>(AbstractXmlHttpMessageConverter.java:48)
    	org.springframework.http.converter.xml.SourceHttpMessageConverter.<init>(SourceHttpMessageConverter.java:45)
    	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.<init>(AnnotationMethodHandlerAdapter.java:171)
    	sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
    	org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:72)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:938)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:890)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
    	org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:286)
    	org.springframework.web.servlet.DispatcherServlet.createDefaultStrategy(DispatcherServlet.java:679)
    	org.springframework.web.servlet.DispatcherServlet.getDefaultStrategies(DispatcherServlet.java:648)
    	org.springframework.web.servlet.DispatcherServlet.initHandlerAdapters(DispatcherServlet.java:479)
    	org.springframework.web.servlet.DispatcherServlet.initStrategies(DispatcherServlet.java:337)
    	org.springframework.web.servlet.DispatcherServlet.onRefresh(DispatcherServlet.java:325)
    	org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:526)
    	org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:1)
    	org.springframework.context.event.GenericApplicationListenerAdapter.onApplicationEvent(GenericApplicationListenerAdapter.java:50)
    	org.springframework.context.event.SourceFilteringListener.onApplicationEventInternal(SourceFilteringListener.java:97)
    	org.springframework.context.event.SourceFilteringListener.onApplicationEvent(SourceFilteringListener.java:68)
    	org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
    	org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
    	org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
    	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
    	org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)
    	org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
    	org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
    	org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
    	org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
    	javax.servlet.GenericServlet.init(GenericServlet.java:212)
    	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	org.eclipse.virgo.web.tomcat.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:29)
    	org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
    	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    	org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    	java.lang.Thread.run(Thread.java:662)
    If I remove this bundle my flex integration is not working

  • #2
    I find one solution:

    I copy bundle (com.springsource.org.apache.xalan-2.7.1.jar) to server/lib/ directory
    and edit java6-server.profile file, in section org.osgi.framework.bootdelegation I added next two lines:

    Code:
    org.apache.xalan.*,\
    org.apache.xerces.*,\
    Last edited by maxogm; Aug 28th, 2011, 08:13 AM.

    Comment

    Working...
    X