-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ashima,

On 4/11/12 11:05 AM, Ashima Sharma wrote:
> We just did a tomcat upgrade (from 6.0.36 to 7.0.26) for a legacy 
> struts-1.3.10 app on Windows 2008 R2 (64-bit). Ever since, there's
> been an intermittent occurence of the following 2 exceptions (for
> random jsps) -
> 
> *2012-04-10 18:27:45,751 ERROR
> [org.apache.struts.tiles.taglib.InsertTag] - ServletException in
> '/WEB-INF/pages/registration/registration.jsp': Unable to compile
> class for JSP: * *An error occurred at line: 49 in the generated
> java file* *This method must return a result of type
> Map<String,Long>*

So, what's on line 49 in regstration_jsp.java?

The JSP compiler is fairly good at reporting information about the
original JSP source, too. Did it give you any clue what the problem was?

When you say "intermittent", do you mean that sometimes the JSP
compiles without a problem and other times it fails? Or, are you
saying that only some of these JSPs have the problem, but it's consistent?

> 2012-04-10 18:36:58,501 ERROR
> [org.apache.struts.tiles.taglib.InsertTag] - ServletException in
> '/WEB-INF/pages/registration/registration.jsp': classFile.delete()
> failed org.apache.jasper.JasperException: Unable to compile class
> for JSP

Full stack trace?

Have you tried tracking-down the problem on line 49 of that file?
Maybe your underlying code changed and the JSP needs to be updated?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+F4pgACgkQ9CaO5/Lv0PAbEwCfTft4iExSXIDNNj5kkBCGDhbj
/fIAn2X/tqJ3GIez2E0mmUPTJlv+mCke
=Z2Xx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to