Re: Configuration via system properties

Matthias Radestock <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Dan,

Dan <[email protected]> writes:

> I'm concerned about the sisc.maxStackTraceDepth property: in a hosted
> servlet container environment, there's no easy way to set system
> properties, especially if that has to be done *before* sisc
> initializes.
>
> [...]
>
> Please add other ways to configure SISC; for example, via an optional
> constructor argument to the Interpreter class. That argument could be
> a Properties object to allow many settings to be customized at once.

maxStackTraceDepth isn't the first or only parameter that is configured
system-wide. We generally try to avoid them, for the reasons you
mention, and use Dynamic Parameters instead.

It may actually be possible and not very expensive to make
maxStackTraceDepth a dynamic parameter. Please raise a bug for that.

> By the way, how expensive is enabling stack traces in terms of
> performance?

iirc in my tests the performance dropped by around 30%. ymmv.


Matthias.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.