You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by smallufo <sm...@gmail.com> on 2007/10/02 15:29:07 UTC

Server cannot find /app url after migration to 1.3 filter

Hi :
I am upgrading an small project from wicket 1.2.6 to 1.3-b3
After some string replacing and package renaming , and edit web.xml ,
changing wicket servlet to wicket filter,
My resin server responses "The requested URL /app was not found on this
server."
What's left undone ?
(The included jars are : wicket-extensions.jar , wicket-ioc.jar , wicket.jar,
wicket-spring-annot.jar , wicket-spring.jar , slf4j-api-1.4.3.jar ,
slf4j-log4j.jar )

Thanks in advanced.

Re: Server cannot find /app url after migration to 1.3 filter

Posted by narup <ps...@wsgc.com>.
Well i also had a similar problem,actually websphere doesn't handle servlet
filters properly. So upgrading wicket to 1.3 and if you are using
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
instead of wicket servlet then have to do change
Setting com.ibm.ws.webcontainer.invokefilterscompatibility property to true
in

Servers > Server > Web Container Settings > Web Container > Custom
Properties.

select New and then enter
"com.ibm.ws.webcontainer.invokefilterscompatibility" as the property name
and "true" as the value
- save the update and restart the server 

Hope this works


smallufo wrote:
> 
> 2007/10/13, smallufo <sm...@gmail.com>:
>>
>> Hi ,
>> I had a strong suspicion that WicketFilter (from 1.3 b3)  not compatible
>> with Resin ( I tried 2.1.17 and latest 3.0.24 )
> 
> 
> I just grabbed the latest 1.3 b4 , the problem remains.
> 
> I also found that the following filter-mapping works :
>   <filter filter-name="test" filter-class="foo.bar.TestFilter"/>
>   <filter-mapping filter-name="test" url-pattern="/*" />
> 
> while the following doesn't work  :
> 
>   <filter filter-name="wicket" filter-class="
> org.apache.wicket.protocol.http.WicketFilter">
>     <init-param applicationClassName="foo.bar.MyApplication"/>
>     <init-param configuration="DEVELOPMENT"/>
>   </filter>
>   <filter-mapping filter-name="wicket" url-pattern="/app/*"/>
> When I try to connect to foo.bar.com:8080/app , it throws :
> 
> java.lang.IllegalArgumentException: Error initializing WicketFilter - you
> have no <filter-mapping> element with a url-pattern that uses filter:
> wicket
> 
> It seems that WicketFilter cannot parse @filter-name and @url-pattern of
> <filter-mapping> tag.
> (But it can correctly parse @filter-name , @filter-class of <filter> tag.)
> I have to change it to :
> 
>   <filter-mapping>
>     <filter-name>wicket</filter-name>
>     <url-pattern>/app/*</url-pattern>
>   </filter-mapping>
> 
> But 1.3b4 's filter still cannot intercept "/app" at port 80.
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-cannot-find--app-url-after-migration-to-1.3-filter-tp12998876p14279914.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/13, smallufo <sm...@gmail.com>:
>
> Hi ,
> I had a strong suspicion that WicketFilter (from 1.3 b3)  not compatible
> with Resin ( I tried 2.1.17 and latest 3.0.24 )


I just grabbed the latest 1.3 b4 , the problem remains.

I also found that the following filter-mapping works :
  <filter filter-name="test" filter-class="foo.bar.TestFilter"/>
  <filter-mapping filter-name="test" url-pattern="/*" />

while the following doesn't work  :

  <filter filter-name="wicket" filter-class="
org.apache.wicket.protocol.http.WicketFilter">
    <init-param applicationClassName="foo.bar.MyApplication"/>
    <init-param configuration="DEVELOPMENT"/>
  </filter>
  <filter-mapping filter-name="wicket" url-pattern="/app/*"/>
When I try to connect to foo.bar.com:8080/app , it throws :

java.lang.IllegalArgumentException: Error initializing WicketFilter - you
have no <filter-mapping> element with a url-pattern that uses filter: wicket

It seems that WicketFilter cannot parse @filter-name and @url-pattern of
<filter-mapping> tag.
(But it can correctly parse @filter-name , @filter-class of <filter> tag.)
I have to change it to :

  <filter-mapping>
    <filter-name>wicket</filter-name>
    <url-pattern>/app/*</url-pattern>
  </filter-mapping>

But 1.3b4 's filter still cannot intercept "/app" at port 80.

Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
Hi ,
I had a strong suspicion that WicketFilter (from 1.3 b3)  not compatible
with Resin ( I tried 2.1.17 and latest 3.0.24 )
I can install a very simple filter , just doing this :

public void doFilter (...)
    System.out.println("before doFilter");
    chain.doFilter(req, res);
    System.out.println("after doFilter");

And mount this test filter to "/*" , it works.
That means it can intercept  "
http://foo.bar.com/servlet/foo.bar.test.TestServlet" , and print the
messages.

But WicketFilter just cannot work correctly with Resin_with_apache.
I have to manually assign to port 8080 to make the filter work.
Anybody successfully install WicketFilter with "Resin_with_Apache
(mod_caucho.so) " ? (not standalone resin)



2007/10/3, smallufo <sm...@gmail.com>:
>
>
>
> 2007/10/3, David Bernard <dw...@free.fr>:
> >
> >
> > > Have you try:
> > >> * to set port to 80 instead of 8080
> > >
> > >
> > > Port 80 is listened by apache httpd.
> > > I need apache httpd to serve  large amount of static contents.
> >
> > Yes, and resin.conf isn't run as part of Apache?
> > Apache (port 80) -> srun(6802)
>
>
> Resin is a module of apache httpd , through this module :
> /usr/lib/httpd/modules/mod_caucho.so
> Through this module , resin will try to intercept  matched  URL and
> redirect to resin.
>
>
> Sorry , no other idea, except may be create an dummyServlet mapped to /app
> > in web.xml.
> > Have you the same problem with resin 3.x ?
> >
>
> That's OK , I can set up a reverse-proxy to solve this problem , won't
> expose port 8080 ...
>
>
> As to resin 3.x , I have a lot of webapps , and I am afraid there will be
> some incompatibilities.
> This will be a big task.... I'll try it in the future , not sure......
>
>
>

Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/3, David Bernard <dw...@free.fr>:
>
>
> > Have you try:
> >> * to set port to 80 instead of 8080
> >
> >
> > Port 80 is listened by apache httpd.
> > I need apache httpd to serve  large amount of static contents.
>
> Yes, and resin.conf isn't run as part of Apache?
> Apache (port 80) -> srun(6802)


Resin is a module of apache httpd , through this module :
/usr/lib/httpd/modules/mod_caucho.so
Through this module , resin will try to intercept  matched  URL and redirect
to resin.


Sorry , no other idea, except may be create an dummyServlet mapped to /app
> in web.xml.
> Have you the same problem with resin 3.x ?
>

That's OK , I can set up a reverse-proxy to solve this problem , won't
expose port 8080 ...


As to resin 3.x , I have a lot of webapps , and I am afraid there will be
some incompatibilities.
This will be a big task.... I'll try it in the future , not sure......

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
> Have you try:
>> * to set port to 80 instead of 8080
> 
> 
> Port 80 is listened by apache httpd.
> I need apache httpd to serve  large amount of static contents.

Yes, and resin.conf isn't run as part of Apache?
Apache (port 80) -> srun(6802)

Sorry , no other idea, except may be create an dummyServlet mapped to /app in web.xml.
Have you the same problem with resin 3.x ?

:-(

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/3, David Bernard <dw...@free.fr>:
>
> Sorry No idea :-(
>
> abstract of your problem :
>
> http://foo.bar.com/app                  KO
> http://foo.bar.com/app/                 ??


This fails too.

http://foo.bar.com:8080/app             OK
> http://127.0.0.1:6802/app               ??


port 6802 is resin's srun server , not http-connectable


http://foo.bar.com/servlet/TotoServet   OK
>
> servlet/TotoServlet is part of the same webapp
> your filter mapping ?


> is it right ?


No , servlets are mapped by servlet-mapping (web.xml)  , not by
filter-mapping  :
  <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker" />



Have you try:
> * to set port to 80 instead of 8080


Port 80 is listened by apache httpd.
I need apache httpd to serve  large amount of static contents.


* to create an empty dir app under your webapp, I know that Websphere failed
> if a filter is not apply on a file or servlet.


This fails too.

If I create a "app" directory under /home/foobar/www/  , and put  "
index.html" in /home/foobar/www/app/index.html ,
When types http://foo.bar.com/app , it will show the content of index.html ,
meaning that this URL is not intercepted by resin's filter.

However , If I create a /home/foobar/www/servlet directory , and put "
index.html" in it.
When types http://foo.bar.com/servlet , resin will intercept and throws this
exception :

javax.servlet.ServletException: Class `index.html' was not found in classpath.
Classes normally belong in /WEB-INF/classes.

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
Sorry No idea :-(

abstract of your problem :

http://foo.bar.com/app 			KO
http://foo.bar.com/app/			??
http://foo.bar.com:8080/app		OK
http://127.0.0.1:6802/app		??
http://foo.bar.com/servlet/TotoServet	OK

servlet/TotoServlet is part of the same webapp
your filter mapping ?
   <filter-mapping>
     <filter-name>wicket</filter-name>
     <url-pattern>/app</url-pattern>
   </filter-mapping>
   <filter-mapping>
     <filter-name>wicket</filter-name>
     <url-pattern>/app/*</url-pattern>
   </filter-mapping>

is it right ?

Have you try:
* to set port to 80 instead of 8080
* to create an empty dir app under your webapp, I know that Websphere failed if a filter is not apply on a file or servlet.

Sorry.
smallufo wrote:
> 2007/10/3, David Bernard <dw...@free.fr>:
>> Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf.
>>
>>
> This is my partial resin.conf  , thanks in advanced.
> 
> <http port='8080'/>
>   ...
>   <srun host='127.0.0.1' port='6802'/>
>   ...
>     <host id='foo.bar.com' >
>       <error-log id='log/error.log' />
> 
>       <jsp precompile='true' static-encoding='true'
> recompile-on-error='true'/>
>       <servlet-mapping url-pattern='*.jsp' servlet-name='
> com.caucho.jsp.JspServlet'/>
> 
>       <web-app id='/' app-dir='/home/foobar/www'>
>         <session-config>
>           <session-max>4096</session-max>
>           <session-timeout>30</session-timeout>
>           <enable-cookies>true</enable-cookies>
>           <enable-url-rewriting>true</enable-url-rewriting>
>         </session-config>
>       </web-app>
> 
>       <access-log id='/home/foobar/log/servlet/access_log'>
>         <rollover-period>2W</rollover-period>
>       </access-log>
> 
>     </host>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/3, David Bernard <dw...@free.fr>:
>
> Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf.
>
>
This is my partial resin.conf  , thanks in advanced.

<http port='8080'/>
  ...
  <srun host='127.0.0.1' port='6802'/>
  ...
    <host id='foo.bar.com' >
      <error-log id='log/error.log' />

      <jsp precompile='true' static-encoding='true'
recompile-on-error='true'/>
      <servlet-mapping url-pattern='*.jsp' servlet-name='
com.caucho.jsp.JspServlet'/>

      <web-app id='/' app-dir='/home/foobar/www'>
        <session-config>
          <session-max>4096</session-max>
          <session-timeout>30</session-timeout>
          <enable-cookies>true</enable-cookies>
          <enable-url-rewriting>true</enable-url-rewriting>
        </session-config>
      </web-app>

      <access-log id='/home/foobar/log/servlet/access_log'>
        <rollover-period>2W</rollover-period>
      </access-log>

    </host>

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf.

smallufo wrote:
> 2007/10/2, David Bernard <dw...@free.fr>:
>> It depends of how you map/forward from apache to resin.
>> What is your apache configuration?
>>
>> If it works when you access resin directly, what is done when you access
>> throught port 8080, then it's not a resin problem.
>>
> 
> 
> Hi , this is my (partial) httpd.conf
> 
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
> ServerName foo.bar.com
> DocumentRoot /home/foobar/www
> ErrorLog    /home/foobar/log/error_log
> CustomLog /home/foobar/log/access_log combined
> <Directory />
> # DAV on
> AllowOverride
> # AuthConfig
> order deny,allow
> Options Indexes FollowSymLinks ExecCGI
> </Directory>
> </VirtualHost>
> 
> 
> #
> # mod_caucho Resin Configuration
> #
> 
> LoadModule caucho_module /usr/lib/httpd/modules/mod_caucho.so
> 
> CauchoConfigFile /usr/local/resin/conf/resin.conf
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/2, David Bernard <dw...@free.fr>:
>
> It depends of how you map/forward from apache to resin.
> What is your apache configuration?
>
> If it works when you access resin directly, what is done when you access
> throught port 8080, then it's not a resin problem.
>


Hi , this is my (partial) httpd.conf

NameVirtualHost *:80

<VirtualHost *:80>
ServerName foo.bar.com
DocumentRoot /home/foobar/www
ErrorLog    /home/foobar/log/error_log
CustomLog /home/foobar/log/access_log combined
<Directory />
# DAV on
AllowOverride
# AuthConfig
order deny,allow
Options Indexes FollowSymLinks ExecCGI
</Directory>
</VirtualHost>


#
# mod_caucho Resin Configuration
#

LoadModule caucho_module /usr/lib/httpd/modules/mod_caucho.so

CauchoConfigFile /usr/local/resin/conf/resin.conf

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
It depends of how you map/forward from apache to resin.
What is your apache configuration?

If it works when you access resin directly, what is done when you access throught port 8080, then it's not a resin problem.


smallufo wrote:
> Yes , I use Apache as a front end.
> If any configuration goes wrong , servlets' requests will not be processed
> by resin, either.
> But http://foo.bar.com/servlet/other.servlet just works fine. (No port
> assign)
> It means resin (2.1.7) seems doesn't intercept filter's requests.
> I've also reported this issue to resin's maillist.
> 
> 
> 2007/10/2, David Bernard <dw...@free.fr>:
>> If I understand right you use Apache as a front end ?
>> If it work when you access to resin via a direct call (
>> http://foo.bar.com:8080/app) then I don't think it a problem with resin
>> but with your apache front-end configuration.
>> What do you "map" from apache to resin (1)/app, (2)/app* or (3)/app/* ?
>> In my experience you need to map (1 and 3) or 2. You don't need to map 1
>> and 3 only if you have a rewrite rule /app => /app/.
>>
> 
> Yes , I tried but in vain.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
Yes , I use Apache as a front end.
If any configuration goes wrong , servlets' requests will not be processed
by resin, either.
But http://foo.bar.com/servlet/other.servlet just works fine. (No port
assign)
It means resin (2.1.7) seems doesn't intercept filter's requests.
I've also reported this issue to resin's maillist.


2007/10/2, David Bernard <dw...@free.fr>:
>
> If I understand right you use Apache as a front end ?
> If it work when you access to resin via a direct call (
> http://foo.bar.com:8080/app) then I don't think it a problem with resin
> but with your apache front-end configuration.
> What do you "map" from apache to resin (1)/app, (2)/app* or (3)/app/* ?
> In my experience you need to map (1 and 3) or 2. You don't need to map 1
> and 3 only if you have a rewrite rule /app => /app/.
>

Yes , I tried but in vain.

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
If I understand right you use Apache as a front end ?
If it work when you access to resin via a direct call (http://foo.bar.com:8080/app) then I don't think it a problem with resin but with your apache front-end configuration.
What do you "map" from apache to resin (1)/app, (2)/app* or (3)/app/* ?
In my experience you need to map (1 and 3) or 2. You don't need to map 1 and 3 only if you have a rewrite rule /app => /app/.

/david

smallufo wrote:
> Hi , I think it seems resin's problem (2.1.7).
> After a lot of combinations , I still cannot make the wicket filter work.
> The error (URL not found) is reported by apache , not by resin . which means
> the filter request is not passed to resin.
> After I assign port  ( http://foo.bar.com:8080/app ) , everything works fine
> now.
> But other servlets are not required to assign port , it means
> http://foo.bar.com/servlet/OtherServlets works very well.
> ( servlets are mapped to "/servlet/*" URL pattern )
> 
> Therefore , it maybe resin's problem I think.
> To avoid exposing port 8080 , maybe I have to set a reverse-proxy in
> apache's config. ...
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
Hi , I think it seems resin's problem (2.1.7).
After a lot of combinations , I still cannot make the wicket filter work.
The error (URL not found) is reported by apache , not by resin . which means
the filter request is not passed to resin.
After I assign port  ( http://foo.bar.com:8080/app ) , everything works fine
now.
But other servlets are not required to assign port , it means
http://foo.bar.com/servlet/OtherServlets works very well.
( servlets are mapped to "/servlet/*" URL pattern )

Therefore , it maybe resin's problem I think.
To avoid exposing port 8080 , maybe I have to set a reverse-proxy in
apache's config. ...

Re: Server cannot find /app url after migration to 1.3 filter

Posted by David Bernard <dw...@free.fr>.
Have you the same result if you try /app/ ?

try to add :
   <filter-mapping>
     <filter-name>wicket</filter-name>
     <url-pattern>/app</url-pattern>
   </filter-mapping>
   <filter-mapping>
     <filter-name>wicket</filter-name>
     <url-pattern>/app/*</url-pattern>
   </filter-mapping>

/david

smallufo wrote:
> Hi :
> I am upgrading an small project from wicket 1.2.6 to 1.3-b3
> After some string replacing and package renaming , and edit web.xml ,
> changing wicket servlet to wicket filter,
> My resin server responses "The requested URL /app was not found on this
> server."
> What's left undone ?
> (The included jars are : wicket-extensions.jar , wicket-ioc.jar , wicket.jar,
> wicket-spring-annot.jar , wicket-spring.jar , slf4j-api-1.4.3.jar ,
> slf4j-log4j.jar )
> 
> Thanks in advanced.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
2007/10/2, Gwyn Evans <gw...@gmail.com>:
>
> Are you sure you deployed your web-app to the ROOT context?
> It's not just at http://localhost/myApp/app/ is it?  One thing I like
> about Jetty is that it's normally clear to see what's mounted where,
> as the default '/' servlet will list them when running 'mvn jetty:run'
>
> /Gwyn


I think "yes" , the following is my resin's config about my host :

    <host id='foo.bar.com' >
      <error-log id='log/error.log' />

      <jsp precompile='true' static-encoding='true'
recompile-on-error='true'/>
      <servlet-mapping url-pattern='*.jsp' servlet-name='
com.caucho.jsp.JspServlet'/>

      <web-app id='/' app-dir='/home/foobar/www'>
        <session-config>
          <session-max>4096</session-max>
          <session-timeout>30</session-timeout>
          <enable-cookies>true</enable-cookies>
          <enable-url-rewriting>true</enable-url-rewriting>
        </session-config>
      </web-app>

    </host>

I deploy my app to "/" as described ...

Re: Server cannot find /app url after migration to 1.3 filter

Posted by Gwyn Evans <gw...@gmail.com>.
Are you sure you deployed your web-app to the ROOT context?
It's not just at http://localhost/myApp/app/ is it?  One thing I like
about Jetty is that it's normally clear to see what's mounted where,
as the default '/' servlet will list them when running 'mvn jetty:run'

/Gwyn


On Tuesday, October 2, 2007, 2:35:43 PM, smallufo <sm...@gmail.com> wrote:

> This is my web.xml :

>   <filter>
>     <filter-name>wicket</filter-name>
>     <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter
-class>>
>     <init-param>
>       <param-name>applicationClassName</param-name>
>       <param-value>foo.bar.MyApplication</param-value>
>     </init-param>
>     <init-param>
>       <param-name>configuration</param-name>
>       <param-value>DEVELOPMENT</param-value>
>      </init-param>
>   </filter>

>   <filter-mapping>
>     <filter-name>wicket</filter-name>
>     <url-pattern>/app/*</url-pattern>
>   </filter-mapping>

> "/app" is virtual in 1.2.6 , there is no "real" /app directory in my
> directory , so I cannot put index.html or any files in the /app directory.



> 2007/10/2, Martijn Dashorst <ma...@gmail.com>:
>>
>> Your web.xml will tell us more.
>>
>> Do you have mapped your filter to /* or to /app/* ?
>>
>> And do you have a index.html in your webapp root that redirects to /app ?
>>
>> Martijn
>>



/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Server cannot find /app url after migration to 1.3 filter

Posted by smallufo <sm...@gmail.com>.
This is my web.xml :

  <filter>
    <filter-name>wicket</filter-name>
    <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter
-class>
    <init-param>
      <param-name>applicationClassName</param-name>
      <param-value>foo.bar.MyApplication</param-value>
    </init-param>
    <init-param>
      <param-name>configuration</param-name>
      <param-value>DEVELOPMENT</param-value>
     </init-param>
  </filter>

  <filter-mapping>
    <filter-name>wicket</filter-name>
    <url-pattern>/app/*</url-pattern>
  </filter-mapping>

"/app" is virtual in 1.2.6 , there is no "real" /app directory in my
directory , so I cannot put index.html or any files in the /app directory.



2007/10/2, Martijn Dashorst <ma...@gmail.com>:
>
> Your web.xml will tell us more.
>
> Do you have mapped your filter to /* or to /app/* ?
>
> And do you have a index.html in your webapp root that redirects to /app ?
>
> Martijn
>

Re: Server cannot find /app url after migration to 1.3 filter

Posted by Martijn Dashorst <ma...@gmail.com>.
Your web.xml will tell us more.

Do you have mapped your filter to /* or to /app/* ?

And do you have a index.html in your webapp root that redirects to /app ?

Martijn

On 10/2/07, smallufo <sm...@gmail.com> wrote:
> Hi :
> I am upgrading an small project from wicket 1.2.6 to 1.3-b3
> After some string replacing and package renaming , and edit web.xml ,
> changing wicket servlet to wicket filter,
> My resin server responses "The requested URL /app was not found on this
> server."
> What's left undone ?
> (The included jars are : wicket-extensions.jar , wicket-ioc.jar , wicket.jar,
> wicket-spring-annot.jar , wicket-spring.jar , slf4j-api-1.4.3.jar ,
> slf4j-log4j.jar )
>
> Thanks in advanced.
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org