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 a
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
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
I'll look again, but I didn't see a jmx.jar earlier
-- Original message --
From: Guy Katz [EMAIL PROTECTED]
its a jmx class.
probably in jmx.jar
-Original Message-
From: alebu [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 9:46 AM
To:
Hi,
are you debugging Tomcat when this happens? Then this is maybe related
to class hotswapping
Christoph
Kent Tong wrote:
Hi,
I notice that in Tomcat 5.5 changes to my Java class take
effects without reloading the app. The content is not marked
as reloadable. There is no message in the console
Should be in ${TOMCAT_HOME}/bin/jmx.jar
[EMAIL PROTECTED] wrote:
I'll look again, but I didn't see a jmx.jar earlier
-- Original message --
From: Guy Katz [EMAIL PROTECTED]
its a jmx class.
probably in jmx.jar
-Original Message-
From: alebu [mailto:[EMAIL
Do you use tomcat as standalone ?
Send me the server.xml
However try
Engine defaultHost=www.nacion.com name=Catalina
Host appBase=webapps name=www.nacion.com debug=0
Logger className=org.apache.catalina.logger.FileLogger
suffix=.txt
Bill Barker a écrit :
Yeah, well, check out
http://issues.apache.org/bugzilla/show_bug.cgi?id=33154.
Well done Bill,
I use last stable 2.6.11 from kernel.org compiled as the debian way
(initrd and all as module)
and nowI add the line
modprobe capability
before launching jsvc, in my tomcat
I have a customer who likes to introduce chipcards with client
certificates for single-sign-on. I need to add support for that in a
web-application we provided.
The problem is, that not ALL users of the application may have a
certificate. So for all not able to present a valid certificate I
Hi, All,
A client of mine is having trouble getting Tomcat 4.1.27 to make use of
multiple processors on his quad processor system under Windows 2003. My
questions:
1. What can he do to enable Tomcat to make use of all 4 processors?
2. If a single instance of Tomcat can't make
Hello Tomcat-oids,
We've been running performance tests against multiple applications on Tomcat
4.1.26. TC is run as a process on our Linux boxes and as a service on Windows.
We've tuned heap sizes to -Xms512m -Xmx1024m.
Monitoring the JVM memory usage with a daemon thread calling
For Tomcat...
Change the listings parameter in the DefaultServlet
to false. Don't know for Apache.
Darryl
--- Richard Reyes [EMAIL PROTECTED] wrote:
What I do is put an access denied index.jsp on every
subdirectories
inside the specific webapp folder.
heres my acc. deny index.jsp...
Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1
It seems to works fine (see the logs in my very first
Thanks for the pointers.
The problem ended up being that the redirect required not only an
HTTP-StatusCode (301 - Moved permanently) but also a
httpServletResponse.setHeader(Location, http://newurl;). Without the
header, Mozilla shows the originally requested page which contains a
redirect
Mark,
Does the account you're trying to use have all the
correct user rights (act as part of the operating
system, run as a service, etc.)?
Darryl
--- Mark Leone [EMAIL PROTECTED] wrote:
I think this is a pretty basic question, but I
couldn't find an answer
in the archives. I've been using
Hi all,
I have two web applications which use the same JDBCRealm. I have tested
the realm and it works fine. I commented out the single sign on valve in
the server.xml . I tested the links from one application to another. The
protected resources still ask for the login information. It would be
Hi all,
I have two web applications which use the same JDBCRealm. I have tested
the realm and it works fine. I commented out the single sign on valve in
the server.xml . I tested the links from one application to another. The
protected resources still ask for the login information. It would be
Darryl Wilburn wrote:
For Tomcat...
Change the listings parameter in the DefaultServlet
to false. Don't know for Apache.
Just wrapped up both problems myself: the listings parameter takes care
of tomcat, and a .htaccess file takes care of apache:
$ cat .htaccess
Options -Indexes
$
Just place
Dear Gurumoorthy:
Thank you very much for your help.
It worked at the first try!
Regards,
Lorenzo
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Lunes, 18 de Abril de 2005 02:07 a.m.
To: 'Tomcat Users List'
Subject: RE: Virtual domain problem
Do you
Hi all,
I have two web applications which use the same JDBCRealm. I have tested the
realm and it works fine. I commented out the single sign on valve in the
server.xml . I tested the links from one application to another. The protected
resources still ask for the login information. It would
On 4/18/05, shyam reddy [EMAIL PROTECTED] wrote:
Hi all,
I have two web applications which use the same JDBCRealm. I have tested the
realm and it works fine. I commented out the single sign on valve in the
server.xml . I tested the links from one application to another. The
protected
I am sorri for the 3 messages. I got a response from the first two messages
that the message was not delivered as I didnt have an account. So I subcribed
again and sent the email. Sorri for the trouble
shyam
Jason Bainbridge [EMAIL PROTECTED] wrote:
On 4/18/05, shyam reddy wrote:
Hi all,
Hi, ran into something odd:
- buildfile A (build-A.xml) contains deploy task, running the task works w/o
any problems :
!-- ... --
target name=deploy depends=war
deploy url=${tomcat.manager.url}
username=${tomcat.manager.username}
Create a Host and Alias. You can do this through teh
Admin tool.
1. Create a directory to be the base of the new host:
C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps2
2. Open Tomcat Admin tool.
3. expand Service (Catalina)
4. Click Service (Catalina)
5.
Hello all,
I try again because it seems that my message wasn't received. I am sorry for
the inconvenience if you have already receive my message.
So here is my problem. I hope someone could help me:
Hello,
I dont know if it's you I need to contact but it make 3 days I am trying to
solve this
Hi,
i am using the tomcat 5.0.27 distribution. After several days of uptime
the DBCP seems to run odd:
org.apache.commons.dbcp.BasicDataSource.getNumActive() == 4
org.apache.commons.dbcp.BasicDataSource.getNumIdle() == 1
org.apache.commons.dbcp.BasicDataSource.getMaxActive() == 10
Found it, the dist.dir property was set to dist, it should have been set to
${basedir}/dir, all other relative dirs had the latter convention, which
explains everything.
-Original Message-
From: Quinten Verheyen
Sent: 18 April 2005 16:43
To: Tomcat Users List
Subject: odd problem
I am getting the same problem, also with 5.5.4 + Compat, RH9, J2SDK142.
- I am building the WAR with ANT, scp'ing to to an empty /webapps and
restarting Tomcat.
- If I copy the ROOT.war to BLAH.war it will expand fine as BLAH, even
root.war to root, just not ROOT.war to ROOT.
Thanks
Euan
Hello,
I know that jsvc will let you set the user id of the tomcat process,
but will it also let you set the group id of the process?
Nick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi All!
I'm trying to configure Tomcat to use 2.5Gb of memory on Windows 2000 Server
SP4 with Java 1.4.2_04.
To configure memory I'm using Start - Programs - Apache Tomcat 5.0 -
Configure Tomcat - Java Tab.
When I set the Maximum Memory Pool to anything greater than 1024Mb the
Tomcat
Guys,
I've been using the JSPc task (org.apache.jasper.JspC) to compile a set of
JSPs. So far so good, but I now want to exclude a few of the JSPs from being
precompiled. Unfortuntely, there's no attribute (that I know of) in the JSPc
task to do this. Am I missing something here?
Thanks,
How can you set that?
Would that allow files created or written to by tomcat to get
permissions I want ?
We are using servers with the tanuki java service wrapper. Hopefully it
can be done with that the same way...
Thanks a lot.
neil
-Original Message-
From: Nick Johnson
From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED]
Subject: Tomcat Won't Start When 1024Mb JVM Memory Specified
Is there a 1Gb limit on the JVM? On Tomcat?
Not on those, but Windows normally provides only 2GB of virtual space
for each process. (There's an initialization switch that can
Hello,
I'm in the process of bringing an in-house application up under Tomcat.
Previously we were using Jetty as the servlet container, but for various
reason I'm trying to get said application running with Tomcat 5.5.9 and Java
1.5.0.
The problem I'm having is that there are two directories
1.What can he do to enable Tomcat to make use of
all 4 processors?
I dont know of an answer to that one. I think it is
impossible unless you have a JVM that will use 4
procs... Sun doesnt seem to do this.
2.If a single instance of Tomcat can't make use of
multiple
processors,
From: Chris Hyzer [mailto:[EMAIL PROTECTED]
Subject: Re: Running Tomcat on multiple processors on Windows 2003
I dont know of an answer to that one. I think it is
impossible unless you have a JVM that will use 4
procs... Sun doesnt seem to do this.
Huh? The Sun 1.3, 1.4, and 5.0 JVMs
Dakota Jack wrote:
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.
I don't have to have it. Tomcat is *doing* it. Forget the DB. If I
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
c:forEach begin='0' end='${param.iterations}'
${more.cowbell}
/c:forEach
%=System.currentTimeMillis()%
Where more is any java object and cowbell is a property (getCowbell()). In
simple timing trials - even
Hello all,
I'm using tomcat 5.5.7 and have configured userconfig in server.xml to look in
user's
public_html subdir for jsps etc. Jsp files work in user directories but java
beans and
servlets do not.
Does anyone have tomcat working to beans and servlets also work in user's
public_html
For a development environment of ours where we aren't yet running apache
2, I had to build jk1 for Solaris and apache 1.3.26. Everything looked
ok, but none of the workers seem to be loading, not even the jkstatus
worker. Loading the page returns a 500 error, and the jk log into debug
mode
Hi,
I've got 3 exceptions, when I run simple webapp under SecurityManager with
standard
policy file and:
-IntelliJ 4.5
-JDK 5.0
-Tomcat 5.5
The exceptions are:
SEVERE: Parse error in default web.xml
java.security.AccessControlException: access denied (java.lang.RuntimePermission
I haven't heard anything back so I thought I'd rephrase my question.
I'm running tomcat-5.0.30 with apache 2.0.52 and j2sdk1.4.2_04 on
Red Hat AS 3 update 2. I am seeing runaway thread creation where
threads continue to accumulate until they are maxed out.
After doing a thread dump, which I have
Hi everyone,
I'm trying to deploy Sakai 1.5.0 with Tomcat 5.5.7. I've received several
emails from people on the sakai user group telling me that Sakai 1.5.0
hasn't been proven to run with Tomcat 5.5.7, but I wanted to learn a little
bit on my own, so I'm trying to make it work.
Part of the
Tim Funk wrote:
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
c:forEach begin='0' end='${param.iterations}'
${more.cowbell}
/c:forEach
%=System.currentTimeMillis()%
Where more is any java object and cowbell is a property
(getCowbell()). In simple timing
hihi,
is this what you're trying to achieve?
-have all servlets deployed under Tomcat's webapp directory like usual
-but then place modified/customized servlets to user's directories
whenever desired (and this one overrides the webapp one)
woodchuck
--- Steve Ochani [EMAIL PROTECTED] wrote:
Is there an archive of the questions and replies? If so where? What is the
URL.
Thank you,
John Najarian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
here is one...
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2
On 4/18/05, John Najarian [EMAIL PROTECTED] wrote:
Is there an archive of the questions and replies? If so where? What is the
URL.
Thank you,
John Najarian
Guys,
Sorry to ask a redundant question -- I looked on the list archives and found
my answer:
http://marc.theaimsgroup.com/?l=tomcat-userm=110607458931449w=2
No possiblity of doing excludes.
I'm going to try to hack in this functionality to the
org.apache.jasper.JspCclass but I'm unclear as to
Hi,
On 18 Apr 2005 at 14:19, Woodchuck wrote:
hihi,
is this what you're trying to achieve?
-have all servlets deployed under Tomcat's webapp directory like usual
-but then place modified/customized servlets to user's directories
whenever desired (and this one overrides the webapp one)
To execute a tag file requires creating some new objects which migh have an
overhead not quite comparable to RequestDispatcher.include()
Thats probably the issue.
-Tim
Kevin Burton wrote:
Tim Funk wrote:
Its not reflection killing you. For example, time this:
%=System.currentTimeMillis()%
Joe,
Do you also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch? If so, what does its web.xml look like?
Fritz
-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 1:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Deploying
Fritz,
When you ask whether I also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch, I think what you're asking is whether or
not everything looks kosher in that directory. If that's the case, then the
answer is yes. I see the META-INF and WEB-INF directories. WEB-INF\lib has a
Hi,
I need to install Apache, tomcat, and all related software on a UNIX
computer:
MACHTYPE=sparc-sun-solaris2.9
What version of Tomcat, and Apache is the best match? I try to install
Apache 2.0.53. When I compile it, there is only one .so file in the modules
filder. It may be the wrong
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Subject: What version of Tomcat, Apache to Install
What version of Tomcat, and Apache is the best match?
Are you sure you really need the additional complexity of Apache httpd
on the same box as Tomcat? The current level of Tomcat (5.5 series) is
Can you tell me how to check for that? The only options I can find for
defining account properties are in Control Panel -- Users and
Administrative Tools -- Computer Management; and neither of those have
any settings beyond very basic things like Admin vs. limited priviliges.
I played around a
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
: So its clearly not JUST reflected methods its something else on top of
: it
What does your profiler report?
-QM
--
software -- http://www.brandxdev.net/
tech news -- http://www.RoarNetworX.com/
code scan --
On Mon, Apr 18, 2005 at 12:50:26PM -0400, Nick Johnson wrote:
: I know that jsvc will let you set the user id of the tomcat process,
: but will it also let you set the group id of the process?
Off the top of my head I don't know; but you can grep the source code
for setgid() (or even setegid()).
On Mon, Apr 18, 2005 at 01:16:04PM -0500, J. Ryan Earl wrote:
: So my question is, in short, given a directory structure of static files,
: how do you get Tomcat to serve said static content off of an arbitrary URI?
So, are you trying to
1/ have a Tomcat-run webapp serve content that exists
Joe,
The question also is asking if F:/usr/local is TOMCAT_HOME. I am not sure
that the context.xml is used if there is no directory for the context under
webapps. You quoted me a web.xml from what would appear to be a different
directory.
Fritz
-Original Message-
From: Joe Bautista
QM wrote:
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
: So its clearly not JUST reflected methods its something else on top of
: it
What does your profiler report?
-QM
I can't for the life of me figure it out!
It certainly reports that doTag is taking a LOT of time but
Hi,
I am using Form-based tomcat security. I use a servlet to find login
information such as the principal name, all the role names for this principal.
I can use request.getUserPrincipal() from
javax.servlet.http.HttpServletRequest. Is there anyway I can use
GenericPrincipal class from
Why not make the user that Tomcat runs at a member of the group you need it
in?
Why do you need to change the group if it is set ahead of time?
Doug
- Original Message -
From: QM [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, April 18, 2005 9:25 PM
I'm also interested in how to get that principal info and maybe how to
overwrite or add methods.
-- Original message --
From: Gia Thornton [EMAIL PROTECTED]
Hi,
I am using Form-based tomcat security. I use a servlet to find login
information such as the
Hi all!!
I am lost and I need help! I have tomcat running in a Solaris 9 server
and I need to be able to install and configure PHP and Mysql to run
with tomcat. Is there a step by step document to do this?
Thanks,
Edwin
-
Do you Yahoo!?
Maybe I'm too naive here but what are the file permissions and does your
windows environment have domain or active directory control???
-- Original message --
From: Josef Vosyka [EMAIL PROTECTED]
Hi,
I've got 3 exceptions, when I run simple webapp under
Hi all!!
I am lost and I need help! I have tomcat running in a Solaris 9 server
and I need to be able to install and configure PHP and Mysql to run
with tomcat. Is there a step by step document to do this?
Thanks,
Edwin
__
Do You Yahoo!?
Why don't you break it down and find out where the time is going?
On 4/18/05, Kevin Burton [EMAIL PROTECTED] wrote:
QM wrote:
On Mon, Apr 18, 2005 at 02:19:15PM -0700, Kevin Burton wrote:
: So its clearly not JUST reflected methods its something else on top of
: it
What does your
Dakota Jack wrote:
Why don't you break it down and find out where the time is going?
So in summary.. now that I'm suspicious that its a tag instantiation
issue I'm going to load up the webapp with FULL instrumentation... its
about 8x slower but I think I'll need that level of granularity
I am getting a major build up in my temp directory:
c://application/j2se
c://application/server
c://application/server/webapps/ROOT
c://application/temp
The files being stored there are keeping resources, e.g. thumbnail
images, in the air, making them unavailable for modication. Can
someone
69 matches
Mail list logo