Hi Matt,

Thank you for your amazingly fast response. I tried what you suggested:
1. Remove the StaticFilter from web.xml
2. uncomment the servlet mapping for dispatcher-servlet

    in addition, I've also 

3. added "/remoting/*" to the excludes in decorators.xml
4. added "/remoting/*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER" for the acegi
filterInvocationInterceptor (I thought I'll try to make it work without any
kind of client authentication first).

I still get the "WARN [btpool0-2] PageNotFound.noHandlerFound(1041) | No
mapping for [/remoting/peopleservice] in DispatcherServlet with name
'remoting'" exception :-(

Do you have any other suggestions?

Thank you for your help.
Satish


mraible wrote:
> 
> It sounds like we may need to enhance the StaticFilter to support
> multiple servlet dispatchers. Something like:
> 
>        <init-param>
>            <param-name>servletNames</param-name>
>            <param-value>dispatcher,remoting</param-value>
>        </init-param>
> 
> A better solution is probably to remove the StaticFilter (you don't
> need it if you don't need to serve up .html files) and uncomment the
> servlet-mapping for the dispatcher servlet.
> 
> Matt
> 
> On 8/3/07, satish5 <[EMAIL PROTECTED]> wrote:
>>
>> I'm using Appfuse-2.0-m5 Hibernate/Spring MVC core.
>> I followed the tutorial and added the model Person, PersonManager etc.
>> I'm trying to expose PersonManager thru Spring httpInvoker.
>> My configuration is as follows:
>>
>> web.xml changes
>> ---------------
>>
>>     <servlet>
>>         <servlet-name>remoting</servlet-name>
>>
>> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
>>         <load-on-startup>2</load-on-startup>
>>     </servlet>
>>
>>     <servlet-mapping>
>>         <servlet-name>remoting</servlet-name>
>>         <url-pattern>/remoting/*</url-pattern>
>>     </servlet-mapping>
>>
>> remoting-servlet.xml has a single bean
>> --------------------------------------
>>     <bean name="/peopleservice"
>> class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
>>         <property name="service" ref="personManager"/> <!-- personManager
>> bean
>> defined in applicationContext.xml -->
>>         <property name="serviceInterface"
>> value="com.epay.epayapp.service.PersonManager"/>
>>     </bean>
>>
>>
>> I've verified that my client is attempting to connect correctly to
>> http://localhost:8080/remoting/peopleservice (not peopleservice.html).
>> But I get this exception: PageNotFound.noHandlerFound(1041) | No mapping
>> for
>> [/remoting/peopleservice] in DispatcherServlet with name 'remoting'
>>
>> I've tried adding '/remoting/*' to the staticFilter includes (somewhere
>> on
>> google, I came across a thread that indicated that someone had to add
>> /dwr/*
>> this way to make dwr work):
>>
>>         <filter-name>staticFilter</filter-name>
>>        
>> <filter-class>org.appfuse.webapp.filter.StaticFilter</filter-class>
>>         <init-param>
>>             <param-name>includes</param-name>
>>             <param-value>/scripts/dojo/*,/remoting/*</param-value>
>>          </init-param>
>>         <init-param>
>>             <param-name>servletName</param-name>
>>             <param-value>dispatcher</param-value>
>>         </init-param>
>>     </filter>
>>
>> I still get the same exception: PageNotFound.noHandlerFound(1041).
>>
>> Can someone help me figure out what I need to do/undo/add to make this
>> work.
>>
>> Thanks
>> satish
>>
> 

-- 
View this message in context: 
http://www.nabble.com/Need-help%3A-exposing-the-PersonManager-%28in-the-tutorial%29-thru-Spring-httpInvoker-tf4215464s2369.html#a11994084
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to