-5.5-doc/appdev/deployment.html
Have fun reading
Vaneet
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 6:14 PM
To: Tomcat Users List
Subject: Re: How to read JNDI resources?
Thank you, I appreciate your reply. I didn't have a context entry so
Have found a couple of solutions.
Set the docbase to point to the WAR.
Context path=/xxx docBase=xxx.war debug=0 reloadable=true
crossContext=true /
OR manually unpack the WAR after upload.
And the JNDI part works fine now :)
Andrew Watters wrote:
Hi Vaneet
Thanks for the reference. I'm
Using tomcat 4.3.1 I have included the following in server.xml
GlobalNamingResources
Environment name=config_file type=java.lang.String value=test/
/GlobalNamingResources
In a servlet loaded on startup I try to read in the property
InitialContext ic = new InitialContext();
Context ctx =
in the docs or by googling...
Mark Thomas wrote:
You need to include a ResourceLink element in your context.
Mark
Andrew Watters wrote:
Using tomcat 4.3.1 I have included the following in server.xml
GlobalNamingResources
Environment name=config_file type=java.lang.String
value=test
-
From: Andrew Watters [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 12, 2004 5:00 PM
Subject: Re: Context element problems in conf/server.xml
Hi Andoni
Thanks again for your reply.
I hope I'm understanding what you say correctly, apologies if not. If I
to know exactly what's being called.
Andoni.
- Original Message -
From: Andrew Watters [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 11, 2004 4:19 PM
Subject: Context element problems in conf/server.xml
Hi
I posted a problem a couple of days ago
and set
the path=.
Regards,
Andoni.
- Original Message -
From: Andrew Watters [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 12, 2004 11:30 AM
Subject: Re: Context element problems in conf/server.xml
Thanks for your reply. Please find below the tags
Hi
I posted a problem a couple of days ago which I've made some progress with.
Originally my webapp ROOT.war would not unpack. I've figured out the
problem was with the Context element as shown below
Context path= docBase=ROOT debug=9
Environment name=servername type=java.lang.String
Thanks for your reply Tim.
Tim Penhey wrote:
Andrew Watters wrote:
In this case the webapps directory is entirely empty, I delete the
ROOT folder as part of the publish procedure and there are no other
apps configured except for the manager and admin ones.
What about the XML configuration file
I have a WAR which tomcat recognises and unpacks correctly. When I
rename the WAR tomcat no longer unpacks it. Is this expected behaviour?
I've had a look in the 2.4 servlet spec and haven't been able to find
anything on this topic. Is there a work around that will allow me to do
this?
Thank
Well, that explains something :) So what is tomcat seeing in the WAR
that it refuses to unpack it after renaming?
Shapira, Yoav wrote:
Hi,
I have a WAR which tomcat recognises and unpacks correctly. When I
rename the WAR tomcat no longer unpacks it. Is this expected behaviour?
I've had a look
In this case the webapps directory is entirely empty, I delete the ROOT
folder as part of the publish procedure and there are no other apps
configured except for the manager and admin ones.
Shapira, Yoav wrote:
Hi,
Well, that explains something :) So what is tomcat seeing in the WAR
that it
did you rename it to?
On Mon, 2004-11-08 at 09:46, Andrew Watters wrote:
I have a WAR which tomcat recognises and unpacks correctly. When I
rename the WAR tomcat no longer unpacks it. Is this expected behaviour?
I've had a look in the 2.4 servlet spec and haven't been able to find
anything
I renamed it to ROOT.WAR. The webapp used to be named like this and
previously worked fine. It's now called ROOT-1.0.WAR. The new name is a
result of moving to maven and it appending the version number.
Ben Souther wrote:
What did you rename it to?
On Mon, 2004-11-08 at 09:46, Andrew Watters
Thanks. Sorry that's just my poor typing. It actually is ROOT.war. If I
name it back again it unpacks fine! Aaagh, my head hurts now.
Ben Souther wrote:
try ROOT.war
On Mon, 2004-11-08 at 10:27, Andrew Watters wrote:
Apologies, I replied before but it never appeared, trying again...
I renamed
Problem with tomcat 5 on Linux:
Put WAR in webapps directory.
Restart tomcat.
Tomcat restarts ok but doesn't unpack WAR.
No errors in catlania.out.
Same WAR works ok on Windows machine. Although I'm not sure it is a
Windows/Linux issue.
Unpack WAR on Linux and re-jar. Then unpacks fine when
Hi Tobias
I've previously had the same problem. The cause, in my case, was that I
was declaring servlet spec 2.3 in web.xml. I changed this to 2.4 and it
resolved the problem. The declaration I have is
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
I have full access to the tomcat directory but I can't find the version
number in any of the files. It's probably somewhere obvious but I just
can't see it.
Please help...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thanks for your help, unfortunately in this case the manager app isn't
there and the default 404 page which I know shows the version number
isn't returned because the running application interecepts and shows its
own page.
Mike Fowler wrote:
Andrew Watters wrote:
I have full access
the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.
:: -Original Message-
:: From: Andrew Watters [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, June 24, 2004 1:42 PM
:: To: [EMAIL
what you're looking for.
/EC
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: How do I find out which version of tomcat is installed?
I have full access to the tomcat directory but I can't find the version
I'm using the manager app to deploy web apps. I'm interfacing to it
using deployer ant tasks. My support team have raised concerns that this
is inherently insecure. They are concerned that a third party can use
the manager app to take control of the server.
Is this a valid concern?
Is the
their medication :)
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: 09 March 2004 11:32
To: Tomcat Users List
Subject: Manager app security concerns
I'm using the manager app to deploy web apps. I'm interfacing to it
using deployer ant tasks. My support team have raised
listing for server/webapps/manager. Admin still works correctly.
Any idea?
Justin
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 7:03 AM
To: Tomcat Users List
Subject: Deploying to ROOT problem
I'm using the deployer via an ant task
I'm using the deployer via an ant task to deploy my application. I am
using deployer 5.0.18 on windows and deploying to tomcat 5.0.18 on both
windows and linux. The following works fine
deploy url=${server.url}/manager
username=${deployer.username}
25 matches
Mail list logo