RE: Setting Path for properties file

2002-08-22 Thread Jillian . Reiman
Justin, Thank you for the solution. It is working great. FYI... The syntax was slightly different for implementation. Properties prop = new Properties(); prop.load(this.getClass().getResourceAsStream("/MyProperties.properties")); With this syntax I just put the file in the WEB_INF/classes d

Re: list volume

2002-08-22 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 21, 2002 at 09:00:24PM -0700, Craig R. McClanahan wrote: > Sort-by-thread is the only way to deal with high-volume mailing lists. > However, I don't consider it a valid reason to use Outlook (can you spell > "security sinkhole"?). outloo

Re: web.xml question

2002-08-22 Thread rsequeira
Tomcat is programmed to look for the dtd in the $CATALINA_HOME/common/lib/servlet.jar. This is how you can run Tomcat offline w/o facing any problems :-) Rosh "Din

Re: web.xml question

2002-08-22 Thread Jean-Francois Arcand
Which version are you using? If you are using 4.x, Tomcat will redirect the remote DOCTYPE to a local version. The remote version is never used. -- Jeanfrancois Dinesh Khetarpal wrote: > >PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > >"

web.xml question

2002-08-22 Thread Dinesh Khetarpal
http://java.sun.com/dtd/web-app_2_2.dtd> http://java.sun.com/dtd/web-app_2_2.dtd";> we put above lines in the web.xml file and ship the application assuming everybody has internet connection, what is the preferred way when customers don't have internet connection. Dinesh

web.xml question

2002-08-22 Thread Dinesh Khetarpal
http://java.sun.com/dtd/web-app_2_2.dtd> http://java.sun.com/dtd/web-app_2_2.dtd";> we put in the web.xml file and ship the application assuming everybody has internet connection, what is the preferred way when customers don't have internet connection. Dinesh

RE: Weird CPU profile during tomcat 3.3.1 performance test

2002-08-22 Thread jean . philippe . prefot
I am using the JVM 1.3.1_02 with native threads but I am not sure what version of mod_jk since I did not compile it myself. To make sure I tried to rebuild mod_jk but it turns out that tomcat 3.3.1 only includes mod_jk for apache1.3 and not for apache 2.0 (tomcat 3.2.4 had an apache2.0 variant). I

RE: Programmatically remove an application?

2002-08-22 Thread Sexton, George
Why not open a socket and send an HTTP request to the manager application? -Original Message- From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]] Sent: 22 August, 2002 7:26 AM To: Tomcat Users List Subject: Programmatically remove an application? Is there a way to programmatically remove o

RE: TOMCAT AND APACHE

2002-08-22 Thread Turner, John
Well, if the file is there, and the path is correct, but you are getting a "file not found" message, I would look next at things like permissions. Does apache have permission to read that file? Is "G" drive a network-mapped drive or a local drive? What user is apache running as? John Turner

RE: problems with Connections

2002-08-22 Thread Sexton, George
Do your objects persist across requests from the user? -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: 22 August, 2002 5:58 AM To: [EMAIL PROTECTED] Subject: Re: problems with Connections I wish it was that simple to just DO-IT-ALL-OVER-AGAIN but we're

Many thanks for the help

2002-08-22 Thread Barry Martin
Thanks you all for the help with where to locate my class files. Creating the directory structure reccommended and implementing a package was the ticket. Barry -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: TOMCAT AND APACHE

2002-08-22 Thread Patrick Codere
Hi John, So I just tried changing the Tomcat and Apache directories removing the spaces. Now I get a new error message : Syntax error on line 4 of g:/tomcat/conf/auto/mod_jk.conf: Cannot load g:/apache/modules/mod_jk.dll into server: (126) The specified module could not be found:

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Turner, John
Sorry, poor effort at making a joke on my part. I meant "source" as in "source of the software", as in "the originator", not necessarily "source code". John Turner -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 10:06 AM To: Tomcat Users L

Re: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Randall Jameson
Here is also a good starting point if you are on windows: http://www.opensa.org/ regards, Randall Jameson -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Peter Choe
i believe apache 2 has the source for modssl already. At 10:02 AM 8/22/2002, you wrote: >Go to the source, Luke, go to the source: >http://www.modssl.com/ > >John Turner > >-Original Message- >From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 22, 2002 10:00

RE: Order for starting WebApps

2002-08-22 Thread Turner, John
Could you possibly use server.xml's DefaultContext element for this? According to this (old) post, that makes things available for all webapps in a Host: http://w6.metronet.com/~wjm/tomcat/2001/May/msg00597.html John Turner -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Turner, John
Go to the source, Luke, go to the source: http://www.modssl.com/ John Turner -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 10:00 AM To: [EMAIL PROTECTED] Subject: Fw: Adding HTTPS to Tomcat/Apache/mod_jk install on NT That'

RE: Order for starting WebApps

2002-08-22 Thread Collins, Jim
Hi Tim, I will look at Startup classes. load-on-startup won't work for me because the servlet that loads the native library is deployed on its own as a WebApp and load-on-startup only specifies the order servlets will be loaded in a WebApp instance. I want to specify that WebApp1 is loaded before

Fw: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Kenny G. Dubuisson, Jr.
That's great information on how it works but does anyone know where there is an easy "How-To" on how to install it? Thanks, Kenny - Original Message - From: "Andreas Mohrig" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 8:55 AM Subject:

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Turner, John
And for the tomcat side: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html John Turner -Original Message- From: Andreas Mohrig [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 9:56 AM To: 'Tomcat Users List' Subject: RE: Adding HTTPS to Tomcat/Apache/mod_jk insta

Re: Order for starting WebApps

2002-08-22 Thread Tim Funk
If you are looking at loading a native Library - or other wacky initializations. Maybe using Startup classes would be better such as the LifeCycle Listeners. They are called in order of being parsed. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/engine.html Turner, John wrote: > You

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Andreas Mohrig
http://httpd.apache.org/docs-2.0/ssl/ Andreas Mohrig -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 22, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: Adding HTTPS to Tomcat/Apache/mod_jk install on NT Hello again all listers. I was won

Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-08-22 Thread Kenny G. Dubuisson, Jr.
Hello again all listers. I was wondering if anyone could point me in the right direction on setting up HTTPS on my Apache 2.0.40 / Tomcat 4.0.4 / mod_jk installation on WinNT 4? Any help would be greatly appreciated. Thanks, Kenny -- To unsubscribe, e-mail: For add

RE: Order for starting WebApps

2002-08-22 Thread Turner, John
You can specify the order by using the same element, with successively increasing ID numbers: First servlet: ID 1 Second servlet: ID 2 nth Servlet: ID n I'm not sure about a better way to load the native library, I'm sure someone else on the list can answer your question. John Turner --

RE: Order for starting WebApps

2002-08-22 Thread Collins, Jim
Hi John, Thanks for your response. Do you know if there is anyway of explicitly specifying the order from Tomcat? One other question. The servlet I want loaded first only loads a native library in its init method, I vaguely recall that there is a better way of doing this as the servlet never acc

Executing a remote command

2002-08-22 Thread Raju Lokhande
Hello everybody, I am asked to research whether following is possible. - A servlet will run under tomcat on windows and issue a kill command on Unix to kill a Unix process. I know that Java RMI will do this work, but I could not find any example in my web searches. Standard RMI tutorial builds

RE: Order for starting WebApps

2002-08-22 Thread Turner, John
In your web.xml, use the load-on-startup element with an ID of 1 (or maybe even 0) to ensure that servlet loads first. >From the DTD: "The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The opt

RE: TOMCAT AND APACHE

2002-08-22 Thread Turner, John
That configuration is known to work (though perhaps you would consider using tomcat 4.0.4 instead, but that wouldn't have an effect on your problem). Right off the bat, I would move both apache and tomcat to directories without spaces in the names. No hard and fast proof that that is what is ca

Programmatically remove an application?

2002-08-22 Thread Mark O'Driscoll
Is there a way to programmatically remove or stop the installation of a web application? i.e. call a function that does the same as http:/:8080/manager?remove=/app TIA -- To unsubscribe, e-mail: For additional commands, e-mail:

Order for starting WebApps

2002-08-22 Thread Collins, Jim
Hi, Does anyone know how to specify the order in which Tomcat starts WebApps? I have a servlet that loads a library used by other apps and I need to ensure that this is started first. Thanks Jim. PLEASE READ: The information contained in this email is confidential and intended for the named

TOMCAT AND APACHE

2002-08-22 Thread Patrick Codere
Hi everyone, I was suggested on the list to integrate my Tomcat Standalone with Apache web server due to the large amount of static content of my site. I tried doing so, but can't get it to work properly. Config: Windows 2000, Tomcat 4.0.3, Apache 1.2.36, mod_jk.dll connector. I get, t

Re: STILL Need Help w. Tomcat Install

2002-08-22 Thread jeff . guttadauro
Oh, come on, the "this is Steve Burris" bit makes me giggle every time... ;) Jacob Kjome

noone here who ever made subdomains for vhosts?

2002-08-22 Thread Power-Netz \(Schwarz\)
I can't believe that noone ever made a subdomain within tomcat ? --repost-- Hi, I tried to setup a subdomain for a vhost, but it only reaches the sld vhost entry. As you can see i tried two version, but neither routet bugzilla to the /ticket webapp :-( Any ideas ? for tc.3.3.2 : ---

Differences between tomcat 4.0.3. and Apache 1.3

2002-08-22 Thread "Thébault, Médérick"
Hello, In deploying web service under Tomcat I read that a tricky move allows to publish WSDL file by adding a line in the x_config.properties. I did it and it works fine when accessong to Tomcat port. But when I try to add apache on the top of it (with webapp module) this behaviour does not occ

How do I send log4j ConsoleAppender output to stdout?

2002-08-22 Thread Michael
How do I send log4j ConsoleAppender output to stdout? It's being redirected to the localhost_log..txt file. Michael -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: tomcat4 + declarative security

2002-08-22 Thread Andreas Mohrig
Go ahead, I will take a look, but I'm afraid I can't promise to spend very much time with it. Perhaps it is better to mail it to me directly (if it is large). And the sources would be usefull too. greetings Andreas Mohrig -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Th

Re: problems with Connections

2002-08-22 Thread Christian J. Dechery
I wish it was that simple to just DO-IT-ALL-OVER-AGAIN but we're already in production, I don't have the time to go trough all the classes again an rewrite code... I have a lot of other things to do along with providing maintenance to all these 100 classes... Isn't there a way a class can

Re: tomcat4 + declarative security

2002-08-22 Thread jfc
Andreas Mohrig wrote: >I'm using Tomcat/4.0.4 with Apache 1.3.26 (mod_jk) on SuSE Linux 7.3 >(without JBoss or struts). > >Do you really get responses with the same session-id, but different results >of getRemoteUser()? > >Andreas Mohrig >-Original Message- >From: jfc [mailto:[EMAIL PROT

RE: Realm Security Implementation Question [OT]

2002-08-22 Thread Cox, Charlie
why can't you just combine the project id and role name to create a complex role that is returned. that way each time you need to check project '10' for role 'admin', your combined role would be '10admin' and that's what you would check for in your code and web.xml. So then your view returns all

Re: Remote Start and Stop of tomcat4.0.4

2002-08-22 Thread AMRAN121
I am also trying to do this, can this be done? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: problems with Connections

2002-08-22 Thread Christian J. Dechery
This is how it is being done now... and it works, but it's veery slow... in some reports that uses a lot of classes, and of course a bunch of queries it takes almost 3minutes to load the report page... there's gotta be a better solution .:| Christian J. Dechery .:| FINEP - De

Re: urgent: The stream has been closed

2002-08-22 Thread Luiz Ricardo
Perhaps you've already got the PrintWriter with getWriter() method. Luiz Ricardo - Original Message - From: "Rum Pel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 4:50 AM Subject: urgent: The stream has been closed > When I do the following, > ServletOutpu

RE: File Filtering

2002-08-22 Thread Cox, Charlie
you can set up a security restraint or write a filter to do this. Charlie > -Original Message- > From: Rui Fernandes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 22, 2002 5:24 AM > To: [EMAIL PROTECTED] > Cc: Tomcat Users List > Subject: RE: File Filtering > > > Yes, > I though

URL connection timeout

2002-08-22 Thread Drinkwater, GJ (Glen)
Hi Is there any way to specify a timeout for a URL connection with tomcat. Is there something in the server.xml file??? Glen -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Tomcat and connection pooling

2002-08-22 Thread Felipe Schnack
If you want to use dbcp send me a mail. I had bad days trying to configure it, but it's working, I can send you my configuration (using pgSQL) On Wed, 2002-08-21 at 19:24, Andrew Conrad wrote: > You can use JNDI to allow for sharing of connections across servlets > using either the built in poo

Re: Fw: Redirect with TOMCAT4.01?

2002-08-22 Thread Øyvind Vestavik
Have you tried modifying web.xml? I haven't tried it, but how about: (I don't know if this is legal though..) myservlet com.servlets.myServlet myservlet url1 myservlet

RE: Can't get tomcat 4 + mod_jk + apache to work

2002-08-22 Thread Andreas Mohrig
Hi Scott, an assumption to why it now works is that you have commented out the virtual host, so that the directives are now in the main section. The virtual host mechanism seems to depend on the clients (browsers) sending the host name (in your case "toecutter" or later "localhost") to the server

Re: Redirect!

2002-08-22 Thread Øyvind Vestavik
Create a url and redirect: URL url = new Url("http:\\myserver.com"); response.sendRedirect(url.toString()); Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 On Thu, 22 Aug 2002, Alexander Schmidt wrote: > Hello ! > I want to redirect an URL, but I don´t

RE: tomcat4 + declarative security

2002-08-22 Thread Andreas Mohrig
I'm using Tomcat/4.0.4 with Apache 1.3.26 (mod_jk) on SuSE Linux 7.3 (without JBoss or struts). Do you really get responses with the same session-id, but different results of getRemoteUser()? Andreas Mohrig -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August

UNSUBSCRIBIE

2002-08-22 Thread juan jose amador
ʹM HAVING TROUBLE TO UNSUSCRIBIE to the list. Something could resolve this

Fw: Redirect with TOMCAT4.01?

2002-08-22 Thread Alexander Schmidt
- Original Message - From: Alexander Schmidt To: Tomcat Users List Sent: Thursday, August 22, 2002 11:29 AM Subject: Redirect with TOMCAT4.01? Hello! I want to redirect an URL for example /opencms/opencms/colangamma to /colangamma/. So when I type in colangamma he redirect it to /o

RE: File Filtering

2002-08-22 Thread Rui Fernandes
Yes, I thought on this possibility and it solves the problem, so I'll do like you say. But I still think it would be nice to be possible to configure which folders are to be accessed direct from client and which not... Thanks a lot. - Original Message - From: Rum Pel <[EMAIL PROTECTED]> T

Tomcat & IIS using Windows Intergrated Authentication

2002-08-22 Thread Reynir Hübner
Hi, I have an installation of Tomcat and IIS combo, using AJP and isapi_redirect.dll. This setup works fine. Anyway, I have a virtual directory mapped in IIS under one of the hosts, that has only Windows Intergrated Authentication security, which means the user must be apart of the nt-domai

RE: Redirect!

2002-08-22 Thread Barney Hamish
There are a couple of ways you can do this: -Add a redirect header to your page 3XX (see rfc2616) -Use jsp:forward tag -Client side with javascript But it really depends what you want to do exactly. Hamish -Original Message- From: Alexander Schmidt [mailto:[EMAIL PROTECTED]] Sent: Thursd

Redirect!

2002-08-22 Thread Alexander Schmidt
Hello ! I want to redirect an URL, but I don´t know how! Has anyone an idea? I use Tomcat4.0.1. Thanks A. Schmidt -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: RPM Upgrade from 4.0.4 - error: failed dependencies:

2002-08-22 Thread Henri Gomez
Hi Eddie, >error: failed dependencies: >jaxp_parser_impl is needed by tomcat4-4.1.9-le.1jpp >xml-commons-apis is needed by tomcat4-4.1.9-le.1jpp In LE mode you need to have an xml parser and the xml apis. With JDK < 1.4.x, you need to provide them by installing for example xerce

RE: File Filtering

2002-08-22 Thread Rum Pel
>I am talking about folders with static resources that should be available >only for the app itself to access, and not for direct access from browser. >These folders are located at the web app folder. >What should I do? Anything under WEB-INF is not served by tomcat's web-server, so it can safel

Webapp not accessible when setting CATALINA_BASE

2002-08-22 Thread Michael
I have tried Tomcat 4.0.4 and 4.1.9 beta to see if that made a difference but I get the same end result: When I set my CATALINA_BASE to be a directory other than CATALINA_HOME, my webapp is not accessible. I know my web.xml is loading and my servlets (struts and my own custom servlets) are init

Multithreading with tomcat

2002-08-22 Thread Drinkwater, GJ (Glen)
Hi I am trying to invoke more than one servlet from multiply resources at the same time. But at the moment i call them one after another. The problem is that if one of the servlets takes along time to do its work, and hangs, the other processes wait to be executed. I wish to use threads with t

urgent: The stream has been closed

2002-08-22 Thread Rum Pel
When I do the following, ServletOutputStream out = resp.getOutputStream(); out.println(html); out.flush(); I am getting the following exception at out.flush(): java.io.IOException: The stream has been closed at org.apache.catalina.connector

RE: File Filtering

2002-08-22 Thread Rui Fernandes
>Are these static files? Resources used by > your app at runtime? Yes, I am talking about folders with static resources that should be available only for the app itself to access, and not for direct access from browser. These folders are located at the web app folder. What should I do? Thank you