Announcement Announcement Module
No announcement yet.
Problem deploying two Tiles applications to same server Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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.
    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.web.servlet.view.ResourceBundleViewResolver.loadView(
    	at org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(
    	at org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(
    	at org.springframework.web.servlet.DispatcherServlet.resolveViewName(
    	at org.springframework.web.servlet.DispatcherServlet.render(
    	at org.springframework.web.servlet.DispatcherServlet.doDispatch(
    	at org.springframework.web.servlet.DispatcherServlet.doService(
    	at org.springframework.web.servlet.FrameworkServlet.processRequest(
    	at org.springframework.web.servlet.FrameworkServlet.doGet(
    	at javax.servlet.http.HttpServlet.service(
    	at javax.servlet.http.HttpServlet.service(
    	at javax.servlet.http.HttpServlet.service(
    	at com.evermind[Orion/2.0.6 (build 11252)]._ha.doFilter(Unknown Source)
    	at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(
    	at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(
    	at com.evermind[Orion/2.0.6 (build 11252)]._gz.doFilter(Unknown Source)
    	at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(
    	at com.evermind[Orion/2.0.6 (build 11252)]._gz.doFilter(Unknown Source)
    	at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(
    	at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(
    	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)] Source)
    ...where the bean in question is a view defined in

    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?



  • #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.



    • #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.