One quick question on running TC in security mode

2005-03-11 Thread Nikola Milutinovic
Hi all. I'm faced with a situation where I need to deploy an application on a server that is running TC 4.1 with -security option enabled. I have figured out that I need to edit catalina.policy file and grant my application permissions. I'm testing config on my home machine running 5.5.7. Now

Re: One quick question on running TC in security mode - still problems

2005-03-11 Thread Nikola Milutinovic
Nikola Milutinovic wrote: Hi all. I'm faced with a situation where I need to deploy an application on a server that is running TC 4.1 with -security option enabled. I have figured out that I need to edit catalina.policy file and grant my application permissions. I'm testing config on my home

quick question when getting started

2004-04-15 Thread Stephen Charles Huey
I'm upgrading from Tomcat 4 to 5 and I just installed Tomcat 5 on a dev machine to play with it, and I know a couple things are organized a bit differently, but the provided index page is weirding me out. I tried to add a line of text to the index.jsp in webapps\ROOT and when I reload the page

Re: quick question when getting started

2004-04-15 Thread Michiel Toneman
Hi Stephen, You've been tricked by the web.xml. The JSP's are pre-compiled to servlets and a mapping for the URL /index.jsp to this servlet has been inserted into web.xml. If you delete the servlet mapping in the web.xml, everything should be as normal, and your changes will be visible. (this

quick question concerning the Client Deployer Package

2004-01-27 Thread Glanville, Jay
Hello all. I have a quick question concerning the client deployer package (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html#Dep loying%20using%20the%20Client%20Deployer%20Package). There is a compile target and a deploy target. My assumption is that the deploy target only

Re: quick question concerning the Client Deployer Package

2004-01-27 Thread Remy Maucherat
Glanville, Jay wrote: Hello all. I have a quick question concerning the client deployer package (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html#Dep loying%20using%20the%20Client%20Deployer%20Package). There is a compile target and a deploy target. My assumption

RE: quick question concerning the Client Deployer Package

2004-01-27 Thread Jay Glanville
Thanks -- Jay Glanville -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 9:11 AM To: Tomcat Users List Subject: Re: quick question concerning the Client Deployer Package Glanville, Jay wrote: Hello all. I have a quick

quick question

2003-09-24 Thread Steven Garrett
Hi, Can I envoke jsp from outside of the application directory. For example, I have /var/tomcat4/webapps/application/some.jsp. Can I put some.jsp in /home/apache/ (my apache docroot) and have it still work? Thanks, Steve -

Re: quick question

2003-09-24 Thread Atreya Basu
Hi Steven, You should be able to if your URI directive is something like, [uri:localhost/*.jsp]. The other thing that you need to do is set up the proper context for the JSP, so if you want to place them in /home/apache, you'll need to add the proper context directive in your server.xml

Manager application - quick question

2002-11-18 Thread Renato
Hi all, I'll deploy the manager application to my users. Probably the only funcionality I'll let them use is to stop and start their web applications. Which is the safest method ? - reload ? - stop / start ? - indifferent ? Thanks Renato. -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Manager application - quick question

2002-11-18 Thread Cox, Charlie
both are safe. reload will be faster(one command vs two), but start/stop will allow web.xml to be read again. Charlie -Original Message- From: Renato [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 1:30 PM To: [EMAIL PROTECTED] Subject: Manager application - quick

RE: Quick Question

2002-08-14 Thread Durham David Cntr 805CSS/SCBE
(getServletContext()) % -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 5:21 PM To: Durham David Cntr 805CSS/SCBE Subject: RE: Quick Question the getServletContext.getRealPath will work in a java bean?? I'm trying to read a txt

RE: Quick Question

2002-08-14 Thread Larry Meadors
IMO, it seems like a bad idea to me to tie your bean code to a servlet context unless you REALLY need to. To me, a better way would be to put the file in a directory under classes, and use the classloader of the current thread to get to the file. This way, you do not need servlet.jar to use

RE: Quick Question

2002-08-14 Thread Durham David Cntr 805CSS/SCBE
] Subject: RE: Quick Question IMO, it seems like a bad idea to me to tie your bean code to a servlet context unless you REALLY need to. To me, a better way would be to put the file in a directory under classes, and use the classloader of the current thread to get to the file. This way, you

RE: Quick Question

2002-08-14 Thread Shapira, Yoav
-Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:11 AM To: [EMAIL PROTECTED] Subject: RE: Quick Question IMO, it seems like a bad idea to me to tie your bean code to a servlet context unless you REALLY need to. To me, a better way

RE: Quick Question

2002-08-14 Thread Larry Meadors
PROTECTED] Subject: RE: Quick Question IMO, it seems like a bad idea to me to tie your bean code to a servlet context unless you REALLY need to. To me, a better way would be to put the file in a directory under classes, and use the classloader of the current thread to get to the file

RE: Quick Question

2002-08-14 Thread Larry Meadors
WOW! Cool, I did not know you could do that! [EMAIL PROTECTED] 08/14/02 09:54 AM URL destinationURL = ...getResource(...); URLConnection destinationConnection = URL.openConnection(); destinationConnection.setDoOutput(); OutputStream outputStream = destinationConnection.getOutputStream(); ...

RE: Quick Question

2002-08-13 Thread Isabel Lameda
Try to create a file in your bean and see where Tomcat stores it -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: Lunes, 12 de Agosto de 2002 06:00 p.m. Para: Tomcat Users List Asunto: Quick Question Hi all, I wrote a simple java bean that reads a txt

RE: Quick Question

2002-08-13 Thread Drinkwater, GJ (Glen)
tomcats default directory is where ever you called the startup.sh/bat file. So if you dont use another script to call the startup.sh/bat file tomcats default will be the bin directory. Use this code to find the directory where WEB-INF is. Then you can traverse your directory structure from

Re: Quick Question

2002-08-13 Thread Michael E. Locasto
, August 13, 2002 8:50 AM Subject: RE: Quick Question Try to create a file in your bean and see where Tomcat stores it -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: Lunes, 12 de Agosto de 2002 06:00 p.m. Para: Tomcat Users List Asunto: Quick Question

RE: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
: Quick Question tomcats default directory is where ever you called the startup.sh/bat file. So if you dont use another script to call the startup.sh/bat file tomcats default will be the bin directory. Use this code to find the directory where WEB-INF is. Then you can traverse your directory

RE: Quick Question

2002-08-13 Thread Drinkwater, GJ (Glen)
hi what you should try to do is either from your jsp use the method I suggested before and pass the info to your bean, or if this is a config file, use this method which works I have just tried it, to load your file into a properties class. Properties conf = new Properties();

Re[2]: Quick Question

2002-08-13 Thread Jacob Kjome
to Tomcat Users List TLC To: Tomcat Users List [EMAIL PROTECTED] TLC cc: TLC Subject:RE: Quick Question TLC tomcats default directory is where ever you called the startup.sh/bat TLC file. TLC So if you dont use another script to call the startup.sh/bat file

Re: Re[2]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
My bean is WEB-INF/classes Jacob Kjome [EMAIL PROTECTED] 13/08/2002 10:43 a.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re[2]: Quick Question Hello TOMITA, Where does your Bean exist

Re[4]: Quick Question

2002-08-13 Thread Jacob Kjome
/2002 10:43 a.m. TLC Please respond to Tomcat Users List TLC To: Tomcat Users List [EMAIL PROTECTED] TLC cc: TLC Subject:Re[2]: Quick Question TLC Hello TOMITA, TLC Where does your Bean exist? Is it in one of Tomcat's classloaders, or TLC is it running out

Re: Re[2]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
To: Tomcat Users List [EMAIL PROTECTED] cc: Tomcat Users List [EMAIL PROTECTED] Subject:Re: Re[2]: Quick Question My bean is WEB-INF/classes Jacob Kjome [EMAIL PROTECTED] 13/08/2002 10:43 a.m. Please respond to Tomcat Users List

Re[4]: Quick Question

2002-08-13 Thread Jacob Kjome
Please respond to Tomcat Users List TLC To: Tomcat Users List [EMAIL PROTECTED] TLC cc: Tomcat Users List [EMAIL PROTECTED] TLC Subject:Re: Re[2]: Quick Question TLC My bean is WEB-INF/classes TLC Jacob Kjome [EMAIL PROTECTED] TLC 13/08/2002

Re: Re[4]: Quick Question

2002-08-13 Thread jeff . guttadauro
: Subject: Re[4]: Quick Question 08/13/02 12:00 PM

Re: Re[4]: Quick Question

2002-08-13 Thread Michael E. Locasto
Check out the API too. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/servletapi/index.html Regards, Michael - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 1:08 PM Subject: Re: Re[4]: Quick Question Hi, Alex. Since JSP's

Re: Re[4]: Quick Question

2002-08-13 Thread TOMITA_ALEX_NONLILLY
thanks for the information, I'm going to test it out. Michael E. Locasto [EMAIL PROTECTED] 13/08/2002 12:34 p.m. Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Re[4]: Quick Question Check out

Quick Question

2002-08-12 Thread TOMITA_ALEX_NONLILLY
Hi all, I wrote a simple java bean that reads a txt file, the problem is where do I need to put the txt file??... What is the default directory in Tomcat?? when I put something like this in my java bean : FileReader(config.txt) Where does tomcat look for that file? thanks Alex

RE: Quick Question

2002-08-12 Thread Durham David Cntr 805CSS/SCBE
getServletContext.getRealPath(/config.txt) will return the path to config.txt in the root of your apps directory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 5:00 PM To: Tomcat Users List Subject: Quick Question Hi all

RE: Quick Question

2002-08-12 Thread Larry Meadors
getServletContext.getRealPath(/config.txt) will return the path to config.txt in the root of your apps directory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 5:00 PM To: Tomcat Users List Subject: Quick Question Hi all, I wrote a simple

Re: Warp and Virtual Hosts (quick question)

2002-04-06 Thread Nikola Milutinovic
Charlie Toohey wrote: When configuring Apache's httpd.conf (or Vhosts.conf) with multiple name-based virtual hosts, I can not find any documentation regarding the WebAppConnection statement. Should I have a separate WebAppConnection within each virtual host section, or should I just have one

Re: Warp and Virtual Hosts (quick question)

2002-04-06 Thread Joseph Molnar
fun figuring it out). Joseph Molnar http://www.codesta.com/ - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 5:04 AM Subject: Re: Warp and Virtual Hosts (quick

Warp and Virtual Hosts (quick question)

2002-04-05 Thread Charlie Toohey
When configuring Apache's httpd.conf (or Vhosts.conf) with multiple name-based virtual hosts, I can not find any documentation regarding the WebAppConnection statement. Should I have a separate WebAppConnection within each virtual host section, or should I just have one WebAppConnection in the

Re: Warp and Virtual Hosts (quick question)

2002-04-05 Thread rsequeira
Charlie Toohey [EMAIL PROTECTED] on 04/05/2002 12:08:47 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Warp and Virtual Hosts (quick question) When configuring Apache's httpd.conf (or Vhosts.conf) with multiple name-based virtual hosts, I can not find

Re: Warp and Virtual Hosts (quick question)

2002-04-05 Thread Joseph Molnar
Charlie Toohey [EMAIL PROTECTED] on 04/05/2002 12:08:47 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Warp and Virtual Hosts (quick question) When configuring Apache's httpd.conf (or Vhosts.conf) with multiple name-based virtual hosts, I

Quick Question...

2001-12-03 Thread Richard S. Huntrods
Greetings! I have a quick question. I was running just fine on Tomcat 3.2.3. I have built servlets, which sit in webapps/myapp/WEB-INF/classes/myapp/*.class In Tomcat 3.2.3, this structure was picked up when Tomcat started, and the servlets ran perfectly. Note - there was no need for web.xml

Re: Quick question?

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, James Turner wrote: Date: Thu, 4 Oct 2001 00:14:17 -0400 From: James Turner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Quick question? Do you happen to know what directory Turbine tries to load TurbineResources.properties from

Quick question?

2001-10-03 Thread James Turner
Do you happen to know what directory Turbine tries to load TurbineResources.properties from if you specify . as the path in new TurbineConfig? Thanks, James

mod_jk and load balancing (quick question)

2001-04-23 Thread Matt Goss
Hi all, Does mod_jk support load balancing??? Also does it work with tomcat 3.1 3.2 ??? Thanks :) Matt begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US version:2.1