Hi Everyone!

I'd like to thank you all for the help and let you know about the
solution...

I spent the last days trying to figure out why my Struts 1.1/Tiles+Tomcat
4.1.24 app (exactly the same app!) didn't perform in Tomcat 5.0.19 as
expected. I suspected of Tiles, JSTL, Struts, Tomcat itself, etc...

It was a simple "case sensitive" problem (now it's easy :-)). We've been
using "/web-inf/..." (lowercase) in the tag-lib declarations regards to a
bug in SilverStream (Novell Extend) 3.7 JSP compiler. The point is that this
hasn't been a problem with Tomcat 4.x, WebSphere or JBoss 3.2.1.

Tomcat 5 also accept that...but the app keeps working - regenerating and
recompiling the JSP in every request! I think that uppercase "WEB-INF" is
the correct form according to J2EE but Tomcat should give us some kind of
warning (or error) here...

I also noted that the WEB-INF (in my Windows 2000 installation) inside the
"work" dir was written "WEB_002dINF" in Tomcat 5. Maybe there's a
correlation here. I've attached my "work" directory.

Thank you again!

Paulo Alvim
Powerlogic
Brazil

-----Mensagem original-----
De: Daniel L. Rall [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 8 de abril de 2004 03:37
Para: Paulo Alvim
Cc: [EMAIL PROTECTED]
Assunto: [work] Re: tomcat 5 with struts and tiles


Paulo Alvim wrote:
> Hi!
>
> I'm Paulo Alvim from Powerlogic - Brazil.
>
> I was one of the first Struts 1.1/Tiles developer here and I have been
> talkinga lot about both frameworks all over the country. We have a portal
> product based on Struts/Tiles waiting for JSR 168 new features, I have a
few
> articles in Portuguese about Tiles and Struts,...
>
> I've been working for two entire days trying to move my struts RC1/Tiles
> based apps (I have to use struts rc1 from feb 22 2003) from Tomcat 4.0.24
> (working very well) to Tomcat 5.0.19 but I'm having serious performance
> problems.
>
> After lots of tries I found that the each JSP that I use in my Tiles
layouts
> are taking about 3-4 seconds to render or more, even after the first call
> (as if they weren't generated and compiled). But it only occurs with Tiles
> (maybe because of includes and Tomcat 5 that seems to have a few issues)
and
> using Tomcat 5. JSPs that I use directly are ok.
>
> I didn't migrate to JSTL 1.1 (I'm using JSLT 1.0 c and fmt tag-ligs, tiles
> and html tag-libs from Struts) because I have 30 people developing with
> tomcat 4.0 and I'll need to deploy to several app servers (servlet 2.3 and
> JSP 1.2).
>
> Would it be a bug (performance issues with tiles and Tomcat 5.0.19)?
>
> Thanks in advance!

Hi Paulo.  Questions like this are best directed to the
[EMAIL PROTECTED] mailing list.  This list is for security
questions only.

You might consider using a profiling tool like OptimizeIt! to find out
exactly
where the bottleneck is.

Thanks!

- Dan



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

Reply via email to