Re: How to read JNDI resources?

2005-04-07 Thread Andrew Watters
-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

Re: How to read JNDI resources?

2005-04-07 Thread Andrew Watters
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

How to read JNDI resources?

2005-04-06 Thread Andrew Watters
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 =

Re: How to read JNDI resources?

2005-04-06 Thread Andrew Watters
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

Re: Context element problems in conf/server.xml

2004-11-15 Thread Andrew Watters
- 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

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
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

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
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

Context element problems in conf/server.xml

2004-11-11 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-09 Thread Andrew Watters
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

Renaming WAR problem

2004-11-08 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-08 Thread Andrew Watters
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

Re: Renaming WAR problem

2004-11-08 Thread 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

Tomcat unable to unpack WAR (sometimes)

2004-08-19 Thread Andrew Watters
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

Re: can't use EL c:out value=${obj.names}....

2004-08-16 Thread Andrew Watters
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;

How do I find out which version of tomcat is installed?

2004-06-24 Thread Andrew Watters
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

Re: How do I find out which version of tomcat is installed?

2004-06-24 Thread Andrew Watters
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

Re: How do I find out which version of tomcat is installed?

2004-06-24 Thread Andrew Watters
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

Re: How do I find out which version of tomcat is installed?

2004-06-24 Thread Andrew Watters
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

Manager app security concerns

2004-03-09 Thread Andrew Watters
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

Re: Manager app security concerns

2004-03-09 Thread Andrew Watters
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

Re: Deploying to ROOT problem

2004-02-27 Thread Andrew Watters
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

Deploying to ROOT problem

2004-02-26 Thread Andrew Watters
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}