RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, Sorry for the noise. I have found the solution at http://marc.theaimsgroup.com/?l=tomcat-user&m=104808785801048&w=2 - Jim -Original Message- From: Sng Wee Jim Sent: Wednesday, March 02, 2005 2:14 PM To: 'Mladen Turk'; Tomcat Users List Subject: RE: session load-balancing an

Re: How to disable PUT, DELETE http methods etc if not using container managed security?

2005-03-01 Thread Ted Anagnost
Thanks Bill but I'm not sure it's working. Per your suggestion here's what I have now: Protected Context /* HEAD PUT DELETE TRACE OPTIONS Protected Context /* CONFIDENTIAL But, how do I verify that PUT's and DELETE's ar

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, I am actually trying to get sticky session load-balancing with IIS & tomcat (not apache webserver, client's requirement). My worker.properties: == worker.list=tomcat1,tomcat2 worker.tomcat1.type=ajp13 worker.tomcat1.host=localhost worker.tomcat1.port=8009 worker.tomcat1

Re: JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Frank W. Zammetti wrote: I wouldn't have expected to see them in Tomcat frankly... Although sending eMails from a webapp is relatively common, it's not common enough to be included with an app server (well, except for Websphere, which generally includes everything under the sun!) I am kind of s

Altering default HTTP header fields for serving static content

2005-03-01 Thread David.Ratcliffe
Is there a way to alter the default HTTP header fields when a request is made to Tomcat for static content? I would like to be able to add the Cache-Control general header field with value "no-cache" when serving images so they are not cached on the client side. Can anyone please help? I've tried

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-01 Thread Jacob Kjome
You first talk about ServletContext.log(), but then talk about log4j loggers in your app. These are two completely separate things. Which were you focusing on? With your setup, it it makes sense that ServletContext.log() messages are going to catalina.log. However, if you have log4j.jar in

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Peter Johnson
I ended up moving the resource definition from the global context to the application context and it is now working. Thanks for your help Jason. PJ Jason Bainbridge wrote: Lots of good info here: http://www.theserverside.com/discussions/thread.tss?thread_id=25459#119215 Try some of those and I'm s

Replacing XML parser

2005-03-01 Thread Narayan, Satya
Hi all, I am using tomcat 5 for my web applications. I wanted my webapplications to use my own xml parser so I looked into the docs of tomcat and found that in jdk 1.4 supports "Endorsed Standards Mechanism" wherein I could replace my own XML parser instead of the default one. Is there an

context path confusions

2005-03-01 Thread Nathan Coast
Hi, When I declare this context in server.xml: the webapp deploys to /tomcat/codebar - great, this is what I want. However, when I specify the same context in its own context.xml file [catalina-home]/conf/Catalina/localhost/codebar.xml, the webapp deploys to /codebar which is the wr

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Caldarale, Charles R
> From: Sng Wee Jim [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat clustering and NotSerializableException > > Indeed a reference to the HttpServletRequest is held in my Struts form > (session-scope). The problem went away once I added transient to the > attribute. How do you handle the situatio

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Richard Mixon (qwest)
If you specify "transient" on the HttpServletRequest property in your form bean (this does not seem like "good" design) you must make provisions when the form bean is "de-serialized" on the other end to initialize the property. See my post on this list for the subject titled "RE: SOLVED - commons-

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Jason Bainbridge
Lots of good info here: http://www.theserverside.com/discussions/thread.tss?thread_id=25459#119215 Try some of those and I'm sure you'll get it running. :) On Wed, 02 Mar 2005 13:52:26 +1100, Peter Johnson <[EMAIL PROTECTED]> wrote: > 4.1.30 ... I read that but it was in relation to 4.0.x > >

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
Woops, my bad, that's not it, I should have read the entire message :( Drew. On Tue, 2005-03-01 at 18:51, Drew Jorgenson wrote: > javax.servlet.ServletException: Unable to get connection, DataSource > invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create > JDBC driver of class

Re: context elements in /conf/[enginename]/[hostname]

2005-03-01 Thread David Boyer
Okay, I'm getting closer. I've removed the 'path' attributes, and the contexts are loading fine. However, Tomcat is using /xmlfilename as the context's path. If I can't use the 'path' attribute in the Context elment of files in /conf/[enginename]/[hostname], how do I tell Tomcat the path is /dir1/d

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Peter Johnson
4.1.30 ... I read that but it was in relation to 4.0.x Jason Bainbridge wrote: On Wed, 02 Mar 2005 12:31:50 +1100, Peter Johnson <[EMAIL PROTECTED]> wrote: That was it ... it needed to be between the taglib and security-constraint elements. Now I am getting the ol' Cannot create JDBC driver of

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'" what is your connection URL? it doesn't seem like you're supplying one to the driver. If you're passing it

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Sng Wee Jim
Thanks to all that replied. Indeed a reference to the HttpServletRequest is held in my Struts form (session-scope). The problem went away once I added transient to the attribute. My concern is when the session is replicated to other tomcat instances, will a call to getRequest() always return nul

Re: Include other contexts

2005-03-01 Thread Peter Johnson
it would seem to be as simple as req.getRequestDispatcher().include(req,res); PJ Peter Johnson wrote: Thanks for the quick reply QM ... I'd be writing both the "parent" and "child" apps. Basically the parent would act as a broker to the child apps and perform the "decoration". I guess SiteMesh d

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Jason Bainbridge
On Wed, 02 Mar 2005 12:31:50 +1100, Peter Johnson <[EMAIL PROTECTED]> wrote: > That was it ... it needed to be between the taglib and > security-constraint elements. Now I am getting the ol' Cannot create > JDBC driver of class '' for connect URL 'null' error. > > classes12.jar is in common/lib

Re: Server on Mac

2005-03-01 Thread Anthony E. Carlos
Try this? http://wiki.apache.org/jakarta-tomcat/TomcatOnMacOS On Mar 1, 2005, at 8:26 PM, Lisa Thompson wrote: I am new to “website development”, use Dreamweaver to develop my sites, and have been attempting to get the Tomcat server running on my Mac OSX system. I would like to integrate a databa

Re: Server on Mac

2005-03-01 Thread Jason Bainbridge
On Tue, 01 Mar 2005 17:26:46 -0800, Lisa Thompson <[EMAIL PROTECTED]> wrote: > I am new to ³website development², use Dreamweaver to develop my sites, and > have been attempting to get the Tomcat server running on my Mac OSX system. > I would like to integrate a database using Dreamweaver with thei

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Parsons Technical Services
Duh! Not use to it in the subject. Did you put in the resource link? Doug - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Jason Bainbridge" <[EMAIL PROTECTED]> Sent: Tuesday, March 01, 2005 8:33 PM Subject: Re: Oracle DBCP in Tomcat 4

Re: Include other contexts

2005-03-01 Thread Peter Johnson
Thanks for the quick reply QM ... I'd be writing both the "parent" and "child" apps. Basically the parent would act as a broker to the child apps and perform the "decoration". I guess SiteMesh does a form of automated "screen scraping". I would do this so that all "child" apps may have a common

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Parsons Technical Services
If you don't find it post your entire web.xml and also tell us your Tomcat version. Doug - Original Message - From: "Jason Bainbridge" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 01, 2005 8:00 PM Subject: Re: Oracle DBCP in Tomcat 4 Does your web.xml have it's tag

Re: Include other contexts

2005-03-01 Thread QM
On Wed, Mar 02, 2005 at 11:53:52AM +1100, Peter Johnson wrote: : I was just wondering if it was possible to pass a request to another : context within the same host and capture the output. If it is, any : suggestions on the best way to do so? You could make a URL call to the app (java.net.URL an

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
What version are you running of Tomcat? Did you put in your resource link? Doug - Original Message - From: "Darryl Wagoner" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 01, 2005 5:09 PM Subject: newbie having problems with MySQL JDBC/JNDI Datasource example Greetings

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Peter Johnson
That was it ... it needed to be between the taglib and security-constraint elements. Now I am getting the ol' Cannot create JDBC driver of class '' for connect URL 'null' error. classes12.jar is in common/lib so it should be able to find it Jason Bainbridge wrote: Does your web.xml have it's

Server on Mac

2005-03-01 Thread Lisa Thompson
I am new to ³website development², use Dreamweaver to develop my sites, and have been attempting to get the Tomcat server running on my Mac OSX system. I would like to integrate a database using Dreamweaver with their Coldfusion technology. Macromedia recommended Tomcat for the server technology. I

Re: Oracle DBCP in Tomcat 4

2005-03-01 Thread Jason Bainbridge
Does your web.xml have it's tags in the right order as per the error message? Sometimes error messages are actually helpful, not very often mind you but sometimes they are. :) Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On Wed, 02 Ma

Include other contexts

2005-03-01 Thread Peter Johnson
Tomcat 5.5.7 Hi all, I was just wondering if it was possible to pass a request to another context within the same host and capture the output. If it is, any suggestions on the best way to do so? Basically, I am planning to use SiteMesh for site templating however would prefer to deploy many of

Oracle DBCP in Tomcat 4

2005-03-01 Thread Peter Johnson
Hi All, Just wondering if I could borrow ppls eyes to see if someone else can spot what I've missed common/lib/ -- activation.jar commons-collections.jar commons-pool-1.1.jar jdbc2_0-stdext.jar jta.jar naming-factory.jar ant.jar commons-dbcp-1.1.jar jasper-compiler.jar

RE: Is it possible to use a parameter other than JSESSIONID to maintain session?

2005-03-01 Thread Subir Sengupta
You will have to change it in the connector source too. Subir -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 3:13 PM To: Tomcat Users List Subject: Re: Is it possible to use a parameter other than JSESSIONID to maintain session? 1) Checkout th

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-01 Thread Remy Maucherat
On Tue, 01 Mar 2005 18:18:49 -0500, Adrian Robert <[EMAIL PROTECTED]> wrote: > I'm having trouble approximating the earlier tomcat per-context > functionality using log4j under tomcat-5.5. Basically, I > would like to have one file coming out under $CATALINA_BASE/logs/ per > web application conte

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
>Sounds like it can't find the driver. Do you have the Connector/J jar installed in the correct place? Should be in common/lib. I think so! I have $CATALINA/common/lib/mysql-connector-java-3.0.16-ga-bin.jar which I believe to be the correct. I just downloaded and installed 3.1 with same res

How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-01 Thread Adrian Robert
I'm having trouble approximating the earlier tomcat per-context functionality using log4j under tomcat-5.5. Basically, I would like to have one file coming out under $CATALINA_BASE/logs/ per web application context. This appears to be no longer possible through ServletContext.log(). So

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Justin Crabtree
Parsons Technical Services wrote: Resource Link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html#Resource%20Links Doug - Original Message - From: "Darryl Wagoner" <[EMAIL PROTECTED]> To: "Tomca

Re: Is it possible to use a parameter other than JSESSIONID to maintain session?

2005-03-01 Thread Tim Funk
1) Checkout the source 2) issue the command cd {tomcat src base} find . -name '*.java' | xargs grep -i jsessionid This will tell you all the placed jsessionid is used. -Tim Garth Patil wrote: Changing the name in Globals.java seems to partially work. Now, in order to have Tomcat just use that value

RE: tomcat newsgroup website

2005-03-01 Thread Caldarale, Charles R
> From: Terry Chung [mailto:[EMAIL PROTECTED] > Subject: tomcat newsgroup website > > Is there a web site that I can visit that has all of the previous > post-threads for this newsgroup? (This isn't a newgroup, it's a mailing list.) The link to one of the archives is on the same line as the lin

Re: tomcat newsgroup website

2005-03-01 Thread Parsons Technical Services
http://jakarta.apache.org/site/mail.html#archives - Original Message - From: "Terry Chung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 01, 2005 5:22 PM Subject: tomcat newsgroup website Hi, Is there a web site that I can visit that has all of the previous post-threa

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
Resource Link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html#Resource%20Links Doug - Original Message - From: "Darryl Wagoner" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March

tomcat newsgroup website

2005-03-01 Thread Terry Chung
Hi, Is there a web site that I can visit that has all of the previous post-threads for this newsgroup? I like to find answers before I post the question in this newsgroup. thanks Terry - This message and its attachments may contain privileged and confide

Re: Is it possible to use a parameter other than JSESSIONID to maintain session?

2005-03-01 Thread Garth Patil
Changing the name in Globals.java seems to partially work. Now, in order to have Tomcat just use that value, and not try to rewrite it (or expect it in a specific format), I need to find where in the code Tomcat looks up that parameter, and where it rewrites it to the URL. Can anyone familiar with

newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
Greetings, Not sure if this made it the first time. I didn't see it show up on the list I am trying to get the example in the MySQL JDBC/JNDI HOWTO to work and I am missing something. I get this error: My webapp directory is /DBTest. What am I missing? thanks -darryl --- Error Page --- *type*

Re: mod_jk

2005-03-01 Thread Jörg Lindner
Thanks much! It works now with the set ContentType :-) Jörg Am Dienstag, 1. März 2005 19:42 schrieb Burgess, Jay S: > I think you need to set the content type for your response. Try something > like: > > res.setContentType("text/html"); > > where "res" is the HttpServletResponse. > > Jay >

Re: mod_jk

2005-03-01 Thread Jörg Lindner
Thank you, it works now with specified ContentType :-) Jörg Am Dienstag, 1. März 2005 19:28 schrieb Tim Funk: > You need to set a content type. > > -Tim > > Jörg Lindner wrote: > > Hello All, > > > > an ugly effect let me post this message in the list in hope of help. > > > > I run tomcat 5.0.

RE: JDBCStore JTDS

2005-03-01 Thread Randall Svancara
Sorry to sound like more of an idiot, but can you provide an example of passing the connectionName and Connection password as parameters. Thanks, Randall -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 1:36 PM To: Tomcat Users List

Re: Installation problems on Windows

2005-03-01 Thread shenty
Well, after a final swipe through the registry and a reboot, service.bat installed the Tomcat service correctly. Many thanks to all who helped me work through this Windows installation issue. A short recap for latecomers to the thread: The binary distributions of Tomcat 5.5.4, 5.5.7, and 5.0.2

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi Mladen, We'd have our own mechanism to calculate the load on a particular server - I was actually asking if, and more importantly how (!), we'd adjust the balance factors on the fly from our app? Well, you can use http client request in a form like: http://jkstatus/?cmd=

Re: Installation problems on Windows

2005-03-01 Thread John Najarian
Jason, go to the tomcat site and look how to remove the tomcat service. You'll do it on a command line. -Original Message- From: [EMAIL PROTECTED] Sent: Mar 1, 2005 3:04 PM To: Tomcat Users List Subject: Re: Installation problems on Windows Jason, Definitely *not* a stupid question,

Re: JDBCStore JTDS

2005-03-01 Thread Jason Bainbridge
Try passing connectionName and connectionPassword as parameters instead of through the ConnectionURL. It isn't seeing them in the URL and trying to sign you on with Windows Credentials that you don't have. It is possibl;e if you change the semicolon after propsys to a ? then it might also work.

Re: Installation problems on Windows

2005-03-01 Thread shenty
I did a quick gut-check of the service.bat logic, and it appears the batch file is primarily there to build JAVA_HOMEs, CATALINA_HOMEs, and select a jvm.dll for an eventual call to tomcat5.exe... but the real meat of the service registration seems to happen in tomcat5.exe. Or not, as the case may

Re: Installation problems on Windows

2005-03-01 Thread John Najarian
You've probably tried these but have you downloaded tomcat again? Perhaps in the download the Installer got fouled up. Is tomcat running when you try to install? If so stop it. I installed tomcat5.28 with XP running sp2 Good luck, John -Original Message- From: [EMAIL PROTECTED] Sen

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 12:04:15 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Jason, > > Definitely *not* a stupid question, as the answer is "yes." > > Don't know how it got there, and it doesn't work (can't look at properties, > can't start it, probably can't remove it...?) Is it

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 11:58:22 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > This is my own remote-office laptop, so I have the God-bit set > (Administrators group), and have installed 50 or 60 programs / services > over the last 12 months, including 20 or so after the SP2 upgrade. So it

Re: Installation problems on Windows

2005-03-01 Thread shenty
Jason, Definitely *not* a stupid question, as the answer is "yes." Don't know how it got there, and it doesn't work (can't look at properties, can't start it, probably can't remove it...?) Undoubtedly an artifact from one of the dozen or so installation attempts. I've been clearing the abo

Re: Installation problems on Windows

2005-03-01 Thread shenty
This is my own remote-office laptop, so I have the God-bit set (Administrators group), and have installed 50 or 60 programs / services over the last 12 months, including 20 or so after the SP2 upgrade. So it would seem Tomcat is trying to do something during installation that most other programs

[OT] LogWatch filter for Tomcat

2005-03-01 Thread Cindy Ballreich
Has anyone written a Tomcat filter for the LogWatch log analysys tool? http://www2.logwatch.org:81/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 11:34:29 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Nope... I've had the God-bit set since day one. :-) Stupid question time Is there already a service named Tomcat5 already installed? -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site -

Re: JavaMail API ?

2005-03-01 Thread Frank W. Zammetti
I wouldn't have expected to see them in Tomcat frankly... Although sending eMails from a webapp is relatively common, it's not common enough to be included with an app server (well, except for Websphere, which generally includes everything under the sun!) I am kind of surprised it hasn't been i

Re: JavaMail API ?

2005-03-01 Thread David Smith
No mistake that I know about. JAF and JavaMail are both separate downloads from Sun's site and have been all along. Licensing issues probably prevent them from being included in the Tomcat dist. --David Nikola Milutinovic wrote: Nikola Milutinovic wrote: Hi all. I'm running Tomcat 5.5.7 on Win

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 11:05:08 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Regarding running Tomcat from the startup.bat and shutdown.bat... > > This *does* work, but only if JAVA_HOME is pointing to the parent directory > of a JDK, not the parent to a JRE (this seems to contradict bo

RE: Tomcat Cluster

2005-03-01 Thread Randall Svancara
Ok, I figured this out. Just so everyone knows in tomcat 5.5.7, the cluster multicast functionality is a little flaky (no offense to the developers who spent long hours figuring this stuff out). IF YOU DO NOT HAVE A MULTIHOMED NETWORK, YOU DO NOT NEED TO SPECIFY THE PARAMETER mcastBindAddress="10

RE: JavaMail API ?

2005-03-01 Thread Caldarale, Charles R
> From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] > Subject: Re: JavaMail API ? > > I notice that JavaMail API is missing from BOTH Tomcat and JRE. > There is no "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar > > It is also missing JAF (Java Activation Framework). These are part of J2EE

RE: Installation problems on Windows

2005-03-01 Thread shenty
Nope... I've had the God-bit set since day one. :-) Steve -"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: - To: "Tomcat Users List" From: "Caldarale, Charles R" <[EMAIL PROTECTED]> Date: 2005-03-01 02:18PM Subject: RE: Installation problems on Windows > From: [EMAIL PROTECTED] [

Re: Installation problems on Windows

2005-03-01 Thread shenty
Jason, Thanks for the detail on the installation. I mentioned in a separate response within this thread that once JAVA_HOME was corrected (referencing the parent of the 1.5 JDK and not the public or private JRE) then the startup.bat method worked fine in the default installation directory the bi

Re: JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Nikola Milutinovic wrote: Hi all. I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice that JavaMail API is missing from BOTH Tomcat and JRE. There is no "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar It is also missing JAF (Java Activation Framework). I mean, no problem, I

Re: SSL Question

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 09:44:36 -0600, Reis, Tom <[EMAIL PROTECTED]> wrote: > I have a quick question about SSL. If I am already running SSL on a > server with a certificate imported into a .keystore file and I create a new > certificate will it automatically overwrite the .keystore file by c

RE: Installation problems on Windows

2005-03-01 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Installation problems on Windows > > However, even with this correction to JAVA_HOME, the service.bat still > fails in the same way -- "Failed installing 'Tomcat5' service" Is it possible that you might not have admin privileges o

RE: Tomcat Cluster

2005-03-01 Thread Randall Svancara
I used the tools that I downloaded from javagroups as described and I can send messages back and forth over multicast on 224.0.0.4 on port 45564 just fine. I am using the private address space of 10.111.22.x. My servers both contain one network card and each server defined as device eth0. Networ

Re: SSL Question

2005-03-01 Thread Chris Hosler
Is this for a new web site or one that has been up and running for some time ? Christopher W. Hosler Network Administrator Ingham County MIS Department Email [EMAIL PROTECTED] As water reflects the face So a mans heart reflects the man >>> [EMAIL PROTECTED] 3/1/2005 10:44:36 AM >>> I

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 10:16:14 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Yes, those are the path(s) I've used... including \bin in the path, and > using the immediate parent directory of the \bin for JAVA_HOME. The > following JREs and JDKs have been tried. Also, I've tried pointing

Re: Installation problems on Windows

2005-03-01 Thread shenty
Including the JREs were motiviated by two factors -- one, the Tomcat 5 docs indicate it needs a JRE, not a full-blown JDK, and two, for complete troubleshooting. As it turns out (see related message in this thread), JAVA_HOME in fact must be set to the parent directory of a JDK, *not* the privat

Migration from Tomcat 4.1 to Tomcat 5.0

2005-03-01 Thread Kiran Patel
I have a application runing on Tomcat 4.1. I want to change to Tomcat 5.0. I already installed Tomcat 5.0.28 and configured server.xml and web.xml according to the document. But when I click startup.bat, I get the error windows can not find '-Djava.endorsed.dirs=' . I get the same error with

JavaMail API ?

2005-03-01 Thread Nikola Milutinovic
Hi all. I'm running Tomcat 5.5.7 on Windows XP and Sun JDK 1.5.0_01 I notice that JavaMail API is missing from BOTH Tomcat and JRE. There is no "javax.mail.*" hierarchy in ${JAVA_HOME}/lib/rt.jar As a consequence, I cannot use Mail API ("javax.mail.*") without adding javamail-1.3.2.jar to ${CAT

RE: Installation problems on Windows

2005-03-01 Thread shenty
Regarding running Tomcat from the startup.bat and shutdown.bat... This *does* work, but only if JAVA_HOME is pointing to the parent directory of a JDK, not the parent to a JRE (this seems to contradict both the binary installer, and the Tomcat 5.x docs which state Tomcat no longer needs a JDK, j

Re: Tomcat and IIS Authorization

2005-03-01 Thread karjera
Laba diena. Dėkojame, kad mums parašėte. Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat and IIS Authorization

2005-03-01 Thread Denny Lee
Hello Allistair, I looked at your blog but I am still lost as to how to setup IIS and Tomcat. I saw that you mentioned you have it setup but did not specify how to do so. > > -Original Message- > > > > Check out the NTLM part in my Tomcat 5.5 blog > > > > www.adcworks.com/blog > > >

RE: mod_jk

2005-03-01 Thread Burgess, Jay S
I think you need to set the content type for your response. Try something like: res.setContentType("text/html"); where "res" is the HttpServletResponse. Jay -Original Message- From: Jörg Lindner [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 12:26 PM To: tomcat-user@jaka

Re: Installation problems on Windows

2005-03-01 Thread John Najarian
Why are the 'J2RE...' included? I've never needed these in version 4.1, 5.19 or 5.28. -Original Message- From: [EMAIL PROTECTED] Sent: Mar 1, 2005 1:16 PM To: Tomcat Users List Subject: Re: Installation problems on Windows Yes, those are the path(s) I've used... including \bin in the

Re: mod_jk

2005-03-01 Thread Tim Funk
You need to set a content type. -Tim Jörg Lindner wrote: Hello All, an ugly effect let me post this message in the list in hope of help. I run tomcat 5.0.28 connected per mod_jk (ajp13) in Apache 2. In Apache the mapping from webapp-URL to the servlet seems to work. My servlet get called. But the

RE: Installation problems on Windows

2005-03-01 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Installation problems on Windows > > The Tomcat 5.x docs on the Jakarta site appear to assume the Windows > installer will be used in every case... I'm not able to find different > installation instructions for using the .ZIP distr

mod_jk

2005-03-01 Thread Jörg Lindner
Hello All, an ugly effect let me post this message in the list in hope of help. I run tomcat 5.0.28 connected per mod_jk (ajp13) in Apache 2. In Apache the mapping from webapp-URL to the servlet seems to work. My servlet get called. But the result differs by Webbrowsers. In InternetExplorer the

Re: Custom Mbeans in tomcat admin console

2005-03-01 Thread Parsons Technical Services
Either make your modifications in the admin.xml or add a resource link there for the resource as you have it in the server.xml I am no expert on this one. As far as the bean goes, but am basing it on the resource entries. So there may be something still wrong. Doug - Original Message -

Re: Installation problems on Windows

2005-03-01 Thread shenty
I'll check the Windows event log as you suggest... I haven't checked it yet. The Tomcat 5.x docs on the Jakarta site appear to assume the Windows installer will be used in every case... I'm not able to find different installation instructions for using the .ZIP distribution. Would the instructio

Re: Installation problems on Windows

2005-03-01 Thread shenty
Yes, those are the path(s) I've used... including \bin in the path, and using the immediate parent directory of the \bin for JAVA_HOME. The following JREs and JDKs have been tried. Also, I've tried pointing the path and JAVA_HOME at the JRE, and the JDK for each version. J2RE1.4.2_06 J2SDK1.4.2_

Re: Compatibility Package

2005-03-01 Thread Aron Beal
Aaah, there it is. I need to enlarge the font on my browser. :) Appreciate the help, Aron Caldarale, Charles R wrote: From: Aron Beal [mailto:[EMAIL PROTECTED] Subject: Compatibility Package Download the compat package from the binary download site: http://jakarta.apache.org/site/binindex.cgi Goin

Custom Mbeans in tomcat admin console

2005-03-01 Thread Joseph Foster
Greetings, If this has been asked/answered several times already let me apologize in advance. I am trying to register a custom Mbean so that it will be visible through the included tomcat admin webapp. The strategies I have employed thusfar (to no avail): I added a resource element to the web.xm

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread dhay
Hi Mladen, We'd have our own mechanism to calculate the load on a particular server - I was actually asking if, and more importantly how (!), we'd adjust the balance factors on the fly from our app? cheers. David |-+> | | Mladen Turk

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Lionel Farbos
On Tue, 01 Mar 2005 17:55:15 +0100 Mladen Turk <[EMAIL PROTECTED]> wrote: > Lionel Farbos wrote: > > 2) then add the module mod_jk in apache > > with jk workers defined like this : > > > > worker.list=t1_ajp13,t2_ajp13,loadbalancer > > > > This is not quite correct, although it will work. > You

RE: Compatibility Package

2005-03-01 Thread Caldarale, Charles R
> From: Aron Beal [mailto:[EMAIL PROTECTED] > Subject: Compatibility Package > > Download the compat package from the binary download site: > http://jakarta.apache.org/site/binindex.cgi > > Going there, I can not find this package anywhere. Follow the Tomcat -> Tomcat 5 links. You'll end up her

Re: Installation problems on Windows

2005-03-01 Thread Jason Bainbridge
On Tue, 1 Mar 2005 06:43:06 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > You're right about jvm.dll... one typo and a bunch of cut-and-paste. > > None of the options you mentioned worked. Starting with using the ZIP file > directly, I apparently have some JAVA_HOME or CLASSPATH prob

Compatibility Package

2005-03-01 Thread Aron Beal
Hello Everyone, I'm trying to work with the latest stable(5.5.7) tomcat on OSX. Running the shutdown script gives me this message: "This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi Mladen, Just to clarify - will this allow us to configure the load-balancing on the fly according to the load of the tomcat's involved? If you mean to balance according to CPU utilization, it won't do that. For that we would need some native component that would measure

RE: Tomcat and IIS Authorization

2005-03-01 Thread Allistair Crossley
Check out the NTLM part in my Tomcat 5.5 blog www.adcworks.com/blog Cheers, Allistair. > -Original Message- > From: Denny Lee [mailto:[EMAIL PROTECTED] > Sent: 01 March 2005 17:26 > To: tomcat-user@jakarta.apache.org > Subject: Tomcat and IIS Authorization > > > Hello All, > I am creat

Tomcat and IIS Authorization

2005-03-01 Thread Denny Lee
Hello All, I am creating a web app that has users and admins and I need to limit certain configuration pages only to admins. I must use NTLM to authenticate users into the web site and somehow get the credential to determine if the user has sufficient access or not. How can I do this? Can I do th

Re: Installation problems on Windows

2005-03-01 Thread John Najarian
Just to double check. Your 'path' env var includes an entry like: c:\j2sdk1.4.2_07\bin - (some people forget the \bin) and your java_home env var is like: c:\j2sdk1.4.2_07 -Original Message- From: [EMAIL PROTECTED] Sent: Mar 1, 2005 11:59 AM To: Tomcat Users List Subject: Re: Install

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread dhay
Hi Mladen, Just to clarify - will this allow us to configure the load-balancing on the fly according to the load of the tomcat's involved? cheers, David |-+> | | Mladen Turk | | | <[EMAIL PROTECTED]| | |

RE: Installation problems on Windows

2005-03-01 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Installation problems on Windows > > Tried the .ZIP installation again, and verified an accurate JAVA_HOME > pointing to the 1.4 JDK in this case. Running "service > install" resulted in a Failed to install service error. Sorry i

Re: Installation problems on Windows

2005-03-01 Thread shenty
Some more updates... Tried the .EXE installer with JDK 1.5. Still no go, I get the same installer hang right after "Using jvm". Tried the .ZIP installation again, and verified an accurate JAVA_HOME pointing to the 1.4 JDK in this case. Running "service install" resulted in a Failed to insta

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Mladen Turk
Lionel Farbos wrote: 1) In server.xml : - uncomment the AJP 1.3 Connector (on port 8009), - set the jvmRoute in each Engine example : Session route *must* consists only of alphanumeric characters. See the: http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html Later mod_jk releases wi

  1   2   >