running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-19 Thread Bob White
I am running Tomcat (under Linux) from jsvc daemon as user "tomcat". When I do this, Tomcat fails to run JSPs because Tomcat cannot create java files in the work directories and subsequently cannot compile them (cuz they're not there). When I run Tomcat using startup.sh as user "root" I have no p

Carlota Jimenez/ACLA_MEX/ACER is out of the office.

2004-05-19 Thread Carlota Jimenez
I will be out of the office starting 20/05/2004 and will not return until 24/05/2004. Estaré fuera de la oficina los días 20 y 21 de Mayo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Randy
>>>I am saying. don't start the servers at the same time :) Sorry Brain Flatulence BTW, I am running these are user apache. That's how they run in production.. Here are the logs BOX 1 = -bash-2.05b$ ./catalina.sh run Using CATALI

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik \(lists\)
I am saying. don't start the servers at the same time :) Filip -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 4:40 PM To: 'Tomcat Users List' Subject: RE: Trying to get a Cluster/Session Replication working So I added LD_ASSUME_KERNEL=2.4 and exp

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik \(lists\)
yes! -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 6:01 PM To: 'Tomcat Users List' Subject: RE: Trying to get a Cluster/Session Replication working Ok Here is a stupid question How do I determine what context I am replicating? Is it the in the

how to configure tomcat5.0 to remove the limitation of jsp code length?

2004-05-19 Thread nong nong
hi all I develop a Jsp application, some Jsps' code exceed 5000 rows. In tomcat4.0, it work correctly, but in tomcat5.0, it report an error:'code too large for try statement'. Whether are there any limitations of jsp code length? how to configure tomcat5.0 to remove the limitation of jsp code

Re: jar and jad with httpd

2004-05-19 Thread Paul Gregoire
If you mean "do i need Tomcat to serve java files" then the answer is no you dont need Tomcat, serving jad and jar files works just fine without any java vm at all on the webserver. kalin mintchev wrote: For JAD files.. .jad = text/vnd.sun.j2me.app-descriptor For JAR files... .jar = application/

Re: upgrade to Tomcat 5.0+

2004-05-19 Thread Parsons Technical Services
Simon, TAO Linux (RHEL 3 clone) TC 5.0.19 JDK 1.4.2 MySQL PIII 733 512 Meg Although my setup is small in comparison, it has run for the last month without a problem from TC. I just had a trial by fire on a new app in which I had a design flaw that ate cpu like crazy as well as maxed the memory. E

RE: Database backups initiated from Tomcat

2004-05-19 Thread Tom K
But ?? can't you do something like this public static final void openFileAndExecuteAssociatedApplication(String fullPathAndFileName){ try { Process p = Runtime.getRuntime().exec("cmd /c start "+fullPathAndFileName); p.waitFor(); } catch (Throwable ex) { ex.printStackTrace(); } }

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Randy
Ok Here is a stupid question How do I determine what context I am replicating? Is it the in the web.xml? thanks -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 5:33 PM To: Tomcat Users List Subject: Re: Trying to get a Cluster/Sessio

Re: Relocation error

2004-05-19 Thread Graham Bleach
On Mon, May 17, 2004 at 12:23:26PM -0400, Wehner, Terry wrote: > Thanks for the info > > Could you actually provide the syntax that I should use. > > Not sure if it should be LoadModule mod_dir or what? Certainly: http://httpd.apache.org/docs/mod/mod_so.html#loadmodule Well, first thing to do w

Re: access ENV variables

2004-05-19 Thread Graham Bleach
On Wed, Apr 07, 2004 at 02:19:25PM -0700, Daniel Gibby wrote: > Is it possible to access environment variables in tomcat that were set > by apache? Which connector are you using? With mod_jk, you need to specify them in your httpd.conf: JkEnvVar ENVVAR They are then set as request attributes.

Serving static page in utf-8

2004-05-19 Thread Billy Ng
I am using tomcat to serve both dynamic and static pages with UTF-8 encoding. The dynamic pages are okay, but the static pages seems being served by ISO-8859-1 even I set the charset to utf-8 foo .. Would anybody tell me how to serve static html in UTF-8 with tomcat, thanks! Billy Ng -

Re: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik - Dev
WARNING: Manager[], requesting session state from what is the name of the context you are replicating? Manager[] should have where x is the context name. Also, send me directly startup logs from both servers (clean ones, it only one start) Filip - Original Message - From: "Rand

upgrade to Tomcat 5.0+

2004-05-19 Thread Simon Zeng
Hi, Does anyone have the experience using Tomcat 5 in a production(24 X 7) environment (NT, Linux)? Is it stable? We are interested in tomcat clustering with session memory duplication coming with Tomat 5. Is it easy to configure and stable? Thanks, -Simon --

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Randy
So I added LD_ASSUME_KERNEL=2.4 and exported it in catalina.sh But are saying I have to start them at the exact same time. That is not very possible in my envirnment. They are diffent sized boxes , so one starts faster than the other I still get the same two errors Randy -Original Message-

FW: Server.xml/AccessLog question

2004-05-19 Thread Marc X. Schroeder
> Hi, > > I need to be able to customize my access_log file which is defined in server.xml. > Were using tomcat 4.0. > > I have been using > directory="c:\logs\tomcat" prefix="localhost_access_log." suffix=".txt" > pattern="combined"/> > > But I also need to be able to track the %v option

Apache/jk2/Tomcat with SSL

2004-05-19 Thread Ghanakota, Vishu
Hi, We are planning to move a XML/HTTP B2B app from ASP/IIS to JSP/Apache+Tomcat. To make the migration easy, I decided to run this on Windows 2000. We use SSL (with client authentication) for securing the transactions. I plan to have the following configuration Windows 2000 Apache 2.x jk2 Tomcat 4

Re: jar and jad with httpd

2004-05-19 Thread kalin mintchev
> For JAD files.. > .jad = text/vnd.sun.j2me.app-descriptor > > For JAR files... > .jar = application/java-archive > and / or > .jar = application/x-java-archive thanks a lot... does that mean i can use the httpd?! > > kalin mintchev wrote: > >>hi all >>sorry if this isn't the right place for t

Re: Memory leak with Tomcat 5.0.19

2004-05-19 Thread Tom Miller
We are runnning Tomcat 5.0.19 and experiencing the same problems. This is what we defined for the memory. Our tomcat is crawling at this point. We have to restart it everyday. CATALINA_OPTS="$CATALINA_OPTS -server -Xms1152M -Xmx1536M - Xincgc" Thanks, Tom -

Re: How to detect tomcat down

2004-05-19 Thread Tim Funk
You don't want that. JkMount /* lb JkMount /onlytomcat1 tomcat1worker JkMount /onlytomcat2 tomcat2worker The url onlytomcat1 goes to a page for tomcat1. This is your heartbeat test. Same for tomcat2. I don't know what happens (can't remember) if URL mappings overlap. -Tim Simon Zen

Re: jar and jad with httpd

2004-05-19 Thread Paul Gregoire
For JAD files.. .jad = text/vnd.sun.j2me.app-descriptor For JAR files... .jar = application/java-archive and / or .jar = application/x-java-archive kalin mintchev wrote: hi all sorry if this isn't the right place for this question... i just couldn't find a better place to ask... i'm trying to figu

How to Memory Profile & Gargage Collector

2004-05-19 Thread Tom Miller
Would someone tell me how to go about creating/view a memory profile for Gargage Collector. I am using Linux, Tomcat 5.0.19 and j2sdk1.4.2_04 Thanks, Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

jar and jad with httpd

2004-05-19 Thread kalin mintchev
hi all sorry if this isn't the right place for this question... i just couldn't find a better place to ask... i'm trying to figure out if it's possible to serve .jar and .jad files with the apache httpd to java enabled cell phones. if so what excatly are the mime types i should map to the extenti

Re: Memory leak with Tomcat 5.0.19

2004-05-19 Thread Michiel Toneman
We were having severe memory problems too with 5.0.19. We added this to the jk2.properties: request.registerRequests=false and the memory usage was normal again. Somewhat non-obvious, I agree. It also gets rid of "Error registering request" messages in catalina.out. We are using mod_jk (1.2) wit

Re: HTTP Servlet - getparameter returns NULL for % character

2004-05-19 Thread Ben Souther
The "%" is a control character which needs to be urlEncoded. Browsers do this automatically for you and HttpServlet automatically un-encodes these characters for you when you use the getParameter method. If your other apps are not encoding the data properly, then this is not really a servlet

Re: Session Timeout and "Direct Reference to login page"

2004-05-19 Thread Jonathan Eric Miller
Renato, Did you ever receive a response to this? I'm having the same problem. My current problem is slightly more complicated though. I have my application protected using container based security, but, I also have single-sign on enabled. So, the user doesn't get redirected back to the login page

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

2004-05-19 Thread Tom Miller
QM, Do you have any information on how to use qc or enable it? I did not see any things too alarm in catalina.out (logs) file. Is there any particular things I should look for? Thanks, Tom - To unsubscribe, e-mail: [EMAIL PROT

MEM problem, tomcat 5.X mem/system tunning for lunix

2004-05-19 Thread Tom Miller
This is what I use for hap zise CATALINA_OPTS="$CATALINA_OPTS -server -Xms1152M -Xmx1536M - Xincgc" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread QM
: Or do I need to go with an older version of Tomcat? short answer: It's possible to use Apache 1.x w/ Tomcat 4.x. long answer: Tomcat-Apache interaction is handled by connectors, aka jk and jk2. These are Apache plugins/DSOs/modules/etc. Both jk and jk2 can talk to either of Tomcat 4 or Tomc

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

2004-05-19 Thread QM
On Wed, May 19, 2004 at 03:58:26PM -0400, Tom Miller wrote: : Do you have any information on how to use qc or enable it? Not "qc," "gc" -- as in, Java's Garbage Collection. =) There are switches to pass to the container in the $JAVA_OPTS env var, which in turn get passed to the Java command line.

Re: Session Timeout and "Direct Reference to login page"

2004-05-19 Thread QM
On Wed, May 19, 2004 at 02:58:05PM -0500, Jonathan Eric Miller wrote: : All I want to do is detect when a session has timed out for a user and : display a page stating such when the user makes a request after the session : has timed out. It seems like this should be a straight forward thing to do.

RE: Database backups initiated from Tomcat

2004-05-19 Thread Tom K
I'm not sure either, but you could try it in a sync block and see if it works and let us know ;-) I use mySQL, and this is an issue I will tangle with too...so let the list know what works for you. You might also want to look at some scheduling software like quartz http://www.opensymphony.

Trying to get a Cluster/Session Replication working

2004-05-19 Thread Randy
Hello, (sorry I could not search the mail archives, for some reason the site is down) I am following http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html and trying to get Cluster/Session Replication I have commented out the Cluster part in the sample server.xml I have two boxes ru

Recommend Heap Mem size for Tomcat

2004-05-19 Thread Tom Miller
What is the recommended or best to define the following parameter for tomcat under Linux? I see so many other mem posting out there, what is the best/right way to go about this? This is what I have and it doesn't seem to work well. CATALINA_OPTS="$CATALINA_OPTS -server -Xms1152M -Xmx1536M -

RE: How to detect tomcat down

2004-05-19 Thread Simon Zeng
Honestly, I am very confused about this. Here is my worker.properites ps=\ worker.list=tomcat1, tomcat2, loadbalancer #--tomcat1 configuration . #--tomcat2 configuration . #---Load balancer worker -- worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=

Re: Database backups initiated from Tomcat

2004-05-19 Thread Ben Souther
On Wednesday 19 May 2004 04:22 pm, Tom K wrote: > I'm not sure either, but you could try it in a sync block and see if it > works and let us know ;-) Yoav Shapira answered that. (getRuntime().exec is non-blocking) Read his reply for the details. ---

Re: Session Timeout and "Direct Reference to login page"

2004-05-19 Thread Jonathan Eric Miller
It's too bad there isn't a element that you can put in web.xml kind of like the element... Jon - Original Message - From: "Jonathan Eric Miller" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 2:58 PM Subject: Re: Sessi

Memory leak with Tomcat 5.0.19

2004-05-19 Thread Brian Beckham
I have a site that gets a fair amount of traffic - roughly 300,000 page views per day - a mix of servlets and JSP The site runs on 3 separate servers - one of which we upgraded to Tomcat 5.0.19. We have been running the site successfully for the past year using Tomcat 4.1.x, and 2 of the serve

RE: Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread Yansheng Lin
jk2 needs httpd2. You might want to try mod_webapps connector. It's very simple to set up btw. -Yan -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: May 19, 2004 14:13 To: Tomcat Users List Subject: Re: Can I use Tomcat 4.1.29 with Apache 1.3.x : Or do I need to go with an

Tomcat 4.1 + AJP is encoding HTTP headers as UTF-8

2004-05-19 Thread Eric Jacobson
Bill, I have been trying to trace down a problem with an application I am building on top of Tomcat 4.1. The problem I was encountering was that my HTTP response headers were being returned to the client using UTF-8 encoding. My understanding of RFC 2068 is that all request and response headers s

Re: Session Timeout and "Direct Reference to login page"

2004-05-19 Thread Ben Souther
Tomcat behaves according to the Servlet/JSP specs. It creates a new session if a request is made after the previous one expires. It's not too difficult to write your own, I did. -Write a session-timeout.jsp with a link to your login. -Define a context-param in web.xml (session-timeout-page-url)

Re: Session Timeout and "Direct Reference to login page"

2004-05-19 Thread Jonathan Eric Miller
Thanks. I think option #1 is what I'm looking for. What I don't understand is what I need to do with the session listener though? I don't understand how to determine whether the new session is truly new, or if it's a new session because a previous session timed out. Could I use a filter and check

RE: Memory leak with Tomcat 5.0.19

2004-05-19 Thread Mike Curwen
http://marc.theaimsgroup.com/?l=tomcat-user&m=108304447126396&w=2 ? > -Original Message- > From: Brian Beckham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 19, 2004 3:36 PM > To: Tomcat Users List > Subject: Memory leak with Tomcat 5.0.19 > > > I have a site that gets a fair amount

Re: Recommend Heap Mem size for Tomcat

2004-05-19 Thread QM
On Wed, May 19, 2004 at 04:31:56PM -0400, Tom Miller wrote: : What is the recommended or best to define the following : parameter for tomcat under Linux? I see so many other mem : posting out there, what is the best/right way to go about : this? There's no recommended value... not even a ballp

Re: Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread Emerson Cargnin
AFAIK, jk2 doesn't require http2. The problem is that http2 comes with APR, as apache 1.3 don't use it, so you have to make it available. please, correct me if I'm wrong... Emerson Yansheng Lin wrote: jk2 needs httpd2. You might want to try mod_webapps connector. It's very simple to set up btw.

Re: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik - Dev
two things: 1. export LD_ASSUME_KERNEL=2.4 before you start tomcat (add it to your startscript) 2. Starting the two instances at the exact same time, no instance has a state to replicate, wait 5 seconds with one once the servers have been running for a while, it will request state from your

RE: access ENV variables

2004-05-19 Thread Shapira, Yoav
Hi, Read the Servlet Spec on the attributes added to the request by the container when an error occurs. One of them is the URI I think, but I don't remember. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Oreste Luci [mailto:[EMAIL PROTECTED] >Sent: Wednesday,

RE: Conceptual Doubt

2004-05-19 Thread Shapira, Yoav
Hi, The webapp is restarted. So if you properly handle shutdown (clearing out your pool, closing connections), and startup (starting the pool), you're fine. It's not an in-place class reload. Yoav Shapira Millennium Research Informatics >-Original Message- >From: nyhgan [mailto:[EMAIL

Tomcat sending connection close message

2004-05-19 Thread sandeep arshanapally
Hi, I am using Tomcat 4.1.24 with Axis 1.1 final and I am using persistent connections. Once in a while I see that a http message which doesn't have content-length and is not chunk-encoded. Also this message has connection header as close. I have attached the headers of the http message. con

Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread Wehner, Terry
Or do I need to go with an older version of Tomcat? Thank you -Terry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Conceptual Doubt

2004-05-19 Thread nyhgan
For yet other actions, such as modifying a class under WEB-INF/classes, you don't even need to restart the webapp: set reloadable="true" for your context and development="true" for the JSP servlet (which is the default). >> One question. What exactly happens when it reloads a class? If the cl

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 th

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: 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. ¿

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

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 activated

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 f

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 chan

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

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://:8080/altlassian-jira-2.0.2 for ... http://:8080/altlassian-jira-2.5.3 Is there any posibility to create some kind of

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 statement. - Put a filter in webapps/altassian-jira-2.0.2 mapped to url-pattern /* which redirects to -2.5.3.

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://:8080/altlassian-jira-2.0.2 for ... http://:8080/altlassian-jira-2.5.3 Is there any posibility to create some kind of

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 trying

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 = " + request.

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 w

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: 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 tomcat

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, suc

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, y

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 explanat

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 Pr

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 >Subje

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 PROT

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? > > -

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: 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

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'

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 cha

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 Southe

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: 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 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 ma

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 Millenn

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 of

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 seve

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: 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

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 java.security.Po

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 informat

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, s

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: 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 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 Ger

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 g

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- From:

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 INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', retu

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 tomcat2work

Re: Database backups initiated from Tomcat

2004-05-19 Thread Iván Rodríguez
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]> Sen

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 WelcomeS

  1   2   >