On 5/29/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> So on:
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
>
> It recommends to use genStrAsCharArray when in production.
>
> This can be set in web.xml but not when using JspC from the command lin
Hi All,
I just installed the tomcat 5.5.9 and then I add my
program to upload a file in my server. I set
everything ok from html to my servlet code and I
didn't add any jar or third party file in the library.
But, when I execute my program, sometimes the tomcat
find the HttpServlet and my progr
This is another smaller issue.
yields:
_jspx_th_c_set_0.setValue(new String("bar"));
If this is a constant string why does it need to continually call new
String("bar") here?
This is just going to waste CPU and cause more garbage to be generated
which the GC will eventually have to
On 5/28/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> Remy Maucherat wrote:
>
> >It will obviously use more CPU and make more API calls. However, it
> >does not allocate any objects, but instead will reuse per page objects
> >(which is very fast). So overall, it sounds weird to me that the
> >bott
So on:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
It recommends to use genStrAsCharArray when in production.
This can be set in web.xml but not when using JspC from the command line.
trimSpaces is there... but not genStrAsCharArray.
Its in the
Remy Maucherat wrote:
For production configuration for Jasper, see:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
Do you know offhand if genStrAsCharArray has to be passed to jspc? I
didn't notice this as one of the command line options in 5.5
Hi all.
I'm having problems with ClassLoader. I have a RMI client that calls a
RMI server. What I keep getting as an error is a ClassCastException.
This is the code:
Object obj = Naming.lookup(url);
search = (SearchRMI) obj;
And the exception is:
java.lang.ClassCastException
at
co
Remy Maucherat wrote:
It will obviously use more CPU and make more API calls. However, it
does not allocate any objects, but instead will reuse per page objects
(which is very fast). So overall, it sounds weird to me that the
bottleneck would be on tag invocation.
In the end, it's hard to beat
Peter Lin wrote:
Back in 2002, I wrote several pages using JSP + java and JSP + JSTL to
measure the actual cost of from a performance perspective. The
performance difference isn't noticeable if a page has less than 50
tags. With 200+ tags, the performance difference does range from 2-5x
slower f
Remy Maucherat wrote:
For production configuration for Jasper, see:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
Cool... we have those set but I didn't see *genStrAsCharArray
*
**The interesting thing is that jprofiler clearly shows a big
pe
Peng Tuck Kwok wrote:
Just to check are your precompiling the jsp page?
Yes... we're precompiling them before we deploy. I'd recommend most
people do that if they have the time.
Kevin
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com.
See irc.freenode.net #rojo if you want t
Dakota Jack wrote:
You have to be and are comparing apples and oranges, Kevin,
Perhaps... but my point was that JSP 2.0 doesn't HAVE to be this slow! :)
because
JSP *is* Java. DOH! It cannot run slower than what it is.
No.. it could run slower... I'm sure the Tomcat developers will find
hi
i have a remote server (linux) that contains servlets wich i want to use to
interact with an USB Aladdin eToken that the user connect in his local
machine (windows) to sing XML documents.
in the server i put (jdk1.5.0_03/jre/lib/security/java.security file):
security.provider.7=sun.security
I answered my own question. I was not including an important .jar file in
the CLASSPATH.
At 08:49 PM 5/27/2005, you wrote:
I am trying to embed tomcat in an application. I am using Sun Java 1.5
and Tomcat 5.5.9. During the tomcat startup, I receive the following error:
SEVERE: Servlet.serv
Hi,
which connector are you using? I guess you're using apache to handle
port 80 and you want it to relay jsp and servlets over to the tomcat,
but serve other content than jsp/servlets by the apache?
You should use mod_jk, newest version probably 1.2.13.
My experience is that you shouldn't ha
I am currently using TC 5.0.28 & http1.1-connector and JCIFS for authentication
in a webapp. Authentication is done completely within the webapp without using
TC methods and only when necessary.
This is working quite well except for few users, who are accessing over squid
proxy, which suppresses
I agree with this. There really is *not* a lot of code in what Kevin
showed us, because the page code has to be there whether you have one
or 500 invocations, tags, on the page. This just makes it look large
because all the setup is attributed to one measely little tag.
On 5/28/05, Remy Mauchera
correction to my previous email.
On 5/28/05, Remy Maucherat <[EMAIL PROTECTED]> wrote:
> On 5/28/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> > as you see already, using JSTL means a single line of code gets
> > converted to several lines of JSTL api calls. once you look at how
> > many classes are
On 5/28/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> as you see already, using JSTL means a single line of code gets
> converted to several lines of JSTL api calls. once you look at how
> many classes are involved in executing JSTL, it's pretty clear it's
> using much more memory and causing more GC.
I would advise using the tag plugins to change tags to pure java. JSP
tags are considerably slower than pure JSP + java, but many people
find that combination bad on maintenance. When remy and I worked on
the book back in 2002, I did quite a bit of comparison between pure
java and JSTL.
as you see
Bill Barker wrote:
"Nikola Milutinovic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
- setup catalina.policy
- run it with "-security" option
I'm on Windows XP, how do I enable security mode for TC?
That's the idea. And, as a bonus, it works the same on Linux, Solari
Hi , Im hoping someone can give me some pretty detailed instructions on how to
load balance 2 tomcat servers with 1 apache web server in front. I wanted to
use mod_jk. First question, is , is this the best way to load balance?
Second question. Where do i start. Im having trouble finding clea
On 5/28/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> I've been tuning our application trying to get the maximum performance
> out if the system as possible.
>
> I've been throwing the system at jprofiler and allowing it to tell me
> where to optimized.
>
> In short Tomcat is slower than our DB,
Just a few suggestions.
Check the logs.
Turn up debugging if nothing shows.
It sounds like something has a "lock" on a file and Tomcat can't remove it.
If this is the case your next move is to look at your app. Are you creating
any threads or objects that are not getting cleaned up by the dest
Whether he is precompiling or not, Peng, and I know that is important,
he is still comparing applies and oranges. Further, he is comparing
the setup for any and all uses of with pojo code that he does
not give the same infrastructure accounting, apparently. The whole
question fails to see the pa
XSS issues have been reported in:
- the servlet 2.3 examples (including snoop.jsp)
- the manager servlet
- the servlet 2.4 examples (affects TC5 only)
All of these have been fixed in CVS.
Fixes for these are included in Tomcat 5.5.7 onwards.
Tomcat 4.1.31 still has the following XSS issues
. . wrote:
1 of 3 I wanted to include an install doc for tomcat 5.5.9 on solaris 9 with
jdk1.5.0
Post it to the wiki
2 of 3 I also have a question: How do you create a login for webdav servlet so
that no one besides your access list can log into the webdav folder and read it
You secure it
Just to check are your precompiling the jsp page?
On 5/28/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> I've been tuning our application trying to get the maximum performance
> out if the system as possible.
>
> I've been throwing the system at jprofiler and allowing it to tell me
> where to opt
28 matches
Mail list logo