Re: How to compile sources?

2004-05-19 Thread Bill Barker
Personally, I would ignore the ant script and just double-click on the 'mod_jk2.dsp' file and go from there. To use the ant build, you need to run ant from the directory where the 'build.xml' file is (i.e. native2). It is likely that you will also have to configure 'apache2.home' (defaults to

Re: trick question

2004-05-19 Thread Bill Barker
Sam Seaver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Httpd by default, because of the logfile rotation that occurs every Sunday morning at 4am, restarts at the same time. If Tomcat is never re-started, what does this do to the jk2 connection between the two? I'm going to

Re: show tomcat instance name in mod_jk.log

2004-05-19 Thread Antonio Fiol Bonnín
IIRC, recent versions (latest only?) of mod_jk do. Simon Zeng wrote: Another issue, I am running tomcat load balancing with mod_jk. I would like to know from mod_jk.log (or anywhere else?) which tomcat instance the logged message is for so that if there is a problem, i can quickly go to that

Hi

2004-05-19 Thread Munvar Mohammed
Hi all, I'm new to Tomcat. Could you please guide me, what can we do from Tomcat Administration and also Why there are different users of Tomcat and different roles. RegardsThanks, Munvar.

tomcat using nis for realm authentication

2004-05-19 Thread Andreas Pakulat
Hi, I've got a problem with a tomcat 4.1.30. I want a webapp to use a JNDIRealm for authentication which in turn uses NIS for authenticating the user. But this doesn't work, I cannot login using correct password and username. server.xml looks like this for the Realm: Realm

Re: The Logger Component

2004-05-19 Thread Mario Ivankovits
ariel wrote: 2) Is it possible to limit the amount of rolled logged files as it can be done in the log4j ? I am not sure, if there is already an implementation available, nor if tomcat provides one. But some time ago i have written a simple class which is able to act as replacement for the

jk2 entries persistant

2004-05-19 Thread Ingmar Heinrich
Hello everyone. I have a problem: Tomcat/jk2 seems to remember things that I have deleted from workers2.properties, although I have restarted Tomcat and Apache (1.3.x). What cache do I have to empty? Regards, Ingmar -- mailto:[EMAIL PROTECTED]

RE: jk2 entries persistant

2004-05-19 Thread Dale, Matt
I'm pretty sure that there is no cache. Are you sure there isnt any directives in your httpd.conf that could have the same behaviour? Ta Matt -Original Message- From: Ingmar Heinrich [mailto:[EMAIL PROTECTED] Sent: 19 May 2004 09:44 To: [EMAIL PROTECTED] Subject: jk2 entries persistant

RE: Help: Tomcat JAAS Authentication Help (How does j_security_check work?)

2004-05-19 Thread ben.hill
If anyone has any insights; could you CC me in the reply. It seems I am having problems receiving the mails from tomcat-user. Cheers, Ben -Original Message- From: HILL, Ben -Syntegra UK Sent: 18 May 2004 12:17 To: [EMAIL PROTECTED] Subject: Help: Tomcat JAAS Authentication Help

FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to marija@nspoint.net

2004-05-19 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i4J9BNNk029196/i4J9BNNk029196

Strange behaviour with buffers

2004-05-19 Thread Jason Irwin
Apologies if this is in the wrong group, I think that User is the right one. I have noted a difference between how Tomcat (4.0.6 and 4.1.127) and WebLogic (7.0 and 8.1) assign buffers, and I'm trying to figure out which one is correct. I have an outer page that does not define any buffer, and an

Integrating James with Tomcat

2004-05-19 Thread FIOL.BONNIN
Hello, I have found instructions to integrate James within JBoss on the following page: http://wiki.apache.org/james/Embedded However, my knowledge about JMX is very limited, so I do not know how to adapt those instructions to Tomcat. Any hints or pointers? Thank you very much. Antonio Fiol

RE: Integrating James with Tomcat

2004-05-19 Thread Adam Fowler
Hi, You should probably also forward this request for help to the following mailing list (after subscribing, naturally): [EMAIL PROTECTED] As they're more likely to know about this process. Adam. -Original Message- From: FIOL.BONNIN [mailto:[EMAIL PROTECTED] Sent: 19 May 2004 10:40

Re[2]: jk2 entries persistant

2004-05-19 Thread Ingmar Heinrich
Tomcat/jk2 seems to remember things that I have deleted from workers2.properties, although I have restarted Tomcat and Apache (1.3.x). I'm pretty sure that there is no cache. Are you sure there isnt any directives in your httpd.conf that could have the same behaviour? The only setting in

JK 1.2 vs JK 2

2004-05-19 Thread wsedio
Hi, I am planning to use Tomcat 5.0.24 on Red Hat Enterprise Linux 3 with Apache web server 2.0.46 for a lot of virtual hosts. I am also planning to use multiple Tomcat instances, bigger web sites will have their own dedicated instance. What Tomcat connector would you recommend for my needs?

RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
We are now using just on servlet which gets all the request and map's them to other classes bei Classinvocation. But we would now benefit from the servlet abillitys and are now reworking the system to switch to RequestDispatcher. The problem is now that I could not find the right path to

Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Ben Souther
I've just been handed this link: http://forum.java.sun.com/thread.jsp?thread=510659forum=45message=2426773 I personally have installed Tocmat on both windows and linux boxes and haven't had a problem but we had a client with an issue who was able to solve it by installing the JRE as well as the

Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Thomas Nybro Bolding
Yes! I posted this the 10-12-2003: - - - - - Having played around with Tomcat 5 recently I discovered it apparently used the jvm.dll installed as part of the public JRE. I uninstalled the public JRE (leaving the SDK including its JRE intact) and learned Tomcat would neither start nor was

jk2 and mapping uri

2004-05-19 Thread meissa . Sakho
I'm running tomcat and apache under linux and making them both communicate with jk2 I have differents mappings which are all working fine instead of this one. #tridion [uri:/cd-upload/*] worker=ajp13:localhost:8009 when I try to access the url below http://myserver/cd_upload/httpupload I

RE: possible to get handle to ServletContext from JNDI java:comp?

2004-05-19 Thread Shapira, Yoav
Hi, You'd have to pass it with the MessageMap. Binding the ServletContext itself in JNDI is not mandated by the Servlet Specification, and Tomcat doesn't do it. As an aside, be careful to not crash if you're running from a packed WAR file (where all getRealPath calls will return null). Yoav

RE: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Shapira, Yoav
Hi, I think this has been fixed in the latest tomcat service releases: certainly since October 2003, and also since April 2004 (the forums.java.sun.com link dates). Try 5.0.24 or later and let us know. Yoav Shapira Millennium Research Informatics -Original Message- From: Thomas Nybro

RE: Strange behaviour with buffers

2004-05-19 Thread Shapira, Yoav
Hi, So BEA is telling you that if you say page buffer=64kb and they give you 12kb, that's the spec? ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Jason Irwin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 5:23 AM To: '[EMAIL PROTECTED]' Subject:

RE: RequestDispatcher resource not available

2004-05-19 Thread Shapira, Yoav
Hi, - Define and map all your servlets in web.xml. - Use the servlet-mapping url-pattern as your argument to the getRequestDisptcher call. Yoav Shapira Millennium Research Informatics -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 6:37

RE: jk2 and mapping uri

2004-05-19 Thread Dale, Matt
Looks like you use a minus sign (-) in the uri and an underscore (_) in the url. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 May 2004 12:52 To: [EMAIL PROTECTED] Subject: jk2 and mapping uri I'm running tomcat and apache under linux and

Database backups initiated from Tomcat

2004-05-19 Thread Frank Burns
Hi, I have an urgent requirement where I have to initiate a database backup (of three mySQL tables) prior to performing an upload and update of the database. The preferred method of backing up is to use the mysqldump script. Can anyone: 1) tell me whether this is possible -- i.e., running the

RE: Strange behaviour with buffers

2004-05-19 Thread Jason Irwin
No, they are saying the page buffer declaration in the child include in invalid as it is not supported in the spec. What they quoted at me was: http://java.sun.com/products/jsp/tags/syntaxref.fm7.html It is stated that Note that the page directive does not apply to any dynamic included files;.

Re: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Parsons Technical Services
Hello, Not running TC on windows myself, but noted that a lot of talk about the registry settings have been made on the list in the past I thought that this line was noteworthy: The private J2RE is required to run the tools included with the Java 2 SDK. It has no registry settings and is

Réf. : RE: jk2 and mapping uri

2004-05-19 Thread meissa . Sakho
Thank you matt for your answer. ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] Dale, Matt [EMAIL PROTECTED] 19/05/2004 15:03 Veuillez répondre à Tomcat Users List Pour : Tomcat

RE: Strange behaviour with buffers

2004-05-19 Thread Shapira, Yoav
Hi, Ahh, I see what you mean. That's an interesting question, and I'm not a JSP expert (nor am I a huge fan of these low-level buffering directives in the presentation layer in the first place, but that's another story), so I'll let Kin-Man or another expert answer if they feel like it ;) Yoav

jk2 shm property

2004-05-19 Thread meissa . Sakho
I'm getting a little bit confused by the shm property of the workers2.properties file. in my config, I've defined it like below [shm] file=/var/log/apache/inet/jk2.shm But I'm not sure to understand the meaning of this component's attributes. they say in the apache documentation that the

Re: Database backups initiated from Tomcat

2004-05-19 Thread Parsons Technical Services
Frank, Not having done this myself (yet), There are a few options that come to mind. 1. Set up a backup database (unless you plan to store it in the same one). Read the metadata for the table you wish to copy, create a backup table, and then do a select * and write the result set into the new

RE: jk2 shm property

2004-05-19 Thread Adam Fowler
[shm] file=/var/log/apache/inet/jk2.shm ... can someone explain me if the share memory descriptor is mandatory and what's best practice about using it's attributes in a jk2 newbie user language :-) I'm not sure whether its mandatory but when I've used jk2 on my linux system if I haven't

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
There lies the problem i don't know which servlets i would get, and i don't want to reconfigure the web.xml and restart the server every time something changes or get added. Could you describe your second point a little closer, please? We are using a database to store the mapping of urls to

RE: RequestDispatcher resource not available

2004-05-19 Thread Shapira, Yoav
Hi, There lies the problem i don't know which servlets i would get, and i don't want to reconfigure the web.xml and restart the server every time something changes or get added. That's the standard practice. Could you describe your second point a little closer, please? If you map a servlet to

RE: Database backups initiated from Tomcat

2004-05-19 Thread Tom K
What operating system are you using? It is possible to call System (and database) commands within java to execute the mysqldump script. For example for basically any operating system you can execute a Runtime.getRuntime().exec(String cmdline) Tom Kochanowicz -Original Message- From:

RE: Strange behaviour with buffers

2004-05-19 Thread Ralph Einfeldt
That statement from the site is wrong in at least one case: page import May be it's wrong in the other cases too. AFAIK the spec doesn't mention such restriction. (At least I couldn't find it) -Original Message- From: Jason Irwin [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Database backups initiated from Tomcat

2004-05-19 Thread QM
On Wed, May 19, 2004 at 02:04:33PM +0100, Frank Burns wrote: : I have an urgent requirement where I have to initiate a database backup (of : three mySQL tables) prior to performing an upload and update of the : database. How is the update/upload being done? commandline/mysql session, within the

Re: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Ben Souther
Thank you Doug. That link was just what I needed. In summary: As long as you don't actively opt not to install the public JRE while you are installing the j2sdk, Tomcat will run fine. If I get a chance, I will try running 5.0.24 on a machine with the JRE not installed. If it still needs the

RE: Strange behaviour with buffers

2004-05-19 Thread Jason Irwin
That statement from the site is wrong in at least one case: page import May be it's wrong in the other cases too. Indeed, that did puzzle me. But I am not a Java or JSP expert by any means and BEA's stance is Our behaviour meets the spec, our behaviour is correct. One big problem I had

Re: RequestDispatcher resource not available

2004-05-19 Thread QM
: There lies the problem i don't know which servlets i would get, and i don't : want to reconfigure the web.xml and restart the server every time something : changes or get added. If you want changes to be picked up w/o restarting the server, you'll have to set reloadable=true for the context,

RE: Strange behaviour with buffers

2004-05-19 Thread Shapira, Yoav
Hi, Indeed, that did puzzle me. But I am not a Java or JSP expert by any means and BEA's stance is Our behaviour meets the spec, our behaviour is correct. BEA's stance has been like that (and wrong) in the past. That's not a knock on them. One big problem I had (have!) was finding the

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
-Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Mai 2004 15:41 An: Tomcat Users List Betreff: RE: RequestDispatcher resource not available Hi, There lies the problem i don't know which servlets i would get, and i don't want to

RE: Strange behaviour with buffers

2004-05-19 Thread Jason Irwin
Skip the buffering and skip the headache. Why are you using these include buffering directives in the first place? Legacy. Don't worry. As soon as I have the time to get rid of them, I will! I know what needs to be done, I just need the time to do it. J.

RE: RequestDispatcher resource not available

2004-05-19 Thread Shapira, Yoav
Hola, We want to add servlets in the running system, just by saying now you can OK. That certainly narrows down your possibilities. The mappings are stored in the database but would be cached in the servletContext and could be dynamically reloaded. Cool. I also thought about the invoker

Re: Database backups initiated from Tomcat

2004-05-19 Thread Frank Burns
Hi QM, The upload is being done within the servlet itself. So I would, as you suggest, put the backup at the head of that. The OS is linux, and I note your comment about the potential memory issues. Can you think of any other issues with running Runtime.getRuntime().exec(String cmdline) from

Re: Database backups initiated from Tomcat

2004-05-19 Thread Frank Burns
Thanks Doug. - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 2:31 PM Subject: Re: Database backups initiated from Tomcat Frank, Not having done this myself (yet), There are a few options

Re: Database backups initiated from Tomcat

2004-05-19 Thread Frank Burns
Thanks Tom, I'm using linux. So you think running Runtime.getRuntime().exec(String cmdline) from within a Servlet is viable? Can you think of any potential issues with using this solution? I'm just trying fathom, as quickly as possible, whether there are any show stoppers in taking this route.

AW: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
mfg Michael Nitschke -Ursprüngliche Nachricht- Von: QM [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Mai 2004 15:59 An: Tomcat Users List Betreff: Re: RequestDispatcher resource not available : There lies the problem i don't know which servlets i would get, and i don't : want to

RE: How to detect tomcat down

2004-05-19 Thread Simon Zeng
Could you please explain what do you mean special (hidden) and how to do it? Currently I only define on JkMount for loadbalancer. Thanks, -Simon -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 7:54 PM To: Tomcat Users List Subject: Re: How to detect

Re: Database backups initiated from Tomcat

2004-05-19 Thread Ben Souther
I'm not sure if getRuntime().exec(String cmdline) is synchronous or not. Also I don't know if mySql makes any provisions for locking a table during a dump. Those are the questions I would want answered before going ahead. On Wednesday 19 May 2004 10:15 am, Frank Burns wrote: So you think

RE: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
We want to add servlets in the running system, just by saying now you can OK. That certainly narrows down your possibilities. Drastically The mappings are stored in the database but would be cached in the servletContext and could be dynamically reloaded. Cool. The application now caches about

RE: Database backups initiated from Tomcat

2004-05-19 Thread Shapira, Yoav
Hi, Oooh, it's been a while since someone raised an exec() solution on the ilst, so it's worth bringing up a few points ;) I'm not sure if getRuntime().exec(String cmdline) is synchronous or not. It's a non-blocking call. What you get back is a java.lang.Process object. You can read from this

RE: RequestDispatcher resource not available

2004-05-19 Thread Shapira, Yoav
Hi, We are now for public pages that are cached as a whole down at 0.25 seconds included the delivery. And really heavy generated pages (200 db queries) at 1.5-2 seconds( I know there I have to do heavy optimisation) Really? You do: - Apache to Tomcat forwarding via mod_jk - Tomcat

Re: Database backups initiated from Tomcat

2004-05-19 Thread Ivn Rodrguez
mySQL has the locking table you need . It depends of the version of the server you are testing. LOCK TABLES yourtable lockmode; http://dev.mysql.com/doc/mysql/en/LOCK_TABLES.html - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Re: How to detect tomcat down

2004-05-19 Thread Tim Funk
(Syntax below is not exactly correct, but has the right idea) Assuming you loadlancer worker is named loadbalanceworker which has workers tomcat1worker and tomcat2worker Instead of JkMount *.jsp loadbalanceworker Try this JkMount /testworker1page tomcat1worker JkMount /testworker2page

Tomcat start-up

2004-05-19 Thread Hollerman Geralyn M
I started up my Tomcat 5.0.16 server the other afternoon at about 4pm. A few hours later, I happened to look at the log, and found these entries: May 18, 2004 6:42:47 PM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',

RE: RequestDispatcher resource not available

2004-05-19 Thread Nitschke Michael
Standard sun 1.4 jvm and a dualprocessor 1.5GHz, 1.5GB Ram Raid5 I think Database is running on a sun dualprocessor speed and Ram I don't know. But we are considering a Sun with the newest linux-kernel for up to 2Million concurrent processes. mfg Michael Nitschke -Original Message-

Avg CPU usage growth

2004-05-19 Thread Adamczyk, Bartosz
Hi everyone, I have a web application that I am running on Tomcat 4.1.24. This web application consists of some JSPs, some Servlets and some Tag Libraries. I did some testing using Jmeter where I logged the results with PerfMon in Windows XP. I noticed that the average CPU usage

RE: Tomcat start-up

2004-05-19 Thread Shapira, Yoav
Hi, You can safely disregard them. If you use the Admin webapp, you're using Struts ;) To configure tomcat to not output these, see http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j. Yoav Shapira Millennium Research Informatics -Original Message- From: Hollerman

RE: RequestDispatcher resource not available

2004-05-19 Thread Shapira, Yoav
Hi, Cool ;) Thanks for sharing. It's a very interesting take on a highly dynamic system with 24/7 availability requirements. Yoav Shapira Millennium Research Informatics -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 10:55 AM To:

Re: tomcat and coldfusion: sharing webapp

2004-05-19 Thread wsedio
On 13-05-2004 20:21, wsedio wrote: Hi, I am running Tomcat 5.0.24 on RH Enterprise Linux 3 with Apache web server 2.0.46 and mod_jk2 2.0.4. I've a few Tomcat/Apache name-based virtual hosts and they work fine (JSP, servlet, etc.). I would like to deploy ColdFusion MX 6.1 for J2EE on the top of

Re: Tomcat start-up

2004-05-19 Thread Daniel Gibby
I was wondering about this as well... thanks for that info. I think I'll disable the admin webapp since I only use the manager webapp and my own. Shapira, Yoav wrote: Hi, You can safely disregard them. If you use the Admin webapp, you're using Struts ;) To configure tomcat to not output these,

RE: tomcat and coldfusion: sharing webapp

2004-05-19 Thread Shapira, Yoav
Hi, Anyone can tell me if it is possible to share a webapp between multiple Tomcat virtual hosts? No. A Host is container for webapps, it's a strict hierarchical relationship. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain

java.lang.ClassCircularityError

2004-05-19 Thread Viktor Matic
We are getting java.lang.ClassCircularityError on the Tomcat 5.0.x (we have tested the same code on a following releases 5.0.18, 5.0.19 and 5.0.24). The java source code, which we have used for the testing purposes, consists of the servlet which use our custom implementation of the

Re: RequestDispatcher resource not available

2004-05-19 Thread QM
: The point is I won't be able to start the server frequently to add new : servlets, because our company needs the service 24/7. Understood; please report your final solution, if possible. Whenever an app steps out of the standard, there's an opportunity for innovation. =) One other idea: Tomcat

Tomcat instance info from JSP page

2004-05-19 Thread wsedio
Hi all, is there any JSP code to get some details about the running Tomcat instance? I've multiple Tomcat instances running for several virtual hosts and I would like to have a JSP page for each vhost that tells me what Tomcat instance it is using ... Thanks.

Re: Avg CPU usage growth

2004-05-19 Thread Peter Lin
I've seen this kind of behavior happen in the past because the HttpSessions are not getting garbaged correctly, which results in ever increasing heap. this leads to the GC taking more and more time to mark/sweep the heap. in my case, the HttpSessions were set to expire in 1 week, so over

Re: java.lang.ClassCircularityError

2004-05-19 Thread Jeanfrancois Arcand
Viktor Matic wrote: We are getting java.lang.ClassCircularityError on the Tomcat 5.0.x (we have tested the same code on a following releases 5.0.18, 5.0.19 and 5.0.24). The java source code, which we have used for the testing purposes, consists of the servlet which use our custom implementation

RE: java.lang.ClassCircularityError

2004-05-19 Thread Shapira, Yoav
Hi, The error is 6 levels deep in your own class hierarchy. Maybe if you could share some of the relevant code we could help more. I haven't seen this error before (on any tomcat version). I haven't seen it reported here, or anything like it reported for tomcat 5. Hmm ;( Yoav Shapira

Re: tomcat and coldfusion: sharing webapp

2004-05-19 Thread wsedio
On 19-05-2004 17:03, Shapira, Yoav wrote: No. A Host is container for webapps, it's a strict hierarchical relationship. Got it. Then, is it possible to map (with mod_jk or mod_jk2) an URI to a webapp in a single *Tomcat Host* for multiple *Apache web server* Virtual Hosts? If so, how? Hope it

RE: Avg CPU usage growth

2004-05-19 Thread Adamczyk, Bartosz
Hi Peter, Thank you for the input. This was something that I thought might be occurring as well, but I wasn't to sure since the session timeout was set to 30 minutes I thought it would simply be invalidated by itself. I will try invalidating the session explicitly. Thank you,

RE: Tomcat instance info from JSP page

2004-05-19 Thread Shapira, Yoav
Hi, is there any JSP code to get some details about the running Tomcat instance? Sure, you can get some information: - HttpServletRequest#getRequestURL would give you the server name and port. - ServletRequest#getLocalAddr/getLocalPort/getLocalName would give network-lever information on where

Re: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Ben Souther
Followup: I just downloaded and installed 5.0.24 on a win2k box. It starts fine, even after uninstalling the public JRE. I assume it's finding the jre inside the j2sdk via the JAVA_HOME environment variable as it should. Thanks to all who helped. On Wednesday 19 May 2004 09:57 am, Ben

Tomcat 5.0.24 Service Install Syntax

2004-05-19 Thread Hector Adolfo Alonso
Hi Tomcat gurus: I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons Daemon, and built a customized script for Windows 2000. But service installation syntax changed in Tomcat 5.0.24. I could'n find any new explanation in Commons Daemon page. I've observed tomcat.exe has

RE: Vedr.: Say it ain't so... (JRE needed to run Tomcat as a service on win2k)

2004-05-19 Thread Shapira, Yoav
Hi, Good follow-up, thank you. And thanks Mladen for fixing/enhancing procrun ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 11:37 AM To: Tomcat Users List Subject: Re: Vedr.: Say it ain't

Re: access ENV variables

2004-05-19 Thread Oreste Luci
Daniel Gibby wrote: Is it possible to access environment variables in tomcat that were set by apache? Specifically the REDIRECT_ * variables that are set by ErrorDocument directives? Then I can have a servlet return the correct content type. i.e. if it is a gif that has a 404 I can redirect to

Where I can find tomcat 3.2

2004-05-19 Thread Steve Park
I cannot find tomcat 3.2. Can anyone tell if this is still downloadable, and where ? Thanks. Steve This message was sent using IMP, the Internet Messaging Program.

Re: java.lang.ClassCircularityError

2004-05-19 Thread Viktor Matic
On Wed, 2004-05-19 at 17:23, Jeanfrancois Arcand wrote: Well, take a look at org.apache.catalina.security.SecurityUtil. I am setting the Subject/AccessControlContext there. I think that might cause your problem, but I need more info ;-). AnybodyPrincipal is trying to do what? --

RE: Where I can find tomcat 3.2

2004-05-19 Thread Shapira, Yoav
Hi, http://archive.apache.org/dist/jakarta/tomcat-3/archive/. There's no guarantee files will be there forever, and you are strongly encouraged to update to the latest stable version. Yoav Shapira Millennium Research Informatics -Original Message- From: Steve Park [mailto:[EMAIL

RE: access ENV variables

2004-05-19 Thread Shapira, Yoav
Hi, I don't think so. The environment variables are in the environment and are not fed through to the JVM. Yoav Shapira Millennium Research Informatics -Original Message- From: Oreste Luci [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 12:08 PM To: Tomcat Users List Subject:

Conceptual Doubt

2004-05-19 Thread Vardhman Jain
Hi all, I am new to list, joined this for asking some basic questions, I have in my mind after I having I started using Eclispe/Tomcat/sysdeo and Lomboss. I want to know as to how and when do we need to restart the tomcat server, It is Everytime I add a new JSP/ a new Bean/new

Re: Tomcat 5.0.24 Service Install Syntax

2004-05-19 Thread Jacob Kjome
Quoting Hector Adolfo Alonso [EMAIL PROTECTED]: Hi Tomcat gurus: I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons Daemon, and built a customized script for Windows 2000. But service installation syntax changed in Tomcat 5.0.24. I could'n find any new explanation in

RE: Conceptual Doubt

2004-05-19 Thread Shapira, Yoav
Hi, I want to know as to how and when do we need to restart the tomcat server, It is Everytime I add a new JSP/ a new Bean/new Project etc Also You need to restart tomcat when you change server.xml. For other actions, such as adding a new webapp, or modifying a webapp's web.xml file,

RE: Conceptual Doubt

2004-05-19 Thread Vardhman Jain
You need to restart tomcat when you change server.xml. For other actions, such as adding a new webapp, or modifying a webapp's web.xml file, you need to restart the webapp: that can be done using Tomcat's Manager webapp without restarting the server itself. For yet other actions, such as

RE: How to detect tomcat down

2004-05-19 Thread Simon Zeng
It seems working !!! However, I have a problem with the configuration. All my tomcat workers share the same code base and is ready to handle all the requests in load balance mode. I want something like this: JkMount /* tomcat1worker JkMount /* tomcat2worker However, it only pick up

Re: java.lang.ClassCircularityError

2004-05-19 Thread Filip Hanik - Dev
where are your classes? if you put them in server/lib or server/classes and not in your webapp, do you still get the error? Filip - Original Message - From: Viktor Matic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 11:04 AM Subject: Re:

Re: java.lang.ClassCircularityError

2004-05-19 Thread Jeanfrancois Arcand
Viktor Matic wrote: On Wed, 2004-05-19 at 17:23, Jeanfrancois Arcand wrote: Well, take a look at org.apache.catalina.security.SecurityUtil. I am setting the Subject/AccessControlContext there. I think that might cause your problem, but I need more info ;-). AnybodyPrincipal is trying to do

Re: Tomcat instance info from JSP page

2004-05-19 Thread wsedio
On 19-05-2004 17:27, Shapira, Yoav wrote: That's probably enough for your needs? Thanks for your help, I did a simple JSP file and it gives me all the info I need: % out.println( catalina.base = + System.getProperty(catalina.base) ); out.println(); out.println( getRemotePort = +

Re: Tomcat 5.0.24 Service Install Syntax

2004-05-19 Thread Hector Adolfo Alonso
Thanks Jacob: There is a paragraph in changelog.txt about Procrun 2 binaries. The Apache Commons Daemon page still does not reflect this change. I've found the sources in http://jakarta.apache.org/~mturk/procrun2M3.zip. There is no html documentation there, but reading the sources, I'm

HTTP Redirections with Tomcat

2004-05-19 Thread Guillermo Zarabozo
Hi Everyone, I have a Tomcat Appl. Server running with Atlassian JIRA application. Recently We had an upgrade to a newer version, so the clients now need to change this URL http://hostname:8080/altlassian-jira-2.0.2 for ... http://hostname:8080/altlassian-jira-2.5.3 Is there any posibility to

RE: HTTP Redirections with Tomcat

2004-05-19 Thread Shapira, Yoav
Hi, This gets asked all the time: you could search the list archives. Here are a couple of ideas: - Put index.html in webapps/altassian-jira-2.0.2 where the index.html contains only a meta http-equiv=refresh ... statement. - Put a filter in webapps/altassian-jira-2.0.2 mapped to url-pattern /*

HTTP Redirections with Tomcat

2004-05-19 Thread Guillermo Zarabozo
Hi Everyone, I have a Tomcat Appl. Server running with Atlassian JIRA application. Recently We had an upgrade to a newer version, so the clients now need to change this URL http://hostname:8080/altlassian-jira-2.0.2 for ... http://hostname:8080/altlassian-jira-2.5.3 Is there any posibility to

RE: HTTP Redirections with Tomcat

2004-05-19 Thread Mike Curwen
you could also just change the context name to '/jira' and then when your version updates occur, they are seamless to the end user. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 12:57 PM To: Tomcat Users List Subject: RE: HTTP

RE: HTTP Redirections with Tomcat

2004-05-19 Thread Guillermo Zarabozo
Ok, I'll try !! I have tomcat 4.1.27 Hope it works ! :) From: Mike Curwen [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: HTTP Redirections with Tomcat Date: Wed, 19 May 2004 13:02:19 -0500 you could also just change the

Re: How to detect tomcat down

2004-05-19 Thread Antonio Fiol Bonnín
Hi, You are looking for lb type workers (even if you did not know). Look for that in Tomcat docs. In short: JkMount /* balancer worker.balancer.type=lb worker.balancer.workerlist=tomcat1worker,tomcat2worker (I am not sure about the workerlist word. It might be workers or list... Search for an

strange behaviour of available memory in status page

2004-05-19 Thread Emerson Cargnin
I use Suse 9.1 / Jdk 1.4.2-b28 ? TC 5.0.19 Recently I've been checking the status page due a memory leaks in one of our apps. I could see that the memory goes down as I reload the status page (/manager/status), but in a very slow fashion (about 0.3 megabytes per reload) until the GC is

tomcat 5.X mem/system tunning for lunix

2004-05-19 Thread Tom Miller
Greeting, Does any one have any information on system tunning for Tomcat 5.x running on Linux (redhat). We have 2Gig of RAM on the systems. This is what we see from top when no one hit the website. Tomcat doesn't seem to release the used of the memory. We have to restart tomcat otherwise

Re: access ENV variables

2004-05-19 Thread Oreste Luci
Hi, What I want to do is to know the URI the user typed in the error page. In Apache I have the following: ErrorDocument 404 /404.jsp But in the 404.jsp when I obtain the URI I get /404.jsp, this is because Apache is doing a forward and the original URL (the one the user typed in) is lost.

HTTP Servlet - getparameter returns NULL for % character

2004-05-19 Thread tiago_mendonca
Dear all, I'm quite new using HttpServlets, that's why I hope you can help me! I'm using an HttpServlet on Tomcat 5 that is prepared to receive POST HTTP requests from remote machines. If I use an html form and I submit a text to this servlet (method post), the get parameter of the http servlet

Re: tomcat 5.X mem/system tunning for lunix

2004-05-19 Thread QM
On Wed, May 19, 2004 at 03:09:26PM -0400, Tom Miller wrote: : : Does any one have any information on system tunning for : Tomcat 5.x running on Linux (redhat). We have 2Gig of RAM on : the systems. This is what we see from top when no one hit : the website. Tomcat doesn't seem to release

  1   2   >