Re: Problem getting JavaBean value

2004-01-21 Thread Bill Barker
"Jonathan Eric Miller" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using jakarta-taglibs-standard-1.1.0-B1 with JSP 2.0 and Tomcat 5.0.16. > > I have a bean that has the following accessor method. > > public String getCNetId() { > return cNetId; > } > > I'm attempting to get

Re: how to turn off Chunking for Tomcat 4.1.29?

2004-01-21 Thread Bill Barker
"Rasmus Munk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > Is it possible to turn off chunking for tomcat? Set the Content-Length header ;-). > > Is chunking only used when using HTTP 1.1 or is it also used when using the > j2k-connector? > This is left to Apache/IIS/Sun

RE: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread David Short
I've been asking for an example or a working 4.1.29 or 5.0.16 workers2.properties file for a couple weeks now. Somewhere between 4.1.0 and 4.1.29, the workers2.properties file syntax has changed. I can get Apache 2.0.48 to talk to Tomcat 4.1.0 in-process, via mod_jk2.dll (2.0.43), on W2K without

Re: class not found problem

2004-01-21 Thread Bill Barker
I'm guessing that you are trying to run TC 5.0.x. The o.a.ajp Connector is no longer available for TC 5.x. Only the Coyote Connector is supported. "William Sundberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I receive the following error when I try to startup Tomcat after >

Re: tomcat and apache+mod_jk on different servers - another story

2004-01-21 Thread QM
: possible to store JSP's on the server where apache is running? It's just : a matter of convenience - it would be nice to upload the whole site with : JSPs and have it running without remembering that you should upload all : JSPs to some special place on a second server. A sideways solution for y

Re: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Bill Barker
It seems that the Jk2 syntax is: JkSet config.file /path/to/apache/conf/workers2.properties Of course, the syntax of workers2.properties is different from Jk1's workers.properties. I don't really use Jk2, so I can't comment much on what you need. You could try the docs ;-), or (better) search th

Re: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Bill Barker
"Brennon Obst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Dear usergroup, > > When I use /> instead of the > > modJk="/usr/local/apache2/modules/mod_jk.so"> (notice > ...ajp.tomcat4.config...)? > You need TC 5.0.18 to get ApacheConfig back. > > I get the following error:

Re: connectionTimeout

2004-01-21 Thread Bill Barker
connectionTimeout="-1" (or channelSocket.soTimeout=-1 in jk2.properties) disables it. The reason that the socket isn't closed on each request is to avoid the cost of setting up and tearing down sockets. By leaving it open, the Apache child can just send the next request that gets handed to it dow

tomcat and apache+mod_jk on different servers - another story

2004-01-21 Thread Oleg Letsinsky
Hi, I've read a lot of "tomcat and apache+mod_jk" howto's and threads, but so far found nothing which would help me to find a solution to my problem. All solutions I've seen include apache, handling static pages and usual apache stuff + machine with tomcat, handling JSP's and servlets. Is it poss

RE: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Brennon Obst
Dear usergroup, When I use instead of the (notice ...ajp.tomcat4.config...)? I get the following error: 22/01/2004 11:31:39 org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig at

RE: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Brennon Obst
Yes I cant seem to find any documentation for mod_jk2-2.0.43. I also can not find the mod_jk-2.0.43 so that is why I am using jk2. There is a bug in jk that is fixed in jk2 with virtual hosts and I require this fix. Please advise, /Brennon -Original Message- From: Filip Hanik [mail

RE: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Filip Hanik
hmm, you are using mod_jk2 and the syntax seems to be for mod_jk filip -Original Message- From: Brennon Obst [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 4:58 PM To: 'Tomcat Users List' Subject: RE: Tomcat 5.0 & mod_jk Configuration Attn: Bill Barker Dear usergroup, In

RE: Tomcat 5.0 & mod_jk Configuration

2004-01-21 Thread Brennon Obst
Attn: Bill Barker Dear usergroup, In my httpd.conf I have added my jk module sucessfully but my syntax complains when I declair my workers file as follows. LoadModule jk2_module modules/mod_jk.dll # # Configure mod_jk - sytax error apparently # JkWorkersFile conf/workers.properties #JkLogFile l

Starting up a particular configuration

2004-01-21 Thread Guy Rouillier
According to RUNNING.txt, "you can pass a "-Dcatalina.base=$CATALINA_BASE" argument when executing the startup command" to run a specified configuration. Yet when I try I get this: C:\jakarta-tomcat-5.0.16\bin>startup -Dcatalina.base=c:\jakarta-tomcat-5.0.16\secure Using CATALINA_BASE: .. Using

how to turn off Chunking for Tomcat 4.1.29?

2004-01-21 Thread Rasmus Munk
Hi Is it possible to turn off chunking for tomcat? Is chunking only used when using HTTP 1.1 or is it also used when using the j2k-connector? thanks? -Rasmus

RE: Mozilla showing JSP source code

2004-01-21 Thread Guy Rouillier
Jeff Greenland wrote: > I'm sure this doesn't help, but we had the same problem with > the 3.x series. It went away when we upgraded to 4.x and 5.x. Yoo-hoo! Just struggled my way through setting up Tomcat 5.0.16 (never could figure out how to get mod_jk2 to work, so fell back to mod_jk). And th

RE: FORM based authentication referer

2004-01-21 Thread Guy Rouillier
Ricardo García wrote: > Here's some starting context for my question > > I have a war file that has been configured to use FORM based > authentication. I have set the in the > web.xml of the war file to point to a jsp file in my war > file. When a user invokes any jsp without being logged >

RE: Apache 1.3 + mod_jk2, requiring https

2004-01-21 Thread Brennon Obst
Yes this seems impossible, someone please help us =/ Thanks, Brennon -Original Message- From: frank delin [mailto:[EMAIL PROTECTED] Sent: Thursday, 22 January 2004 9:11 AM To: [EMAIL PROTECTED] Subject: Apache 1.3 + mod_jk2, requiring https I'm stumped. Before mod_jk2 I would simple

Problem getting JavaBean value

2004-01-21 Thread Jonathan Eric Miller
I'm using jakarta-taglibs-standard-1.1.0-B1 with JSP 2.0 and Tomcat 5.0.16. I have a bean that has the following accessor method. public String getCNetId() { return cNetId; } I'm attempting to get the value in a JSP using the following, but, I'm getting the following error, javax.servlet.Ser

Apache 1.3 + mod_jk2, requiring https

2004-01-21 Thread frank delin
I'm stumped. Before mod_jk2 I would simple add config directives for the connector in the https: virtual host section. My goal is only to forward requests that come into the https: virtual host to the tomcat 5.0.16 backend. Thanks in advance. Frank Delin University of Iowa Hygienic Laboratory

parameters to deploy using catalina.ant

2004-01-21 Thread Hernani Mourão
hi, I am trying to use org.apache.catalina.ant.DeployTask to deploy an application into TomCat using a context xml file. It seems it is mandatory to issue the path parameter but with a context xml file that should not be necessary. I looked on the Tomcat site and I could not find anything on thi

FW: parameters for deployin using catalina.ant

2004-01-21 Thread Hernani Mourão
-Original Message- From: Hernani Mourão [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 21 de Janeiro de 2004 22:30 To: [EMAIL PROTECTED] Subject: parameters for deployin using catalina.ant hi, I am trying to use org.apache.catalina.ant.DeployTask to deploy an application into TomCat usi

Tomcat's Ant Tasks [Install]

2004-01-21 Thread Matt Raible
Is it possible to use the ant task to deploy to a remote server? I would think so, but it seems that the Manager app of Tomcat tries to load the "context" file on the remote server... Is there anyway to do this, i.e. packaging the context.xml in the JAR and telling the manager app

RE: ServletRequest's path elements not updated by calls togetRequestDispatcher()

2004-01-21 Thread Alan Weissman
Thanks everyone for your input. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 4:35 PM To: [EMAIL PROTECTED] Subject: RE: ServletRequest's path elements not updated by calls togetRequestDispatcher() I think the difference between those s

Deployment with multiple contexts using the same docBase in Tomcat5

2004-01-21 Thread Rick Szeto
Hi, I am trying to deploy multiple webapps using the same docBase. How would I go about this? Say that I have a baseapp.war that has all the content files and java class and libraries as well as the web.xml that are common to all the different contexts. Then I would have appctx1.war, appctx2.w

Re: AW: long startup time with JDK1.4

2004-01-21 Thread Oscar Carrillo
What Linux distribution are you running? And are you running the Sun 1.4 JVM? Oscar On Wed, 21 Jan 2004, Roland Knor wrote: > FYI... > > This didn't work either. In the meantime I figured out, that the time is > spent in the PlainSocket.initProt function just before binding to the > port, whic

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Jeff Tulley
I think the difference between those seeing the redirect and those who are not is what browser they are using. Some browsers add the trailing slash for you, some do not. I tried this on Windows NT 4, IE 6(does add the "/"), and on Galeon/Mozilla on SUSE Linux (no "/" added). Client side, not ser

SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
It's when creating login - security constraint. When I an logged on and go to a new page the request.getRemoteUser() is null. Soren -Oprindelig meddelelse- Fra: Mike Curwen [mailto:[EMAIL PROTECTED] Sendt: 21. januar 2004 19:12 Til: 'Tomcat Users List' Emne: RE: Microsoft Update for XP

RE: ServletRequest's path elements not updated by calls to getReq uestDispatcher()

2004-01-21 Thread Hume, John - NA US HQ Delray
www.apple.com/ipodmini does a redirect to www.apple.com/ipodmini/, which is the same behavior you get from a webserver (I believe most of them, but definitely IIS) when requesting a directory without the trailing slash. (I seem to recall that Microsoft calls it a "courtesy redirect".) If you ca

FORM based authentication referer

2004-01-21 Thread Ricardo García
Here's some starting context for my question I have a war file that has been configured to use FORM based authentication. I have set the in the web.xml of the war file to point to a jsp file in my war file. When a user invokes any jsp without being logged in the login jsp is displayed. Th

AW: long startup time with JDK1.4

2004-01-21 Thread Roland Knor
FYI... This didn't work either. In the meantime I figured out, that the time is spent in the PlainSocket.initProt function just before binding to the port, which probably is Java/Linux-Version Problem. I am going to upgrade my linux-Version and hopefully get this fixed -Ursprüngliche Na

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Shapira, Yoav
Howdy, >All I want to do is do what apple does if you go to >www.apple.com/ipodmini or www.apple.com/ipodmini/ you get the same page. >This shouldn't be that hard, but whats the best way to do it? Going to apple.com/ipodmini leaves the URL as-is, I just tried it, so I'm not sure what you mean.

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
Ok, so what was said about using img src="/foo.gif" theoretically seems true, but in practice it does not work. And I don't have the ability to mandate a request.getContextPath() for every Link on the site. All I want to do is do what apple does if you go to www.apple.com/ipodmini or www.apple.

mod jk2 default app only set

2004-01-21 Thread Kevin Williams
Hi, I have Apache and Tomcat 4 (I can upgrade if necessary) running on a server where I want everything from 1 application going to tomcat. I configured the mod_jk2 so this can happen for an application in the following manner (workers2.properties file): [uri:/support/*] info=Map the support web

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Shapira, Yoav
Howdy, >No, if you use img="/foo.gif" >then '/' ALWAYS indicates to the browser to request it from the domain >root. Yeah, but you don't want to do that because what if the context path changes? A relative link would be better, and it's good that the original poster is already trying to do that

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
No, if you use img="/foo.gif" then '/' ALWAYS indicates to the browser to request it from the domain root. > -Original Message- > From: Alan Weissman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 1:26 PM > To: 'Tomcat Users List' > Subject: RE: ServletRequest's path ele

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
You are so right Mike, thanks so much. Well I guess now my problem is that for requests ending in /target, my img tags need to look like "/images/image.gif" wheras for requests ending in /target/ my img tags need to look like "../images/image.gif". I can't imagine I'm the first person to try t

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
That's the request dispatcher. Images and CSS are all 'called' from the client and have nothing to do with the dispatcher. If you type in http://www.foo.com/target then to the browser, the resource requested is 'target' and your image and css links, if they're relative, are going to be relative t

ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Alan Weissman
Hi Everyone - I have a requirement to allow for URLs on a site of the format www.site.com/target where 'target' is not a real directory or servlet, but redirects to another page on the site. To handle this, I have developed a ServletFilter which takes the 'target' off the URL and attempts to do

mod_jk/2 load balance multiple tomcat servers problem

2004-01-21 Thread Joe Aiello
I have apache 2.0.43, Tomcat 4.1.24/Jboss 3.2.1 and using both mod_jk 1.2.5 and 2.02 (mod_jk/2 = seems to work the same on both 1.2 and 2.0). -There is no tomcat on the apache server. -I have 2 or more tomcat servers. -Load balancing is working OK (as good as it mod_jk/2 balances). - Tomcat

org.apache.jasper.JasperException

2004-01-21 Thread RamaReddy Pottipati
Hi, I am getting following exception and found following in the log file. I would like to know that why we get the exception/error Any help will be greatly appreciated. Thanks, Rama Exception in service() method: org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWra

Re: Quick context question.

2004-01-21 Thread Daniel Gibby
Your question seems a little confusing to me, because a context is the same thing as a webapp in my opinion. If I have multiple contexts, I consider them multiple webapps. Are you saying that your webapp is whatever it is that you put on the tomcat server that didn't come with it? Those are actua

Quick context question.

2004-01-21 Thread Rick Szeto
Hi, Does Tomcat 5 allow starting, stopping and/or restarting of a context without affecting the other contexts of the same webapp? Also, can a context be stopped or restarted gracefully(ie keep running until all of the sessions are dead)? Thanks, Rick Szeto

RE: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Mike Curwen
I have IE 6.0 with the Q824145 update installed.Can you point me to a page that will exhibit trouble? I've never noticed trouble with jsessionid, but then again, I have cookies enabled. > -Original Message- > From: Søren Blidorf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January

SV: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
Hmmm. Cannot explain it, but I'm very sure! Soren -Oprindelig meddelelse- Fra: Jon Wingfield [mailto:[EMAIL PROTECTED] Sendt: 21. januar 2004 19:03 Til: Tomcat Users List Emne: Re: SV: Microsoft Update for XP and jsessionid error Interesting. My IE 6 on XP has Q824145 installed. Tomcat

Re: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Jon Wingfield
Interesting. My IE 6 on XP has Q824145 installed. Tomcat's cookies work ok. Jon Søren Blidorf wrote: More specific: 824145 Internet Explorer 6.0 security update. Could anybody try to update with that package and see if the get the same login/jsessionid problems? When uninstalling, it works again

class not found problem

2004-01-21 Thread William Sundberg
I receive the following error when I try to startup Tomcat after configuring it to use ajp13, it runnes ok if I remove the ajp13-configuration line in server.xml. So my question is where is this class defiened(which jar file and where is it)? or how can I get my system to start? Best regards/Wil

Re: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Tim Funk
I love how patches make things worse. http://www3.telus.net/dandemar/824145.htm -Tim Søren Blidorf wrote: More specific: 824145 Internet Explorer 6.0 security update. Could anybody try to update with that package and see if the get the same login/jsessionid problems? When uninstalling, it wor

SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
More specific: 824145 Internet Explorer 6.0 security update. Could anybody try to update with that package and see if the get the same login/jsessionid problems? When uninstalling, it works again! -Oprindelig meddelelse- Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] Sendt: 21. januar 20

Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Remy Maucherat
Allistair Crossley wrote: Hey, How would you explain what I have posted about JProfiler for 5.0.16 and 5.0.18? That was just 2 people traffic on a development box!! 5.0.16 was consuming over 100MB and now it does not go above 30MB. The memory used by this release should be equivalent. Your profile

Re: [OT] 5.0.18

2004-01-21 Thread Remy Maucherat
Tim Funk wrote: Its called alpha since it was tagged and not voted on. But if you look in the tomcat-dev archives, there was a recent vote as to the qaulity of 5.0.18 and the vote so far seems to be stable. So enough committers have voted to say 5.0.18 is stable to say its "stable". But no lines

Re: [OT] 5.0.18

2004-01-21 Thread Tim Funk
Its called alpha since it was tagged and not voted on. But if you look in the tomcat-dev archives, there was a recent vote as to the qaulity of 5.0.18 and the vote so far seems to be stable. So enough committers have voted to say 5.0.18 is stable to say its "stable". But no lines of code changed

RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
Hey, How would you explain what I have posted about JProfiler for 5.0.16 and 5.0.18? That was just 2 people traffic on a development box!! 5.0.16 was consuming over 100MB and now it does not go above 30MB. Cheers, ADC -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] S

RE: [OT] 5.0.18

2004-01-21 Thread Shapira, Yoav
Howdy, >i want to push this out to production but my co-workers feel that it's >"alpha software" and by definition buggy, unstable and not optimized. > >i've shown them the benchmarks run against 5.0.18alpha and they all seem >fine but they are not convinced due to the "alpha" tag on the release.

Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Remy Maucherat
Allistair Crossley wrote: I read about the leak and some other posts but it seemed that Remy did not consider it to be anything many people would run into or even a big leak. The leak can be significant in some cases. But it's easy to avoid on 5.0.16 (increase maxSpareThreads), and you'll need a s

RE: servlets are no where to be found

2004-01-21 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > 3. html file(s) = c:\tomcat\webapps\ROOT\datatel\openweb Have you asked on info-datatel? I know someone posted a HOWTO with screenshots on getting WebAdvisor to work on Tomcat. Datatel has some interesting ideas about where to put things, an

[OT] 5.0.18

2004-01-21 Thread Apu Shah
sorry for this off-topic question, it's meant for any tomcat developers reading this list currently, there is a tagged version of 5.0.18alpha. this has the fix for RequestGroup/RequestGroupInfo memory leaks and some additional clustering functionality (thanks filip!) this is primarily the rea

RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
I read about the leak and some other posts but it seemed that Remy did not consider it to be anything many people would run into or even a big leak. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 17:05 To: Tomcat Users List Subject: RE: JProfiler wi

RE: java.util.zip Exception during application install

2004-01-21 Thread Shapira, Yoav
Howdy, >Here are the last group of messages in the logfile prior to the detection >of the ZIP >problem >  >Manager: deploy: Deploying web application at '/tomcat1' >Manager : Uploading WAR file to >/home/tomcat/jakarta-tomcat->5.0.16/webapps/tomcat1.war >Manager: Extracting XML file to >/home/

RE: [OFF-TOPIC] RE: Weird context performance issue

2004-01-21 Thread Robbie Baldock
No, %C slowed the app to a crawl but without %C it was fine. Robbie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 17:06 To: Tomcat Users List Subject: [OFF-TOPIC] RE: Weird context performance issue Howdy, Are you saying you observed different

RE: java.util.zip Exception during application install

2004-01-21 Thread Barry Kimelman
Note : The name of my application is "tomcat1".   Here are the last group of messages in the logfile prior to the detection of the ZIP problem   Manager: deploy: Deploying web application at '/tomcat1' Manager : Uploading WAR file to /home/tomcat/jakarta-tomcat-5.0.16/webapps/tomcat1.war Mana

NT Service Stopped

2004-01-21 Thread RamaReddy Pottipati
Hi, I am using Apache2.0.44, Mod_jk2 and Tomcat4.1.24. All of sudden my tomcat service (NT Service) stopped and checked the event viewer log found nothing. Tomcat service configured as Automatic and using "Local System Account" for logon. Any help will be greatly appreciated. Thanks, Ram

[OFF-TOPIC] RE: Weird context performance issue

2004-01-21 Thread Shapira, Yoav
Howdy, Are you saying you observed different behavior for %C on the same JVM on different platforms? Or are they different JVMs? If it's the former, i.e. same JVM, please post your findings to the log4j-user list as I'd like to explore them. Yoav Shapira Millennium ChemInformatics >-Origi

RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Shapira, Yoav
Howdy, >On the 5.0.16 profile just 2 requests to the webapp made the heap profile >have a scale of 100-200MB being used. Now on 5.0.18 it is 10-30MB. This is a very good change, to use far less memory. I'm wondering what your pages do that two requests need that much memory, but that's besides

JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
Here is something odd .. I have just installed Tomcat 5.0.18 so that it does not use IIS/JK2 like our 5.0.16 install. I have deployed our webapp on it. The profiling between the 2 is totally different. On the 5.0.16 profile just 2 requests to the webapp made the heap profile have a scale of 10

RE: Weird context performance issue

2004-01-21 Thread Robbie Baldock
Thanks for the responses to this. It turned out to be because log4j doesn't work particularly well on AIX (or at least the %C PatternLayout option) and this was dragging down one of the webapps...! I still don't entirely understand why my initial "fix" for this problem worked but at least I've go

Re: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Nikola Milutinovic
> You're obviously entitled to your opinion, but you're wrong on this one > ;) Apps aren't necessarily going to get all their J2EE files from the > container. >From J2EE container, they will. > Consider the case of a servlet/JSP webapp running on tomcat wishing to > communicate to a remote JMS s

Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
Hi. As some might know I have had problems with jsessionid. I know what is causing the problem now. It is one of the newest "important updates" from Microsoft Update for XP. If anybody know what the problem is please let me know Soren -

Re: The Tomcat(5.0.16) service does not start on Windows XP

2004-01-21 Thread Jacob Kjome
Grab the latest Tomcat-5.0.18 and use the CATALINA_HOME/bin/service.bat. You might need to add JAVA_HOME/lib/tools.jar to the ImagePath in order to get JSP compiling, but otherwise it will work for you. Just type: service install Jake Quoting Tobias Eriksson <[EMAIL PROTECTED]>: > Hi > I'm

RE: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread Edson Alves Pereira
Check or change your file.encoding variable to the encoding format that you want. > -- > De: Alain Baucant[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quarta-feira, 21 de janeiro de 2004 12:27 > Para: Tomcat Users List > Assunto: Re: prob

RE: java.util.zip Exception during application install

2004-01-21 Thread Shapira, Yoav
Howdy, There's no stack trace anywhere, including the tomcat logs, for your ZipException? >build.xml:365: FAIL - Encountered exception java.util.zip.ZipException: >error in >opening zip file >  >How do I determine which zip file is causing the problem ? Yoav Shapira This e-mail, including an

java.util.zip Exception during application install

2004-01-21 Thread Barry Kimelman
 I am running Tomcat 5.0.16 on Linux Redhat 9.   First let me say that the sample applications work OK. I can compile my Tomcat application successfully. I can deploy my application using the manager webapp URL in the Mozilla browser. However when I run the "ant install" command I receive the

Re: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread Alain Baucant
Good question. Don't lose hope and try again in esperanto ;^) STOCKHOLM, Raymond wrote: Since I have upgraded to tomcat 4.1.29 (from 4.1.27), my javascript pages containing UTF-8 characters are interpreted as ISO-8859-1 in Mozilla and OPera, but not IE 5.5 My JSP pages are properly declared UTF-

Re: [RE-POST] Re: Eclipse+Ant+Tomcat 5 - problems [HELP!]

2004-01-21 Thread Remy Maucherat
Brice Ruth wrote: Remy Maucherat wrote: If you don't post the task list, I can't help you. Remy - I'm not sure what you mean by tasklist? From my Ant? Yes. I need to be able to reproduce precisely what you are doing. I've worked around this for now by having "localWar" point to my project, which

RE: Tomcat 5 for production?

2004-01-21 Thread Yiannis Mavroukakis
Oh no, we likes acerbic comments my precious;) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 15:04 To: Tomcat Users List Subject: RE: Tomcat 5 for production? Howdy, >I'm sure that if someone else hadn't, you would have. ;-) Nope, I had alrea

Re: [RE-POST] Re: Eclipse+Ant+Tomcat 5 - problems [HELP!]

2004-01-21 Thread Brice Ruth
Remy Maucherat wrote: Brice Ruth wrote: Remy Maucherat wrote: I think you should post the task sequence so that this is reproduceable. Thanks, Remy. Here's what I do: - start Tomcat 5 - deploy WAR (localWar) - undeploy WAR - deploy WAR *BANG* If you don't post the task list, I can't help yo

Re: Clustering question...

2004-01-21 Thread Peter Lin
if I understand correctly, you have multiple tomcat instances. 1. each system has the same webapp 2. each system caches data locally 3. you want to update the application context 4. you want the cluster to replicate the application context 5. you didn't design it and have to live with it repl

Session Tracking Question

2004-01-21 Thread John Sidney-Woollett
I have a webapp in which a servlet will redirect to another remote webserver URL which will then redirect back to my webserver after completing its request. me.com/ServletA ---> remote.com/someURL ---> me.com/ServletB I need to be able to "re-attach" to the original session that the user had

RE: Tomcat 5 for production?

2004-01-21 Thread Shapira, Yoav
Howdy, >I'm sure that if someone else hadn't, you would have. ;-) Nope, I had already dismissed it ;) I'm trying to be less edgy although the next "why isn't my /servlet/com.myclass URL working, it did in tomcat 3" question might destroy my resolution ;) Yoav Shapira This e-mail, including

RE: out of memory problem. Help!

2004-01-21 Thread Cox, Charlie
Try this in your jk2.properties file and see if it fixes it for 4.1.29. According to Bill Barker(thread: "maxProcessors vs maxThreads"), this is the same as the 5.x connector setting for jk2. container.maxThreads= container.maxSpareThreads= container.minSpareThreads= Unfortunately I do not have t

Re: Clustering question...

2004-01-21 Thread Rick Szeto
As I was not involved in the design decision, I can not say whether or not that it is a good call or not. But the reason that we need application context replication is that the entire site serves up relatively static data(infrequent updates) to all of it the users. They did not feel that hitt

Re: Tomcat 5 for production?

2004-01-21 Thread Ben Souther
I'm sure that if someone else hadn't, you would have. ;-) On Wednesday 21 January 2004 09:44 am, Shapira, Yoav wrote: > Howdy, > I'm disappointed to see someone even dignified Candyman's statement with a > response ;) > > Yoav Shapira > Millennium ChemInformatics > > >-Original Message-

RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Robbie Baldock
Sorry, what I meant was apps should get their classes either from their J2EE container or the relevant client JAR file! In other words, not from j2ee.jar. Robbie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 14:43 To: Tomcat Users List Subject:

RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Shapira, Yoav
Howdy, >Well, the cookie is written but RAM memory must be allocated for these >users as well, right? If you have a timeout set to 30 minutes, you've got >a lot of little pieces of RAM being held by these users at any given time. >Seems waistful to me, regardless how small they are. It just see

RE: Tomcat 5 for production?

2004-01-21 Thread Shapira, Yoav
Howdy, I'm disappointed to see someone even dignified Candyman's statement with a response ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 9:29 PM >To: Tomcat Users List >Subject: Re: To

RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Shapira, Yoav
Howdy, >Apps should get any J2EE files they need from the container (eg: >servlet.jar). You're obviously entitled to your opinion, but you're wrong on this one ;) Apps aren't necessarily going to get all their J2EE files from the container. Consider the case of a servlet/JSP webapp running on

RE: Single session across webapps

2004-01-21 Thread Shapira, Yoav
Howdy, Keep in mind that one possible reason for the lack of responses to your original question is that it's a FAQ: you can search the archives for answers. It's also on the actual FAQ (http://jakarta.apache.org/tomcat/faq) in the HowTo wiki section. Yoav Shapira Millennium ChemInformatics >-

RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Robbie Baldock
In my opinion, having j2ee.jar on the CLASSPATH is OK for building apps but I never put it on the runtime CLASSPATH. Apps should get any J2EE files they need from the container (eg: servlet.jar). Robbie -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: 21 January 20

RE: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Yiannis Mavroukakis
ROFLMAO! Why did I miss the "joy" part on my first read of your response?:) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 13:58 To: Tomcat Users List Subject: RE: Apache-Tomcat integration vs Direct Tomcat Howdy, I was nearly brought to tears of

Re: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread K. Harvatis
To all those who were interested in this problem: The change needed was to remove j2ee.jar from the classpath! Still, I cannot figure out why 1) It run on my pc with j2ee.jar included 2) It needs that empty \lib created. Regards, Kostas Harvatis - Original Message - From: "Sanjeev

TCP Windowsize

2004-01-21 Thread Sebastian Klenk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody, i have written a small application which connects to tomcat, sends some data and recieves some data. the problem i have is that tomcat suddenly sets the tcp window size to zero so that the application stopps sending data and tomcat starts

RE: How to set session timeout?

2004-01-21 Thread Shapira, Yoav
Howdy, You should read the specification for session timeout. You can't set it for less than a minute using web.xml. The default is 30 minutes. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004

RE: develop new application

2004-01-21 Thread Shapira, Yoav
Howdy, Read http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html Yoav Shapira Millennium ChemInformatics >-Original Message- >From: seema gupta [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 21, 2004 1:40 AM >To: [EMAIL PROTECTED] >Subject: develop new application > >I

Re: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread frontofyou
Good question ! Don't lose hope. but ask you're question in esperanto ! STOCKHOLM, Raymond wrote: Since I have upgraded to tomcat 4.1.29 (from 4.1.27), my javascript pages containing UTF-8 characters are interpreted as ISO-8859-1 in Mozilla and OPera, but not IE 5.5 My JSP pages are properly de

RE: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Shapira, Yoav
Howdy, I was nearly brought to tears of joy by the responses in this thread... Excellent... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Tim Funk [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 21, 2004 7:33 AM >To: Tomcat Users List >Subject: Re: Apache-Tomca

Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Peter Lin
good luck with your debugging. I hope you're able to fix it. if you figure out the problem, I hope you post the solution. In case others are struggling with iSeries :) peter lin Pete Stokes <[EMAIL PROTECTED]> wrote: Thanks for all your help. Pete. Peter Lin wrote: > >My friend works

Re: Measuring latency between tomcat instances

2004-01-21 Thread Tim Funk
Instance B knows nothing about instance A. Instance B is only serving responses to instance A. Instance A might do a lot of work before and after it talks to instance B which might make instance B look bad even if that is the short part of a transaction. The only gotcha is if client side javasc

Problem setting the mail.smtp.host in the server.xml (tomcat 5.0. 16)

2004-01-21 Thread Katz Guy
Hi; I am using tomcat 5.0.16. I configured the following uinder the global naming resources: …. mail.smtp.host in.inter.net However, when I try to send an email I see that 'localhost' is used instead of 'in.inter.net'. I also check in my code what the

Re: Measuring latency between tomcat instances

2004-01-21 Thread Philipp Taprogge
Hi! Jeremy Nix wrote: We have an instance where tomcat instance (A) is communicating with tomcat instance (B), where instance (B) is located at another site. Instance (A) formulates a request to instance (B) and instance (B) responds with some valid response. Now, my question is, from a standpoin

RE: Measuring latency between tomcat instances

2004-01-21 Thread Jeremy Nix
Okay, let me pose another (slightly differenc) question. Say that instance (A) and (B) are separate institutions, independent from each other. Same scenario as before. How could instance (B) (the responding instance) be able to measure latency in instance (A)? The reason I ask is related to an

  1   2   >