tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dharamshila Khandelwal <dharmshil...@gmail.com>
Subject Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6
Date Wed, 09 Mar 2011 03:35:13 GMT
Thanks for your response Christopher!
I have structs.jar in WEB-INF/lib. I even tried putting it in
CATALINA_HOME/lib, but it didn't work.
I have attached the log files as you had requested.

On Tue, Mar 8, 2011 at 5:40 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dharamshila,
>
> On 3/8/2011 5:27 PM, Dharamshila Khandelwal wrote:
> > Thanks for your response Kolinko, I tried putting the servlet-mapping
> > inside servlet tag but it didn't work. I am attaching web.xml that I am
> > using.
>
> Your web.xml looks good. I also use Struts (v1) with Tomcat 6 with no
> problems whatsoever.
>
> If you upgraded from Tomcat 5 to 6 and things stopped working, I suspect
> that your TC5 environment had something that didn't properly translate
> into the new environment.
>
> My guess is that struts-*.jar was filed under TC5's common/lib or
> shared/lib directories and haven't been moved to TC6. If this is the
> case, I highly recommend that you put struts-*.jar into your webapp's
> WEB-INF/lib directory.
>
> If that's not the case, please do the following:
>
> 1. Stop Tomcat (6)
> 2. Delete all log files under log/*
> 3. Start Tomcat
> 4. Post logs/catalina.out and any other non-empty file back to the list
>   (remember the lsit strips attachments, so you may have to do lots of
>    copy-and-paste).
>
> Hope that helps,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk12sF8ACgkQ9CaO5/Lv0PBpGQCfR1kZt9QFr0fWDB9n8V5q8Cxo
> aJ8An2IvEXnRUX3fLkE/2RHX+OnCG3Dw
> =XmwP
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
View raw message