Problem with migrating web-application from iPlanet 6.0 to Sun ONE 7

Hi,

I have an application running on iPlanet 6.0. The application has to be migrated to the Sun Java System Application Server 7. Fore that I have downloaded the developers edition "Sun Java System Application Server Standard and Enterprise Edition 7 2004Q2 Update 2 ".

I used the "Sun ONE 7.0 migration tool" to migrate the application.

I was able to deploy the migrated application, but when I try to open de application I got an error:

Not Found

The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.

The application is using Struts, therefore there is a mapping to the action servlet from Struts

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/*.do</url-pattern>

</servlet-mapping>

It looks like the server is not recognizing de * as a wildcard. When I use a url-pattern without wildcards it looks like it's working fine. Fore instance:

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/login.do</url-pattern>

</servlet-mapping>

Any ideas?

Thanks

[1290 byte] By [Jan_Vandezande] at [2007-11-25 19:29:57]
# 1

You should use url-pattern values of the form defined by the Java Servlet Specification Version 2.3. The Servlet specification is available online at http://www.jcp.org/aboutJava/communityprocess/final/jsr053/

In your case, you probably want <url-pattern>*.screen</url-pattern>, not <url-pattern>/*.screen</url-pattern>.

That is, remove the /

utsukushii at 2007-7-4 12:06:36 > top of Java-index,Archived Forums,Sun ONE Web Services Platform Developer Edition...
# 2
This solved the problem.Thanks.
Jan_Vandezande at 2007-7-4 12:06:36 > top of Java-index,Archived Forums,Sun ONE Web Services Platform Developer Edition...
# 3
This solved the problem.Thanks.
Jan_Vandezande at 2007-7-4 12:06:36 > top of Java-index,Archived Forums,Sun ONE Web Services Platform Developer Edition...