problem with security manager and manager webapp

2004-03-16 Thread Jason Keltz
enabled? Thanks, Jason Keltz [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with security manager and manager webapp

2004-03-16 Thread Jason Keltz
in CATALINA_BASE, and change the context descriptor for the manager app in the CATALINA_BASE directory to refer to the full path to the manager in CATALINA_HOME. Now, the existing security policy works. Jason. On Tue, 16 Mar 2004, Jeanfrancois Arcand wrote: Jason Keltz wrote: Hi

rotatable property on log file

2004-03-12 Thread Jason Keltz
Hi. I have set the rotatable property on the Tomcat AccessLog to false because I have my own mechanism for log rotation, and would prefer not to use tomcats. This works fine. However, I see that there is no rotatable property for FileLogger. Why would this be? Thanks, Jason.

Re: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
I saw some discussion back on the 2nd of March from John Peace re: restricting IPs not working with Tomcat 5. I've run into the same problem. I've tried restricting by IP, and by hostname, and neither work. I presently have this: Context path=/jas/example1 docBase=/cs/home/jas/webapps/example1

Re: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
Actually, here's more information on the Restricting IPs not working .. If I use: Valve className=org.apache.catalina.valves.RemoteAddrValve allow=A.B.C.D,A.B.C.E/ I can access the app from the host at IP A.B.C.D and IP A.B.C.E, and cannot access the app from anywhere else, so this works.

RE: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
/RequestFilterValve.java?rev=1.3view=auto -Original Message- From: Jason Keltz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 4:20 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Restrict to specific IP's Actually, here's more information on the Restricting IPs

RE: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
? If this is disabled the hostname ist the IP. -Original Message- From: Jason Keltz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 4:43 PM To: Tomcat Users List Subject: RE: Restrict to specific IP's However, something interesting to note -- RemoteHostValve works if I refer

problem deploying .WAR file

2004-03-09 Thread Jason Keltz
Hi. I'm having problems with auto-reloading of WAR files by the tomcat server. I created a small hello world demo application, and before I convert it into .WAR format, I can change it in any way, and the server reloads it. Once I convert it to .war format, the server loads it once, and doesn't

RE: problem deploying .WAR file

2004-03-09 Thread Jason Keltz
Hi .. Hi, I'm having problems with auto-reloading of WAR files by the tomcat server. I created a small hello world demo application, and before I convert it into .WAR format, I can change it in any way, and the server reloads it. Once I convert it to .war format, the server loads it once,

RE: problem deploying .WAR file

2004-03-09 Thread Jason Keltz
On Tue, 9 Mar 2004, Shapira, Yoav wrote: Packed means the WAR stays as one file. The default behavior of tomcat is to unpack, or expand, the WAR file into a directory tree. If this is done then you cannot redeploy the webapp simply by copying a new packed WAR while the server is running.

RE: MemoryRealm - multiple per user realms possible?

2004-03-05 Thread Jason Keltz
On Thu, 4 Mar 2004, Shapira, Yoav wrote: Is it possible for users to define a MemoryRealm (or other associated user authentication realm) in their own web.xml file with an associated users.xml file? Or must realms be configured in the server.xml file? Not in web.xml (because Realms are

permission on tomcat-users.xml file

2004-03-04 Thread Jason Keltz
Hi. If I set the permissions on the tomcat-users.xml file so that only the tomcat user can read the file, I notice that after starting the server, the permissions change from mode 600 to 644! Why would this happen, and how can I prevent this from happening? Thanks, Jason Keltz [EMAIL PROTECTED

RE: permission on tomcat-users.xml file

2004-03-04 Thread Jason Keltz
: Jason Keltz [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 11:06 AM To: Tomcat Users List Subject: permission on tomcat-users.xml file Hi. If I set the permissions on the tomcat-users.xml file so that only the tomcat user can read the file, I notice that after starting the server

permission on tomcat-users.xml file SOLVED

2004-03-04 Thread Jason Keltz
to be able to write this file, because the admin webapp allows for modifications which must be persisted to this file. If you're not using a Realm based on this file, don't declare one in server.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jason Keltz [mailto

MemoryRealm - multiple per user realms possible?

2004-03-04 Thread Jason Keltz
Hi. Is it possible for users to define a MemoryRealm (or other associated user authentication realm) in their own web.xml file with an associated users.xml file? Or must realms be configured in the server.xml file? Thanks, Jason.

application unavailable

2004-03-01 Thread Jason Keltz
Hi. If I try to start up a web application and there's an error in web.xml, the tomcat server marks the application unavailable. Even after fixing the problem, I can't seem to make the application available until restarting the tomcat server. I'm sure there must be *some* file I can erase, or

RE: application unavailable

2004-03-01 Thread Jason Keltz
On Mon, 1 Mar 2004, Shapira, Yoav wrote: Don't be so sure ;) You can use the manager webapp (either graphically or via ant), you can write some custom JMX code in another webapps, or you can restart the server, but there are no other options. ... the problem is that I'm trying to run one

RE: application unavailable

2004-03-01 Thread Jason Keltz
Hi Justin, That's exactly the kind of thing I want to do. However, I just tried to use the manager app to restart my failed Hello example. When the context was up, the reload worked fine. However, when the context died because of an intentional error in web.xml, I get an error from manager:

RE: application unavailable

2004-03-01 Thread Jason Keltz
Thanks Justin/Wendy, Yes. Using start instead of reload works just fine. Whoops. I'm new to this. Yoav -- In terms of running one tomcat server per user -- that's difficult. Imagine a class of 100 students (or more) all working on their programs at the same time. While a System.exit could

servlet mapping problem

2004-02-25 Thread Jason Keltz
Hi. I am very troubled over a servlet mapping problem, and I am hoping that someone can make a suggestion. I have added a context in conf/Catalina/localhost/test.xml as follows: Context path=/mywebapps docBase=/cs/home/jas/webapps reloadable=true autoDeploy=true/Context In

RE: servlet mapping problem

2004-02-25 Thread Jason Keltz
Thanks, Yoav. Using localhost:8080/test works if the docBase in the context is defined to include test. However, as you suggested, I'm trying to create a directory with multiple webapps, and I want to have multiple directories like this. For example: /cs/home/jas/webapps1/app1

mapping webapps to user home directories

2004-02-24 Thread Jason Keltz
Hi. I'm new to tomcat and have a few questions that I'm hoping someone might be able to help me with. If I map the webapps directory in users home directories as contexts like this in server.xml: Listener className=org.apache.catalina.startup.UserConfig directoryName=webapps