Easy Servlet Question

2005-10-03 Thread Andrew Pierce
/webapps/app/WEB-INF/web.xml to include the declarations for the servlet. I stop and restart Tomcat and alas, all I get is 404 when I try to access the servlet with a url like http://localhost:8080/app/HelloServlet. I know this has got to VERY simple. Thanks in advance. Andrew

Re: Easy Servlet Question

2005-10-03 Thread Andrew Pierce
OK. This was a bit of a simple one. Found my answer with the help of a couple of folks on IRC. Please disregard. Andrew Pierce wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually

jsvc question

2005-09-23 Thread Andrew Stueve
to go away after setting up the listen connection on port 80. -Andrew Stueve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_jk performance

2005-09-17 Thread Andrew Miehs
the traffic straight through anyway, we decided not to put Apache between our users and our Tomcat servers. If I didn't need to use re-writes, and complicated rules on our apaches, I would also use THTTP for performance reasons. Andrew On Sep 16, 2005, at 3:39 PM, Peter Flynn wrote: OK

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
Apache is easier to configure, but at a 50% performance hit for pure JSP pages Andrew On Sep 14, 2005, at 2:18 PM, KEREM ERKAN wrote: Apache has better directory/file restricting and handling than Tomcat, it is more customizable and it is much user/admin friendly to configure

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
We did some comparisons between running Tomcat 5.0 standalone, or TC 5.0 and Apache 2.0 If you are ONLY delivering JSPs, we found that we could only deal with 50% of the requests when running combined Apache TC and mod_jk Andrew On Sep 14, 2005, at 2:45 PM, Lionel Farbos wrote: I use

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
. Andrew On Sep 14, 2005, at 2:58 PM, Lionel Farbos wrote: But, in a web site, there is never only JSPs : there is a lot of static files (images, css, js, ...) So, if you don't have a apache in the frontend to deliver theses static files, there is an overload for the TC server... So, your tests

Re: problems setting up tomcat on debian sarge

2005-09-13 Thread Andrew Miehs
Hi Martin, I have tomcat 5.0.25 - 30 running on Sarge without a problem. Sun JVM 1.42r5 and greater. The orginal poster seems to have a problem with his application as manager applets etc work. I would however recommend running a 2.6 kernel Andrew On Sep 13, 2005, at 3:37 PM, Martin

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Andrew Miehs
trying to get it to work for the first time? I would seriously suggest though, that you get someone in to help you look at this problem, as it sounds like you may require quite a bit of help to get it up and running - (probably about 3 weeks of using this mailing list) Regards Andrew

Re: Securityfilter for authentication

2005-08-23 Thread Andrew Stepanenko
Hi Mark, I'm using SecurityFilter in my application successfully . What are your questions? Regards, -- Andrew Stepanenko, Software engineer, Ukrainian-Dutch Faculty of Economics and Management Ternopil State Economic University Shevchenko Street 9, Office 24-25 Ternopil, 46000 UKRAINE Tel

Re: Max thread/session timeouts

2005-07-21 Thread Andrew Miehs
, that depends how and what your application does. Andrew J. Ryan Earl wrote: As a reference, in conf/server.xml I set my thread limit to 1 max threads, 1000 max idle threads, and 100 on startup. I've seen my as many as 7K threads busy within my application. This is on a 32bit 2.6 Linux kernel

Re: Rc3.d startup scripts

2005-06-18 Thread Andrew Miehs
That really depends on the operating system. You may also want to have a look at google On Jun 17, 2005, at 8:34 PM, [EMAIL PROTECTED] wrote: I am trying to create a startup script for Solaris for both Tomcat 5.5.9 and Apache 2.0.52. Can anyone tell me how to do that, so that when the

Re: IE-Page not found problem

2005-06-06 Thread Andrew Miehs
. Regards Andrew sudip shrestha wrote: I have no idea why you are continuing on this pathBut all I am looking for is suggestions on how to debug this problem with IE, if there is any. I am not offerring any excuse!! It's my work related work. I have had few issues with IE in the past

Cache CPU utilisation problems on Tomcat 5.5.7 on Windows 2003

2005-05-23 Thread Andrew Stevens
or what have you, but my error logs are not pointing to anything unusual. Has anyone else had similar experiences? Do you have any tips for me? Thank you, your help is appreciated. Cheers, Andrew

Re: tomcat jsessionid

2005-05-16 Thread Andrew Miehs
someone access http://hostA/abc and https://hostA/abc ? - If so - and these are two different appications - you will have problems. Andrew On May 16, 2005, at 4:54 PM, Millie Morton wrote: As a systems admin I've set up the following apache-2.0.54 tomcat-5.0.28 We are loadbalancing (tomcat) 2

RE: SSL, Form Authentication 408 error

2005-05-04 Thread Andrew Chapman
session cookies) or (probably more advisable) add the app url to the Manged Sites from the Advanced tab with Always Allow -Original Message- From: Andrew Chapman [mailto:[EMAIL PROTECTED] Sent: 03 May 2005 10:29 To: tomcat-user@jakarta.apache.org Subject: SSL, Form Authentication 408 error

SSL, Form Authentication 408 error

2005-05-03 Thread Andrew Chapman
If I set the src of an IFRAME to my web application, which uses Form Authentication and SSL, the server consistently throws back a 408 error in IE when attempting to log in. The same scenario consistently works with Firefox. I suspect there are timing issues with IE, IFRAMEs and Form

Re: What is max value for MaxThreads

2005-04-26 Thread andrew
looked at using apache with mod_jk in front of our tomcats, but this effectively halved the number of connections our servers could handle per second, so in the end, we went back to using the standard http connector from tomcat. Andrew Darek Czarkowski wrote: How many threads can tomcat handle

FileUpload

2005-04-21 Thread Andrew Paliga
message C:\ArtworkOnDemand\jakarta-tomcat-4.1.24\webapps\artworkondemand (Access is denied) description The requested resource (C:\ArtworkOnDemand\jakarta-tomcat-4.1.24\webapps\artworkondemand (Access is denied)) is not available. Any suggestions woudl be greatly appreciated Andrew Paliga Junior

Re: Tomcat with PHP?

2005-04-19 Thread andrew
Dear Cameron, You will need to use Apache with PHP, and use the Tomcat/ Apache connector so that apache pushes the requests through to tomcat (jkmod) Effectively you will have 2 seperate applications, and use the URLs/ browser requests to talk with each other Andrew Cameron Sim wrote

Re: How to read JNDI resources?

2005-04-07 Thread Andrew Watters
Hi Vaneet Thanks for the reference. I'm a little confused though, what are you referring to in this page that I should read? I can't see anything that explains how the context element is used. Thanks Andrew Vaneet Sharma wrote: U need to read this page http://jakarta.apache.org/tomcat/tomcat

Re: How to read JNDI resources?

2005-04-07 Thread Andrew Watters
Have found a couple of solutions. Set the docbase to point to the WAR. Context path=/xxx docBase=xxx.war debug=0 reloadable=true crossContext=true / OR manually unpack the WAR after upload. And the JNDI part works fine now :) Andrew Watters wrote: Hi Vaneet Thanks for the reference. I'm

How to read JNDI resources?

2005-04-06 Thread Andrew Watters
= (Context) ic.lookup(java:comp/env); String configFilename = (String)(ctx.lookup(config_file)); This code throws a NamingException. Where have I gone wrong? Thanks Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: How to read JNDI resources?

2005-04-06 Thread Andrew Watters
in the docs or by googling... Mark Thomas wrote: You need to include a ResourceLink element in your context. Mark Andrew Watters wrote: Using tomcat 4.3.1 I have included the following in server.xml GlobalNamingResources Environment name=config_file type=java.lang.String value=test

HttpSessionListener events after redeployment?

2005-04-05 Thread Clute, Andrew
serialization? I was hoping for HttpSessionListener.sessionCreated(), but that doesn't happen, and I can understand why. Maybe there is a cleaner way to get a reference to all of the sessions active on my server that will survive serialization? Thanks in advance! -Andrew

RE: HttpSessionListener events after redeployment?

2005-04-05 Thread Clute, Andrew
That leads to an interesting point. There is no reason why I cannot populate that HashMap every time a request comes in. I was looking for events from Tomcat. But I can combine that with events from the user (requests for pages!). Good thinking! Thanks a lot! -Andrew -Original Message

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
hmm - sounds like a dns lookup causing a problem Andrew On Apr 4, 2005, at 11:03 AM, t.n.a. wrote: Michael Mehrle wrote: The configuration is a modified version of appfuse 1.5 (struts and hibernate) - so this should give you a good idea of how it is structured. FYI: on my development machine

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
how about running tcpdump on the box to see what it is doing when you start tomcat? Andrew On Apr 4, 2005, at 5:46 PM, Michael Mehrle wrote: You guys might be on to something - on my development machine it's taking only 25 seconds or so (identical code, tomcat version, and mysql installation

RH 7.3 to ES 3 migration Tomcat 5.0.28

2005-03-21 Thread Andrew Chapman
I am about to update from Red Hat 7.3 to Red Hat Enterprise Server 3. This a move from Linux 2.4 kernel to a 2.4/2.6 hybrid. The Native Posix Threading Library (NPTL) is the biggest change there seems to be, does this cause any problems with the 1.5 JVM? Is anyone running Tomcat 5.0.28 with

Re: Altering default HTTP header fields for serving static content

2005-03-02 Thread Andrew Miehs
If you really want the browser not to cache images, you are better off putting a timestamp on the end of the requests - as no-cache does not convince every browser all of the time... ie: http://localhost/image.gif?78927842303 On Mar 2, 2005, at 6:46 AM, [EMAIL PROTECTED] wrote: Is there a way

Re: Load balancing SSL sessions

2005-02-23 Thread andrew
) they then redirect the traffic server1.mysite.com, or server2.mysite.com This way the session then stays on server1 or server2. As I said though, you will need 2 certificates if you do not want the clients complaining about broken ssl certificates. Anderw Kelly Vista wrote: Thanks Andrew. In answer

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
. Does all of your app require ssl? or just a certain part, ie: payment. Do you need the stickiness for the whole app? or just for the ssl (seeing you are using tomcat, you will probably need it for the whole app)... Andrew On Feb 22, 2005, at 10:24 PM, Kelly Vista wrote: Hi - We are looking to deploy

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
Problem with round robin dns is that you can not guarantee that the web browser/ client will not make a second request to the dns server during the session - although very very unlikely. Andrew On Feb 22, 2005, at 11:01 PM, Filip Hanik - Dev Lists wrote: you can also use DNS round robin

Version control in WebDAV component of Tomcat

2005-02-07 Thread Andrew Paliga
: wasAndrew Paliga/Toronto/IBM received

HTTP Statur 500 -

2005-02-04 Thread Andrew Paliga
? or a problem with the program itself?? ANY suggestions would be GREATLY appreciated thanks, Andrew Paliga Andrew Paliga Junior Project Manager IBM Toronto Media Design Studio Phone: (905) 413-2024

Re: Meaning of threads

2005-01-25 Thread Andrew Miehs
for tomcat - Andrew On Jan 25, 2005, at 6:46 AM, Sean M. Duncan wrote: What is the impact of having apache httpd allow keep alive requests when using the AJP connector to tomcat? Does this have any impact on tomcat's thread usage? How well does httpd itself deal with keep alive pipelines under a heavy

Re: Meaning of threads

2005-01-24 Thread Andrew Miehs
I would also consider turning of keepalive. Unfortunately tomcat (and apache) both setup one thread per connection. You may be able to use squid as a reverse proxy if you are having load/ number of connection/ thread problems depending on your application Andrew On Jan 24, 2005, at 10:11 PM

Re: AW: Meaning of threads

2005-01-24 Thread Andrew Miehs
, you can deal with all the connections in the select loop (incl. keep-alive) and still have the advantage of not needing to remember state due to the worker threads to the back end... My 2c Andrew - To unsubscribe, e-mail

Re: [OT] HTTP Sniffers

2004-12-16 Thread andrew
Puzzle no longer... tcpdump -n -i eth0 -s0 -X Should you have a problem with s0 try changing it to something bigger than your MTU, ie: if you are using normal fast ethernet, 1600. Regards Andrew On the technical level, you have to puzzle out the command line arguments, which isn't that hard

Re: [OT] HTTP Sniffers

2004-12-15 Thread Andrew Miehs
Pardon my ignorance, but what about tcpdump or snoop??? And if you have problems with those, have a look at ethereel Andrew Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers

No Cookies

2004-12-02 Thread Andrew Steady
Hi, I require that an application never uses cookies, even if the user's browser accepts cookies. I have set cookies=false in the server.xml, however it is still attempting to send cookies to the client. If the browser accepts the cookie, then the session is maintained via cookies and if I

Re: mod_jk config on mac os x (Modifié par Cyri l Godefroy)

2004-12-02 Thread Andrew Becherer
by kris at November 10, 2004 05:34 AM | TrackBack -- Andrew Becherer Student, Computing and Software Systems University of Washington, Tacoma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Lots of seemingly dead tomcat processes

2004-11-24 Thread Andrew Garrett
put a band-aid style fix in place - restarting tomcat every X days, but that's uglier than I'd like - I'd far rather identify and fix the problem, than do scheduled restarts. Any assistance or suggestions that any kind soul can offer would be greatly appreciated. Thanks. Andrew -- They sicken

HTTP Compression

2004-11-23 Thread andrew
Hi all, I am looking at enabling compression on Tomcat 5.0.25. Is everyone using compress=on or should I use an integer (?number of bytes?) Thanks Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: high traffic Tomcat sites out there?

2004-11-22 Thread andrew
may find it difficult to find a database/ filesystem that can deliver you the data quickly enough - would need to know more about the applications. Do not underestimate the problems with keepalives and number of connections/ threads. Regards Andrew Al Gidden wrote: We have three Tomcat systems

Re: Context element problems in conf/server.xml

2004-11-15 Thread Andrew Watters
favourite policy) that all will keep working. Regards Andrew Andoni wrote: Yes, you can have any xxx.war that you access from http://localhost/login.jsp so long as it's path= and it is the only context in that Host which has path=. This is what makes it the default app. Andoni. - Original Message

Re: Analysing dead threads

2004-11-15 Thread andrew
: http://www.myhost.com/manager/status Regards Andrew Steffen Heil wrote: Hi I have a situation, where a lot of threads seem to stop working right in my servlet. From debug output, I know they entered the servlet but never leave

Re: Analysing dead threads

2004-11-15 Thread andrew
Hi Peter, A profiler may cause more trouble than help if you try this on a heavily loaded production box. It might be easiest if he first looks at the 'manager' application that comes with tomcat 5. Regards Andrew Peter Lin wrote: just for clarification. Do you mean zombie threads? Threads

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
to know exactly what's being called. Andoni. - Original Message - From: Andrew Watters [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, November 11, 2004 4:19 PM Subject: Context element problems in conf/server.xml Hi I posted a problem a couple of days ago

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
was so that the URL would be http://localhost/login.jsp. This is a customer directive. Is the problem that I'm going about this the wrong way in the first place? Can I have an app.war and access it like http://localhost/login.jsp? Best regards Andrew Andoni wrote: Ok, You can ignore the logger's

Context element problems in conf/server.xml

2004-11-11 Thread Andrew Watters
. However, my application no longer starts because it cannot find the 'servername'! Yikes! Does anybody have any suggestions please? Thanks again Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Renaming WAR problem

2004-11-09 Thread Andrew Watters
Thanks for your reply Tim. Tim Penhey wrote: Andrew Watters wrote: In this case the webapps directory is entirely empty, I delete the ROOT folder as part of the publish procedure and there are no other apps configured except for the manager and admin ones. What about the XML configuration file

Re: Doubts with tomcat

2004-11-08 Thread Andrew Miehs
Tomcat starts 5 connector threads, plus the other internal threads that it uses for its own house keeping. Andrew On 08.11.2004, at 08:29, Michael Echerer wrote: 1) When I start tomcat with above server.xml , it creates 9 process with same output on shell. it is I configured tomcat to run

Re: Connection Timeout

2004-11-08 Thread Andrew Miehs
Does anyone know any way that I can tell tomcat to kill the 'thread' if it isn't back in a ready state within 30 seconds? (waiting for new requests) Thanks Andrew On 05.11.2004, at 16:20, Phillip Qin wrote: Byte recv and byte sent? -Original Message- From: Andrew Miehs [mailto:[EMAIL

Renaming WAR problem

2004-11-08 Thread Andrew Watters
you Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
Well, that explains something :) So what is tomcat seeing in the WAR that it refuses to unpack it after renaming? Shapira, Yoav wrote: Hi, I have a WAR which tomcat recognises and unpacks correctly. When I rename the WAR tomcat no longer unpacks it. Is this expected behaviour? I've had a look

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
In this case the webapps directory is entirely empty, I delete the ROOT folder as part of the publish procedure and there are no other apps configured except for the manager and admin ones. Shapira, Yoav wrote: Hi, Well, that explains something :) So what is tomcat seeing in the WAR that it

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
did you rename it to? On Mon, 2004-11-08 at 09:46, Andrew Watters wrote: I have a WAR which tomcat recognises and unpacks correctly. When I rename the WAR tomcat no longer unpacks it. Is this expected behaviour? I've had a look in the 2.4 servlet spec and haven't been able to find anything

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
I renamed it to ROOT.WAR. The webapp used to be named like this and previously worked fine. It's now called ROOT-1.0.WAR. The new name is a result of moving to maven and it appending the version number. Ben Souther wrote: What did you rename it to? On Mon, 2004-11-08 at 09:46, Andrew Watters

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
Thanks. Sorry that's just my poor typing. It actually is ROOT.war. If I name it back again it unpacks fine! Aaagh, my head hurts now. Ben Souther wrote: try ROOT.war On Mon, 2004-11-08 at 10:27, Andrew Watters wrote: Apologies, I replied before but it never appeared, trying again... I renamed

Connection Timeout

2004-11-05 Thread Andrew Miehs
a timeout for this, as a time 10 seconds makes very little sense with our application? Thanks in advance, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Connection Timeout

2004-11-05 Thread Andrew Miehs
Hi Phillip, The request is for example a 10K image. Regards Andrew On 05.11.2004, at 16:11, Phillip Qin wrote: My guess is the request was serviced by Tomcat, and took that much time. What did your request column tell? A huge request, file upload? -Original Message- From: Andrew Miehs

Re: Connection Timeout

2004-11-05 Thread Andrew Miehs
Hi Phillip, S506331 ms17 KB0 KBx.x.2.24www.x.comGET /x//img/x/Image.gif HTTP/1.1 Regards Andrew On 05.11.2004, at 16:20, Phillip Qin wrote: Byte recv and byte sent? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 10:18 AM

Re: Huge tomcat memory footprint

2004-11-03 Thread Andrew Miehs
. You may want to have a look in this direction however. We are currently looking at see what setting we can tune for the GC or maybe using a different JVM. Good luck, Andrew -Original Message- From: Anand Narasimhan [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 5:26

Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
in advance for any comments, Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
tomcat really do with these keep-alive connections? Does it really keep 1 thread open for each keep-alive? this seems VERY unnecessary Regards Andrew On 29.10.2004, at 17:02, Peter Lin wrote: if you're using hardware load balancer like cisco localdirector, I would setup the load balancer

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
if there isn't a better way, as I can not see how this can possible scale in a high traffic environment - or maybe I just don't understand... :-( Thanks Andrew On 29.10.2004, at 17:28, Shapira, Yoav wrote: Hi, these keep-alive connections? Does it really keep 1 thread open for each keep-alive? this seems VERY

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
The loadbalancer forwards the packet to tomcat, and as such, tomcat sees the keep-alive request. If tomcat has keep-alive enabled, it will set up keep alive on its end. Andrew On 29.10.2004, at 17:31, Peter Lin wrote: you don't need to use keepalive. generally, in a load balanced setup

Re: extraordinarily stupid question

2004-10-29 Thread Andrew Miehs
mv $TOMCAT_HOME/server/webapps/manager $TOMCAT_HOME/server/webapps/newmanager On 29.10.2004, at 17:45, joon yoo wrote: After I install tomcat 5.0, the tomcat management page is on http://tomcat:8080 How can this management page be obscured/moved to a different url and then, how can a

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Hi Filip, Is this how you disable keep-alive on tomcat? maxKeepAliveRequests=1 or is there another switch that I am missing.. On 29.10.2004, at 17:49, Filip Hanik - Dev wrote: turn off keep alive - To unsubscribe, e-mail:

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Hi Peter, I am not using keep-alives to keep session persistence, but was rather hoping for better client performance. Using keep-alives saves creating a tcp connection for each request - and thereby saving 3 tcp packets (and roundtrip times) per request. Andrew On 29.10.2004, at 17:53, Peter

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
connections per client, statistic servers get 2 connections per client, tomcats get 2 connections per client.. Version 9 of the software has just come out, and it does proxying this should hopefully help solve this problem - I am still in the process of testing the new version. Andrew

RE: can't send request over my network ip

2004-09-21 Thread Andrew Janian
You are using the port when trying from the pricate network also, right? Andrew -Original Message- From: Sebastian Kerekes [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 9:17 AM To: Tomcat Users List Subject: can't send request over my network ip I can access Tomcat

RE: Connection class unknown...

2004-09-06 Thread Bodycombe, Andrew
You could try importing java.sql.Connection (not javax.sql.Connection). Maybe this would help. Regards, Andy -Original Message- From: Sexy Prague To: [EMAIL PROTECTED] Sent: 05/09/2004 18:12 Subject: Connection class unknown... Hello everybody, I've got a problem with creating

RE: Rotation of Catalina.out

2004-09-03 Thread Andrew Janian
) because you should be using a logging package like log4j (good recommendation). 2) http://marc.theaimsgroup.com/?t=10554447261r=1w=2 As reference by the above link, this one is a thread about rotating catalina.out. Hope this helps, Andrew Janian -Original Message- From

RE: Rotation of Catalina.out

2004-09-03 Thread Andrew Janian
one backup file -- really keeping 2, you know that right? log4j.appender.R.MaxBackupIndex=2 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Hope that helps, Andrew -Original Message- From: David Goodenough [mailto:[EMAIL

Accessing files within the WEB-INF folder

2004-09-02 Thread Steiger, Andrew
Hello All, I am wondering what the best method for accessing files that are located within the WEB-INF folder? I tried using the ClassLoader.getResource(), but then I realized that won't work. Thanks in advance, Andrew. -- Name

Access Log Valve

2004-08-31 Thread Sinkinson,Andrew [NCR]
only get an ip address per request. Any ideas on why I am not able to resolve host names? Thanks, Andrew

RE: Access Log Valve

2004-08-31 Thread Sinkinson,Andrew [NCR]
: Access Log Valve On Tue, Aug 31, 2004 at 10:29:09AM -0400, Sinkinson,Andrew [NCR] wrote: : Reply-To: Tomcat Users List [EMAIL PROTECTED] : I have enabled access logging by uncomment the Access Log Valve in the : server.xml file. I have added the resolveHosts attribute and set it to : true. I

AW: Access Log Valve

2004-08-31 Thread Sinkinson,Andrew [NCR]
Forgot to enableLookups=true on the Connector. By default it is set to false :) -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: August 31, 2004 10:31 AM To: Tomcat Users List Subject: Re: Access Log Valve On Tue, Aug 31, 2004 at 10:29:09AM -0400, Sinkinson,Andrew [NCR

RE: Configuring RemoteHostValve

2004-08-27 Thread Sinkinson,Andrew [NCR]
I have tried using a lot of different regexps in the allow attribute of the valve element but have not had any luck. All I want is a regexps that validates that the dns is from .gc.ca Any help would be appreciated...thanks Andrew -Original Message- From: QM [mailto:[EMAIL PROTECTED

Configuring RemoteHostValve

2004-08-26 Thread Sinkinson,Andrew [NCR]
) at org.apache.catalina.core.StandardHost.install(StandardHost.java:863) I have tried a lot of different regex expressions but have not had any luck. If I try to perform an NSLOOKUP on the server this works also without any problem. What am I missing? Any help would be appreciated! Thanks in advance Andrew

RE: Configuring RemoteHostValve

2004-08-26 Thread Sinkinson,Andrew [NCR]
Has anyone been able to configure a Remote Host Filter for tomcat 5.0.27 that works? -Original Message- From: Sinkinson,Andrew [NCR] Sent: August 26, 2004 1:53 PM To: [EMAIL PROTECTED] Subject: Configuring RemoteHostValve Hi All, I am having difficulty in setting up

Tomcat unable to unpack WAR (sometimes)

2004-08-19 Thread Andrew Watters
Problem with tomcat 5 on Linux: Put WAR in webapps directory. Restart tomcat. Tomcat restarts ok but doesn't unpack WAR. No errors in catlania.out. Same WAR works ok on Windows machine. Although I'm not sure it is a Windows/Linux issue. Unpack WAR on Linux and re-jar. Then unpacks fine when

Re: T5 ignoring mime mapping

2004-08-18 Thread Andrew Shirk
As I stated, I used the jsp:directive syntax. You'd think the spec would be a little more clear about this. It's pretty easy to miss that brief sentence while scanning for answers... Thanks for the help. Andrew At 09:53 PM 8/17/2004, you wrote: JSPs don't use the mime-mappings from web.xml (per

T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
Despite having set a mime mapping for the .faces extension in my web.xml, Tomcat 5 still insists on returning a JSP 2 documents with the .faces extension as text/xml. Am I doing something wrong? mime-mapping extensionfaces/extension mime-typetext/html/mime-type /mime-mapping

Re: T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
the document: jsp:directive.page contentType=text/html / This seems silly though since I'm already setting the mime type in web.xml. Andrew At 11:08 AM 8/17/2004, you wrote: It sounds like there is another servlet/filter/?? setting the content type to text/xml. -Tim Andrew Shirk wrote: Despite having set

Re: can't use EL c:out value=${obj.names}....

2004-08-16 Thread Andrew Watters
-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 Hope that helps Regards Andrew Tobias Eriksson wrote: Hi For some reason I'm having difficulties getting something as simple as this to work, see below. The result I get

Recursion in JSP

2004-08-04 Thread Andrew Janian
; ichildren.size(); i++){ dfs((Node)(children.elementAt(i))); } % /tag:tree %! } % Thanks, Andrew Janian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Protecting JSPs in Tomcat 5

2004-07-26 Thread Andrew Shirk
no such clarification. Thanks for the help. Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Protecting JSPs in Tomcat 5

2004-07-26 Thread Andrew Shirk
by the user. Is this change in behavior the result of a spec change? I could find no such clarification. Thanks for the help. Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: How does the deploy descriptor work?

2004-07-23 Thread Andrew Janian
If it is not a typo then your problem is here: servlet-namemyRoot/servlet-name -- servlet-namemyRoot/servlet-name (missing a ) and then the next one too. Andrew -Original Message- From: Jon Doe [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 3:11 PM To: [EMAIL PROTECTED

Tomcat fails to start

2004-07-20 Thread Andrew Janian
happening for about a day now. There were no changes made when it started to occur, but since then I have reinstalled the JDK, Eclipse, and MyEclipseIDE. Thanks in advance, Andrew ?xml version='1.0' encoding='UTF-8'? Server port=8005 shutdown=SHUTDOWN GlobalNamingResources

Win2K, ApacheHTTPD2.0.5, Tomcat5 and JK2

2004-07-20 Thread Andrew Pealing
Hello all I've got a win2k server running Apache2.0.5, mod_jk2/2.0.2 and tomcat4.1, using the inprocess worker I am trying to upgrade to Tomcat 5 and mod_jk2/2.0.4 If I start Tomcat5 manually, then ApacheHTTPd and mod_jk2 succesfully pass the requests through and jsp and servlets work.

Re: Apache miss handling jsp files

2004-07-09 Thread Andrew Boyer
I'm not sure if someone already responded, but you may want to check httpd.conf, and ensure that index.jsp is added to the DirectoryIndex parameter. Andrew From: James Pohl [EMAIL PROTECTED] Subject: Apache miss handling jsp files I have tomcat 4 installed on a RedHat based server. I

RE: How to start a web app?

2004-07-08 Thread Andrew Janian
You don't get a login screen, you get a login popup. Not getting that either? Andrew -Original Message- From: Michael Labhard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 1:12 PM To: Tomcat Users List Subject: Re: How to start a web app? Long story short: Tomcat does

RE: How to start a web app?

2004-07-08 Thread Andrew Janian
and password when the box popped up? What was the result if so? Andrew -Original Message- From: Michael Labhard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 1:19 PM To: Tomcat Users List Subject: Re: How to start a web app? On Thursday 08 July 2004 11:14 am, Andrew Janian wrote: You

RE: How to start a web app?

2004-07-08 Thread Andrew Janian
: How to start a web app? On Thursday 08 July 2004 11:50 am, Andrew Janian wrote: Are you sure that Tomcat itself is running?   Would I not have trouble getting the Home page and logging into the Administration page were it not? Also, I can install, run and use JSP pages deployed

Re: Anyone really using JAX-RPC?

2004-06-29 Thread Andrew Shirk
Yes, we're using it (Sun JWSDP). Works as advertised. Andrew At 03:43 PM 6/28/2004, you wrote: Folks, Is anyone out there running a deployed application using JAX-RPC for soap/wsi? If so, are you using Axis, or the Sun JWSDP stuff? Or something else entirely

How do I find out which version of tomcat is installed?

2004-06-24 Thread Andrew Watters
I have full access to the tomcat directory but I can't find the version number in any of the files. It's probably somewhere obvious but I just can't see it. Please help... - To unsubscribe, e-mail: [EMAIL PROTECTED] For

  1   2   3   4   5   6   7   8   9   >