its a jmx class.
probably in jmx.jar
-Original Message-
From: alebu [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Custom Realm development: can't locate javax.management package
Hi, I was trying to develop my own Realm extendin
Hi, I was trying to develop my own Realm extending
org.apache.catalina.realm.RealmBase
but in Eclipse I got this error:
The type javax.management.MBeanRegistration cannot be resolved.
It is indirectly referenced from required .class files MyRealmBase.java.
I can't find jar file where this pa
Why would you have to have an entirely new "reflection" for more than
one database call? That sound like a design SNAFU to me. Looks to me
like you should be having one use of reflection instead of 1000.
Jack
On 4/17/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote:
>
> >1000 on
Dakota Jack wrote:
1000 on a page? Really? That seems very odd to me given my
experience. What would a page like that look like? Do you have
examples?
So psuedo code...
- get a list of objects from your DB.. Say 500
- for each object
tag A
tag B
tag C
fn:length
And so forth... That
1000 on a page? Really? That seems very odd to me given my
experience. What would a page like that look like? Do you have
examples?
On 4/17/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> QM wrote:
>
> >On Sun, Apr 17, 2005 at 03:44:59PM -0700, Kevin Burton wrote:
> >: We've had a few bottlen
QM wrote:
On Sun, Apr 17, 2005 at 03:44:59PM -0700, Kevin Burton wrote:
: We've had a few bottlenecks in our code that have since been removed but
: the remaining big bottleneck is Tomcat. The JSP engine is creating
: compiled code that is heavily relying on reflection.
: [snip]
:
: Is there AN
"Georges Roux" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>>Thanks much for sharing your solution with the group -- this will help
>>people when they search the archives.
>>
>>-QM
>>
> Well hm, bad news, the probleme is already here and I don't have the
> solution.
>
Yeah, we
On Mon, Apr 18, 2005 at 03:03:45AM +0200, Martin Lidgard wrote:
: I am trying to get Tomcat to respond to requests for files with an ".asp"
: extension in order to let Turbine handle the request and redirect to the
: appropriate Velocity page.
: [snip]
: The problem is that Tomcat does not seem t
On Sun, Apr 17, 2005 at 03:44:59PM -0700, Kevin Burton wrote:
: We've had a few bottlenecks in our code that have since been removed but
: the remaining big bottleneck is Tomcat. The JSP engine is creating
: compiled code that is heavily relying on reflection.
: [snip]
:
: Is there ANY way to g
Hi.
I am trying to get Tomcat to respond to requests for files with an ".asp"
extension in order to let Turbine handle the request and redirect to the
appropriate Velocity page. The reason for this seemingly strange need is
that I want to handle external references (on other web sites) to my site
Thanks much for sharing your solution with the group -- this will help
people when they search the archives.
-QM
Well hm, bad news, the probleme is already here and I don't have the
solution.
Sorry
Georges
-
To unsubscribe, e
Hi Caroline
it works perfectly now!!
thanks very much for your help
I love you!!
:-)
From: Caroline Jen <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 07:47:11 -0700
I've been spending this week running a profiler across our webapp and
Tomcat.
We've had a few bottlenecks in our code that have since been removed but
the remaining big bottleneck is Tomcat. The JSP engine is creating
compiled code that is heavily relying on reflection. Reflection
shouldn't
On Sun, Apr 17, 2005 at 02:30:16PM -0400, Nick Johnson wrote:
: (with respect to tomcat 5.0.28)
: I have a bunch of JSP files which work hapily when located in a
: subdirectory of webapps/ROOT. However, whenever I want to move that
: directory, and then leave a symlink to that directory in webapps
On Sun, Apr 17, 2005 at 07:34:49PM +0200, Georges Roux wrote:
: and after as root with only
: -Djava.io.tmpdir=/tmp
: the problem was the write permissions on the sessions files in /tmp
Thanks much for sharing your solution with the group -- this will help
people when they search the archives.
Hello,
(with respect to tomcat 5.0.28)
I have a bunch of JSP files which work hapily when located in a
subdirectory of webapps/ROOT. However, whenever I want to move that
directory, and then leave a symlink to that directory in webapps/ROOT,
it all falls apart.
I searched around, and the closes
And the problem was...
first I try to start tomcat with
-user www-data
-Djava.io.tmpdir=/tmp
and after as root with only
-Djava.io.tmpdir=/tmp
the problem was the write permissions on the sessions files in /tmp
Georges
-
To unsubsc
QM a écrit :
Do you call jsvc as root?
A long time ago, there was a bug that would cause jsvc to fail unless
called as root. IIRC "set_caps()" is the function that calls
setuid()/setgid(). Those calls require root privs, so they would fail;
and in turn, the whole program bailed out.
(The other op
Actually, I fixed the code by adding encodeRedirectURL method.
Strange thing is Firefox does not seem to care about proper url
encoding, where as IE does.
On 4/15/05, Sng Wee Jim <[EMAIL PROTECTED]> wrote:
>
> Try setting the following 2 response header
>
>response.setHeader("Pragma", "
On Sun, Apr 17, 2005 at 10:33:56AM +0200, Georges Roux wrote:
: I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default
: configuration)
: nothing is running on this port
: and have only thi error in logs/catalina.err
:
: jsvc.exec error: syscall failed in set_caps
: jsvc.exec error
On Fri, Apr 15, 2005 at 08:37:14AM -0600, Lorenzo Jim?nez wrote:
: Today we saw that our Tomcat 5.0.28 had been installed and it is running with
: the root user.
: how can I change it to other less dangerous user?, and
: what privileges needs to have in order to work?
You've already gotten some wi
Georges Roux wrote:
I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default
configuration)
nothing is running on this port
and have only thi error in logs/catalina.err
jsvc.exec error: syscall failed in set_caps
jsvc.exec error: Service exit with a return value of 4
Try "modprobe ca
In the change log for TC5.5.9, there is a claim that MX4J 3.0.1 has been
integrated instead of 2. The JAR in bin from the compatibility package
for JDK1.4 matches MX4J 3.0.1. But if I put the other 3.0.1 JARs in
common/lib and configure Coyote to use jk2.properties with
mx.enabled=true, using JDK1.
Hi,
I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default
configuration)
nothing is running on this port
and have only thi error in logs/catalina.err
jsvc.exec error: syscall failed in set_caps
jsvc.exec error: Service exit with a return value of 4
Georges
I strongly suggest that you look through the man pages of setuid.
Then u need to make adequate changes with setuid in your startup.sh
file which will help u start the process as a normal user even though
root has started the process during boot.
HTH
-Anoop
On 4/15/05, Lorenzo Jiménez <[EMAIL PR
25 matches
Mail list logo