Hello
I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web site,
everything seems to work ok, but under heavy load, the following error
randomly appears inside my catalina.out :
12 déc. 2005 14:46:53 org.apache.commons.modeler.Registry registerComponent
FATAL: Error registering
a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher
b) 5.0.30 has a memory leak with registering stats as jk requests
use request.registerRequests=false inside you worker2.properties
Peter
Laurent Perez schrieb:
Hello
I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web
Hi Peter
a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher
b) 5.0.30 has a memory leak with registering stats as jk requests
use request.registerRequests=false inside you worker2.properties
Unfortunately I can't really switch my tomcat version, because my
webapp is colocated
On Windows, While running tomcat 5.0.28, I pressed Ctrl-Break for heap dump.
But there are a lot of messages, and because Tomcat does not write standard
output to log,
I could not read all the dump messages.
I can I get catalina.out work again??
Thanks,
KwonNam.
Either one or two are excellent choices with 1 being the best IMHO. It
could be as simple as some other servlet places a flag in the session
that essentially says this user is good for downloading this file for
this session. The servlet filter sees that and offers the file, or
failing to see the
Hi,
Thanks a lot for the links :-) I'll have a look at them in a moment.
Cheers,
Behi
On 12/13/05, Prathibha, Bharathi [EMAIL PROTECTED] wrote:
Hi Behrang,
visit these links once -
http://www.liferay.com/web/guest/documentation/installation/tomcat
Version 1 is the way I did.
Things I had to bare in mind are:
- are you actually logging users in or are they authorised on a per
individual file basis
- can the user re-access the file or is it a one off access?
Gluck
David Smith [EMAIL PROTECTED] wrote: Either one or two are
We would prefer the file was a one off access so they couldn't send the link
to their buddies. In most cases the user would be authenticated via either a
SSO solution or our own.
Thanks again for the feedback.
On 12/13/05 8:31 AM, ALEX HYDE [EMAIL PROTECTED] wrote:
Version 1 is the way I
Hi,
Thanks to all those of who helped me with this issue so far.
The tomcat installed in the server does support servlet definition and
mapping out of order and that's not the issue here. The issue is servlets
with URL pattern as *.do is NOT working here. All other servlets are working
fine. As
Rusty,
From what I have read, you get better performance if you let tomcat serve the
static stuff as well as the jsps. Check the tomcat docs for a discussion of
this topic.
However, if you still want to put tomcat behind apache, take a look at this
article -
Hi All,
I'm running Fedora Core 4 on a server of mine and had it install both java and
Tomcat 5 aswell. I integrated the entire thing with Apache 2 using mod_jk and
it all worked like a charm. I had my application up and running in no time.
A couple of days ago, yum apparently did an update on
[EMAIL PROTECTED] wrote:
How do people set up their tomcat so that the web designers can work on
the static content and the programmers can work on the jsp stuff without
stepping on each other's toes?
In my case the web designers have already been working with apache with
their files in
Guten Tag Martin,
thanks again - still no luck though :( I had a look at catalina.policy
(can't find java.policy) and there seems to be nothing wrong, plus Tomcat
is not started in secure mode so these shouldn't be used, or not?
Thanks, Jan
Martin Gainty [EMAIL PROTECTED] schrieb am
Additionally,
The error that I am getting is the file does not exist.
Yet, the file does exists. I have verified its location,
and the spelling of the path and filename. Everything
matches including the case sensitivity.
Jef
-Original Message-
From: Jef Sullivan [mailto:[EMAIL
I have never tested the two configurations, so your information is very
helpful. I was just going on what the tomcat docs say.
Mark
On Tuesday 13 December 2005 10:03 am, JT Neville wrote:
From what I have read, you get better performance if you let
tomcat serve the static stuff as well as the
I would agree with Chuck - Tomcat standalone has been a far better and
robust solution for since 5.0.18 was released - and hoping it will improve
(actually am sure it will) with 5.5.x!
I did use TC 3 and 4 with Apache - which was never ideal or stable (maybe my
fault that) - but TC 5+ is really
Original Message
Subject: RE: Moving a file
From: Jef Sullivan [EMAIL PROTECTED]
Date: Tue, December 13, 2005 10:17 am
To: 'Tomcat Users List' users@tomcat.apache.org
Additionally,
The error that I am getting is the file does not exist.
Yet, the file does exists. I
Quoting something from the dev list that might help. Tim Whittington
wrote you have to add a web services extension for the redirector for
it to work - new locked down IIS rules or something
HTH,
Mark
Sue Roe wrote:
Did you get any response to your question I wonder? We are looking at
the
Dov Rosenberg wrote:
Our application has its own security model that controls access to our
information based on our own roles and permissions. We store files related
to our application on the file system where our application is running.
These associated files are served out by a web server.
From: Carl T. Dreher [mailto:[EMAIL PROTECTED]
Subject: How use the archives and a TomCat config question
I found the archives for this list, but it consists of about
14K messages and no search mechanism.
Try this one:
http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2
The search
Carl T. Dreher wrote:
snip
I'm sure this has been answered before, but as I said, the archives
aren't much use. (By the way, it took me TWO DAYS to successfully
subscribe to this list. The TomCat site has links to pages that list a
variety of mailings lists. Every one I tried before this
I did notice that http://tomcat.apache.org/faq/tomcatuser.html could use some
cleaning. I'll try fix that soon. (Unless someone beats me too it)
-Tim
Mark Thomas wrote:
Carl T. Dreher wrote:
snip
I'm sure this has been answered before, but as I said, the archives
aren't much use. (By the
sometimes the best answer is the most obvious
Wunderbar!
Martin-
- Original Message -
From: Jan Behrens [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, December 13, 2005 12:05 PM
Subject: Antwort: Re: Antwort: Re: Session cookies on Linux
Answering my
Offering performance advice based on a 3-year old Tomcat is highly
inappropriate. The 5.5.12 version delivers static content at essentially
the same speed as Apache httpd. Suggested reading (note that this is
about 5.5.4, and 5.5.12 is yet faster
Not everyone can stay on the bleeding edge
How would a proxy server affect the equation? One thought was to use a proxy
server to validate the user, and see if that authorization flag can be
passed along to any embedded links within the page. We could then use a
filter to inspect the HTTP header on the request and determine if the user
has
Yes, that was the problem. I changed the permissions and now it works as
advertised.
Thanks!
Mark
On Tuesday 13 December 2005 12:13 am, Jan Behrens wrote:
I am not a Linux man myself but I would think that you do have a problem
with the access rights - unless Tomcat is running as root, which
Thanks for all of the suggestions.
I don't think I've explained my situation clearly. What I would like to do,
but maybe this is not a good idea, is to have the static content and dynamic
content appear to be in the same directory; i.e., have the same base url.
In my jk.conf file I have
Jef et al
Have you tried the URL Spec e.g file://folder/subfolder/filename
for URL file specs see
http://archive.ncsa.uiuc.edu/SDG/Software/Mosaic/Demo/url-primer.html
Anyone else ?
M-
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent:
Hah! I figured it out; only one of the apache directives in httpd.conf
should be used, not all 3:
#AddType text/html .jsp
AddOutputFilter INCLUDES .jsp
#AddHandler server-parsed .jsp
Thanks for everyone's help. I'm now a happy camper.
try creating new file at the new location and the delete the old file.
File myFile1 = new File(filename);
File myFile2 = new File(newpath+filename);
boolean succes = myFile1.renameTo(myFile2);
if(success){
myFile1.delete();
}
suc6
Maarten
-Oorspronkelijk bericht-
Van: Martin
I've written a simple servlet that acts as a proxy server to record and
playback web pages. It works well for http requests (I'm able to cache all
files for a web page), but I cannot seem to get it to work with https pages
or files.
In IE I set the proxy server settings to localhost and the port
Here is what I ended up doing. Thanks to _M_ concerning the comment about
the path being incorrect. It led me to this working resolution...
// Location of existing file
File dir = new File(C:\\Workspace\\Reports\\);
// Filename
File fXLS = new File(dir, Report_ + sdf2.format(startTime) + .xls);
Hi all.
(Tomcat 5.5.4. on WinXP)
Bought a network disc yesteraday (LaCie 500Gb), connected it to my network
and thought I could put my tiny jsp-based site there. I mapped the disc to
w:\ and started to fiddle with my server.xml. Started out with this one:
Host name=localhost
From: Svante Kumlien [mailto:[EMAIL PROTECTED]
Subject: Specifying an appBase on a shared disc
Bought a network disc yesteraday (LaCie 500Gb), connected
it to my network and thought I could put my tiny jsp-based
site there. I mapped the disc to w:\ and started to fiddle
with my
Just give whatever account the service is executing on run as a service
rights as well as specifying the local machine on the share with the correct
rights.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 1:18 PM
To: Tomcat Users
Hi!
Yes, it´s running as a service and it´s logging on as Local System account.
But I'm not sure how/where to give this account rights? I'm also not sure how
to specify the local machine on the share, on the LaCie disc I'm only able to
define 'generic' users, no machine specific stuff (like
You need to go to advanced or custom most likely on the security tab not the
file share tab depending on the OS you are running.
-Original Message-
From: Svante Kumlien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 1:57 PM
To: Tomcat Users List
Subject: RE: Specifying an
Given the following:
A Tomcat 5.5.9 server.
Login authentication via org.apache.catalina.realm.DataSourceRealm
realm.
Is there a third party tool either open source or commercial that
provides basic login level services such as:
Limit the number of login attempts.
Limit the number of
I set up userdir in tomcat with the following
Listener className=org.apache.catalina.startup.UserConfig
directoryName=public_html/webapps
userClass=org.apache.catalina.startup.PasswdUserDatabase/
My intention is to have webapps as the common base directory where I can put
all my webapps.
But it
Hi,
I am trying to access the webapps class path through some environment variable.
Can you tell me the name of the variable which holds the same.
String strDir = System.getProperty(catalina.home); // This code gives me the
home folder of tomcat.But how do I get the webapps class path ??
I
From: Saha Rabindra N [mailto:[EMAIL PROTECTED]
Subject: How to access webapps class path as env variable.
I have a ini file placed in my webapps class folder which I
need to read at runtime. If there is no such environment
variable available, then can you please tell me if there is
Hi All,
Am I the only one who faced this problem! Or is it the general case
that is happening for everyone who are trying to build mod_jk on
FreeBSD.
U r response will be of much help to me As I am trying to share
this info with my associates.
Regards,
Prathibha.
Hello, Im trying to insert data in my mysql serverwith a JSP and a Bean with an example I found in the internet, Im very new to all this but this error I get its really strange.
I created a table contacto (contact) in the mysql server,
create table contacto (numero int,
nombre varchar
Can anyone point me to instructions to install the tomcat administration
application for tomcat version 5.5.9-1.1 on Linux system. I find the
download however can not seem to find instructions.
Thank youJames T. Studebaker
From: James T. Studebaker [mailto:[EMAIL PROTECTED]
Subject: administration applications install instructions
Can anyone point me to instructions to install the
tomcat administration application for tomcat version
5.5.9-1.1 on Linux system.
1) Download.
2) Unzip (or untar) into
45 matches
Mail list logo