Hi Mumanyi!
This will require some knowleage about you operatingsystem since not all
operation is allowed being a non-root user. But it basically comes down to
this:
Grant the user you would like to run tomcat read and write rights on the
whole tomcat install-dir. This because tomcat write down
In what way, do you mean path seperator or something else ?
Within my context.xml im using forward slash (UNIX notation) for both
and its the Windows one that is working
Phillip Qin wrote:
Windows and linux use different url.
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat]
dir, No problem with the user starting tomcat. ps -e|grep java shows the
tomcat process is running but when I try to access the pages from the
browser, connection is failing.
Any tips on how to grant priviledges to port 80 or
Do you know how to set the same when running Tomcat in console mode
(from command prompt)?
On Thu, 13 Jan 2005 10:33:15 -0800 (PST), TomK
[EMAIL PROTECTED] wrote:
Success! I was able to get the antiResourceLocking attribute to finally take
effect with Tomcat 5.5.4.
The problem is the
I guess there is. By fixing the code.
On Tue, 11 Jan 2005 18:05:42 +, Mark Benussi
[EMAIL PROTECTED] wrote:
The reason this is off topic is that I was wondering if anyone has ever
found a way of recovering leaked memory, without restarting the JVM?
TomK [EMAIL PROTECTED] wrote:
Dominik -- Regarding your statement that the latest CVS version does
not suffer from the nasty jar locking. I'll try it out later, but are
you suggesting 5.5.7 will not have JAR locking issues at all, and thus
the antiResourceLocking and antiJARLocking
Are you accessing tomcat from localhost or any other host?
Den 05-01-14 09.19, skrev Mumanyi Bravismore [EMAIL PROTECTED]:
Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat]
dir, No problem with the user starting tomcat. ps -e|grep java shows the
tomcat process is running
Hi all,
I can't make xalan work when I run tomcat with security manager.
All I get is java.lang.ExceptionInInitializerError (see stack trace
below).
It works fine without security manager.
Has any of you used xalan on tomcat with secuirity manager? What
privileges should I grant to the code?
I
Any tips on how to grant priviledges to port 80 or 8080 on
linux to a user.
Two ways:
1.) Install Apache (HTTPD) and a connector and have it pass the requests
to Tomcat.
2.) Use http://jakarta.apache.org/commons/daemon which can bind to
port 80 as root and then downgrade itself to a regular
Hi jungsoo,
Why don't you pass your sessionId in an applet parameter?
Something like:
applet height=200 width=200 class=applets.myApplet.class
param name=mySessionId value=%=request.getSession().getId()% /
/applet
Thenafter, use the getParameter(paramterName) of the applet.
Hope this
We have a webapp running on Tomcat 4.0.x/4.1.x behind
an Apache web server. Apache and Tomcat talk to each
other using mod_jk 1.2.x (we have several installations
with different versions of Apache, Tomcat and mod_jk).
Users connect to the webapp via Apache over SSL and we
use a custom
On Thu, 13 Jan 2005 14:41:57 +0100, Thomas Recloux
[EMAIL PROTECTED] wrote:
How could I configure Tomcat for him to detect dead connections ?
I had a look at DBCP and saw the properties testOnBorrow and
validationQuery.
I just had to set this properties in my server.xml file and that seems to
Yes, you can create your own threads. Be aware that Tomcat may not shut down
properly if your threads are non-daemon. (since the JVM does not exit while a
non-daemon is running)
-Tim
Andreas Vombach wrote:
I would like to have a servlet which offers a CORBA interface. An applet
for example
I don't think so. But JNDIRealm can be extended and I think your change
should be easy to make.
-Tim
Roland Carlsson wrote:
First I'm sorry for flooding in this subject but since I have not got any
answer and I must inform my managers today about if I can do the projects
they want to me to do.
I am accessing it from another machine.
Roland Carlsson wrote:
Are you accessing tomcat from localhost or any other host?
Den 05-01-14 09.19, skrev Mumanyi Bravismore [EMAIL PROTECTED]:
Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat]
dir, No problem with the user starting
First, welcome to the list.
Second, Whenever you are posting to the list with a new issue, please start
with a new email. Do not do a reply-to, even if you change the subject it
messes up the listings for the archives and some email clients.
Third, please post in your email, the version of
Rule number one when working with Internet Exploder: try other
browsers. I usually try Netscape, Mozilla and Firefox. If they work on
those browsers, you are dealing with (imagine this): an IE bug.
Thing is a piece of.if I have to deal with one more IE specific bug.
Ben Ricker
On Jan 13,
Hi guys,I have a JSP applicaction using tomcat 4.1 wich is accesed from internet using an IIS server for the redirection.In my servlet I'm generating a XML file wich will be downloaded by the client, in the servlet I set up this header, like in the others forums some fellows
(Content-Disposition,
attachment;filename=\ + nombreBorrador+\);
I think the end result is supposed to be:
attachment;filename=filename.ext
without the quotes around the filename.
-
To unsubscribe, e-mail: [EMAIL
Per Remy's request, I ran some more tests last night with larger
number of threads. the configuration of the test plan is as follows
1K png: 10, 50, 100, 150 threads
10K png: 10, 50, 100, 150 threads
each thread as was to 1000 iterations.
ramp up times: 1, 5, 10, 20 seconds
Server:
Redhat
Peter Lin wrote:
Per Remy's request, I ran some more tests last night with larger
number of threads. the configuration of the test plan is as follows
What would be nice (since you have infrastructure set up)
is to compare the results with Apache2.
Last time i did it there was only 10% difference
Yup, I plan to try jdk5 with TC5.5.4 per Remy's request.
once I get that out of the way, I plan to work on the enhancements to
the status servlet. I took a quick look at apr-java, looks cool. No
comments yet, but I will post them to tomcat-dev when I do :)
peter
On Fri, 14 Jan 2005 14:30:38
On Fri, 14 Jan 2005 08:11:11 -0500, Peter Lin [EMAIL PROTECTED] wrote:
Per Remy's request, I ran some more tests last night with larger
number of threads. the configuration of the test plan is as follows
1K png: 10, 50, 100, 150 threads
10K png: 10, 50, 100, 150 threads
each thread as was
My instructions for building a dedicated linux machine that runs Tomcat as the
apache user (based on Whitebox Linux - a rebuild of Redhat).
http://www.mythic-beasts.com/support/topic_vds_java.html
Yours,
Pete Stevens
On Fri, 14 Jan 2005, Roland Carlsson wrote:
Hi Mumanyi!
This will
Peter Lin wrote:
Yup, I plan to try jdk5 with TC5.5.4 per Remy's request.
Cool, but can you compare the results with Apache2.0.52
when serving the same static content files on the same
hardware?
That would be very interesting thought. Even more then
bare statistical data you've presented.
Regards,
any tomcat user out there have Redhat FC3 installed and want to help
run some tests? I will post the jmeter test plans this weekend.
it would make remy really happy :)
peter
And no FC 3 ? ;) I think it would run fine on your computer, and it's
a higher quality distribution overall (it
yeah, I've d/l 2.0.52 and plan on running a test. Graham O'Regan is
also going to run the tests again Squid for comparison too.
If I have time, I also plan to compare httpd 1.3. All I need now is
some speed so I can go without sleep :)
peter
On Fri, 14 Jan 2005 14:40:16 +0100, Mladen Turk
You need to tell Apache about your user directories.
Try this location to send anything starting with ~ to tomcat.
Location /\~.*
JkUriSet worker ajp13:localhost:8009
/Location
Charlie
-Original Message-
From: Casas, Claudia [mailto:[EMAIL PROTECTED]
Sent: Thursday, January
Peter Lin wrote:
If I have time, I also plan to compare httpd 1.3. All I need now is
some speed so I can go without sleep :)
In my country we are using the thing called 'Rakija' for that.
It has 45% of alcohol, but has some strange side-effects.
Someone are even stating that it can make you drunk
what a concept Schnapps over speed. Wonder what would happen if
someone made a redbull + Schnapps + speed cocktail 8-)
that wouldn't kill you, really.
I'll stop the jokes there.
peter
On Fri, 14 Jan 2005 14:59:57 +0100, Mladen Turk [EMAIL PROTECTED] wrote:
Peter Lin wrote:
If I have time,
On Fri, 14 Jan 2005 09:07:37 -0500, Peter Lin [EMAIL PROTECTED] wrote:
what a concept Schnapps over speed. Wonder what would happen if
someone made a redbull + Schnapps + speed cocktail 8-)
Use it to chase the diet pills and nodoz, and you may never sleep again. :-)
i've got 5.5.4 w/jvm 1.5.0-b64 on fc3 (2.6.9-1.667,i386).
unfortunately, the hardware is a desktop unit 760 MB ram, ide drive, 2.6
P4 (512 cache). let me know if i should give it a try.
Peter Lin wrote:
any tomcat user out there have Redhat FC3 installed and want to help
run some tests? I
Sure, it can't hurt to try it out. Even if the specs are different,
the data point is a good baseline comparison. I'll post the test plans
shortly to my apache directory.
peter
On Fri, 14 Jan 2005 09:28:52 -0500, Sessoms, Mack [EMAIL PROTECTED] wrote:
i've got 5.5.4 w/jvm 1.5.0-b64 on fc3
Hi,
I'd like to know if there's a more appropriate JVM version to use with JVM
1.3.1.05 ?
If not, then I guest I should take the latest stable version of TomCat ?
Thanks in advance
for those who want to look at the test plans or assist, I've posted
the jmeter test plans
http://cvs.apache.org/~woolfel/testplans.zip
peter
On Fri, 14 Jan 2005 09:28:52 -0500, Sessoms, Mack [EMAIL PROTECTED] wrote:
i've got 5.5.4 w/jvm 1.5.0-b64 on fc3 (2.6.9-1.667,i386).
unfortunately, the
Version 5.5 requires either jdk1.5 or j2sdk1.4 with the compatibility
package.
Version 5.0 requires j2sdk.1.3.1 or higher
On Fri, 2005-01-14 at 09:39, BOEMARE, Xavier wrote:
Hi,
I'd like to know if there's a more appropriate JVM version to use with JVM
1.3.1.05 ?
If not, then I guest I
Greetings!
Using Tomcat 5.0.26 I have some problems precompiling my pages with:
org.apache.jasper.JspC
The precompiler instantiates some beans, altough I don't exactly know
why. During instatiation some beans need to access managed beans, so
they call something like this:
I run FC3, FC2, RH9 and soon will have Debain install going, I would be
happy to help or whatever.
From: Sessoms, Mack [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: more benchmark results
Date: Fri,
Here is my ant script
property name=dist value=${basedir}/dist/
property name=war.file value=ROOT.war/
target name=init description=For undeploy and deploy task. Win32
has a leading slash in url.
condition property=war.url
value=file:${dist}/${war.file}
In linux, I run /bin/su $TOMCAT_USER -- $CATALINA_HOME/bin/startup.sh
Group owner of tomcat directory is tomcat user.
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: January 14, 2005 4:48 AM
To: TomcatUsers
Subject: SV: SV: Installing and running tomcat as a
I'd love to move to a sunshine place after suffering rain, snow in Canada.
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: January 13, 2005 8:15 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: [OT] Consulting Position in Costa Mesa, CA,
This kind of stuff didn't bother me - at least she's targeting
Gary Furash, MBA, PMP
Applications Manager, Maricopa County Attorney's Office
602-506-0351 (Work), 602-725-1985 (Mobile)
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 14, 2005 8:35 AM
Ben Souther wrote:
I'm forwarding this message from a recruiter looking for a Tomcat/VMS
consultant in CA if anyone's interested.
Just another spam.
I have no idea why the people are still sucking that.
Just try to send a message, and you will receive:
I exchanged several emails with her before forwarding it to this list.
On Fri, 2005-01-14 at 10:51, Mladen Turk wrote:
Ben Souther wrote:
I'm forwarding this message from a recruiter looking for a Tomcat/VMS
consultant in CA if anyone's interested.
Just another spam.
I have no idea
Call me an optimist, but that error looks like standard, old, ordinary,
everyday mail server trouble -- nothing to get excited about. Besides,
I sent a message declining and didn't get that error.
--David
Mladen Turk wrote:
Ben Souther wrote:
I'm forwarding this message from a recruiter
Ben Souther wrote:
I exchanged several emails with her before forwarding it to this list.
Well, she send me 5 emails with the same content replying to
each email I've posted to this list last week.
So if that's not the spam, then what is it?
Mladen.
Hello:
I am running Tomcat 5.0. I installed it
about 2 months back and I have been learning the ropes these days.
This morning when I tried to go into the
Manager application and/or the admin application (http://127.0.0.1:8080/admin/), I get an
authentication box:
I dont know
David Smith wrote:
Call me an optimist, but that error looks like standard, old, ordinary,
everyday mail server trouble -- nothing to get excited about. Besides,
I sent a message declining and didn't get that error.
He he :)
Call me an pessimist, but when did you receive that kind of
message
Hi All-
I am interesting in using the in processes jni_worker with apache 2.0 on linux.
My question concerns the number of instances of a jvm, and hence tomcat that
will be created.
I'm no apache expert but my understanding is that, on linux the default mpm
configuration will have multiple
Are you experiencing Internet connection difficulties? Because
1. You were unable to sent her an email which I could;
2. You were unable to visit her website which I could.
Regards
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: January 14, 2005 11:46 AM
To: Tomcat
Please disregard #2. I think whoever is interested can phone her to verify.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: January 14, 2005 11:58 AM
To: 'Tomcat Users List'
Subject: RE: [OT] Consulting Position in Costa Mesa, CA,
Are you experiencing Internet
For #2, the right link is http://www.issgjobs.com
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: January 14, 2005 11:59 AM
To: 'Tomcat Users List'
Subject: RE: [OT] Consulting Position in Costa Mesa, CA,
Please disregard #2. I think whoever is interested can
On Jan 14, 2005, at 17:45, Mladen Turk wrote:
Also, seems that everybody has received those emails, so if
that's not the spam then what is it?
It's a business proposition! Like the ones I constantly receive from
those charming gentlemen in Lagos, Nigeria :o)
Indeed lists 2,713 hits for tomcat:
you
need to add a user with the manager role to the tomcat-users.xml
file.
Then
use this login and you will be able to access the admin app.
-Original Message-From: Venkat Radha
Venkataramanan [mailto:[EMAIL PROTECTED]Sent: 14 January
2005 16:43To: 'Tomcat Users
I have two users, venki and admin set up in the file with admin and
manager roles.
Like I said, I have had no problems for the last two months. The only thing
I did last was install an anti-virus package from trendMicro. I am running
this on a Windows 2003 server.
venkat
_
Michael-
If you suspect the error is related to the security manager, run tomcat
with the following environment variable set:
export CATALINA_OPTS=-Djava.security.debug=access:failure
This will put logging for the security manager in your catalina.out
file (or your applications log file if
Marcus Beyer schrieb:
The precompiler instantiates some beans, altough I don't exactly know
why. During instatiation some beans need to access managed beans, so
they call something like this:
FacesContext facesContext = FacesContext.getCurrentInstance ( );
/*
* this happens
Hi,
Does anyone know a way to debug/monitor session replication over the multicast.
Thank you,
Edmon
I don't know. I apologize for any inconvenience. I know I was talking
to a real person. We exchanged 3 or 4 emails over a 10 minute period.
I figured, maybe there was someone in here from CA in need of work who
would benefit from it so I forwarded it to the list.
If I had detected even the
Hi,
We're experiencing Tomcat crashes during stresstesting of a webapplication.
Situation: Tomcat runs as a Windows service. During stresstests the
Tomcat-services suddenly ends unexpectedly. The Windows eventlog logs states
something like: ...service ended unexpectedly... The problem is
Should work in exactly the same way.
Mark
Rolf Zelder wrote:
Hi
In Tomcat 4.2 I was able to define dt_socket (see below) for remote
debugging in the catalina.bat file. How do I configure a dt_socket in Tomcat
5.5 ?
Cheers
Rolf
Catalina.bat:
set JAVA_OPTS=%JAVA_OPTS% -Xdebug
Sorry, no problem. The account password is wrong.
-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 3:44 PM
To: Tomcat Users List
Subject: Authentication problem in Sending email from servlet. (tomcate
5)
Hi,
In my web page, user sends
just enable debugging in the logs and you'll see what is going on.
multicast is only used for membership, not for replication. TCP is used for
that.
Filip
- Original Message -
From: Edmon Begoli [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday,
David,
I have been chasing a similar problem for weeks now with tomcat 5.0.28
on Linux. It occurs sporadically, sometimes a couple times a day,
sometimes after weeks. I see no errors in the log file and no core
dumps. At first I thought it was the JVM crashing but I've tracked it
down to
I'm just learning this stuff, but having good success so far. In my
SQL-backed bean I use a JDBCResource as per the documentation:
protected static Connection getConnection() {
//System.out.println(User.getConnection Attempting to get
connection);
try {
Context
I was recently given a new application to maitain. It uses Tomcat 5.0.16 and an
Oracle database. I have used various versions of Tomcat to work with
applications on two other kinds of databases, one of which uses DBCP, so I am
somewhat familiar with the needed parameters and went to the Tomcat
My current upgrade procedures are to shutdown tomcat 3.x, move the
current version of my webapp directory somewhere else, recreate the
/webapp directory, then un-jar the war file created by NetBeans. After
doing this I then have to modify the WEB-INF/app.config file with
customer-specific
Is Jasper designed so that it could be used to compile JSP files into
other contexts?
I am a MyFaces developer (we are in the incubator right now, but will
soon be moving to a top-level). Currently, development and
maintanence of custom JSF tags is pain for the same reasons that
development of
What you have here is a classic case of cut and paste by the clueless(public
boolean newbie;).
This code is from the server.xml that was setup for a Global database
connection pool as opposed to a pool just for the app. The person has cut
and pasted it into the context file for the app which
System: SunOS 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V440
Apache: 2.0.52
Tomcat: 4.1.31
Connector: jk-1.2.6
We installed Apache and Tomcat without error (built Apache from source,
loaded Tomcat from binary), and configured the connector so that they
were talking correctly (the
Going out on a limb here and don't know how much help I will be.
our questions are:
1) What got stepped on in Tomcat to cause this behavior?
My off the wall speculation is that the duplication of the jar files bit
you.
2) Is there another way to stop Tomcat (other than system reboot), to see
if
71 matches
Mail list logo