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

2007-01-17 Thread Peter Rossbach
Hmm, It is not true, that multiple session replications are processed of one request! Session are replicated only after response processing is finished, see class o.a.c.cluster.tcp.ReplicationValve. As you have multiple request at same session, you can have small inconsistency problems.

Accessing files from file server

2007-01-17 Thread Priya Khanna
Hi All, I am developing an application using struts and tomcat. In my application I want to provide the functionality of download and upload of files from server. But these files will not be on machine running tomcat. It will be on file server. First issue I am facing is that if I

RE: Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Caldarale, Charles R
> From: Narayanaswamy, Mohan > [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat PermGen OutOfMemoryException solution? > > Do you mean that tomcat(or Java) will have multiple copies > of the same class, assuming same jar shipped with different > applications, Can't tomcat class loader identify &

RE: Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Narayanaswamy, Mohan
Question on point #4, Do you mean that tomcat(or Java) will have multiple copies of the same class, assuming same jar shipped with different applications, Can't tomcat class loader identify & avoid them? If there is a web hosting company, multiple application may use the same jar (say struts1.x.j

RE: Tomcat PermGen OutOfMemoryException solution?

2007-01-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat PermGen OutOfMemoryException solution? > > > There is no way to automatically flush the PermGen somehow? > > Or, under which conditions can the GC collect undeployed > > app's classes data? > > I'm pretty sure you can't

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

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

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

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

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

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

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 -

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 t

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

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 doz

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 sen

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 /opt/jdk1.5.0_06/jre/lib/i386/c

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

2007-01-17 Thread Mark Thomas
mohamed rafi wrote: > 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 > Java? No Tomcat patches are required. Mark -

Re: unable to start the tomcat server Version 4.1

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. Thi

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. Thi

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 a

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

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 <

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 a

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

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: 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, e-mai

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: http://myfaces.apache.org/

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 speci

RE: Manager Links - how to fix???

2007-01-17 Thread Caldarale, Charles R
> From: fatboy [mailto:[EMAIL PROTECTED] > Subject: Manager Links - how to fix??? > > In the "Applications" section the "Path" column links to all > applications. It's really just a list of deployed applications; the links are just guesses about how to invoke them. > The "/manager" link point

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 > java.li

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 Tomcat

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 R

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:///manager/html Once in the manager, in the "Manager" section, there is a link to "List Applications" which points to: http:///manager/html/list

Re: tomahawk and Error listenerStart

2007-01-17 Thread Wojtek Kusch
ew topic, e-mail: users@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. htt

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

Best way to handle MIME types

2007-01-17 Thread Noah White
I'm looking for input on the best way to handle MIME types in Tomcat. ServletContext.getMimeType(String fileName) returns a MIME type based on the server (or web apps) web.xml MIME type mapping configuration. This is case sensitive, thus using the default web.xml file that comes with Tomcat 5.5ge

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 Glüc

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: FWIW! -- Hassan Schroeder [EMAIL PROTECTE

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 host

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 a

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) cha

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 acces

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 the

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

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 reply

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' Subj

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: http://myhost1.com:8080/servlets-examples/servlet/SessionExampl

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* Somethi

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 s'exp

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: > > with unique name and jvmRoute will ensure unique sessionIds? > > I apologize if th

Re: Sessionid duplication

2007-01-17 Thread Eric Waite
So using the following: 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 PROTECTED] It's not quite that bad. If a jvmRoute is configur

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

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

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

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 on

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 org.apa

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? Testing trailing slash. (.*)/ $1 Perhaps that wo

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). I

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 r

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 T

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

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 6

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 realize

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 need

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. Wh

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 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 org.apache.ca

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 applica

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 cod

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 @ http://p

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 dupli

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

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 initC

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 javax.servlet.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)" The files are all correct, since they most of the time a

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

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

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

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

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 hav

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 http://ww

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"

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, e-ma

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 gettin

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

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 platfor

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 log4j.appender.A1=org.

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) and

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 co

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 st

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

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 req

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

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 th

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

  1   2   >