Results 1 to 3 of 3

Thread: Problem deploying two Tiles applications to same server

  1. #1
    Join Date
    Nov 2004
    Posts
    7

    Default 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. #2
    Join Date
    Jul 2005
    Posts
    246

    Default

    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

  3. #3
    Join Date
    Jul 2005
    Posts
    246

    Default

    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

Similar Threads

  1. Problem in deploying Contacts in BEA WLS 8.1
    By Savrak in forum Security
    Replies: 9
    Last Post: Dec 7th, 2005, 12:09 PM
  2. Replies: 6
    Last Post: Sep 29th, 2005, 04:25 AM
  3. Spring-app on WAS Server in Debug mode problem
    By lovkiys in forum Container
    Replies: 1
    Last Post: Jun 2nd, 2005, 06:05 AM
  4. HttpInvoker server side deserialization problem
    By JohnDoeKyrgyz in forum Remoting
    Replies: 1
    Last Post: May 12th, 2005, 08:48 AM
  5. Deploying Spring Applications
    By gaugat in forum Web
    Replies: 3
    Last Post: Aug 13th, 2004, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •