Hi,
After I uploaded the war file, I found that this action not only
uppacked war into the myapp directory with the
context.xml in mata-inf directory, ALSO, it generated myapp.xml in
C:\jakarta-tomcat-5.0.29\conf\Catalina\localhost
Funny, this is what I said would happen earlier today on this
Hi,
No change. Moved it to the host and also moved it under Engine to see
if that changes anything. Still the same results.
Regards,
On Oct 26, 2004, at 12:54 PM, Shapira, Yoav wrote:
Hi,
I just rechecked my server.xml and I am still baffled as to why the
output is going to catalina.out ?
Q1: you have to look into Manager.java deploy method. But if you take a look
at the message on top of manager/html/list page, you will see
OK - Deployed application from context file
file:${catalina_home}/conf/${engine}/${host}/onlinestore.xml
Q2: yes, use JNDI lookup.
-Original
I personally have never tried environment variables. Do what Yoav
recommends. BTW, why do you need to use environemtn variables?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: October 26, 2004 3:56 PM
To: Tomcat Users List
Subject: RE: Interesting discoveries
The reason I asked that question is because I want to try that
enviroment value as said in JNDI how-to to see if it works. Could be the
global variable?
David
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 1:13 PM
To: 'Tomcat Users List'
Hi!
I'm developing a administration application for uploading pictures.
The pictures should be able to get rewied by users of the administration
and then be published to the public domain (Internet). One easy way to
achive this, would be to change the read-permissions of the file
depending of
After going through all the documentation, I have
gotten mod_jk2 to forward jsp requests to Tomcat.
However, I have a question about the layout...
Essentially, my site will be .html pages with some
occasional .jsp pages (it will likely change in the
future to all .jsp/servlets, but for now
Unless you have a reason, why not let Tomcat do it all?
Doug
- Original Message -
From: footh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 5:13 PM
Subject: Apache, Tomcat and mod_jk2 - question about layout
After going through all the documentation, I have
I am setting (what should be) a straigthforward and very common integration
of
Apache and Tomcat on Debian Linux, with Apache2 serving static content and
Tomcat4 serving jsp's and servlet's. The base directory of the apache
service
is /var/www. The CATALINA_BASE is /var/lib/tomcat4, which
Wolfgang Hackl wrote:
Hi Volkmar,
did you check the file system permissions of your $CATALINA_HOME
directory? As I can see from my installations, server.xml has read and
write permissions exclusively for its owner. My conclusion is that the
directory must belong to the user, will run the
I'm using tomcat 5.x. And after some research we decided to let tomcat
serve the static content as well, as there were many issues with the
IIS connector and Apache connector.
I can make tomcat server static content, but can not figure out how to
set expiration date on this static conents.
any
I've read the FAQ on the topic of whether to go
through Apache or just use Tomcat stand-alone and
frankly, it seemed inconclusive. Then I did a search
and it seemed the general consensus was to use Tomcat
stand-alone for development enviroments and Apache for
production.
Really, that's all I
In the apache side httpd.conf have something like
this
Location myapp/WEB-INF/
AlloOverride None
deny from all
/Location
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I am doing this in my code to launch Tomcat 5
host.install(, new URL(warFile));
Context context = host.findDeployedApp();
((StandardContext)context).setWorkDir(workDir +
/localhost);
((StandardContext)context).setDefaultWebXml(web.xml);
This results in
?xml version='1.0'
On Tue, Oct 26, 2004 at 11:09:40AM -0400, Shapira, Yoav wrote:
: Dollar sign in password is a no-no right now. It gets escaped. It's a
: PITA to fix, so I (and apparently others) haven't done it yet. If you
: really want a dollar sign in your password, submit a patch ;)
-or, for the time
Could you post the germane parts of your configuration files?
Thanks,
anw
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 5:38 PM
To: Tomcat Users List
Subject: Re: Apache, Tomcat and mod_jk2 - question about layout
I am using Apache2, jk2 and Tomcat5 but I do so because I want to
offload the SSL and compression onto a first tier leaving the second
just to generate the content. I also use the first tier for uri
rewriting using mod_rewrite.
If you don't need uri rewriting I would consider using Tomcat
Use a filter ... I believe there was a discussion regarding it last week.
PJ
Jaynika Barot wrote:
I'm using tomcat 5.x. And after some research we decided to let tomcat
serve the static content as well, as there were many issues with the
IIS connector and Apache connector.
I can make tomcat server
Well here is what works for me (both Tomcat instances are running locally)
[workerEnv]
logger=logger.apache2
sslEnable=0
timing=1
#forwardURICompat
forwardURICompatUnparsed
#forwardURIEscaped
noRecoveryIfRequestSent
noRecoveryIfHeaderSent
disabled=0
debug=5
version=1
# Comment out in production
On Tue, Oct 26, 2004 at 05:40:17PM -0400, Allen Williams wrote:
: I am setting (what should be) a straigthforward and very common integration
: of
: Apache and Tomcat on Debian Linux, with Apache2 serving static content and
: Tomcat4 serving jsp's and servlet's.
How does Apache work when handling
First time i try to help someone on this list... Hope i'm right :)
You seem to be missing some config in httpd.conf
IfModule mod_jk.c
JkMount /examples/* worker1
/IfModule
Allen Williams wrote:
I am setting (what should be) a straigthforward and very common integration
of
Apache and Tomcat
Hi,
I need some help on deploying applications on Tomcat 5.1. I installed
tomcat 5.1 on Windows 2003 Server in C:\Tomcat5.1\
I could create applications under CATALINA_HOME/webapps directory.
I need to create a custom deployment directory which is not under
CATALINA_HOME/webapps directory.
Then you'll need to place all your images in a special directory that doesn't
serve images directly. Then you'll need a servlet to determine if the image
may be served - then serve the image.
Or the *much* easier solution is to write a Servlet filter to determine if
the image may be shown.
I would change appBase in server.xml to pint to WebDir. Then, create a
context for each app with a URI relative to that base. Something like this:
Host name=localhost
debug=0
appBase=C:/WebDir
and
Context displayName=myApp1
path=
docBase=myApp1
...
Context
Hi,
to help cut through the apparent confusion, all you need to do is:
1) change ownership (recursively) of your tomcat install dir to ( if
your user account that will run tomcat is called for example tomrunner
) tomrunner.tomrunner.
2) change to that user and decompress and build jsvc (in the
Alain,
Thanks for the tip. I will try it within a day or so. What does JkMount
do, and is there any documentation anywhere on what elements are needed
where?
anw
-Original Message-
From: Alain Gaeremynck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 6:49 PM
To: Tomcat
QM,
Thanks for the help. I thought I kinda answered the Apache question by
saying it served up the Apache index page in the /var/www directory. Should
I try something else?
As for Tomcat, when I try http://localhost:8009, it doesn't work, but should
I be able to use the browser through the
Hello,
Yes, you can do that and there are several ways you can go about it.
This link goes over all of them.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html
On Tue, 2004-10-26 at 18:53, Suryaanil Lingamallu wrote:
Hi,
I need some help on deploying applications on
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The file is deleted.
By random, it means that I access the same exact URL repeatedly in a row and
sometimes it throws a 500 and sometimes it doesnt. The error even appears
for static GIF files as well. Attached is the web.xml. It shows in the
appache HTTPD access_log as a 500. It does not show in Apache HTTPD
Hi
How do I setup a server busy page? Is this Tomcat related or it has to
do with my app?
Thanks
Ben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Unfortunately I don't run apache with tomcat so can't reproduce your error.
That's why I asked so many questions in my last post ;)
Understand now what you mean by random.
Your attached web.xml appear to be basically the default web.xml from
CATALINA_HOME\conf\ - please can you also post your
As a recent patcher of this document, I wish that I had made all the
references to ResourceLink say 'of the Context or DefaultContext'
element to stop people from accidently trying to put them into the
Global...
-
To unsubscribe,
Webapps can only see GlobalNamingResource resources if there is a
ResourceLink in the Context or DefaultContext. By default, the global
context is only visible to global code. This is explained in the how-to,
though my wording in there turns out to be less clear than I had hoped.
-Original
Steve Kirk wrote:
At a guess, you are seeing the
UnavailableException manifested as a 404 error in your
browser, like this: HTTP Status 404 - Servlet hemlock is not
available, rather than an UnavailableException ?
Yes, exactly. Which isn't a problem -- except I can't find the *actual*
Benson, what do you mean by global code? Is this by any chance a servlet
that is stored outside a webapp, for example within the common/lib or
common/classes directory, made accessible by enabling the invoker servlet?
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Logging seems to be a problem which keeps coming up on the list, in
particular people seem to complain about missing log files. I'm no expert
on logging, so I'll just say this to put my previous post in more context:
I am using a logging setup based around the standard TC/commons logging.
Yoav - interesting points again. thanks :)
It says it implicitly by only discussing packed WAR files as the only
deployment method.
Sorry if I'm being slow here, but which sections of the servlet spec talk
about these deployment methods? I can't find anything on that in the spec -
have
Thanks for the tips. I believe the site will be using
SSL at some point so that may be a reason to use
Apache. But for the time being, I suppose I might as
well use Tomcat standalone knowing that I can just
flip a switch (well, a couple switches) to get
Apache back in there.
--- Peter Johnson
James McGovern [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am currently running Apache 2.0.48 with JK2 and Tomcat 5.0.28 on Redhat
Enterprise 2.1 and experience random 500 errors. I am getting them for
GIFs
files and other non Java related access. I am not finding anything
Hello!
Another question is: how do I get the JNDI enviroment variable value
from the java program? still using ctx.lookup or other way.
All JNDI references should be lookup using the naming context. If
you're using simple Environment variables, you don't need to use JNDI,
you retrieve them like
Hi
How do I manually authenticate a user given a String username and
String password? My applicaton needs to use this feature in a Struts
ActionForm, is it possible with JDBCRealm?
I am using Tomcat 5 BTW.
Thanks,
Ben
-
To
101 - 142 of 142 matches
Mail list logo