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
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
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
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
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
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
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
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
-
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
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
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
(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
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
]
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
-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
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
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();
...
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
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
, 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
: 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
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();
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
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
/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
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
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
:
Subject: Re[4]: Quick Question
08/13/02
12:00 PM
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
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
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
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
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
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
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
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
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
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
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
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
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
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
42 matches
Mail list logo