Is it possible to configure the security manager such that my servlet can write into the tomcat-home/logs directory?

2004-09-21 Thread Chang, Betty
Hi -- With tomcat 5.0.16,  I could write into that directory (Windows),
But with tomcat 5.0.27, I can no longer do so.  I've tried all sorts of stuff in 
catalina.policy, but I still cannot configure it such that I can write my own log file 
into the logs directory.


Thanks

Betty



RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?

2004-08-20 Thread Chang, Betty
Hi --  Thank you Jake!   The http://jakarta.apache.org/commons/daemon/procrun.html  
web page did the trick.  It describes the registry parameters and changing the 'Java' 
to the full path of jre.dll will change the JVM.  (I had come close -- I was changing 
it to the path of java.exe, which did not work).

I still haven't figured out what the default JVM is, but at least I can change it if 
I need to.


Betty

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 9:19 PM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it 
using?


How about looking at the service.bat and seeing what it does.  Set 
JAVA_HOME system variable.  Make sure to re-install the service any time 
you change the value of JAVA_HOME (and you will have to open a new command 
prompt to get the new value or, in some cases, reboot).

service.bat remove
service.bat install

Also see:
http://jakarta.apache.org/commons/daemon/procrun.html

The doc is a bit dated, but the information for launching the GUI editor 
for the service is still valid.

Jake

At 03:46 PM 8/19/2004 -0700, you wrote:
I've searched through the registry using regedit far and wide, and I 
have
seen some of the tomcat parameters, both under SOFTWARE and under 
SERVICES, but none of them refer to a path to the JDK, and there is no 
entry that says JVM...

There is a 'Java' key with Data of 'java'.  Could be system PATH be 
used?

My issues were not due to different JDK's, so I will table this for 
now,
but I'm still curious as to how the path is determined.

Betty


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 11:55 AM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
path is it using?



Hi,
I guess my original STFA wasn't explicit enough.  Figures.  Anyways, 
try
http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2.

Yoav Shapira
Millennium Research Informatics


 -Original Message-
 From: Chang, Betty [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 2:49 PM
 To: Tomcat Users List
 Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from 
 what
path
 is it using?
 
 Hi -- That archive discusses JVM options,  but what I want to know 
 is,
how
 do I specify the
 Directory PATH of which java.exe is being used?
 
 Thanks
 
 Betty
 
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 11:36 AM
 To: Tomcat Users List
 Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from 
 what
path
 is it using?
 
 
 
 Hi,
 The archives have pointers to registry locations of Tomcat JVM 
 options.
For
 example,
http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 -Original Message-
 From: Chang, Betty [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 19, 2004 2:31 PM
 To: Tomcat Users List
 Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
path
 is
 it using?
 
 Hi --
 
 This is driving me nuts.  After I have installed Tomcat 5.0 as a
 Service,
 how do I find out what JDK it is using?
 And, how can I change it?
 
 I have NO JAVA_HOME set on the machine.  The install-docs say that 
 it
 uses
 the registry or JAVA_HOME.  I don't see any
 Path to anything in the registry, and I cannot find it in the config
 files.
 
 There are several JDK's on my machine, and I am having some issues.
 
 Thanks
 
 Betty
 
 
 
 
 
 
 
 This e-mail, including any attachments, is a confidential business 
 communication, and may contain information that is confidential, 
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied, 
 printed, disclosed or used by anyone else.  If you are not the(an)
intended
 recipient, please immediately delete this e-mail from your computer
system
 and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands

Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?

2004-08-19 Thread Chang, Betty
Hi --

This is driving me nuts.  After I have installed Tomcat 5.0 as a Service,  how do I 
find out what JDK it is using?
And, how can I change it?

I have NO JAVA_HOME set on the machine.  The install-docs say that it uses the 
registry or JAVA_HOME.  I don't see any
Path to anything in the registry, and I cannot find it in the config files.

There are several JDK's on my machine, and I am having some issues.

Thanks

Betty






RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?

2004-08-19 Thread Chang, Betty
Hi -- That archive discusses JVM options,  but what I want to know is, how do I 
specify the
Directory PATH of which java.exe is being used?

Thanks

Betty


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 11:36 AM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it 
using?



Hi,
The archives have pointers to registry locations of Tomcat JVM options. For example, 
http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Chang, Betty [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:31 PM
To: Tomcat Users List
Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path
is
it using?

Hi --

This is driving me nuts.  After I have installed Tomcat 5.0 as a
Service,
how do I find out what JDK it is using?
And, how can I change it?

I have NO JAVA_HOME set on the machine.  The install-docs say that it
uses
the registry or JAVA_HOME.  I don't see any
Path to anything in the registry, and I cannot find it in the config
files.

There are several JDK's on my machine, and I am having some issues.

Thanks

Betty







This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?

2004-08-19 Thread Chang, Betty
I've searched through the registry using regedit far and wide, and I have seen some of 
the tomcat parameters, both under SOFTWARE and under SERVICES, but none of them refer 
to a path to the JDK, and there is no entry that says JVM...

There is a 'Java' key with Data of 'java'.  Could be system PATH be used?

My issues were not due to different JDK's, so I will table this for now, but I'm still 
curious as to how the path is determined.

Betty


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 19, 2004 11:55 AM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it 
using?



Hi,
I guess my original STFA wasn't explicit enough.  Figures.  Anyways, try 
http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Chang, Betty [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:49 PM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
path
is it using?

Hi -- That archive discusses JVM options,  but what I want to know is,
how
do I specify the
Directory PATH of which java.exe is being used?

Thanks

Betty


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 11:36 AM
To: Tomcat Users List
Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
path
is it using?



Hi,
The archives have pointers to registry locations of Tomcat JVM options.
For
example,
http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Chang, Betty [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:31 PM
To: Tomcat Users List
Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
path
is
it using?

Hi --

This is driving me nuts.  After I have installed Tomcat 5.0 as a
Service,
how do I find out what JDK it is using?
And, how can I change it?

I have NO JAVA_HOME set on the machine.  The install-docs say that it
uses
the registry or JAVA_HOME.  I don't see any
Path to anything in the registry, and I cannot find it in the config
files.

There are several JDK's on my machine, and I am having some issues.

Thanks

Betty







This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an)
intended
recipient, please immediately delete this e-mail from your computer
system
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Really dumb question -- how do I set up Tomcat 5 to run as a service on NT?

2004-01-02 Thread Chang, Betty
Hi -

 

I've looked through the docs,  and it says the following:

Tomcat will be installed as a Windows NT/2k/XP service no matter what
setting is selected.

 

However,  I  never ran an installation program - I just unzipped a file.
What do I run to install Tomcat 5 as a service?  I don't see an install
program.

 

Please forgive if this was a really dumb question.  I did try to scour
through the docs --  but a lot of the stuff is on the older versions of
Tomcat.

 

Thanks

 

Betty

 

 



RE: Really dumb question -- how do I set up Tomcat 5 to run as a service on NT?

2004-01-02 Thread Chang, Betty
Hi -- Thanks for the reply.  So, now I downloaded Tomcat 4, but I don't
see an install program.  I downloaded the .zip file.  Was I supposed to
download an .exe file instead?

Thanks

Betty


-Original Message-
From: Merrill Cornish [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 02, 2004 12:26 PM
To: Tomcat Users List
Subject: Re: Really dumb question -- how do I set up Tomcat 5 to run as
a service on NT?

Betty,

As nearly as I can tell, Tomcat 4 was distributed for Windows as a .exe 
file which included an installer.  That installer which could do the 
service install.  However, Tomcat 5 is distributed (so far, at least) as

a .zip file, which has no installer.  I can run  Tomcat 5 standalone, as

I did Tomcat 4, but I haven't yet been able to run as a service yet. 
When I try to command line approach, it doesn't work--I think it's 
because the command line is too long.

Merrill

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]