Re: Applet does not send request to servlet

2007-01-17 Thread Andre Prasetya
i think attachments are disabled... On 1/17/07, Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote: Hi, I already solve the problem of loading my applet in the web browser. Thank you to all. Now, I'm having the problem to send request from the applet to the servlet. Attached is the

Re: Apache mod_jk memory leak?

2007-01-17 Thread Rainer Jung
Hi, first 1.2.10 is very ancient. You should upgrade to 1.2.20. To free (close) connections between apache and tomcat you can then use the attribute connection_pool_timeout (see documentation of 1.2.20). To make the connections more robust, you can also use connect_timeout and

Session Monitoring tool?

2007-01-17 Thread Kristian Rink
Folks; does anyone know of any tomcat tool to watch HTTP sessions which are active in any deployed web application (and, best case, data assigned to them, aside the session ID itself)? I thought /manager or /admin to provide functionality like this but so far I failed to find it... Thanks in

Re: Session Monitoring tool?

2007-01-17 Thread Foo Shyn
Hmm correct me if i'm wrong, but isn't there's a 'Session' Column in the manager list page where the active session of each web application would be displayed? Thanx. Regards, FooShyn - Original Message - From: Kristian Rink [EMAIL PROTECTED] To: users@tomcat.apache.org Sent:

Re: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Peter Rossbach
Hi you can give o.a.c.cluster.session.SimpleTcpReplicationManager a chance, but I don't know it works really. Regards Peter Am 16.01.2007 um 15:57 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Filip, I understand that I will just change the session in a way the delta manager will

CLIENT-CERT Authentication JAASRealm not working

2007-01-17 Thread Butler
Hi All, I tried to config my webapp to authenticate user by CLIENT-CERT auth method. my 1st test is using UserDatabaseRealm and add the client cert DN to tomcat-user.xml. everything works great. However, when I tried to use JAASRealm, it fail even my custom LoginModule always return true for any

Re: Session Monitoring tool?

2007-01-17 Thread Kristian Rink
Hi there; and at first thanks for your reply. [Foo Shyn [EMAIL PROTECTED] @ Wed, 17 Jan 2007 16:33:35 +0800] Hmm correct me if i'm wrong, but isn't there's a 'Session' Column in the manager list page where the active session of each web application would be displayed? Yes, there is, but the

Re: Connections are not rejected (AJP 1.3) (Was: Re: Problem with backlog (AJP 1.3))

2007-01-17 Thread Marcin Zajączkowski
Marcin Zajączkowski wrote: (...) Tracking down one problem I tried to get 503 error by reduction number of parallel connections to Tomcat (Apache - mod_jk - (JBoss) - Tomcat) to 10 (MaxThreads) and backlog to 1 (also tried with 10). Regarding to documentation for backlog: Any requests

Re: Applet does not send request to servlet

2007-01-17 Thread Zack Grafton
I would have to agree with the attachment capability of this mailing list. Zack Andre Prasetya wrote: i think attachments are disabled... On 1/17/07, Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote: Hi, I already solve the problem of loading my applet in the web browser. Thank you to all.

RE: tomcat in the embedded device

2007-01-17 Thread Peter Crowther
From: Vamshidhar Palkonda [mailto:[EMAIL PROTECTED] Space is not a problem on the device. The device will be running Linux. One other reason is why I am thinking of tomcat is I am familiar with Java but not C,C++. We are starting from the scratch. And there are not many developers

Re: Tomcat memory usage.

2007-01-17 Thread Ayusman Dikshit
Hi Christopher, any links to the following implementation of multiple instances available? Regards, Ayusman On 1/17/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayusman, Ayusman Dikshit wrote: I wanted to know how can I specify/increase the

Re: Tomcat memory usage.

2007-01-17 Thread Mikolaj Rydzewski
Ayusman Dikshit wrote: any links to the following implementation of multiple instances available? Unzip/untar, change listening port and you're ready. -- Mikolaj Rydzewski [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature

AW: AW: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-17 Thread Andy.Scherzinger
Hi Peter, Thanks for your answer. As far as I know the SimpleTcpReplicationManager has been implemented for Tomcat 4 an replicates the session when it changes. So everytime the session changes it would replicate it. Thus TC would replicate my session several times during the processing of a

Re: tomcat in the embedded device

2007-01-17 Thread Zack Grafton
Peter Crowther wrote: From: Vamshidhar Palkonda [mailto:[EMAIL PROTECTED] Space is not a problem on the device. The device will be running Linux. One other reason is why I am thinking of tomcat is I am familiar with Java but not C,C++. We are starting from the scratch. And there are not many

Re: HTTP response code 200 - in access log

2007-01-17 Thread Pid
Andreas Deller wrote: Hi I posted this unsuccessfully a week ago under 'Tomcat 4.1.30/5.0.28 empty responses - return code 200 -', so I rephrase and shorten my question. OS: Solaris Debian, Tomcat version 4.1.30 and 5.0.28. In the access logs, there are a number of entries with the HTTP

Re: HTTP response code 200 - in access log

2007-01-17 Thread Andreas Deller
Hi A typical entry looks like this: 192.168.11.11 - - [05/Jan/2007:11:23:59 +0100] GET /ebanking/css/custom.css HTTP/1.1 200 - https://some.bank.ch/ebanking/login; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) This results in the client getting back a 200, but no

Re: Apache mod_jk memory leak?

2007-01-17 Thread JNeuhoff
Yesterday, I indeed upgraded another server box to Apache 2.0.59, mod_jk 1.2.20, Tomcat 5.5.17, and also set the connection_pool_timeout=600 (is that value 600 seconds, or milliseconds?). I then subjected this server to a brief stresstest (roughly 50 simultanious HTTP sessions on Tomcat's end)

How to get rid of ManagerBase logging

2007-01-17 Thread Michael Gloegl
Hi all, this question may sound stupid, but how to get rid of the DEBUG level output from org.apache.catalina.session.ManagerBase? I already switched Tomcat over to log4j logging and it apears to work. My log4j.properties looks like this: log4j.rootLogger=WARN, A1

Tomcat JDK upgrade

2007-01-17 Thread Narayanaswamy, Mohan
Dear All, We are running more than 20 applications in shared environment (Same H/W + Linux + JDK1.4_2 + Apache + Tomcat/4.1.29-LE-jdk14 + Struts). Questions 1) Is there any document or guidelines for migrating of web applications using JDK1.4_2 to JDK1.5. I am searching Java sdn and Java

Re: HTTP response code 200 - in access log

2007-01-17 Thread Pid
Andreas Deller wrote: Hi A typical entry looks like this: 192.168.11.11 - - [05/Jan/2007:11:23:59 +0100] GET /ebanking/css/custom.css HTTP/1.1 200 - https://some.bank.ch/ebanking/login; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) This results in the client getting

Re: Apache mod_jk memory leak?

2007-01-17 Thread Rainer Jung
JNeuhoff wrote: Yesterday, I indeed upgraded another server box to Apache 2.0.59, mod_jk 1.2.20, Tomcat 5.5.17, and also set the connection_pool_timeout=600 (is that value 600 seconds, or milliseconds?). I then subjected this server to a brief stresstest (roughly 50 simultanious HTTP sessions on

Re: HTTP response code 200 - in access log

2007-01-17 Thread Andreas Deller
Andreas Deller wrote: Hi A typical entry looks like this: 192.168.11.11 - - [05/Jan/2007:11:23:59 +0100] GET /ebanking/css/custom.css HTTP/1.1 200 - https://some.bank.ch/ebanking/login; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) This results in the client getting

Tomcat eclipse integration

2007-01-17 Thread Philippe Le Gal
Hi I'm looking for a tutorial of Tomcat 5.5 - Eclipse 3.2 integration. Thanks for any url. Philippe - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

How to parameter the logfilename with log4j?

2007-01-17 Thread Bachler, Elisabeth \(Elisabeth\)
Hello, I have an application that uses log4j. In the application, I would like the user to choose the log file directory and the logfile name (using fileChooser). Now, how can I pass this information to log4j so it uses this filename as logfile? For the moment, I use as default: C:\App\log.html

Re: Tomcat eclipse integration

2007-01-17 Thread Kristian Rink
[Philippe Le Gal [EMAIL PROTECTED] @ Wed, 17 Jan 2007 11:37:14 +0100] Hi I'm looking for a tutorial of Tomcat 5.5 - Eclipse 3.2 integration. Thanks for any url. I'd go for these two: http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

Another way to launch an external program from a servlet?

2007-01-17 Thread Roger Simmons
I need to launch a program from a servlet that the user can interact with. I currently use Runtime.exec(), but I haven't found a way to do it without having to select the Allow service to interact with desktop option in Services. Is there another way of doing it so that this option doesn't have

RE: Tomcat JDK upgrade

2007-01-17 Thread Peter Crowther
From: Narayanaswamy, Mohan Questions 1) Is there any document or guidelines for migrating of web applications using JDK1.4_2 to JDK1.5. I am searching Java sdn and Java platform migration guide, but they are not really very useful related to web application. Couple of things I came

Re: Another way to launch an external program from a servlet?

2007-01-17 Thread David Delbecq
2 suggestions: 1) Try to exec() only programs that do not require to connect to the windows desktop (am not sure such program does exist...) 2) If possible, migrate the tomcat to a unix server, there you can spawn tools (indexers, system backups, whatever) without requiring tomcat to have access

RE: How to parameter the logfilename with log4j?

2007-01-17 Thread Bachler, Elisabeth \(Elisabeth\)
Actually, what I want to do is being able to modify the logfilename during runtime. -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: miércoles, 17 de enero de 2007 11:40 To: Tomcat Users List Subject: How to parameter the logfilename with log4j?

Re: Tomcat eclipse integration

2007-01-17 Thread Philippe Le Gal
Thanks a lot, I've found a work for the afternoon... Philippe Le mercredi 17 janvier 2007 11:52, Kristian Rink a écrit : [Philippe Le Gal [EMAIL PROTECTED] @ Wed, 17 Jan 2007 11:37:14 +0100] Hi I'm looking for a tutorial of Tomcat 5.5 - Eclipse 3.2 integration. Thanks for any url.

Re: HTTP response code 200 - in access log

2007-01-17 Thread Pid
Andreas Deller wrote: Andreas Deller wrote: Hi A typical entry looks like this: 192.168.11.11 - - [05/Jan/2007:11:23:59 +0100] GET /ebanking/css/custom.css HTTP/1.1 200 - https://some.bank.ch/ebanking/login; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) The files are

Re: HTTP response code 200 - in access log

2007-01-17 Thread Andreas Deller
Hi A typical entry looks like this: 192.168.11.11 - - [05/Jan/2007:11:23:59 +0100] GET /ebanking/css/custom.css HTTP/1.1 200 - https://some.bank.ch/ebanking/login; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) The files are all correct, since they most of the time are

Re: Applet does not send request to servlet

2007-01-17 Thread Teh Noranis Mohd Aris
Hi, I'm sorry, I didn't realize about the attachment capability for this mailing list. However here are the programs that I attached previously. Hope someone can help me out. Thank you. 1. THE SERVLET PROGRAM: package myapp; import javax.servlet.*; import

Re: Cannot create JDBC driver

2007-01-17 Thread David Smith
Ok ... I'll bite. What's a realm got to do with the original post? The OP is just trying to setup a database pool via tomcat's built-in JNDI. OP -- Your code didn't match completely with the example code on the tomcat website. Here it is matched up with what's in the docs: InitialContext

Re: Apache mod_jk memory leak?

2007-01-17 Thread JNeuhoff
By default apache will use as max number of connections the same value, as the max number of threads, so that each thread can get it's own connection. By default it will shrink the connection pool down to half of the max size. There is a min value you can configure if this doesn't fit

Sessionid duplication

2007-01-17 Thread Eric Waite
This has been addresses before I am sure, but I do not know where to find the answer. I have 3 Tomcat servers sitting behind a load balancer using sticky sessions. I do not have session replication working yet, the tomcats are standalone. How do I prevent and what are the chances that a

Re: HTTP response code 200 - in access log

2007-01-17 Thread Gregor Schneider
Could it be that you have a problem with caching? What are the exact headers (via LifeHTTPHeaders) sent by/to the client a) when it works b) when it doesn't work? Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

RE: Tomcat JDK upgrade

2007-01-17 Thread Narayanaswamy, Mohan
1. Since it is shared environment, we have to allow JDK1.5 features for future applications - So We have to compile them against JDK1.5_b10 (We don't like to run multiple Tomcat JVM as of now) Can you share past experiences in migrating JDK1.4 to JDK1.5 - projects. 2. Yes, We came across few

Re: Tomcat memory usage.

2007-01-17 Thread Stephen Caine
Ayusman, I have a OS X server, running Tomcat 5.0.19. There are already three applications running but I will need one more application which is memory intensive. I wanted to know how can I specify/ increase the memroy requirements for my application or Tomcat application? My new

Re: Sessionid duplication

2007-01-17 Thread Filip Hanik - Dev Lists
while there is a risk for duplicate sessions being generated, we believe it to be very very small. What you can do is set jvmRoute in the Engine element to be unique for each one, that makes it less likely to be duplicate. Or you can come up with a better random algorithm, take a look at

Re: Sessionid duplication

2007-01-17 Thread Eric Waite
Very very small may be acceptable, what do you mean by very very small...? Would 30,000 unique sessions across 3 servers have a potential issue? Thanks. Eric Filip Hanik - Dev Lists wrote: while there is a risk for duplicate sessions being generated, we believe it to be very very small.

Re: Tomcat memory usage.

2007-01-17 Thread Filip Hanik - Dev Lists
the 1GB limit is OS specific, on Solaris for example, and a 32bit VM we had the limit of -Xmx1850m on a 64bit VM the limitation should be non existent Filip Stephen Caine wrote: Ayusman, I have a OS X server, running Tomcat 5.0.19. There are already three applications running but I will

Clients creating a session each time I call into axis2

2007-01-17 Thread Dark\[NSF\]
I have Tomcat running Axis2, and through SOAP communication I want my clients written in java to submit tickets to my ticket manager (also written in java). After writing the client and the server, I realized that when I added a ticket to the server no other clients could see it. Then I

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
By default, the manager generates 16 hexadecimal characters session identifiers. Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. If we assume (that might be a bit wrong) that all md5 sums are equiprobables, that means in the end that your session id is a

RE: Session Monitoring tool?

2007-01-17 Thread Caldarale, Charles R
From: Kristian Rink [mailto:[EMAIL PROTECTED] Subject: Re: Session Monitoring tool? Yes, there is, but the information it provides is rather limited (to telling me how many active sessions there are and what session timeout is set)... Lambda Probe displays more information than Tomcat's

Re: Sessionid duplication

2007-01-17 Thread Eric Waite
Thank you for the great explanation. - Eric David Delbecq wrote: By default, the manager generates 16 hexadecimal characters session identifiers. Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. If we assume (that might be a bit wrong) that all md5 sums

Re: Tomcat memory usage.

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayusman, Ayusman Dikshit wrote: Hi Christopher, any links to the following implementation of multiple instances available? Read the file RUNNING.txt in your Tomcat distribution, particularly the section titled Advanced Configuration - Multiple

RE: Sessionid duplication

2007-01-17 Thread Peter Crowther
From: David Delbecq [mailto:[EMAIL PROTECTED] Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. Interesting. Note that although the existing code makes considerable effort to ensure this *is* random, a number of factors can apparently decrease the

mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
Hi, I have 3 Tomcat instances, each running a different version of the same application. The applications all have the same webapp context. The Tomcats are running on a different machine than the webserver. But all three Tomcat instances are on the same machine (using different AJP ports).

Re: Trailing slash added

2007-01-17 Thread lightbulb432
I want to get rid of the trailing slash for style issues (really a small concern) and also to learn about customization within Tomcat as well as URL rewriting. Regarding URL rewriting, did you mean the following? rule noteTesting trailing slash./note from(.*)//from

unable to start the tomcat server Version 4.1

2007-01-17 Thread bhavik shah
hi when i try to restart the tomcat server it gives me the following error.I am new to use tomcat can anybody help please *11:18:11,848 ERROR [main] org.apache.coyote.http11.Http11Protocol - Error initializing endpoint* *java.net.BindException: Address already in use:10081* *at

RE: Sessionid duplication

2007-01-17 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: Sessionid duplication If you ever happen to get the same seed between two servers, you're seriously hosed - I *think* the way the code works, those systems will generate and continue to generate duplicate session IDs until one is

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
En l'instant précis du 01/17/07 17:00, Peter Crowther s'exprimait dans toute sa noblesse: From: David Delbecq [mailto:[EMAIL PROTECTED] Those are generated by taking the first 16 characters of the md5 sum of a random byte[16]. Interesting. Note that although the existing code makes

RE: Sessionid duplication

2007-01-17 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] It's not quite that bad. If a jvmRoute is configured for the Engine, its value is appended to the randomly generated session id to make it unique across servers with a common front end. That'd be sufficient - thanks, Chuck. I should

RE: unable to start the tomcat server Version 4.1

2007-01-17 Thread Peter Crowther
From: bhavik shah [mailto:[EMAIL PROTECTED] *java.net.BindException: Address already in use:10081* Something's already using TCP port 10081 - could be another service, or another instance of Tomcat. Are you *sure* you've killed the original process, because that would be the most likely

Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Sampath Kumar Rallapalli
Hi, I am using Tomcat5.5.20 along with jdk 1.5.0_09 on Windows XP SP1 and running Tomcat as a Windows Service. For running Tomcat as windows service, I opened a cmd line prompt and executed the bat file, service.bat by providing the argument as service.bat install. Then, I started the

Re: Sessionid duplication

2007-01-17 Thread Eric Waite
So using the following: Engine name=Standalone defaultHost=localhost jvmRoute=jvm1 / with unique name and jvmRoute will ensure unique sessionIds? I apologize if the question is naive, I am a novice in configuring Tomcat. - Eric Peter Crowther wrote: From: Caldarale, Charles R [mailto:[EMAIL

Re: Sessionid duplication

2007-01-17 Thread David Delbecq
according to code this will, for that engine, generate sessionid like this: 123456789ABCDEF0jvm1 En l'instant précis du 01/17/07 17:46, Eric Waite s'exprimait dans toute sa noblesse: So using the following: Engine name=Standalone defaultHost=localhost jvmRoute=jvm1 / with unique name and

Re: Sessionid duplication

2007-01-17 Thread Eric Waite
After adding entry I would expected to see the jvm1 appended to the end of the session id? I don't see it - Eric David Delbecq wrote: according to code this will, for that engine, generate sessionid like this: 123456789ABCDEF0jvm1 En l'instant précis du 01/17/07 17:46, Eric Waite

Re: unable to start the tomcat server Version 4.1

2007-01-17 Thread bhavik shah
hi peter you are right one of the instance of tomcat was using the port and wasnt shutdown correctly thanks for the help bhavik On 1/17/07, Peter Crowther [EMAIL PROTECTED] wrote: From: bhavik shah [mailto:[EMAIL PROTECTED] *java.net.BindException: Address already in use:10081*

RE: Sessionid duplication

2007-01-17 Thread Caldarale, Charles R
From: Eric Waite [mailto:[EMAIL PROTECTED] Subject: Re: Sessionid duplication After adding entry I would expected to see the jvm1 appended to the end of the session id? I don't see it It worked for me on 5.5.20: Engine name=Catalina defaultHost=myhost1.com jvmRoute=mySite

RE: conecting tomcat 5.5.17 to IIS 6

2007-01-17 Thread Garner, Shawn
I don't think jk 1.2.20 has an installer in the binary download section anymore, just a dll. I tried restarting the machine too. That didn't help. Shawn -Original Message- From: Tor Langehaug [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 12:20 PM To: 'Tomcat Users List'

connectionTimeout for AJP 1.3 in server.xml

2007-01-17 Thread Mohan2005
Hello In the server.xml There is no connection timeout value set What is the default value ? Should the value that is set here be equal to the value connection_pool_timeout set in workers.properties file ? And what is the value set here..also in server.xml Your

RE: unable to start the tomcat server Version 4.1

2007-01-17 Thread David Rodríguez Fernández
Hi list. I have a Tomcat production environment, with Oracle as database backend. We work in spanish, and our date format is dd/mm/. When Tomcat is recently started, all work fine, but after some hours (maybe days) of working, the format of dates change to the english format mm/dd/ and the

Date format

2007-01-17 Thread David Rodríguez Fernández
Hi list. I have a Tomcat production environment, with Oracle as database backend. We work in spanish, and our date format is dd/mm/. When Tomcat is recently started, all work fine, but after some hours (maybe days) of working, the format of dates change to the english format mm/dd/ and

RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Caldarale, Charles R
From: Sampath Kumar Rallapalli [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables But the path to this dll is defined in the SYSTEM variables in the SYSTEM PATH variable. Not sure if services have access to

Re: Date format

2007-01-17 Thread Ortwin Glück
David, do you mean the date format in your SQL changes? That's hardly a Tomcat issue. I guess that the webapplication relies on the default locale to format Dates (that's why you have to set LC_CTYPE). Unfortunately the default locale is stored in a static variable and can (apparently is)

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Filip Hanik - Dev Lists
mod_proxy will do this in one line ProxyPass /1/myapp http://tomcat1:8080/myapp ProxyPass /2/myapp http://tomcat2:8080/myapp ProxyPass /3/myapp http://tomcat3:8080/myapp makes life easy Filip Ortwin Glück wrote: Hi, I have 3 Tomcat instances, each running a different version of the same

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
Thanks, it's a way to go. But I wanted to use mod_jk because it can do load-balancing. Also when I explicitly mount some paths in mod_jk all other paths are inaccessible - which is nice from a security point of view. Any ideas that involve mod_jk? I guess the solution will involve virtual

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Hassan Schroeder
On 1/17/07, Ortwin Glück [EMAIL PROTECTED] wrote: But I wanted to use mod_jk because it can do load-balancing. ...as does mod_proxy via mod_proxy_balancer -- see: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html FWIW! -- Hassan Schroeder [EMAIL PROTECTED]

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
Very nice (if you are running a recent Apache version). I guess I can try to get something running with a blog posting by G. King: http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/ Consider the problem solved :-) Cheers Ortwin Hassan Schroeder wrote: On 1/17/07, Ortwin

Re: Trailing slash added

2007-01-17 Thread Len Popp
I think Rashmi and I mean the same thing by translation and resolution. Yes, the browser does the URL resolution, and if you have relative URLs then the trailing slash is meaningful. If you remove it you will change the meaning of relative URLs on that page. -- Len On 1/17/07, lightbulb432

Re: tomahawk and Error listenerStart

2007-01-17 Thread Wojtek Kusch
@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 1985 (20070117) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Manager Links - how to fix???

2007-01-17 Thread fatboy
I've just installed tomcat 5.5.20 and the administrator. I notice on the home page there is a hard link coded to access the Tomcat Manager: http://url/manager/html Once in the manager, in the Manager section, there is a link to List Applications which points to: http://url/manager/html/list -

RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Sampath Kumar Rallapalli
Thanks Chuck for your response. I tried your suggestion of providing an additional argument on Java tab for java.library.path and it did not work. Any further inputs would be appreciated. Regards, Sampath Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Sampath Kumar

Tag files stored in JAR are slow

2007-01-17 Thread jhaile
I have several tag files that are stored into a JAR file for reuse. I have a TLD in META-INF that declares the tags and their locations within the JAR. When loading a JSP page that references these tags, the page loads twice as slow when the tag files are stored in the JAR. It looks like

RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Caldarale, Charles R
From: Sampath Kumar Rallapalli [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables Thanks Chuck for your response. I tried your suggestion of providing an additional argument on Java tab for

RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables From: Sampath Kumar Rallapalli [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.20: issue with tomcat service defining application specific

Tomahawk Filter

2007-01-17 Thread Wojtek Kusch
Hi All! I have *.jsp and *.jsf (tomahawk) in my project. If I choose a tomahawk-site I get a error: org.apache.jasper.JasperException: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see:

Re: Multi processor issue

2007-01-17 Thread Gael Marziou
Thanks Mark. Gael Mark Thomas wrote: In 5.5.21 onwards, the RD will be thread safe so the OP's code should work without modification. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Command line reloading of a webapp?

2007-01-17 Thread Boemio, Neil \(FGIC\)
I know I can reload a webapp using: http://localhost:8080/manager/reload?path=/examples But is there a way to do this from a command line so that I can schedule it without using the browser ?

RE: Command line reloading of a webapp?

2007-01-17 Thread Caldarale, Charles R
From: Boemio, Neil (FGIC) [mailto:[EMAIL PROTECTED] Subject: Command line reloading of a webapp? I know I can reload a webapp using: http://localhost:8080/manager/reload?path=/examples But is there a way to do this from a command line so that I can schedule it without using the

Re: Command line reloading of a webapp?

2007-01-17 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 curl http://localhost:8080/manager/reload?path=/examples ? Andrew On 17/01/2007, at 11:01 PM, Boemio, Neil (FGIC) wrote: I know I can reload a webapp using: http://localhost:8080/manager/reload?path=/examples But is there a way to do this from

Re: Trailing slash added

2007-01-17 Thread Rashmi Rubdi
I think Rashmi and I mean the same thing by translation and resolution. Yes, the browser does the URL resolution, and if you have relative URLs then the trailing slash is meaningful. If you remove it you will change the meaning of relative URLs on that page. Len On 1/17/07, lightbulb432 [EMAIL

Tomcat upgrade on Mac OS X for DST changes?

2007-01-17 Thread mohamed rafi
Hi, I have a Tomcat 4.x Server running on Mac OS X. For the DST changes, since Mac OS X requires 10.4.8 and Java 1.5, which I need to do. I'd like to know if there are any Tomcat patches which need to be applied, to the Web Server for the DST changes or will it run as-is,once I upgrade my OS and

Cache problems with static resources

2007-01-17 Thread Stefan Riegel
Hello all, we are using Apache Tomcat 5.5.16 on both a Windows (development) and Linux (production) system. Caching of static resources works fine but we should control the behavior. We use a filter, which transforms static xml files and inserts some data. The access log shows clearly that

Re: How to parameter the logfilename with log4j?

2007-01-17 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: Tomcat 5.5.20: issue with tomcat service defining application specific environment variables

2007-01-17 Thread Martin Gainty
a re-iteration of the suggestion already offered if in $JAVA_HOME%/jre/lib/i386/jvm.cfg you would see a specification for java.library.path as in /contents of jvm.cfg**/ java.library.path=/opt/jdk1.5.0_06/jre/lib/i386/client then.. place your dll in

how to tell Tomcat to send a blank WWW-Authenticate header?

2007-01-17 Thread John Caron
Christopher Schultz wrote: Also, you could set the error page that is used when a user doesn't have the proper credentials to something that gives you the opportunity to re-login in order to access the forbidden resource. When you want to log someone out of BASIC authentication, you have to

Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Ondrej Zizka
Hello, I have the common problem with PermGen and Tomcat, see http://mail-archives.apache.org/mod_mbox/tomcat-users/200606.mbox/[EMAIL PROTECTED] Suppose there is a school server where students (re)deploy their apps, each of which's classes definitions take about five to ten MB. Now we have

Re: Applet does not send request to servlet

2007-01-17 Thread Teh Noranis Mohd Aris
Hello, I've been working out the applet program since last night but still could not get it correct. I think that the codeBase variable path that was initialised in the applet program is not correct. I put the LoginApplet.class in C:\jakarta-tomcat-4.1.31\webapps\myapp\applets. It's just a matter

Re: Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Roger Keays
Ondrej Zizka wrote: Hello, I have the common problem with PermGen and Tomcat, see http://mail-archives.apache.org/mod_mbox/tomcat-users/200606.mbox/[EMAIL PROTECTED] Suppose there is a school server where students (re)deploy their apps, each of which's classes definitions take about five to

Bypass web.xml declarative security (sort of)

2007-01-17 Thread John Caron
Hello: Instead of declaring which URLs need to be secure in web.xml, I would like to determine this when the URL comes in, but then use Tomcat to deal with the authentication if it is needed. Can anyone give me any pointers on where to get started with that? thanks, John Caron

Building Tomcat Using Maven?

2007-01-17 Thread Ole Ersoy
Hi, Does anyone know if a Tomcat maven build exists anywhere? Thanks, - Ole Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front

Re: Tomcat upgrade on Mac OS X for DST changes?

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafi, mohamed rafi wrote: I have a Tomcat 4.x Server running on Mac OS X. For the DST changes, since Mac OS X requires 10.4.8 and Java 1.5, which I need to do. I'd like to know if there are any Tomcat patches which need to be applied, to the

Re: Cache problems with static resources

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan Riegel wrote: The caching appears already with simple HTML pages which does not pass the filter: 127.0.0.1 - don [18/Jan/2007:00:26:31 +0100] GET /hospi2007/index.html? HTTP/1.1 304 - And exactly here we would like to disable

Re: how to tell Tomcat to send a blank WWW-Authenticate header?

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Caron wrote: Christopher Schultz wrote: Also, you could set the error page that is used when a user doesn't have the proper credentials to something that gives you the opportunity to re-login in order to access the forbidden resource.

Re: Bypass web.xml declarative security (sort of)

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Caron wrote: Instead of declaring which URLs need to be secure in web.xml, I would like to determine this when the URL comes in, but then use Tomcat to deal with the authentication if it is needed. Can anyone give me any pointers on

Re: Applet does not send request to servlet

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teh, Teh Noranis Mohd Aris wrote: I've been working out the applet program since last night but still could not get it correct. I think that the codeBase variable path that was initialised in the applet program is not correct. I put the

Re: Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ondrej, Ondrej Zizka wrote: Suppose there is a school server where students (re)deploy their apps, each of which's classes definitions take about five to ten MB. Now we have dozens of students, who will deploy at least once, but rather several

  1   2   >