Re: apache and tomcat

2005-07-06 Thread Rajasekar
Hello guys, Could you please give me the steps to making mod_jk for tomcat? Regards Raj On 7/5/05, Alan Chandler [EMAIL PROTECTED] wrote: ganesan malairaja writes: hi guys .. i am confused now.. i need help undeerstanding apache and tomcat .. what purpose each serve and

RE: non-web app in tomcat

2005-07-06 Thread Akoulov, Alexandre [IT]
If your non-web application is to be only accessed by web apps why would not you run it in the tomcat's JVM (just place non-web application in the ${catalina.base}/shared/classes or as a jar file into ${catalina.base}/shared/classes). In this scenario you eliminate the need for maintaining the

RE: Silent runtime replace of a class

2005-07-06 Thread Peter Crowther
From: Gal Robert [mailto:[EMAIL PROTECTED] Often happens, that we must correct a little error in business logic. In these cases we usually patch a class file, and replace it in the application, then redeploy it. From your (and other) responses it seems, there's no correct way to do such a

Re: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]

2005-07-06 Thread Jon Wingfield
I agree; it does the job :) There is an equivalent for IE: http://www.blunck.info/iehttpheaders.html Enjoy, Jon Woodchuck wrote: GB Developer, thanks so much for your suggestion, Live HTTP Headers is awesome! and my hunch was correct. the problem is Tomcat 5.5 does not produce any

Re: apache and tomcat

2005-07-06 Thread Alan Chandler
On Wednesday 06 July 2005 08:25, Rajasekar wrote: Hello guys, Could you please give me the steps to making mod_jk for tomcat? Regards Raj mod_jk is an apache module. I am running apache2 and tomcat4 on linux and I downloaded the binary module from

Fileupload - mysterious problem or?

2005-07-06 Thread Lars Nielsen Lind
Hi. We have an Intranet we access via normal HTTP and HTTPS using the Internet. When the users are using the system (FileUpload) from outside the company it all works fine, and the log shows that ContentType is set to application/octet-stream, and the files are uploaded to the server.

8080 but not in 80

2005-07-06 Thread Vijay K Anand
Hi I have a struts application deployed in tomcat , It is able server well from port 8080 but not from port 80 . Pages with *.jsp gets serverd but not *.do through 8080 . Any help brothers? - To unsubscribe, e-mail:

Re: Fileupload - mysterious problem or?

2005-07-06 Thread Mikolaj Rydzewski
Lars Nielsen Lind wrote: When the users are using the system (FileUpload) from outside the company it all works fine, and the log shows that ContentType is set to application/octet-stream, and the files are uploaded to the server. When the users are using the system (FileUpload) from pc's

Re: 8080 but not in 80

2005-07-06 Thread Gurumoorthy
what is the error you getting ... ? Are you using apache as a front Regards Guru - Original Message - From: Vijay K Anand [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, July 06, 2005 9:47 AM Subject: 8080 but not in 80 Hi I have a struts application

Re: 8080 but not in 80

2005-07-06 Thread Vijay K Anand
tomcat runs on Apache The error is page cannot be dispalyed Thanks for the replya regards Vijay Gurumoorthy wrote: what is the error you getting ... ? Are you using apache as a front Regards Guru - Original Message - From: Vijay K Anand [EMAIL PROTECTED] To:

can a context log to windows event log?

2005-07-06 Thread Mark
Is it possible for only one context to log to the Windows Event Log? What I want is for logs for the tomcat engine to be placed into a flat file, and my context's logs to go into the Event Log. thank you. - To unsubscribe,

Re: can a context log to windows event log?

2005-07-06 Thread Jon Wingfield
log4j has an appender which can write to the Event Log http://logging.apache.org/log4j/docs/api/index.html http://jakarta.apache.org/tomcat/faq/logging.html HTH, Jon Mark wrote: Is it possible for only one context to log to the Windows Event Log? What I want is for logs for the tomcat

Re: can a context log to windows event log?

2005-07-06 Thread Mark
Yes, I know. But from what I have read, the configuration is more global. I want to only place audits from one context in the Event Log, not all of Tomcat's audits. On 7/6/05, Jon Wingfield [EMAIL PROTECTED] wrote: log4j has an appender which can write to the Event Log

Re: can a context log to windows event log?

2005-07-06 Thread Jon Wingfield
No. You can configure log4j on a per context basis. http://jakarta.apache.org/tomcat/faq/logging.html#userWebapps For example: http://marc.theaimsgroup.com/?l=tomcat-userm=108330970225012w=2 Mark wrote: Yes, I know. But from what I have read, the configuration is more global. I want to

Re: 8080 but not in 80

2005-07-06 Thread Gurumoorthy
What is the URL http://localhost/guru.do ? Can you paste the jkmount directives in the httpd.conf and email it please ? Regards guru - Original Message - From: Vijay K Anand [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, July 06, 2005

Re: can a context log to windows event log?

2005-07-06 Thread Mark
hrmmm, I missed that when I read the FAQ. Thank you. On 7/6/05, Jon Wingfield [EMAIL PROTECTED] wrote: No. You can configure log4j on a per context basis. http://jakarta.apache.org/tomcat/faq/logging.html#userWebapps For example:

Re: UK tomcat hosting recommendations?

2005-07-06 Thread Julian Templeman
Having some fun with my current ISP and was wondering if any of you have UK tomcat recommendations? I'm using www.nameonthe.net for JBoss hosting, and I know they do straight Tomcat as well. I've been pretty happy with them, and the support has been fine the couple of time I've needed to use

Howto to turn Tomcat 4.1.x DBCP logging on ?

2005-07-06 Thread Bertrand Renuart
Hello, I'm running Tomcat 4.1.x and would like to get some log info about DBCP. Does someone know how I could turn DBCP's logging on ? Thx /bertrand

Re: can a context log to windows event log?

2005-07-06 Thread Mark
After reading the page: http://logging.apache.org/log4j/docs/manual.html I am wondering what up-front initialization I must do in order to get things working with Tomcat 5.5.x? The documentation seems to be a bit dated. Thank you. On 7/6/05, Mark [EMAIL PROTECTED] wrote: hrmmm, I missed

RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]

2005-07-06 Thread Woodchuck
hi Chuck, thanks for the heads up. my Tomcat 4.1 and Tomcat 5.5 instances are separate and each are sitting on a different machine. as well, the actual URLs to these text files are different on each instance (so they are not requesting the same exact URL and should not be using cache for the

deploy

2005-07-06 Thread Felix Geller
hi list, i have problems with tomcat 5.5 to deploy my latest servlets. the host is set to autoDeploy=true, but when i update WEB-INF/web.xml the context does not get reloaded. do i have a wrong picture of autoDeploy or isn't that what it is supposed to do? thank you for any advice, felix geller

Caching static content

2005-07-06 Thread juergen . dufner
Hello How to set the HTTP-Header Cache-Control:max-age=3600 in the Response of an image file? Here I will describe what I did: I implemented a Filter that added the header response.setHeader(Cache-Control, max-age=3600); This works, but not in every case. The first request for an image,

Re: deploy

2005-07-06 Thread Gurumoorthy
make reloadable=true in your context and try Regards Guru - Original Message - From: Felix Geller [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, July 06, 2005 3:42 PM Subject: deploy hi list, i have problems with tomcat 5.5 to deploy my latest servlets. the

programmatic locking im multiple tomcat's boxes

2005-07-06 Thread Mark
Hello! What will be the best way to implement the 'Locker' object in clustered Tomcat environment? The purpose of that object is to allow only one 'user' in a time to access specific resource. The idea is to share the same Java class across multiple boxes with Tomcat. Any input will be helpful!

Re: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]

2005-07-06 Thread Woodchuck
awesome! thanks, Jon! woodchuck --- Jon Wingfield [EMAIL PROTECTED] wrote: I agree; it does the job :) There is an equivalent for IE: http://www.blunck.info/iehttpheaders.html Enjoy, Jon Woodchuck wrote: GB Developer, thanks so much for your suggestion, Live HTTP Headers

RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?]

2005-07-06 Thread GB Developer
Indeed, thanks Jon. -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 10:15 AM To: Tomcat Users List Subject: Re: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?] awesome! thanks, Jon! woodchuck --- Jon

RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
--- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Woodchuck [mailto:[EMAIL PROTECTED] Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla candidate?] here is the relevant header info from Tomcat 4.1: HTTP/1.x 200 OK Etag: W/1706-1120587147968 Last-Modified:

problem configuring JDBCRealm from admin tool 5.5

2005-07-06 Thread Gabriel Belingueres
Hi, I have a problem when configuring a JDBCRealm from the admin tool. I use no digest algorithm, so I leave the text field in blank, but the generated server.xml file includes an oughfull: digest= attribute, so Tomcat throws me an exception telling me that it can not find the required ()

Admin account - embedded tomcat in netbeans

2005-07-06 Thread JAHuffman
All - I have installed netbeans and want to use/administer the embedded tomcat server. Can't seem to get past the admin login screen. I have read the docs, edited the tomcat_users.xml file. Any and all assistance would be appreciated. **

RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
woohoo! my first Bugzilla!! http://issues.apache.org/bugzilla/show_bug.cgi?id=35632 :D woodchuck --- Woodchuck [EMAIL PROTECTED] wrote: --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Woodchuck [mailto:[EMAIL PROTECTED] Subject: RE: obscure tomcat 5.5 text file display

RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread GB Developer
Why does 4.x have: HTTP/1.1 200 Server: Microsoft-IIS/5.0 and 5.x have: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Are you fronting 4.x with IIS, and not 5.x? That is one config difference that you'll need to dispense with, in order to be fairly comparing the two. Mike Curwen header

RE: servlet mapping and url

2005-07-06 Thread Geiglein, Gary
If you create a file in the root of the context (any file, could be an empty file, it just needs to show up in a directory listing) then map your servlet to the same URL you would use to reference the file, then add the file to the welcome-file-list and it will work. Tomcat will not forward to a

RE: Load all JSP pages on startup

2005-07-06 Thread Geiglein, Gary
You could write a servlet that hit all your jsp's when initialized, and set it to load-on-startup. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Wednesday, June 29, 2005 5:46 AM To: tomcat-user@jakarta.apache.org Subject: Load all JSP pages on startup

Confusing Error

2005-07-06 Thread Gary Green
I'm using tomcat version 5.5.7 with jdk 1.5.0_04 on a linux system. One of my apps is giving me the following error when I try to access it. From catalina.out: SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at

RE: Confusing Error

2005-07-06 Thread Trung Nguyen
From catalina.out, you can find the root cause for this error, It's usually right below this error... -Original Message- From: Gary Green [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 2:00 PM To: tomcat-user@jakarta.apache.org Subject: Confusing Error I'm using tomcat

Removing applications

2005-07-06 Thread Peter Verhoye
Hi there, I use tomcat 4.1.31 and have a problem removing applications using the manager tool. Most of the times when I click on remove, the war file or the exploded directory are still there and sometimes even both. Anyone experiencing the same? Any solution to this? Next to this, for

RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
ack! you are right! thanks for noticing this. actually, they are both setup with JK connector redirecting from IIS to Tomcat (let me know if you want to know why one is different from the other.. it's a longer story) at any rate, let me test again by accessing both directly without using IIS

RE: Confusing Error

2005-07-06 Thread Gary Green
at java.lang.Thread.run(Thread.java:595) was the last thing in my catalina.out file. I refreshed several times and nothing changed. Are there log levels in tomcat? Should I try to find this and increase the amount of info being logged? Thanks. From: Trung Nguyen [EMAIL PROTECTED]

RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
phew! (relief) the results are the same... both Tomcat version instances accessed directly via port 8080 (not through IIS). cleared cache each time prior to requesting TXT file. header chunk from Tomcat 4.1 when serving a TXT file: HTTP/1.1 200 OK ETag: W/1706-1120587147968 Last-Modified:

Tomcat and IIS on two web servers

2005-07-06 Thread Patnaik, Vandana
Hi, How does the information apply to two servers having an instance of TOMCAT running on each. The two servers are referenced by an alias and have IIS running on them. I also have the Jakarta connector running on both machines. The alias is a CSS device which round robins the requests that

what causes application error count to increment?

2005-07-06 Thread Annie Wang
hi, regarding http://server:8080/manager/status/all: wondering what causes application error count to increment? for instance, say my web app is named foo. i notice if i access a bad url like, http://server:8080/foo/junk, then error count will increment for my web app. but what other

Tomcat 5.5.9 and log4j problem

2005-07-06 Thread Jørgen Nørgaard
Hello, I have installed java 1.5.0_04 and tomcat 5.5.9 on Fedora FC4 64 bit machine and followed, I thought, the instructions on http:// jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html. Yet I get: log4j:WARN No appenders could be found for logger

Re: servlet mapping and url

2005-07-06 Thread David Smith
This trick isn't necessary in Tomcat 5.x and servlet spec 2.4. Welcome files as listed in the web.xml are each appended to the remote user's request and the result is processed until it resolves to a servlet or file. --David Geiglein, Gary wrote: If you create a file in the root of the

[RESOLVED] RE: obscure tomcat 5.5 text file display bug? [NOT a Bugzilla]

2005-07-06 Thread Woodchuck
sorry all, i did more testing and found the cause to be because the text files i was requesting had uppercase extensions... ie. TXT rather than txt. and as expected a work-around was to add the following mime-mapping in conf/web.xml: mime-mapping extensionTXT/extension

error messages during tomcat 4.1 startup

2005-07-06 Thread Tewari,kuldeep
Hi, I am getting following messages during tomcat 4.1 startup. What could be the cause? Jul 7, 2005 10:28:00 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.30 Jul 7, 2005 10:28:02 AM