5.5.10 cluster exception

2005-07-27 Thread Dennis
I'm working with the cvs tagged 5.5.10 version of tomcat to check out
some clustering fixes.

When I bring a 2nd server into the pool, I get this exception repeated
every time an mcast packet is received:

==CUT==
java.lang.ArrayIndexOutOfBoundsException
at
java.lang.System.arraycopy(Ljava.lang.Object;ILjava.lang.Object;II)V(Unknown
Source)
at
org.apache.catalina.cluster.mcast.McastMember.getMember(McastMember.java:181)
at
org.apache.catalina.cluster.mcast.McastServiceImpl.receive(McastServiceImpl.java:209)
at
org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:253)
==END CUT==

Here are the relevant lines of code from McastMember.java:

==CUT==
byte[] domaind = new byte[dlen];
System.arraycopy(data, nlen + 24, domaind, 0, domaind.length);
==END CUT==

I added some debugging to figure out the length of the data.  The
exception occurs because data.length is 23.  Obviously 23+24 is going to
throw an ArrayIndexOBE.

My question is.. is there a configuration thing that is causing data to
be sent to be less than the desired length?  It appears the data is not
coming in in the format expected.

Thoughts?
Thanks
Dennis

Here is the config I'm using on each server for the cluster.

==cluster config==
   









   



==END cluster config==


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



Re: Incorrect classloading

2004-08-17 Thread Dennis Thrysøe
Shapira, Yoav wrote:
Hi, A webapp can use its own commons-logging library, but it must
then move the one supplied with Tomcat out of the common and into the
server lib directory.
I see. That makes sense. Thanks.
-dennis
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Incorrect classloading

2004-08-17 Thread Dennis Thrysøe
Hi,
I recently tried to use the newest version of jgroups within a webapp 
running in tomcat. JGroups comes with a commons-logging.jar for it's own 
logging.

I discovered that Jgroups couldn't use commons logging, because commons 
logging coulnd't load a log4j class, even though log4j.jar was in 
WEB-INF/lib.

I solved the problem by placing log4j.jar along with the rest of 
tomcat's jar files (e.g. tomcat's commons-logging.jar).

This makes me wonder if there is a problem with using commons logging in 
a webapp in general? It seems tomcat isn't loading commons-logging from 
the webapp as expected, but rather uses the one loaded in tomcat 
already. Is that correct, and if so, why shouldn't a webapp be allowed 
to use it's own commons-logging?

Could this be a variant of
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22701 ?
I'm using Tomcat 4.1.30.
-dennis
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Dennis Arizin/Towers Perrin is out of the office.

2004-07-05 Thread Dennis Arizin




I will be out of the office starting  07/02/2004 and will not return until
07/12/2004.

I will be on vacation for the week , and checking email messages at least
every other day   . If you need immediate attention , please forward a copy
of your correspondance to Pat Shannon , Raj Gulatti or Stacy Paris , and
they will respond promptly ,
 .


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



Dennis Arizin/Towers Perrin is out of the office.

2004-07-03 Thread Dennis Arizin




I will be out of the office starting  07/02/2004 and will not return until
07/12/2004.

I will be on vacation for the week , and checking email messages at least
every other day   . If you need immediate attention , please forward a copy
of your correspondance to Pat Shannon , Raj Gulatti or Stacy Paris , and
they will respond promptly ,
 .


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



question about building tomcat from source

2004-06-27 Thread Dennis Wong
Hi all,
 This is my first time sending email to tomcat's
developers mail list.
 I am a programer with a little experience in
working with java and I am now try to build the tomcat
5 from the source in order to learn from the code and
if possible I would like to contribute to the tomcat
project.
 But after I download the ant script from the
project's website at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/build.xml.
and then after the ant script download all the code
and start to build from the source, the program get
stopped at the compiler error as this:

jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java:827:
error: Can't find constructor
`org.apache.jasper.compiler.Generator$GenerateVisitor$5$ParamVisitor(Ljava/lang/String;)'
in type
`org.apache.jasper.compiler.Generator$GenerateVisitor$5$ParamVisitor'.
[javac]n.getBody().visit(new
ParamVisitor(sep));

and i have read the Generator.java and I find the
ParamVisitor is a inner class in the same file so I
think its the problem of my setting.

So is there anyone could help for this question?

Thank you very much!

Best regard,
Dennis

__
全新 Yahoo! Mail - 100 MB 免費電郵儲存量
http://mail.yahoo.com.hk/

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



Re: Embedding Jasper / JSP compiling

2004-05-17 Thread Dennis Thrysøe
Petr Jiricka wrote:
Dennis Thrysøe wrote:
Hi,
I'm currently working on embedding a jasper engine within a servlet 
container that I'm writing. During this work I have run into the 
following questions:

1) Is the only advantage to using fork=true, that the javac memory 
leak issue is avoided?

2) Has the javac memory leak issue been fixed in newer versions of the 
JDK?

3) Is there any way to have the Java code generated from JSPs compiled 
using my own classloader? I was thinking, that if I used fork=false, 
maybe javac would just use the present classloader.

I'd say this is not possible now. 
That's a shame. Would sun.util.javac.Main load classes with it's own 
classloader then (not delegating to it's parent classloader)? Or would 
it perhaps load classes with an entirely different mechanism?

Should be a topic for Java compiler 
API: http://jcp.org/en/jsr/detail?id=199
Which doesn't look very active. Do you have any idea whether it would be 
worth sending them a mail?

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


Re: Embedding Jasper / JSP compiling

2004-05-14 Thread Dennis Thrysøe
Rick Knowles wrote:
Dennis,

I'm not a tomcat dev, but hopefully I can help anyway - having done what 
I think it is you're trying to do. I did mine for the Winstone servlet 
container (http://winstone.sourceforge.net)

For Nos 1 and 2, I can't help. But for No 3 it involves setting context 
attributes:
1) org.apache.catalina.jsp_classpath, and
2) org.apache.catalina.classloader

It seems that 1 is the one that does the work. It doesn't actually even 
seem to call 2 at class load time, but there is code that reads 2, so I 
set it anyway.

By setting 1, you don't actually set the classloader, but you make a new 
classloader that has the same classpath. If that's not what you want, 
maybe someone else on the list can help.

The only other thing you have to do is mount the JspServlet, which it 
sounds like you've already done.
Thanks for your answer, which I think would help somewhat. But I already 
figured this part out, and have that working.

The part that I have trouble with is using my own classloader, because 
with the classpath I can only refer to jars and directories. What I need 
to do is load classes from jars within jars, and other places as well.

But I will certainly look into the org.apache.catalina.classloader 
context attribute. That one had missed my attention.

-dennis

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


Embedding Jasper / JSP compiling

2004-05-14 Thread Dennis Thrysøe
Hi,

I'm currently working on embedding a jasper engine within a servlet 
container that I'm writing. During this work I have run into the 
following questions:

1) Is the only advantage to using fork=true, that the javac memory leak 
issue is avoided?

2) Has the javac memory leak issue been fixed in newer versions of the JDK?

3) Is there any way to have the Java code generated from JSPs compiled 
using my own classloader? I was thinking, that if I used fork=false, 
maybe javac would just use the present classloader.

Any help with the above questions would be greatly appreciated, since it 
seems that I'm on a fairly difficult endeavour here.

TIA,

-dennis

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


Embedding part of Tomcat within a J2EE webapp?

2004-02-18 Thread Dennis Thrysøe
Hi,

I am currently researching a way to implement web-container-like 
functionality within a J2EE compliant webapp, that can run on 
theoretically any servlet container.

One way to do this, would be to embed parts of tomcat such that a number 
of self-managed web applications could be served through the servlet 
container already sourrounding the controlling webapp.

This would include instantiating a Context (perhaps instantiating a 
StandardContext would do the trick?) and have this serve servlets, jsp, 
etc. from sources defined by the code instantiating the context.

My question is this: Is it possible, and feasable, to instantiate a 
tomcat representation of a context, and have it serve servlets, compile 
and serve JSPs, etc.? This should work as continued processing for the 
existing HttpServletRequest, HttpServletResponse and HttpSession. The 
Context in question should function as a partial decoration of the 
existing Context.

Is it possible to implement a 'provider' for the DefaultServlet and 
JspServlet, such that the filesystem/webapp archive can be replaced with 
arbitary sources?

I'm not aware of the detailed differences between Tomcat 4.1 and 5.0, 
but either could be used.

Any input appreciated.

-dennis

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


RE: Problem with Tomcat 4.1 and Apache 2 integration using mod_jk2

2003-03-07 Thread Madhan G Dennis
Hi Everyone,

I've solved it. All I had to do was comment out every line in jk2.properties
and everything works fine :-)

Thanks !!

- Madhan

-Original Message-
From: Madhan G Dennis [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Problem with Tomcat 4.1 and Apache 2 integration using mod_jk2


Hi Everyone,

I am trying to integrate Tomcat 4.1 and Apache 2. Everything works fine if I
use the /examples webapp. However when I try to use my own webapp I get the
following error. I would be very grateful if someone could help me out. In
one mailing list I saw a post with the same problem which said the solution
was to use port 8009. I tried that too in my server.xml and jk2.properties
but it is still not working.

Mar 7, 2003 3:18:00 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 7, 2003 3:18:00 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 7, 2003 3:18:01 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 7, 2003 3:18:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Mar 7, 2003 3:18:11 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.start(JkMain.java:341)
at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:
1056)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
06)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.processProperty(JkMain.java:537)
at org.apache.jk.server.JkMain.processProperties(JkMain.java:505)
at org.apache.jk.server.JkMain.start(JkMain.java:346)
at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:
1056)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
06)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Mar 7, 2003 3:18:11 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/139  config=/tomcat/conf/jk2.properties


Problem with Tomcat 4.1 and Apache 2 integration using mod_jk2

2003-03-07 Thread Madhan G Dennis
Hi Everyone,

I am trying to integrate Tomcat 4.1 and Apache 2. Everything works fine if I
use the /examples webapp. However when I try to use my own webapp I get the
following error. I would be very grateful if someone could help me out. In
one mailing list I saw a post with the same problem which said the solution
was to use port 8009. I tried that too in my server.xml and jk2.properties
but it is still not working.

Mar 7, 2003 3:18:00 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 7, 2003 3:18:00 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 7, 2003 3:18:01 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 7, 2003 3:18:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Mar 7, 2003 3:18:11 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.start(JkMain.java:341)
at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:
1056)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
06)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.processProperty(JkMain.java:537)
at org.apache.jk.server.JkMain.processProperties(JkMain.java:505)
at org.apache.jk.server.JkMain.start(JkMain.java:346)
at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:
1056)
at
org.apache.catalina.core.StandardService.start(StandardService.java:5
06)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Mar 7, 2003 3:18:11 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 7, 2003 3:18:11 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/139  config=/tomcat/conf/jk2.properties


Invalid no-cache http headers

2003-02-28 Thread Dennis van den Berg
Since I already posted this to the user-mailing-list but did not get any usefull 
replies.
And because I think this is actually a development question.

Hi all,

I encountered problems with the newer Tomcat 4 versions.
There are caching-headers set on the response, in case of URL's with security 
constraints, which are not set in older Tomcat 4 versions versions. 

This results in 2 things;
- The user is not able to use the back-button anymore (This page has expired, in IE6 
anyway)
- When you send a file as an attachement to the browser the user gets an open/save 
dialog.
  When the user presses open, the file is first put into the cache and then opened (by 
IE6 anyway)
  So this results in an 'file not found' message, because caching is disabled.

In the following method in org.apache.catalina.authenticator.AuthenticatorBase:
public void invoke(Request request, Response response,
   ValveContext context)
throws IOException, ServletException {

I found the following code-fragment:
// Make sure that constrained resources are not cached by web proxies
// or browsers as caching can provide a security hole
if (disableProxyCaching && 
!(((HttpServletRequest) hrequest.getRequest()).isSecure())) {
HttpServletResponse sresponse = 
(HttpServletResponse) response.getResponse();
sresponse.setHeader("Pragma", "No-cache");
sresponse.setHeader("Cache-Control", "no-cache");
sresponse.setDateHeader("Expires", 1);
}

I think this piece of code is the source of the problem.
When I read the specs for HTTP, I think I can conclude there are more applicable 
values for the "Cache-Control" header in this case. For example "private" or 
"no-store".

Did anyone else encounter any problems of this kind, or did I overlook something?

Thanks for any replies,

Dennis


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



Re: Velocity (was RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability)

2002-09-26 Thread Dennis Doubleday

Bojan,

Just move the code you wrote into a context object, reference it and
poof! Velocity gets OutOfMemory, too. Bad code is limited to front ends.

Velocity is nice. It is an excellent project, and Geir is possibly the
most responsive and helpful project leader I have ever encountered.

But there IS programming in a Velocity page--it's just in Yet Another
Templating Language, one that both your developers and your web
designers have to learn. That creates opportunities for confusion.
(Especially where velocimacros are involved.) 

> -Original Message-
> From: Bojan Smojver [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 25, 2002 10:34 PM
> To: Tomcat Developers List
> Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source 
> disclosure vulnerability
> 
> 
> Not if:
> 
> runtime.interpolate.string.literals = false
> 
> Bojan
> 
> Quoting Tim Funk <[EMAIL PROTECTED]>:
> 
> > That's what code reviews are for and in absence of that - 
> firing your
> > developers.
> > 
> > Wouldn't I also get an out of memory with this in Velocity?
> > 
> > #set($oom = 
> "" ) 
> > #foreach( $i in [-2147483648..2147483648] ) #set($oom = 
> > "$oom$oom$oom$oom$oom$oom$oom$oom$oom$oom$oom$oom$oom$oom" ) #end
> > 
> > Bad code can kill ANY system for the determined(disgruntled) 
> > developer.
> > 
> > 
> > Bojan Smojver wrote:
> > > All right then, let's talk about JSP's. If I host my 
> clients' JSP's 
> > > on my
> > server
> > > and a web designer puts this in (BTW, he wasn't forced, he simply 
> > > decided
> > he
> > > wanted to do it):
> > > 
> > > ---
> > > Hashtable strings = new Hashtable();
> > > int i=0;
> > > while (true)
> > > {
> > > strings.put ("dead"+i, new StringBuffer(99));
> > > }
> > > ---


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




More informative errors from Jasper-generated code?

2002-07-18 Thread Dennis Doubleday

I am using Tomcat 4.0.3, Windows 2000, JDK 1.4

I was getting the following stack trace from a JSP:

ApplicationDispatcher[/SpendMetrix]: Servlet.service() for servlet jsp
threw exception 
javax.servlet.ServletException

at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:463) 
at org.apache.jsp.getInfo$jsp._jspService(getInfo$jsp.java:3432)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

etc...

which is quite unhelpful because line 3432 in getInfo$jsp.java is just
the location of the catch-all exception handler. The actual cause of the
exception is lost in the mists. I edited getInfo$jsp.java by hand and
added a t.printStackTrace and recompiled it, which handily located the
real error. 

That got me thinking, why couldn't Jasper do this? Maybe
PageContextImpl.handlePageException() could print (or, better yet, log)
the initial Throwable before re-throwing the ServletException.

I'm surprised that I don't get the root cause through the chained
exception facility of JDK 1.4, since that's what I'm using.
handlePageException does "throw new ServletException(t)" so I should get
the root cause from the stack trace.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Wanted to forward this article on to the Tomcat folks but Ican't subscribe in order to do it so...

2002-05-29 Thread Dennis Muhlestein

I agree with Andy.  I have servers with no console attached.  I simply
ssh or telent in and do the configuration.  If anyone ever writes a GUI
admin for tomcat, I hope it does not conflict with the ability to use
plain text and edit the conf files.

-Dennis


On Wed, 2002-05-29 at 10:29, Andrew C. Oliver wrote:
> David M Johnson wrote:
> 
> > This discussion started as a back-and-forth between Mike Cannon-Brooks
> > and myself - on our weblogs.  This culminated in two write-ups:
> >
> > Mike's Is Tomcat Crap
> > http://radio.weblogs.com/0107789/stories/2002/05/28/isTomcatCrap.html
> >
> > And my Tomcat is not Crap
> > http://radio.weblogs.com/0106533/stories/2002/05/28/tomcatIsNotCrap.html
> 
> 
> I disagree with point #3.  I think one of the great things about tomcat 
> is I don't have to configure it via a GUI. There is something to be said 
> about the power of text.
> 
> -Andy
> 
> PS.  I love Tomcat.
> 
> >
> > - Dave
> >
> >
> >
> >
> > Andrew C. Oliver wrote:
> >
> >> http://www.javalobby.org/thread.jsp?forum=61&thread=3786
> >>
> >> While the name of this article is just pure inflamatory, some of the 
> >> points it makes are good and the numbers are interesting if unbacked 
> >> (by WTF was it the application you benchmarked)
> >>
> >> I think constructive criticism is good.
> >>
> >> -Andy
> >>
> >>
> >> -- 
> >> To unsubscribe, e-mail:   
> >> <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail: 
> >> <mailto:[EMAIL PROTECTED]>
> >>
> >
> >
> >
> >
> >
> >
> >
> >
> > -- 
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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




Re: Jasper performance

2001-05-18 Thread Dennis Doubleday

At 07:51 AM 5/18/01, Geir wrote:

>Those aren't comparable, 'Velocity templates' and 'general purpose
>servlet container', because Velocity is just a template tool - you still
>need the servlet and servlet container.

That was exactly my point when I said Velocity doesn't really do anything 
to prevent DOS attacks, either. Any Velocity app requires a servlet 
back-end, and if I'm going to host user apps, I'm going to have to let them 
install servlets, in which case they can put in the same ever-looping code.


-----
Dennis Doubleday  email: [EMAIL PROTECTED]
yourfit.com, Inc.   web: http://www.yourfit.com/




Re: Jasper performance

2001-05-17 Thread Dennis Doubleday

At 08:35 PM 5/16/01, Jon wrote:

>Also, there is a reason for the #foreach...
>
><http://jakarta.apache.org/velocity/ymtd/ymtd-hosting.html>

Jon,

I agree with most of your points. I am a new Velocity user and I am very 
impressed by its combination of power and simplicity. Reading/writing XSLT 
specs is an exercise in masochism.

However, I don't see how Velocity is really avoiding the fundamental 
problem described in the document you referenced. If you are an ISP hosting 
Velocity-based pages, you are certainly going to have to let that 14 year 
old kid install both templates and class files; templates by themselves 
won't accomplish much. So the incompetent or malicious client can easily 
make the same mistake in his Command class that he would have made in the 
JSP page, and therefore also create a DOS attack on all servlets hosted in 
that JVM. No?




-----
Dennis Doubleday  email: [EMAIL PROTECTED]
yourfit.com, Inc.   web: http://www.yourfit.com/




Problem building mod_jk on HP-UX 11.00

2001-03-02 Thread Dennis Blaas

Hello,

I try to build mod_jk module on HP-UX 11.00 but I have many problem
in compilation.

Is there anybody who has tried this porting?

My configuration is: Tomcat 3.2.1 and Apache 1.3.9

Thank you in advance, Best Regards.




begin:vcard 
n:Blaas;Dennis
tel;cell:+39 0335 6834551
tel;fax:+39 0461 316401
tel;work:+39 0461 316545
x-mozilla-html:FALSE
org:Technical Direction, PRT Area;Sodalia S.p.A.   http://www.sodalia.it/Icons/US/sodalia.gif"> 
adr:;;Via Zambra, 1;Trento;;38100;ITALY
version:2.1
email;internet:[EMAIL PROTECTED]
title:Configuration Manager
fn:Blaas Dennis
end:vcard



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