Re: Help with access to certificate on HTTPS

2003-10-29 Thread Bill Barker
Bill Harrelson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thank you very much. It's nice to find people that know this stuff. Unfortunately req.getAttribute(org.apache.coyote.request.X509Certificate); also returns null when CLIENT-AUTH is set to false. Do I have some

Mapping Apache virtual hosts to Tomcat web applications

2003-10-29 Thread Patrick Herrera
Hi, I am using mod_jk to connect Apache 1.3 to Tomcat 4.1. I have the two working together fine, but I want to know if I can map a specific virtual host to a specific web application? In other words can I access 2 Tomcat applications: http://example.com:8080/greensite/index.jsp

Re: IIS log files

2003-10-29 Thread Bill Barker
Chanan Braunstein [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Good Morning, I am using Tomcat 4 with the IIS redirector dll (version 1 I think). The URI being written to the IIS log files is always: /jakarta/isapi_redirect.dll instead of the JSP file name. Is there a way to fix

Re: Mapping Apache virtual hosts to Tomcat web applications

2003-10-29 Thread Oscar Carrillo
Yes you can. I don't explicitly go into this, but I have some explanation on virtual hosting with mapping to tomcat apps on my site with Apache 2.0/Tomcat/Mod_JK. http://daydream.stanford.edu/tomcat/install_web_services.html I'm sure you can find info in the archive here too. Oscar On Wed, 29

memory-leaks in servlets, tool for tracing ?

2003-10-29 Thread Dirk Griesbach
hi everybody, our TC-based webapplication performs well but the java-processes concerned are showing increasing memory usage over time. For tracing we already stripped the app down to the very basic to get a clue. Wasn't successful enough. Does anybody's got experience with a profiling toolkit

RE: Tomcat 5 JBoss

2003-10-29 Thread Greg_Cope
Remy, I know this is off topic for this list, but: Does it need to be this complex to bundle them both - the instructions seem to have disappeared off the Jbos site - do I have to buy a book to find out? The reason I/we have issues is that we have to do extensive documentation and qualification

RE: character sets showing as ?

2003-10-29 Thread Bodycombe, Andrew
I have fixed similar problems in the past by setting CATALINA_OPTS to -Dfile.encoding=ISO-8859-1 and restarting tomcat. -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 19:27 To: Tomcat Users List Subject: character sets showing as ? Hey guys,

SSL support not working with 4.1.27 version

2003-10-29 Thread Satish Vohra
Hi I successfully configured Tomcat 4.1.24 (using JDK 1.3) for SSL, using keystore generated by keytool and used my webapp over HTTPS. However, when I did the same for Tomcat 4.1.27. I'm getting the warning Peer not authenticated when I tries to access the https url using a browser.

Re: Factory methods.

2003-10-29 Thread Carlos Pereira
Factory is a design pattern. Design patterns are ways of designing objects that are typical and have been used before, and thus can be reused (note: reuse of the design, not the source code). Have you ever heard about the Model-View-Controller (MVC) design pattern, for instance? You'll find

problem with workers.properties and Apache 1.3.28

2003-10-29 Thread Alexander Prohorenko
Hello, I can't get it run guys. That's what I have there: [Wed Oct 29 02:36:35 2003] [error] Error while opening the workers, jk will not work [Wed Oct 29 02:36:36 2003] [info] mod_unique_id: using ip addr 192.168.185.115 [Wed Oct 29 02:36:37 2003] [info] (2)No such file or directory:

ssl problem with Tomcat 4.1.27

2003-10-29 Thread Agarwal, Naresh
Hi I successfully configured Tomcat 4.1.24 (using JDK 1.3) for SSL using keystore generated by keytool and used my webapp over HTTPS. However, when I did the same for Tomcat 4.1.27, I couldaccess my webapp over HTTPSonly twice, but after this, I'm getting the following error:

IIS / Tomcat - POST data size.

2003-10-29 Thread Cleber Lima
I have configured Tom-cat with IIS. When I try to upload a file of size greater than 100 KB, it displays an error Page cannot be displayed because Tom-cat was stopped. But when I run the same URL with 8080, that is, bypassing the IIS, it works fine. Can you help me ? Thank's Cleber - Brazil

Servlet Deployment Problem

2003-10-29 Thread Miles, Fiske III [NTWK SVCS]
I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27) could not find servlet classes using a standard http://localhost:8080/%CATALINA_HOME%/appdir/servlet/ServletName url. While trying to run this down I used a stack of JSP development manuals, the WROX Apache Tomcat manual, and

reposting : ssl problem with Tomcat 4.1.27

2003-10-29 Thread Agarwal, Naresh
Hi I posted this message yesterday. Butit didn't appearin the list, so I'm reposting it. I successfully configured Tomcat 4.1.24 (using JDK 1.3) for SSL using keystore generated by keytool and used my webapp over HTTPS. However, when I did the same for Tomcat 4.1.27, I couldaccess my

Which JK2 version with apache 2.0.47 ?

2003-10-29 Thread Jean-Max Estay
Hello, Jonathan Morace, Florian Ebeling and others use mod_jk2-2.0.43.dll with Apache 2.0.47. I read on http://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-connectors/jk2/binari es/win32/ that mod_jk2-2.0.43.dll is for Apache 2.0.43 (and only 2.0.43) I try mod_jk2-1.3.27.dll because on the

RE: Servlet Deployment Problem

2003-10-29 Thread Bodycombe, Andrew
http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Original Message- From: Miles, Fiske III [NTWK SVCS] [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 20:10 To: [EMAIL PROTECTED] Subject: Servlet Deployment Problem I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27)

Re: problem with workers.properties and Apache 1.3.28

2003-10-29 Thread Patrick Herrera
I had a similar problem today. My workers file definitely existed but I kept getting 'no such file' errors. It turned out I had the JkWorkersFile directive defined inside a VirtualHost container. Moving it outside solved the problem. Patrick On Wed, 29 Oct 2003 09:01 pm, Alexander

Multiple requests to the same servlet is problem

2003-10-29 Thread Edson Alves Pereira
Hello folks, i have one page with iframes, each iframe has a GET request, to a servlet that must bring description for a product code, and therefore each iframe has a different request like: url=/osctrl/exec/ProductDescription?code=478541.1 But when tomcat seems to confuse those

Tomcat 3.3 performance issues

2003-10-29 Thread Joao Batistella
Hello! I would like to discuss with you a big problem. We have a high scale application in production environment running with tomcat 3.3. and are having many problems. Everyday we have to restart tomcat (more than 3 times a day). because it simple freeze! And we can't have any answer before

Re: Tomcat 3.3 performance issues

2003-10-29 Thread Tim Funk
1) Try the IBM JVM (At least thats what many say with respect to linux) 2) http://jakarta.apache.org/tomcat/faq/unix.html#ps -Tim Joao Batistella wrote: Hello! I would like to discuss with you a big problem. We have a high scale application in production environment running with tomcat 3.3.

RE: Multiple requests to the same servlet is problem

2003-10-29 Thread Bodycombe, Andrew
Sounds like your servlet is not thread-safe. Have you got any instance variables declared in your servlet class? -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: 29 October 2003 13:07 To: 'Tomcat-User List' Subject: Multiple requests to the same servlet is

JK2 and workers2.properties

2003-10-29 Thread jakarta
I have two apps on the some pc with different domains one domain works fine the other will not run jsp pages.. Here is a sample of my workers2.properties [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 [uri:localhost/*]

[OT] Error compiling mod_jk (linux)

2003-10-29 Thread Ivan Venuti
Hello, I'd like to use a Apache+Tomcat for using SSL Certificates. I need to build the mod_jk module for Apache. I have downloaded jakarta-tomcat-connectors-jk-1.2-src-current.zip from Jakarta Web Site. I have unzipped it and: 1) cd (DIR)/jk/native 2) ./configure --with-apxs=(APACHE

Please, help with Jsp not working with Apache-Tomcat-mod_jk

2003-10-29 Thread Joaquin Corchero
Hello! I just installed Apache (2.0.47), Tomcat (4.1.27) and mod_jk (1.2.5) in a redhat Machine following the instructions found in http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html Everything went perfect during the installations except that I configure the apache

RE: Multiple requests to the same servlet is problem

2003-10-29 Thread Edson Alves Pereira
There´s no variable that would control that behavior, if reload each iframe, one after another, it fine ( using mouse for example ). But tell me, a thread-safe servlet could change this situation? -- De: Bodycombe, Andrew[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List

Has there been a stable (non beta) rlease of Tomcat 5 yet?

2003-10-29 Thread Adrian Beech
G'day folks, Well the subject line really says it all! Just wondering if there has been a Tomcat 5.0 release yet? So far I've only spotted 5.0.12 beta mentioned on the Apache (Jakarta section) web site. AB - To unsubscribe,

RE: Tomcat 5 JBoss

2003-10-29 Thread Wade Chandler
Actualy Jboss specifically doesn't give out much info for the purpose of making money. That is how they are funded. You don't have to pay squat for their software, you just have to pay for support and documentation. They sell documentation. So, It would probably be good of you...since you are

Filenames of JSP generated servlets

2003-10-29 Thread Baer Peter Christoph Alexander
Hello, forgive me if I ask something obvious, but browsing the Tomcat docs and the mailing list archive I haven't found the relevant piece of information, yet. We have three installations of Tomcat 4.06 LE (yes, it's old, and we are already planning to replace it, once version 5 is mature for

RE: ssl problem with Tomcat 4.1.27

2003-10-29 Thread Yuriy Stul
No problem with SLL in 4.1.27 version, we use 4.1.27 version and SSL. -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 5:11 PM To: [EMAIL PROTECTED] Subject: ssl problem with Tomcat 4.1.27 Hi I successfully configured Tomcat 4.1.24

Re: Tomcat 3.3 performance issues

2003-10-29 Thread jerome moliere
1) Try the IBM JVM (At least thats what many say with respect to linux) 2) http://jakarta.apache.org/tomcat/faq/unix.html#ps if license conditions are not too restrictive try to have a look to the Jrockit from BEA VMincredible fast...large spectra of options (garbage collection so on)

Re: Setting cookie paths

2003-10-29 Thread Jessica P. Hekman
On Mon, 27 Oct 2003, Bill Barker wrote: The browser isn't returning the path information when it returns the cookie, so Tomcat has no way of knowing what path it was created with. Well -- but when I later hit /bar/foo, I get the cookie back; and when I hit /bar, I don't. So the path

RE: Tomcat stops handling HTTP connections, socket is SYN_RECV

2003-10-29 Thread Gary Dollar
Hello, I noticed this same behavior yesterday when using the CoyoteConnector in jakarta-tomcat-4.1.24 on Red Hat Linux release 7.2 (Enigma). It seems to be more than an HttpConnector class issue. Can someone point me to the source code for org.apache.coyote.tomcat4.CoyoteConnector?

Programming Question?

2003-10-29 Thread Jason O. Lanpher
Hi everyone, I am working on designing a program that will need to have the capability to save information typed into a form (e.g. an application for loan). Once they have filled out all of the information on the current page the program needs to allow them to leave the application and

Re: Has there been a stable (non beta) rlease of Tomcat 5 yet?

2003-10-29 Thread Tim Funk
The talk is there will be no official tomcat5 release until the spec goes final. There was just a call for Vote for the new build (5.0.14). It will probably be beta. For some, they will consider this stable, others might call it less. It all depends if there is a bug which is critical to your

question regarding tomcat

2003-10-29 Thread prasad vagolu
sir! i am student of computer science. i am trying to use tomcat. but i can't execute the servlets using tomcat. kindly send me the details of servlets execution using tomcat. thanking you sir

Re: Filenames of JSP generated servlets

2003-10-29 Thread Tim Funk
The behavior was changed (in the Jsp compiler) and is not configurable. -Tim Baer Peter Christoph Alexander wrote: Hello, forgive me if I ask something obvious, but browsing the Tomcat docs and the mailing list archive I haven't found the relevant piece of information, yet. We have three

SSL problem URGENT!!!!!!!!!

2003-10-29 Thread Galbayar
I have question. when i use socket connect to ssl supported web server if successfully connected and can get http response. However use URL cant get http response. what happened? import java.net.*; import javax.net.*; import javax.net.ssl.*; import java.io.*; public class ReadHttpsURL1 {

AW: Programming Question?

2003-10-29 Thread Nitschke Michael
I assume you are in the wrong list, this is for special tomcat problems not for common programming problems. I suggest you use a database if the datavolume is high enough, if there are only 5 forms a day that get filled out, you could save it in a text file on the server. I prefer not to save

RE: Multiple requests to the same servlet is problem

2003-10-29 Thread Bodycombe, Andrew
If your servlet is NOT thread-safe, then concurrent requests could cause unpredictable behaviour. You say that the servlet works if the requests are sent one after the other, but not if the requests are sent at the same time. This indicates a possible threading issue. Many requests to the servlet

RE: [OT]Virus sent to Tomcat User list.

2003-10-29 Thread Shapira, Yoav
Howdy, afaik it is a different reason. The virus searches for valid email adresses and sends itsself to those. So if a member is subscribed to the list, and a virus sends himself to the list with the 'From: ' adress of a valid user it will be passed to the members. If he is not subscribe the

RE: memory-leaks in servlets, tool for tracing ?

2003-10-29 Thread Shapira, Yoav
Howdy, I like OptimizeIt's heap snapshots. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dirk Griesbach [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:03 AM To: Tomcat Users List Subject: memory-leaks in servlets, tool for tracing ? hi everybody, our

RE: Has there been a stable (non beta) rlease of Tomcat 5 yet?

2003-10-29 Thread Shapira, Yoav
Howdy, Sun is hoping to get J2EE 1.4 out by the end of November. J2EE 1.4 includes Servlet 2.4 and JSP 2.0, which tomcat 5 is waiting for. We'll probably have the first tomcat 5 stable release right around the time J2EE 1.4 is final. Depending on how many people have really tested tomcat 5,

RE: Programming Question?

2003-10-29 Thread Parviz Deyhim
yeah, You'll get a better answer in programming listserv, but as far as I remember you can acomplish this by using beans and playing around with scopes ( request, application,session, etc). You can find nice examples in this book: http://www.onjava.com/pub/a/onjava/excerpt/jsp2_3/index2.html

RE: Servlet Deployment Problem

2003-10-29 Thread Shapira, Yoav
Howdy, I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27) could not find servlet classes using a standard http://localhost:8080/%CATALINA_HOME%/appdir/servlet/ServletName url. Your first mistake is assuming the above URL is a standard. It's not, and the servlet specification

Re: Session vs. Application Replication

2003-10-29 Thread Karthik Duddala
Thanks Filip. I am new to the whole clustering concept and Tomcat as such, could any of you be kind enough to tell me how I could go about replicating data in the application context as well as replicate session data. Thanks much. Really appreciate all your help. Karthik Duddala Developer -

RE: Has there been a stable (non beta) rlease of Tomcat 5 yet?

2003-10-29 Thread Wade Chandler
Just so the list knows. I've been running Tomcat 5.0.3 on Red Hat Linux 9 with Java VM Sun 1.4.1_02 for months now. The only issues I ever ended up having were with the administration application (some quirky things), so I do the conf files by hand. But, I have it up and running for weeks at a

RE: Tomcat 3.3 performance issues

2003-10-29 Thread Joao Batistella
catalina.sh?? I'm using Tomcat 3.X not 4.X. But, what do you mean? I set heap size... I've already tried IBM VM and the result is almost the same. Using JRockit? I never thought about. But this is a commercial product, right? Thanks -Original Message- From: jerome moliere

RE: application eats up memory

2003-10-29 Thread Bill Tantzen
Nikolaos (and all others who offered advice) I threw a bunch of solutions at this problem, including those mentioned below, so I'm not sure what fixed my problem. Probably a combination of better code and better system software. I did notice a big improvement when I upgraded my java to 1.4.2,

Re: JSP generated HTML code squashed in one line

2003-10-29 Thread Rodrigo Ruiz
Check your pages do have DOS-style EOLs. If you have javascript code like: fuction a() { // comment ... } and IE is merging all in a single line, the closing bracket will become part of the comment, so the interpreter will fail to find it. You could check if this is the problem by editing

Re: memory-leaks in servlets, tool for tracing ?

2003-10-29 Thread Christopher Schultz
Grisi, our TC-based webapplication performs well but the java-processes concerned are showing increasing memory usage over time. For tracing we already stripped the app down to the very basic to get a clue. Wasn't successful enough. Have you looked at the memory over a long time, including

RE: Tomcat 3.3 performance issues

2003-10-29 Thread jerome moliere
catalina.sh?? I'm using Tomcat 3.X not 4.X. nevermind, i forget the name of script for this version (run.sh or something like size) But, what do you mean? I set heap size... -Xmx with a corresponding -Xms (equal value is a good idea)... I've already tried IBM VM and the result is almost the

Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-29 Thread Joaquin Corchero
Hi! I'm new in tomcat and I have a problem (very big for me) so I hope someone will be able to help me. My problem is that after setting everything up following the instructions from http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html, the apache server doesn't execute the

RE: JK2 and workers2.properties

2003-10-29 Thread Asif Chowdhary
Look into virtual hosts to run multiple websites -Original Message- From: jakarta [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 7:22 AM To: [EMAIL PROTECTED] Subject: JK2 and workers2.properties I have two apps on the some pc with different domains one domain works fine

RE: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-29 Thread Asif Chowdhary
Check yesterdays email from me or Florian -Original Message- From: Joaquin Corchero [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 10:13 AM To: [EMAIL PROTECTED] Subject: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk Hi! I'm new in tomcat and I have a problem (very

Re[2]: problem with workers.properties and Apache 1.3.28

2003-10-29 Thread Alexander Prohorenko
Hey. This wasn't helpfull for me - still no such file. Wednesday, October 29, 2003, 12:48:52 PM, Tomcat Users List wrote: I had a similar problem today. My workers file definitely existed but I kept getting 'no such file' errors. It turned out I had the JkWorkersFile directive defined

Re: Use own taglib with old Tomcat versions?

2003-10-29 Thread Kai Grossjohann
Kai Grossjohann [EMAIL PROTECTED] writes: frumple.tld says that uri=frumpletags, and the file foo.jsp says %@ taglib prefix=fr uri=frumpletags %. Tomcat 4.1.18 then complains that it can't find the file /some/dir/frumpletags. I'm looking for a solution which ideally should work even with

Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Ahmad, Kashif
Hi All: I have a question and hope someone can answer it. I have a client that is trying to install Apache 2.0.47 with Tomcat 4.0.6. The application he is trying to run comes with instructions on how to configure Apache 2.0.43 with Tomcat 4.0.4 with mod_jk_1.2. Do the same instructions

RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
I think Apache 2.0 works with mod_jk2. and the configuration is very different from mod_jk1.2. The directives such as JkWorkersFile JKMount dont work with mod_jk2. -Original Message- From: Ahmad, Kashif [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 10:42 AM To: '[EMAIL

Re: Filenames of JSP generated servlets

2003-10-29 Thread Christopher Schultz
Baer, Are you sure you have the same version of the JDK and Tomcat on both machines? Is this configurable? I'm pretty sure it's not configurable. Are you concerned about what the filenames actually are? What is this difference caused by? It's probably caused by the way the VM gets unique

RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Ahmad, Kashif
Sorry, are you saying the Apache 2.0.47 works with mod_jk2 only? Because I know the instructions as provided work for Apache 2.0.43 and mod_jk1.2. Seems like you are saying that 2.0.x doesn't work with 1.2 at all. Just clarifying. Thanks ;-) Kashif -Original Message- From: Asif

Re: SSL problem URGENT!!!!!!!!!

2003-10-29 Thread Christopher Schultz
Galbayar, I'm pretty sure the desire to reply to posts is inversely proportional to the number of trailing exclamation points in the subject line. Also note that this problem does not sound urgent in the slightest. I have question. when i use socket connect to ssl supported web server if

RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
Yes, that's what I have read in the Tomcat Definitive Guide from OReilly. You can give it a try but I think you will run into problems. My email from yesterday has instructions on how to make it work with mod_jk2. Bye -Original Message- From: Ahmad, Kashif [mailto:[EMAIL PROTECTED] Sent:

Re: Filenames of JSP generated servlets

2003-10-29 Thread Baer Peter Christoph Alexander
Hi Tim, you wrote: snip The behavior was changed (in the Jsp compiler) and is not configurable. /snip So it is normal, that when we use *the same* - Tomcat 4.0.6 LE - JSP compiler - J2SDK 1.4.2_01 - everything else, but OS the filenames on WinXP are different than on Win2k? Why? Regards

Re: application eats up memory

2003-10-29 Thread Christopher Schultz
Bill, I threw a bunch of solutions at this problem, including those mentioned below, so I'm not sure what fixed my problem. I'd highly recommend creating a test environment, backing everything out and applying changes one at a time. It's worth finding out if you've just hit a magic balance

IIS 5/Tomcat 4.1.24 virtual directories

2003-10-29 Thread rsteck
I am replacing .asp code with .jsp but would like to keep IIS as the front end and pass requests to Tomcat to process any .jsp. I have IIS and Tomcat playing together nicely, save one (very important) thing, the virtual directories need to go away. I have a website called www.coolsite.com, when

RE: Tomcat 5 clustering

2003-10-29 Thread Karthik Duddala
I am new to the whole clustering concept and Tomcat as such, could any of you be kind enough to tell me how I could go about replicating data in the application context as well as replicate session data. Thanks much. Really appreciate all your help. Karthik Duddala Developer - Web Team

Re: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Joaquin Corchero
Can you send me the tittle of the message (I signed up today) Thank you very much - Original Message - From: Asif Chowdhary [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:49 PM Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6 I think

Re[2]: problem with workers.properties and Apache 1.3.28

2003-10-29 Thread Alexander Prohorenko
Hey. I've solved the problem by using IP addresses instead of FQDNs in the workers file. Wednesday, October 29, 2003, 12:48:52 PM, Tomcat Users List wrote: I had a similar problem today. My workers file definitely existed but I kept getting 'no such file' errors. It turned out I had the

RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
Here is the info: I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put into the different config files: httpd.conf: just one single row like this: LoadModule jk2_module modules/mod_jk2-2.0.43.dll Then I added a worker2.properties in Apache/conf/ like this: [logger]

RE: Tomcat 5 clustering

2003-10-29 Thread Asif Chowdhary
You also have to think about load balancing along with clustering. Once you have clustered you have to distribute the load to different tomcat instances. You can use Apache + mod_jk2 connector (load balancing). In the workers2.properties file you can define how you want to assign weights to

RE: Session vs. Application Replication

2003-10-29 Thread Mike Curwen
I'm probably missing something in this whole discussion, but I'm failing to see why you'd need to replicate 'application' context. If you have two instances of Tomcat, clustered, then there is already 'replication' of the application, because there are two instances of it. Tomcat clustering

RE: Tomcat 3.3 performance issues

2003-10-29 Thread Mike Curwen
If you're able to change VM's, it implies you're able to change Tomcat versions. You should at very least *try* 4.1.27, as there were major speed enhancements between the 3.x and 4.x lines. -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

Re: character sets showing as ?

2003-10-29 Thread Luiz Ricardo
I was with this problem too, I was using J2SDK 1.4.2 in a Linux machine and setting CATALINA_OPTS to -Dfile.encoding=ISO-8859-1 didn´t resolve the problem. To fix this problem I have to set the enviroment variable LANG to pt_BR.ISO-8859-1 in catalina.sh and bingo all my ISO-8859-1 charsets were

RE: Tomcat 5 JBoss

2003-10-29 Thread Greg_Cope
From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: 29 October 2003 12:55 To: 'Tomcat Users List' Subject: RE: Tomcat 5 JBoss Actualy Jboss specifically doesn't give out much info for the purpose of making money. That is how they are funded. You don't have to pay squat for their

RE: Session vs. Application Replication

2003-10-29 Thread Ralph Einfeldt
It's not an uncommon desire to share objects between distributed servlet engines, that are above the application level. Just some examples: If you have a unique key generator you might want to share the last created key between the instances. (Yes I know that there are other solutions to

Serialized Java Beans.

2003-10-29 Thread Andoni
Hello, I recently read that if a JavaBean implements Serializable the servlet engine can write it to disk if it is not being used and if it's algorithm decides this would be a good idea. Can anybody tell me if Tomcat does this? Should I be sure to always implement Serializable in JavaBeans

RE: Session vs. Application Replication

2003-10-29 Thread Mike Curwen
ah, ok. So application-scoped information that would change with time is susceptible to clustering issues. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 11:13 AM To: Tomcat Users List Subject: RE: Session vs. Application

RE: Serialized Java Beans.

2003-10-29 Thread Shapira, Yoav
Howdy, It's good practice to make beans that you put in a session Serializable. Tomcat indeed serializes sessions by default, and if you put a non-Serializable bean in the session you'll get a runtime exception. However, tomcat doesn't due this to free memory under load as much as it does it to

RE: Session vs. Application Replication

2003-10-29 Thread Karthik Duddala
one scenario that i had was this.. This isn't strictly application scoped objects. Let's say we have a preferences object in each of the jvms running on each of the application instances and on one instance we update a preference (this is a java package that we are using to store user

Re: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-29 Thread Oscar Carrillo
Does Apache launches and serves up plain html files? If so, most likely it's the mapping done in httpd.conf and/or the auto-generated modjk.conf file. I have examples on how to do it in httpd.conf for virtual hosting here: http://daydream.stanford.edu/tomcat/install_web_services.html It may

RE: Session vs. Application Replication

2003-10-29 Thread Shapira, Yoav
Howdy, Let's say we have a preferences object in each of the jvms running on each of the application instances and on one instance we update a preference (this is a java package that we are using to store user and system preferences called java.util.prefs which is a singleton in the JVM, part of

setting my own jsession ID?

2003-10-29 Thread Bo Williams
I'm trying to integrate a shopping cart, which will live as a Tomcat-served application, with an older, existing product search/display site for one of our customers. The easiest solution that occurs to me is to take the session ID from the older site, and pass it to the Tomcat site in the

Thread-safe servlets ( best way to store an attribute on session )

2003-10-29 Thread Edson Alves Pereira
Hello folks, which is best way to store an object in a session? I want to ensure that one servlet´s thread cannot access the same object from other thread of the same instance. How it could be done? Regards, Edson

dropping upload of file too large

2003-10-29 Thread Mark W. Webb
I have the ability to upload files using a servlet. I also enforce file size constraints, so people do not upload files that are too large. The problem is, that I cannot figure out how to determine the file size without uploading the file first. I could get the contentLength from the

RE: Session vs. Application Replication

2003-10-29 Thread Karthik Duddala
Could JGroups be used to reslove this issue? Karthik Duddala Developer - Web Team Commerce Technologies Ph. 518-886-0700 x. 3881 Shapira, Yoav

Re: Filenames of JSP generated servlets

2003-10-29 Thread Tim Funk
Odd. The same version of tomcat shouldn't do that. It could be that $ is not a valid character according to one of the JVMs. (guess) -Tim Baer Peter Christoph Alexander wrote: Hi Tim, you wrote: snip The behavior was changed (in the Jsp compiler) and is not configurable. /snip So it is

Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
Tomcat-List, I just upgraded my Java version to 1.4.2_02 from 1.4.1_01 and now, Tomcat doesn't work. Anyone know why this would happen? Thanks, Jeremy Whitlock --- MCP/MCSA IT Manager for Star Precision, Inc. Phone: (970) 535-4795 Metro: (303) 926-0559 Fax: (970) 535-0780

RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
Here is the output to stderr.log: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs\openejb.log (The system cannot find the path specified) at java.io.FileOutputStream.openAppend(Native Method) at

Re: Filenames of JSP generated servlets

2003-10-29 Thread Baer Peter Christoph Alexander
Hi, Christopher, you wrote: snip Are you sure you have the same version of the JDK and Tomcat on both machines? /snip Yes, I'm sure. All installations of Tomcat and the JDK were freshly done a second time, before I posted the phenomenon on this list. Your explanation, why the filenames *can*

Re: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Tomas Wredendal
Jeremy Whitlock wrote: Tomcat-List, I just upgraded my Java version to 1.4.2_02 from 1.4.1_01 and now, Tomcat doesn't work. Anyone know why this would happen? Thanks, You could tell us what OS or how You start Tomcat. I suppose You are using Windows and running Tomcat as a

RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Shapira, Yoav
Howdy, Make sure the user running tomcat has write access to the directory specified for the log file in the log4j configuration file. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 12:54 PM

RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Ben Ricker
On Wed, 2003-10-29 at 11:53, Jeremy Whitlock wrote: Here is the output to stderr.log: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs\openejb.log (The system cannot find the path specified) U, this is pretty self-explanatory. Looks like you have a

RE: Tomcat 5 JBoss

2003-10-29 Thread Wade Chandler
In reading what I wrote I didn't mean it to sound the way it obviously sounds. So, I offer apologies for the way I wrote that. I should have took time to think about the way it was written before sending it. Wade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
I agree that the error is straight forward but it doesn't explain why upgrading my JDK would cause this problem and how to fix it. I reinstalled Tomcat and all is well now. Thanks, Jeremy -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29,

Re: SSL support not working with 4.1.27 version

2003-10-29 Thread Yann Cébron
Hi, there was a Bugzilla entry for this problem, but I can't seem to find it. If I remember right, the solution had something to do w/ the version of log4j used (I think it should work with log4j1.2.6). HTH, Yann I successfully configured Tomcat 4.1.24 (using JDK 1.3) for SSL, using

RE: Filenames of JSP generated servlets

2003-10-29 Thread Robert Priest
It's just a matter of which versions of the jasper jars you have. I ran into that same issue before. You may just want to upgrade to the latest versions of jasper-compiler.jar and jasper-runtime.jar The latest versions produce java files such as login_jsp.java instead of login$jsp.java. As

Re: SSL support not working with 4.1.27 version

2003-10-29 Thread Yann Cébron
there was a Bugzilla entry for this problem, but I can't seem to find it. duh, found it: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22701 If I remember right, the solution had something to do w/ the version of log4j used (I think it should work with log4j1.2.6). HTH, Yann I

RE: Tomcat JK Connector DLLs for IIS in IIS 6.0/Win2k3SBS - Won't Load!

2003-10-29 Thread Adam Krouskop
With some good suggestions of Matt Hall-Smith of Pauaware Information Architects (and [disappointment]no suggestions from the Tomcat Users List[/disappointment]) I have been able to get IIS 6.0 to work with Tomcat. My working setup consists of IIS 6.0 running under Windows 2003 Small Business

Tomcat 4.0, server.xml and SSL

2003-10-29 Thread Gilpin, Michael R.
I installed SSL on my Apache Tomcat 4.0 server. When the SSL Connector portion of server.xml is commented-out, my Apache Tomcat server service restarts with no problems. But when the SSL Connector portion is not commented-out, the Apache Tomcat server service will NOT restart. It doesn't

Mapping an Apache virtual host to a Tomcat context using Jk2

2003-10-29 Thread raoul duke
I'm having some problems with Jk2 and i'm hoping someone out there can help. What I want to do is map a virtual host in apache to a context deployed on Tomcat's default host. The reason I'm not using a Host directive in Tomcat is that I need to be able to deploy new applications WITHOUT

  1   2   >