RE: caching static objects

2004-03-23 Thread Shapira, Yoav
Howdy, >We are running Tomcat-standalone and are having some caching issues. It >appears to be a browser issue, but there's got to be some workaround. >We've got the headers set to pragma nocache, but it continues to cache >objects, such as charts that are created dynamically. I suppose this >wou

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
Hmm, Do you have Tomcat set up to listen on port 80? (you shouldn't) Can you get to your webapp correctly using localhost? Try setting up a test host in your server.xml file with name=www.example.com and then edit your hosts file to point 127.0.0.1 to www.example.com. Then try connecting to htt

Re: workers.properties and virtual hosts

2004-03-23 Thread staf wagemakers
On Tue, Mar 23, 2004 at 02:01:34PM +0100, Michael Kastner wrote: > > I am trying to install tomcat5 with apache 1.3 using the mod_jk connector. > > On my test system I've got several virtual hosts. Do I have to create a > separate worker for each virtual host? > > E.g.: > > worker.list= worker

RE: Tomcat Deployment with JBuilder

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
You can build your WAR file in JBuilder. Verify your web app structure in JBuilder by viewing the properties and make sure you're getting everything you want. As for Ant, it isn't as difficult as you might think and once you start using it you might actually prefer it over the IDE build process.

Dump of Beans in catalina.out

2004-03-23 Thread john-tomcat
Recently I have been seeing what appears to be a dump of the active Javabeans in my catalina.out log file. There is not apparent error listed with the information but after the dump happens, the application is either very sluggish or doesn't respond at all. Does anyone have an idea of what m

RE: Configuration Help

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
Thanks for the link, but the server I'm trying to get this working on is Windows 2000 IIS 5, so much of the instructions don't apply -Original Message- From: Zheng Neil [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 8:13 AM To: [EMAIL PROTECTED] Subject: Re: Configuration Hel

Re: Tomcat Deployment with JBuilder

2004-03-23 Thread k2ma
I'm a newbie so I don't know ant at all is there a way i can do in from the automatic generate and build in JBuilder? thanks, ~Kayley~ - Original Message - From: "LILES, DAVID (CONTRACTOR)" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 23, 20

Re: Configuration Help

2004-03-23 Thread Zheng Neil
Hi, I got the same problem when i config the iis6 with tomcat5 using mod_jk2,but i can't remember how it happened. However, i do remember i followed the instructions on the following page,and the problem was solved. http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html From: "Adrian Lanning" <

RE: Configuration Help

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
Thanks for the links below. I've been looking at anything I can find and as far as I can tell, I have IIS configured to support Tomcat. The following link serves the web app I'm trying to configure, but it only serves it from the ip address and not the URL http://66.80.144.156/dynamichostin

RE: Broken Pipe (continued) - Thread Dump Results

2004-03-23 Thread Shapira, Yoav
Hola, >I did a thread dump (SIG-QUIT) on both the JRun and Tomcat environments >during the "refresh button load test" and the differences are >significant. The differences in internal thread management between any two servers are likely to be significant. >Tomcat: Java CPU% exceeds 80%. Site

RE: AW: Tomcat dies with no error.

2004-03-23 Thread Shapira, Yoav
Hi, Are there core or hs_err_pid ( being the process ID) files around your tomcat installation? Yoav Shapira Millennium Research Informatics >-Original Message- >From: Adam Brundrett [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 23, 2004 5:17 AM >To: Tomcat Users List >Subjec

RE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Shapira, Yoav
Hi, >No I am using the default out-of-the-box manager. It worried me that I >didn't see Session.ser (or whatever) anywhere which is what made me >think I somehow >farkled the permissions. I mispelled the file name, it's sessions.ser as others have pointed out. (Don't delete .cer files if you ha

RE: Tomcat Deployment with JBuilder

2004-03-23 Thread LILES, DAVID (CONTRACTOR)
Have you tried using Ant? That way you can build your web app the way you like... -Original Message- From: Kayley Ma [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:51 PM To: Tomcat Users List Subject: Tomcat Deployment with JBuilder Hi, Just wondering if there are any tips on

Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception

2004-03-23 Thread Adrian Lanning
Hi, You might have more luck with this in the struts-user mailing list. Are you using a custom request processor? If so did you extend org.apache.struts.action.RequestProcessor or org.apache.struts.tiles.TilesRequestProcessor? Adrian - Original Message - From: "Namasivayam, Sudhakar (

Re: Login by parameters (no prompts)

2004-03-23 Thread Adrian Lanning
Hi Jonathan, Did you solve your problem? Earlier you asked if you could send two requests, one to log in and another to download the stuff. You absolutely can as this is how browsers work. You just need to keep the session id that tomcat sends back in the header once you log in and resend it in t

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Shapira, Yoav wrote: Hi, I don't see any session.cer file anywhere. $CATALINA_HOME/work, or anywhere along the path work/Catalina/localhost/chartms Whoa ;) Tomcat must be reading and deserializing the sessions from somewhere, no? Do you have a custom session manager (Manager element in

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
Hi Dave, Did you ever solve this problem? Actually, 400 error is malformed syntax. Basically doesn't tell us much in this situation besides "configuration screwed up". I don't use IIS so don't know how to from first-hand experience. Searching turns up stuff on connecting using jk rather than jk2

workers.properties and virtual hosts

2004-03-23 Thread Michael Kastner
Hello, I've searched the archives and docs, but so far haven't found any hints on this topic: I am trying to install tomcat5 with apache 1.3 using the mod_jk connector. On my test system I've got several virtual hosts. Do I have to create a separate worker for each virtual host? E.g.: worker

Help,error while trying to integrate apache and tomcat with jni

2004-03-23 Thread Zheng Neil
I tried hard these days to make tomcat and apache work together with jni but only to find these in the [apache_home_dir]/logs/error_log * error_log * [Tue Mar 23 08:37:46 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.2 configure d -- resuming normal operations [Tue Mar 23 08:37:46

Re: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Adam Hardy
Leonard, I went the other way. I wrote a login module for tomcat's JAAS implementation and recently found it relatively easy to adapt it to JBoss. However I see you're going down the JDBC route. Adam On 03/23/2004 09:22 AM Leonard Wolters wrote: Hi, I've got a question concerning the different

Re: Primo Censimento della Musica Italiana

2004-03-23 Thread Adam Buglass
Que ? On Tue, 2004-03-23 at 10:51, [EMAIL PROTECTED] wrote: > Grazie per aver scritto a [EMAIL PROTECTED], il tuo messaggio à giunto a > destinazione! > > Approfittiamo per informarti che à nato all'indirizzo www.censimentomusica.it un > nuovo progetto a carattere nazionale: Il I Censime

Primo Censimento della Musica Italiana

2004-03-23 Thread [EMAIL PROTECTED]
Grazie per aver scritto a [EMAIL PROTECTED], il tuo messaggio è giunto a destinazione! Approfittiamo per informarti che è nato all'indirizzo www.censimentomusica.it un nuovo progetto a carattere nazionale: Il I° Censimento Italiano della Musica . Se non l'hai già fatto ti preghiamo di isc

RE: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Marco Pöhler
Hi, > How does the GlobalNamingResources relate to the REALM specified in the > engine element ? Can someone > tell me if the UserBase as specified in the GlobalNamingResources is being > used by for the JSP security > stuff ? (for example the > /webapps/jsp-examples/security/protected/login.jsp)

Re: AW: Tomcat dies with no error.

2004-03-23 Thread Adam Brundrett
Cheers michael, We have had a look at the servlets and there is nothing evident. We have also tried duplicating what happened according to the user log entries that get written and what the user told us he was up to when it happenedwith no luck in duplicating the problem. Nitschke Michael

RE: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Leonard Wolters
Thanks marco, However, can I also set this datasource for the element ? (I thought I read something about a bug, although I'm not quite sure). Then, after I specified this new datasource in the either context or engine element, how do i confiugre the UserDatabase in the JNDI lookup ? For exampl

RE: Tomcat and Apache on diff m/c's

2004-03-23 Thread Dale, Matt
Are you trying to perhaps use JNI to connect them? Thats the only thing I can think of. -Original Message- From: Steven Perry [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 06:16 To: [EMAIL PROTECTED] Subject: Tomcat and Apache on diff m/c's Hello all, I've successfully configured and r

AW: java.lang.OutOfMemoryError

2004-03-23 Thread Marco Pöhler
Hi Neal, I increased the JVM Memory with -Xmx300m - that seem to work. I checked the heap status using the manager application and the memory usage after 2 days is now up to 90 MB. But the growth has stopped. That seem to work. Thanks ! Marco --- http://www.lenses-price-comparison.com http://ww

AW: NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Marco Pöhler
Hi Leonard, this works for me: Of course, you have to define the jdbc/db Datasource in the GlobalNamingResources, too. hth Marco --- http://www.optik-preisvergleich.de http://www.kontaktlinsen-preisvergleich.de > -Ursprüngliche Nachricht- > Von: Leonard Wolters [

AW: Tomcat dies with no error.

2004-03-23 Thread Nitschke Michael
This looks like there is somewhere an System.exit() hidden in your code. -Ursprüngliche Nachricht- Von: Adam Brundrett [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. März 2004 10:18 An: [EMAIL PROTECTED] Betreff: Tomcat dies with no error. We are using Tomcat 4.1.29 on a Solaris 9 x86

Tomcat dies with no error.

2004-03-23 Thread Adam Brundrett
We are using Tomcat 4.1.29 on a Solaris 9 x86 web server (dual 3GHz Zeons) with 2gb RAM. Twice now Tomcat, which has been happily running under light load (only a couple of users currently) has simply stopped. One second it is working, the next it is not. No crashes, no error messages, no lo

Re: Context mapping and war

2004-03-23 Thread Martin Monsorno
"Jesse Vitrone" <[EMAIL PROTECTED]> writes: > So in TC5, the conext is part of the war file, and I don't need to do > anything separate? All that info can be in the war file? In TC5, you can define the context in a special file in "conf/Catalina/localhost/.xml". With this, everything works as

RE: Tomcat windows service

2004-03-23 Thread Andi Reinbrech
You need to set the ImagePath variable in the service parameters and re-install the service. -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 03:06 AM To: Tomcat user list Subject: Tomcat windows service How do I set the classpath for Tomcat when it run

RE: caching static objects

2004-03-23 Thread Ronald Wildenberg
> We are running Tomcat-standalone and are having some caching > issues. It > appears to be a browser issue, but there's got to be some workaround. > We've got the headers set to pragma nocache, but it continues to cache > objects, such as charts that are created dynamically. I suppose this > woul

Re: HELP!

2004-03-23 Thread Bill Barker
Well, this is really more of a mod_joke question than a Tomcat 3 question (seeing that Ms Clark seems to have Apache and Tomcat talking already :). With as little as I know about the configuration, it looks like you want to add something like: JkMount /*.bar ajp13 The usual reason to get unproce

NEWBIE question: JAAS- versus JDBC- versus MemoryRealms

2004-03-23 Thread Leonard Wolters
Hi, I've got a question concerning the different REALM available for Tomcat 5.x. The main (basic) question is that I want to secure my context annex websites / jsp pages. I have some experience with JAAS (JBOSS) and was investigating the possibility to use / implement JAAS for Tomcat. After some e

<    1   2