jakarta-commons/daemon necessary for build?

2004-07-09 Thread Joel
Just built TC 5. I had to clear out \usr\share\java from an earlier attempt when I had java 1.5 beta installed, but then it flew. One thing worries me: --- D:\Program_Files\apache\jakarta-tomcat-5.0.25-srcant Buildfile: build.xml

RE: How to start a web app?

2004-07-09 Thread David . Pawson
-Original Message- From: QM Long story short: Tomcat does not search the webapps directory recursively for webapps; it loads contexts that are immediate children of the webapps directory. Essential information. I do wish someone would make that explicit in the

RE: I've officially decided that JSTL is one of the worst things to ever happen to mankind

2004-07-09 Thread David . Pawson
Would you guys take this conversation off the list please? Its heavy enough without your personal comments. regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended

RE: getting Tomcat 5.0 to serve static content

2004-07-09 Thread David . Pawson
-Original Message- From: Matthew Hixson I'm using Tomcat 5.0.26 with JBoss 3.2.4. I'm attempting to upgrade from Tomcat 4.1.something that was included with JBoss 3.2.3. I cannot figure out how to configure a context so that Tomcat will serve files from a

Re: I've officially bored of your stupid blah blahs

2004-07-09 Thread Kunthar
Guys, Everyday nearly 120 new mail drops to this list. Should we have to listen your important blah blahs??? Why i should define bunch of filters at all. Is there any moderator watches this??? Stop this and continue this lovely discussion from your private mails please... Shame on you cause i

Re: Integrating Tomcat and IIS

2004-07-09 Thread Tom Burke
Success in the end. Thanks to those who offered advice. I have to say that I'm not too clear why it's working now but wasn't before. There are a few differences in the configuration - eg, at which level in IIS the filter is installed; the 'name' of the filter; changes to jk2.properties - but none

Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Peter Guyatt
Hi There, Has anyone come across this problem. All Iam am doing is starting tomcat and then attempting to use my web app. The exception I am getting is as follows: Exception report message description The server encountered an internal error () that prevented it from fulfilling this

Re: How to start a web app?

2004-07-09 Thread Kannan Raghu
Hey Dave, I have one problem Action Class i will tell u the clean scenario.. It is related with the session validation and invalidation in the same page.. 1) i am logging into the site and retrieved my trip details... 2) and i started Initial Search with the same user name and

Re: jakarta-commons/daemon necessary for build?

2004-07-09 Thread Joel
Don't you just like it when people talk to themselves. On Fri, 09 Jul 2004 15:05:04 +0900, I wrote Just built TC 5. I had to clear out \usr\share\java from an earlier attempt when I had java 1.5 beta installed, but then it flew. One thing worries me:

Re: Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Kannan Raghu
go ahead check ur xml files... if there is any problem in xml files u will get this sort of org.apache.jasper.JasperException... like, u would have missed some tags or context path etc.. Kannan On Fri, 9 Jul 2004 08:15:22 +0100, Peter Guyatt [EMAIL PROTECTED] wrote: Hi There,

AW: see Tomcat deployed applications throw JMX

2004-07-09 Thread Younes El Moumen
I've Tried first to implements the ContainerServlet and use deployed.findDeployedApplications() but I found out in a Forum that using JMX is better and easier. Now I'm trying find how. Is there any examples? -Ursprüngliche Nachricht- Von: Younes El Moumen Gesendet: Mittwoch, 7. Juli

Re: getting Tomcat 5.0 to serve static content

2004-07-09 Thread Dennis Dai
I'm not familiar with JBoss stuff but I think to make a context work, you'll need the WEB-INF dir and the associated web.xml ... On 7/8/2004 10:23 PM, Matthew Hixson wrote: I'm using Tomcat 5.0.26 with JBoss 3.2.4. I'm attempting to upgrade from Tomcat 4.1.something that was included with

will ROOT (/) context, folder hello interfere with context (hello) ?

2004-07-09 Thread Ivan Jouikov
Something just popped in my mind. If you have a ROOT context which has a folder named hello, And you have a context named hello When you request localhost:8080/hello/ Which one are you gonna get? The ROOT context or the hello context? I will try this out tomorrow, but I

RE: I've officially bored of your stupid blah blahs

2004-07-09 Thread Ivan Jouikov
That conversation ended about 2 days ago, I dont know why are you bringing this up now... -Original Message- From: Kunthar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 11:58 PM To: Tomcat Users List Subject: Re: I've officially bored of your stupid blah blahs Guys,

Garbage Collector

2004-07-09 Thread Freddy Villalba Arias
Hi everybody, What's the best / simplest way to implement a garbage collector that starts running as soon as the web application (Tomcat) is up? In my particular case, this garbage collector cleans certain records meeting a certain criteria. The idea is quite simple: every n seconds, the

RE: Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Peter Guyatt
Hi There, Thanks for the reply, what I dont understand is why it woudl work with 1.4.2_04, the only thing that has changed is the JDK. No config changes have been made. Thanks Pete -Original Message- From: Kannan Raghu [mailto:[EMAIL PROTECTED] Sent: 09 July 2004 08:40 To:

Re: Garbage Collector

2004-07-09 Thread simon colston
Freddy Villalba Arias wrote: What's the best / simplest way to implement a garbage collector that starts running as soon as the web application (Tomcat) is up? I think this calls for a ServletContextListener. Start your reaper thread in contextInitialized and kill it in contextDestroyed.

Re: Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Kannan Raghu
No Problem Pete... Kannan On Fri, 9 Jul 2004 09:20:05 +0100, Peter Guyatt [EMAIL PROTECTED] wrote: Hi There, Thanks for the reply, what I dont understand is why it woudl work with 1.4.2_04, the only thing that has changed is the JDK. No config changes have been made. Thanks

RE: Garbage Collector

2004-07-09 Thread Freddy Villalba Arias
Whoa, it was so obvious I almost feel stupid! Thanks, Simon! -Mensaje original- De: simon colston [mailto:[EMAIL PROTECTED] Enviado el: viernes, 09 de julio de 2004 11:07 Para: Tomcat Users List Asunto: Re: Garbage Collector Freddy Villalba Arias wrote: What's the best / simplest

tomcat output gets mixed up for different requests

2004-07-09 Thread André Weidemann
Hi, I searched the net and also the tomcat-list archives but couldn't find any help. That is what lead me here... I'm quite new to Tomcat and Java. I'm using Tomcat 3.3.2 and Java 1.4.2 under Linux. I have the following problem: I have an application that reads from a mysql database and an

RE: I've officially bored of your stupid blah blahs

2004-07-09 Thread Sternbergh, Cornell
The last emails I deleted on that conversation were from 8 and 9 July. My calendar says that today's the 9th. Have you been messing with the time-space continuum? -Original Message- From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 04:38 To: 'Tomcat Users List'

JNDI / pooling

2004-07-09 Thread Viorel Dragomir
Hi, I can't describe exactly the problem because I'm not familiar with all the terms... But the big picture is that I want to create a pool of ftp connections to work like a database connection and I want to get the connection from JNDI. So far I extended BaseKeyedPoolableObjectFactory and

RE: JNDI / pooling

2004-07-09 Thread Ryan Lissack
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html See the 'Adding Custom Resource Factories' section. Ryan. -Original Message- From: Viorel Dragomir [mailto:[EMAIL PROTECTED] Sent: 09 July 2004 13:12 To: Tomcat Users List Subject: JNDI / pooling Hi, I can't

flush buffer security manager

2004-07-09 Thread Mike Read
Hi Appended is a simple servlet and the errors I get back to the browser. The errors are produced the first time the servlet is called after a Tomcat restart under security manager, subsequent calls to the servelt and a restart with security manager run OK. The error points to the

RE: Newbie question: Error 503 Service Temp. Unavailable

2004-07-09 Thread Birt, Jeffrey
I too am running Linux (Fedora 1). Another chap posted after me having similar problems with Windows (IIS). I've confirmed that apache is running as user apache which belongs to the group apache. User tomcat of the group tomcat owns the tomcat directory (and I'm running tomcat as user tomcat).

Re: Container managed security

2004-07-09 Thread QM
On Thu, Jul 08, 2004 at 11:19:39PM -0500, Steve Luzynski wrote: : Using Tomcat 5.0.25 on Mac OS X (10.3.4 specifically). Trying to : implement container managed security. : : [snip: deployment descriptor] : : When I try to hit a url like : http://localhost:9006/IPBoss/add/add_network.html,

Re: Problems migrating from 4.1.x to 5.0.25

2004-07-09 Thread QM
On Thu, Jul 08, 2004 at 09:58:35PM -0700, Dhruva B. Reddy wrote: : I have deployed one of our (Struts 1.1 based) applications on 5.0.25 : (it currently runs on 4.1.27). When I try to go to the default page, I : get the stack trace below (displayed in the browser). Can anyone tell : me if there

Re: tomcat output gets mixed up for different requests

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 01:26:45PM +0200, Andr? Weidemann wrote: : My problem is that as soon as two clients are accessing the tomcat : server simultaniously, the output is sometimes split up between the : clients. In that case, one client lacks page content, which the other : one will receive

RE: Problems migrating from 4.1.x to 5.0.25

2004-07-09 Thread CAGALLOM
no send email thank -Mensaje original- De: QM [mailto:[EMAIL PROTECTED] Enviado el: Viernes 9 de Julio de 2004 08:13 Para: Tomcat Users List Asunto: Re: Problems migrating from 4.1.x to 5.0.25 On Thu, Jul 08, 2004 at 09:58:35PM -0700, Dhruva B. Reddy wrote: : I have deployed one of our

RE: JNDI / pooling

2004-07-09 Thread Randall Svancara
Most ftp connections time out, so you would have to have an auto-reconnect feature right? This sounds like a kewl idea. -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 6:30 AM To: 'Tomcat Users List' Subject: RE: JNDI / pooling

Re: Container managed security

2004-07-09 Thread Steve Luzynski
On Jul 9, 2004, at 8:11 AM, QM wrote: On Thu, Jul 08, 2004 at 11:19:39PM -0500, Steve Luzynski wrote: : Using Tomcat 5.0.25 on Mac OS X (10.3.4 specifically). Trying to : implement container managed security. : : [snip: deployment descriptor] : : When I try to hit a url like :

RE: will ROOT (/) context, folder hello interfere with context (hello) ?

2004-07-09 Thread Mike Curwen
You'd get the hello context. -Original Message- From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:37 AM To: 'Tomcat Users List' Subject: will ROOT (/) context, folder hello interfere with context (hello) ? Something just popped in my mind. If you have a

RE: How to start a web app?

2004-07-09 Thread Mike Curwen
Wouldn't it be easier to assume (in all things, not just tomcat docs) that unless 'recursion' is specifically mentioned, that a given process is *not* recursive? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automat ic%20Application%20Deployment Where in the 3rd bullet do you

question about dazzle with tomcat

2004-07-09 Thread Selmar
Hi, I have a, probably very easy to solve, problem. I am at the moment trying to install dazzle on tomcat 5.0.25. i am reading the setting up a Ensembl DAS Server from www.ensembl.org/Docs/das_server_v1.2.pdf http://www.ensembl.org/Docs/das_server_v1.2.pdf. I am now on page 6 in the last part

Re: How to start a web app?

2004-07-09 Thread Michael Labhard
Right. So should we improve the documentation or improve all the readers of the documentation? Let's see ... Documentation, or all the readers of the those docs ... Improve the docs, or all the readers of the docs ... Hmmm ... What could the answer be? Boy! That's a tough one! On

RE: How to start a web app?

2004-07-09 Thread Mike Curwen
Michael, my email was specifically in reply to David.Pawson's. I thought I'd point that out in case you took anything personally in my previous email. I bother to point it out because you asked the same question three times. Where I come from, that's ridicule by repetition, but I could be

Re: getting Tomcat 5.0 to serve static content

2004-07-09 Thread Matthew Hixson
On Jul 8, 2004, at 11:56 PM, [EMAIL PROTECTED] wrote: -Original Message- From: Matthew Hixson I'm using Tomcat 5.0.26 with JBoss 3.2.4. I'm attempting to upgrade from Tomcat 4.1.something that was included with JBoss 3.2.3. I cannot figure out how to configure a

tomcat 5.0.25 and SSL problem

2004-07-09 Thread Rob Guest
We are running Tomcat 5.0.25, AIX 5.2. We are having problems getting SSL to work. We can reach the default tomcat page when we use 8070 but not when we use the SSL port 8443. We have the following connector's setup in our server.xml Connector port=8070 maxThreads=150

Re: How to start a web app?

2004-07-09 Thread Michael Labhard
On Friday 09 July 2004 09:15 am, Mike Curwen wrote: The point I was attempting to make is that there is nothing wrong with the docs, Yes, I know. And the point that I am trying to make is that several readers of the documentation disagree with you on this point. And that is, in my opinion,

Re: Container managed security

2004-07-09 Thread Robert F. Hall
Have you tried adding http-method/ elements to web-resource-collection ? web-resource-collection http-methodHEAD/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method http-methodDELETE/http-method /web-resource-collection

Re: How to start a web app?

2004-07-09 Thread David Smith
What is it with the person to person discussions on a public forum these days. Please take this off list and post something when the docs are updated. Otherwise I don't want or need to read this. --David PS: Tomcat is an open source project -- write a correction and submit it if you feel one

SEVERE: Error reading tld listeners java.lang.NullPointerException

2004-07-09 Thread Robert Hunt
Why does this happen during startup? Jul 9, 2004 2:05:07 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-30041 Jul 9, 2004 2:05:07 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1328 ms

JMX tools survey

2004-07-09 Thread Erik Earle
I'm just curious: what tools folks are using for monitoring / managing Tomcat through JMX? _ MSN Life Events gives you the tips and tools to handle the turning points in your life. http://lifeevents.msn.com

The requested resource is unavailable

2004-07-09 Thread Matthew Hixson
Is there any way to get Tomcat to log _why_ the requested resource is unavailable? I've turned the debug parameter up to 99 for my watermarks context and I'm still not seeing anything useful in the logfiles. Here's the output of grepping through server.xml for watermarks 2004-07-09

getRemoteHost return IP address

2004-07-09 Thread Michael Tang
I am using Tomcat 4.0.6 and our customer ran into a weird and hard-to-reproduce problem. From the log, we see within one servlet, HttpServletRequest.getRemoteHost return host name (enableLookups=true in server.xml). However, during the running, one HttpProcessor thread suddenly switch to

RE: will ROOT (/) context, folder hello interfere with context (hello) ?

2004-07-09 Thread Ivan Jouikov
Then what about ROOT/hello ? How do you get to there? -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 8:19 AM To: 'Tomcat Users List' Subject: RE: will ROOT (/) context, folder hello interfere with context (hello) ? You'd get the hello

RE: will ROOT (/) context, folder hello interfere with context (hello) ?

2004-07-09 Thread Justin Ruthenbeck
It's genally a good idea to use the ROOT context as merely a redirection feature, _especially_ if you've got any possibility of naming conflicts (like you're suggesting). By this, I mean make your ROOT context simply do a redirect (either an HTTP redirect or a JSP/Servlet redirect, depending

Re: Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Joseph Shraibman
Are you sure when you upgraded that you moved everything over, like jars in lib/endorsed, you java.policy, etc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 Apache Authentication

2004-07-09 Thread Joseph Shraibman
[EMAIL PROTECTED] wrote: Hmmm...so is there any workaround? For example, using an older version of the JK connector or some older combination of Tomcat/Apache and the JK connector? Thanks, Kevin Not as far as I know. - To

favicon question

2004-07-09 Thread Mufaddal Khumri
I have a webapp deployed under tomcat + apache. I have a taglib in which i have the following: out.print(link rel='shortcut icon' href='/mywebapp/images/favicon.ico' type='image/x-icon'); The favicon.ico is a 16 * 16 icon file. The favicon shows up in Safari on the Mac , but not on netscape, or

CGIServlet and CGI.pm upload feature

2004-07-09 Thread Brian T. Dittmer
Hey guys...I'm having some serious trouble using the file upload feature in CGI.pm in conjunction with Tomcat 5.0.24. When I try and upload the file to my script for parsing the script hangs and prints nothing to the browser (in other words it's the script is erring out). Here's where the plot

Re: Container managed security

2004-07-09 Thread Steve Luzynski
On Jul 9, 2004, at 12:40 PM, Robert F. Hall wrote: Have you tried adding http-method/ elements to web-resource-collection ? web-resource-collection http-methodHEAD/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method

common lib for each virtualhost?

2004-07-09 Thread Emerson Cargnin
Is there a way to set a diferent common/lib to each virtualhost? thanks -- Emerson Cargnin Analista de Sistemas - Gerente Regional - Tubarão Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To

Repost::Connection Timeout

2004-07-09 Thread Sameer Danthurthy
Hello, Iam working on high perf servlet that needs to return the response within few seconds and hence I want to emulate an non existant connection rather than a delayed response i.e. the webserver break the tcp connection rather than hold the client for delayed response from the servlet. I

serving static content

2004-07-09 Thread Matthew Hixson
Does there exist a howto on serving static content with Tomcat? Even better would be one that shows how to do this with Tomcat+JBoss. Searching Google seems to turn up lots of hits that say basically, Use Apache instead of Tomcat to serve static content. I really need to get this working in

RE: serving static content

2004-07-09 Thread Mike Curwen
Tomcat will serve static content, pretty much out of the box. What is the problem you're experiencing ? -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:27 PM To: Tomcat Users List Subject: serving static content Does there exist

javax.management classloading

2004-07-09 Thread Jim Nash
Using tomcat 4.1, my web app packaged without JMX support classes (mx4j in my case) does not seem to have access to Tomcat's javax.management classes. That is, when I remove MX4J jars from my war file and deploy the war normally, when Tomcat's class loader loads the class within my webapp that

Re: serving static content

2004-07-09 Thread Matthew Hixson
I'm trying to serve images from /usr/local/watermarks. The URL should be http://mymachine.com/watermarks/. I've tried adding a Context to server.xml, but every time I try to access http://mymachine.com/watermarks I get a 404 message: The requested resource (/watermarks/) is not available.

RE: serving static content

2004-07-09 Thread Jim Cox
What's your Context entry? This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not

RE: serving static content

2004-07-09 Thread CAGALLOM
PLaese no send emailthank you -Mensaje original- De: Matthew Hixson [mailto:[EMAIL PROTECTED] Enviado el: Viernes 9 de Julio de 2004 15:54 Para: Tomcat Users List Asunto: Re: serving static content I'm trying to serve images from /usr/local/watermarks. The URL should be

Re: serving static content

2004-07-09 Thread Matthew Hixson
Host name=localhost debug=99 unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- ADD WATERMARKS DIRECTORY -- Context path=/watermarks appBase= docBase=/usr/local/watermarks debug=99 reloadable=true

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: serving static content

2004-07-09 Thread Mike Curwen
To unsubscribe, e-mail: [EMAIL PROTECTED] ! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:57 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: serving static content PLaese no send emailthank you

RE: serving static content

2004-07-09 Thread Mike Curwen
Adding a context is not quite enough. It must be recognized as a web-app also. Which means place an empty web.xml file in the WEB-INF directory. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:54 PM To: Tomcat Users List Subject: Re:

RE: serving static content

2004-07-09 Thread Jim Cox
Not sure that you need it, but do you have a WEB-INF directory underneath /usr/local/watermarks (i.e. /usr/local/watermarks/WEB-INF/)? If so, do you have a web.xml file in there (even a skeletal one)? This e-mail and attachments, if

Re: Tomcat 5.0 and JavaMail - solved? not quite

2004-07-09 Thread e-Denton Subscriber
My lookup still fails (stack trace at end of this email) with JasperException: Context initContext = new InitialContext(); Context envContext = (Context) initContext.lookup (java:comp/env); Session mailSession = (Session) envContext.lookup (mail/Session); // fails Is anyone

Re: serving static content

2004-07-09 Thread Matthew Hixson
I actually did try this already. I have a WEB-INF with a web.xml in it. The entire web.xml is: --- ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app /web-app ---

RE: serving static content

2004-07-09 Thread Jim Cox
I've had issues in the past with the generated webapp.xml files that Tomcat generates under ${TOMCAT_ROOT}/conf/Catalina/server/, for which stopping Tomcat, deleting the .xml file, and starting Tomcat seemed to fix. In your case that file might be:

RE: Newbie question: Error 503 Service Temp. Unavailable

2004-07-09 Thread Birt, Jeffrey
I finally got this working I used the min configuration given in the jk docs of. jk2.properties: # The default port is 8009 but you can use another one # channelSocket.port=8019 workers2.properties: # Define the communication channel [channel.socket:localhost:8009] info=Ajp13

Re: serving static content

2004-07-09 Thread Matthew Hixson
Under JBoss this file is /usr/local/jboss/server/default/conf/jboss.web/localhost/ watermarks.xml. I've tried deleting that file and restarting, but it doesn't make a bit of difference. The content of that file is: ?xml version='1.0' encoding='utf-8'? Context debug=99

RE: serving static content

2004-07-09 Thread Mike Jackson
Have you tried making a symbolic link from /usr/local/watermarks to $TOMCAT_HOME/webapps/watermarks? The syntax would be: ln -s /usr/local/watermarks $TOMCAT_HOME/webapps/watermarks Also check the manager app, tomcat may not be recognizing things, in which case you'd not see it in the

Re: serving static content

2004-07-09 Thread Matthew Hixson
So, when I hit my machine without anything after the machine name in the URL I see a Welcome to JBoss page. One line on this page has: Tomcat status (full) (XML) Clicking on the 'full' link gives me a page with the output below. It looks like it does know about the watermarks context. I

Re: Container managed security

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 03:20:39PM -0500, Steve Luzynski wrote: : Is there some logging or debugging I can turn on? The stock logs aren't : showing me anything other than just a normal access to the resources : that I'm wanting to protect. Another silly question, then: what's the deployed

Re: favicon question

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 01:12:30PM -0700, Mufaddal Khumri wrote: : out.print(link rel='shortcut icon' : href='/mywebapp/images/favicon.ico' type='image/x-icon'); : : The favicon shows up in Safari on the Mac , but not on netscape, or IE : . On windows it does not show up in either IE or

Re: getRemoteHost return IP address

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 06:49:51PM +, Michael Tang wrote: : I am using Tomcat 4.0.6 and our customer ran into a weird and : hard-to-reproduce problem. From the log, we see within one servlet, : HttpServletRequest.getRemoteHost return host name (enableLookups=true in : server.xml). However,

Re: serving static content

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 01:58:40PM -0700, Matthew Hixson wrote: : Host name=localhost debug=99 :unpackWARs=true autoDeploy=true :xmlValidation=false xmlNamespaceAware=false : : Context path=/watermarks appBase= : docBase=/usr/local/watermarks :

Re: serving static content

2004-07-09 Thread Matthew Hixson
Got it! My colleague discovered this post: http://www.jboss.org/index.html?module=bbop=viewtopicp=3840204#3840204 I put the defaultWebXml attribute into the Context and pointed it to the stock global Tomcat web.xml file. Now Tomcat thinks that /watermarks/ is a real webapp apparently and files

Re: getRemoteHost return IP address

2004-07-09 Thread Michael Tang
It is not the problem with the tomcat log. It is our appliation log shows that that getRemoteHost returned an IP instead of host name. It shouldn't be a network problem because the call does return the host name for a period of time. But we are not sure what our web application does that

RE: favicon question

2004-07-09 Thread Erik Earle
You could map a servlet to /favicon.ico that serves different icons based on a cookie value that is set per context (with a custom Valve if you like) :oP Original Message Follows From: Mufaddal Khumri [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users

Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Ivan Jouikov
I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that same computer. However, if I try to connect to Tomcat from my local

RE: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Ivan Jouikov
Also, if I try to run startup.sh instead of Tomcat5.sh (jsvc script), I get the same problem: localhost is working, but if I try to connect from another computer I get Page cannot be displayed _ From: Ivan Jouikov [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:19 PM To:

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Robert F. Hall
Ivan, do you have a firewall in place on the linux box? If so, is port 80 open? -Robert Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Dennis Dai
RedHat's defualt firewall rules? On 7/9/2004 5:18 PM, Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that

RE: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Ivan Jouikov
I am pretty sure I don't because about 4 months ago I had no problem using tomcat from this computer... Although I do remember screweing around with iptables. Lemme see what's up in there, maybe that could be the problem... -Original Message- From: Robert F. Hall [mailto:[EMAIL

RE: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Ivan Jouikov
Here are the contents of my /etc/sysconfig/iptables: # Firewall configuration written by lokkit # Manual customization of this file is not recommended. # Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here. *filter :INPUT ACCEPT

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Dennis Dai
On 7/9/2004 5:45 PM, Ivan Jouikov wrote: ... I am not that good with iptables, but it seems to me that the line -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT Blocks all ports from 0 to 1023 for TCP/IP... I don't recall putting that there, but is that what it really

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Robert F. Hall
Have you run lokkit to see how it displays this info? # Firewall configuration written by lokkit # Manual customization of this file is not recommended. Ivan Jouikov wrote: Here are the contents of my /etc/sysconfig/iptables: # Firewall configuration written by lokkit # Manual customization of

RE: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Ivan Jouikov
Weee it does work! Thanks! So I was right on the assumption that that entry block all ports below 1023 from accessing my computer? Im gonna go read some info about iptables :) -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 5:57 PM To:

RE: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Birt, Jeffrey
Redhat also comes with a handy gui called Security Level (or something) to administer the firewall. Jeff Birt -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 7:25 PM To: Tomcat Users List Subject: Re: Tomcat works for localhost, but won't

Re: Container managed security

2004-07-09 Thread Steve Luzynski
On Jul 9, 2004, at 5:52 PM, QM wrote: On Fri, Jul 09, 2004 at 03:20:39PM -0500, Steve Luzynski wrote: : Is there some logging or debugging I can turn on? The stock logs aren't : showing me anything other than just a normal access to the resources : that I'm wanting to protect. Another silly

Re: tomcat output gets mixed up for different requests

2004-07-09 Thread Bill Barker
Are you using Tomcat standalone or mod_jk(2)? Which Connector are you using? There was a bug a long while back where mod_jk (and possibly mod_jk2) would cause something like this if you were accessing the site through a proxy server. André Weidemann [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: jakarta-commons/daemon necessary for build?

2004-07-09 Thread Bill Barker
Joel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Don't you just like it when people talk to themselves. On Fri, 09 Jul 2004 15:05:04 +0900, I wrote Just built TC 5. I had to clear out \usr\share\java from an earlier attempt when I had java 1.5 beta installed, but then it

Re: Container managed security

2004-07-09 Thread Bill Barker
Steve Luzynski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Jul 9, 2004, at 12:40 PM, Robert F. Hall wrote: Have you tried adding http-method/ elements to web-resource-collection ? web-resource-collection http-methodHEAD/http-method