Results 1 to 5 of 5

Thread: conflict between hessian remoting and <mvc:annotation-driven />

Threaded View

  1. #1

    Default conflict between hessian remoting and <mvc:annotation-driven />

    I have declared some expose bean,
    Code:
    	<bean name="/CoreChecklistService" class="org.springframework.remoting.caucho.HessianServiceExporter">
    		<property name="service" ref="coreChecklistService" />
    		<property name="serviceInterface" value="it.ubiss.gedi.gfs.service.CoreChecklistService" />
    	</bean>
    Now I need to declare a spring controller and add <mvc:annotation-driven />

    So remoting bean are not more reachable.
    Why????

    Web.xml
    Code:
    <servlet>
    		<servlet-name>remoting-servlet</servlet-name>
    		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    		<init-param>
    			<param-name>contextConfigLocation</param-name>
    			<param-value>
    				/WEB-INF/spring/application-config.xml
    			</param-value>
    		</init-param>
    		<load-on-startup>1</load-on-startup>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>remoting-servlet</servlet-name>
    		<url-pattern>/hessianRemoting/*</url-pattern>
    	</servlet-mapping>
    Last edited by luca.preziati; Jun 24th, 2011 at 06:38 AM.

Tags for this Thread

Posting Permissions

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