Announcement Announcement Module
Collapse
No announcement yet.
Problem deploying two Tiles applications to same server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem deploying two Tiles applications to same server

    I have two web applications using Spring & Tiles that won't co-habit the same server. I'm using Orion 2.0.6. I suspect the problem is due to Tiles as the end JSPs work perfectly.

    I can run either application in isolation - it's when they are deployed together that I get the following error message.
    Code:
    500 Internal Server Error
    
    org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'ssaccQueueView' must be of type [org.springframework.web.servlet.View], but was actually of type [org.springframework.web.servlet.view.tiles.TilesView]
    
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:245)
    
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:151)
    
    	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:557)
    
    	at org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:131)
    
    	at org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:141)
    
    	at org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:79)
    
    	at org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:950)
    
    	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:909)
    
    	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:705)
    
    	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
    
    	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
    
    	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
    
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
    
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._ha.doFilter(Unknown Source)
    
    	at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:84)
    
    	at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:182)
    
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._gz.doFilter(Unknown Source)
    
    	at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:305)
    
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._gz.doFilter(Unknown Source)
    
    	at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:226)
    
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._csb._pud(Unknown Source)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._csb._bqc(Unknown Source)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._ax._ltc(Unknown Source)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._ax._ucb(Unknown Source)
    
    	at com.evermind[Orion/2.0.6 (build 11252)]._bf.run(Unknown Source)
    ...where the bean in question is a view defined in views.properties.

    Whichever application I access first runs OK, but the second one always gives this message when accessing a Tiles view. This seems strange as View is a super interface of TilesView.

    Both applications are 100% separate, all libraries are deployed within each ear file. There is no crossover on configuration files.

    I'm sure it must be something to do with classloading or some static class thats hanging around in both applications.

    Has anyone else managed to successfully deploy two Tiles applications to Orion?

    Thanks

    Paul

  • #2
    Not yet, but I'm about to start work on two apps that will be being deployed on one OracleAS 9.0.4 instance (basically Orion) so am no doubt about to come across this problem.

    I'll monitor this thread and post any solutions I find.

    Bob

    Comment


    • #3
      OK, I decided not to go with Tiles in the end. However, I do have two applications working on OracleAS 9.0.4 using Spring and it's working fine. No conflicts at all.

      Bob

      Comment

      Working...
      X