RE: Help needed: Setting Tomcat5.5 to run with security manager in Windows XP

2005-04-16 Thread Caldarale, Charles R
> From: Nikolay Karasev [mailto:[EMAIL PROTECTED] 
> Subject: Help needed: Setting Tomcat5.5 to run with security manager
in Windows XP
> 
> however there is no file named "catalina.bat" in this directory.

The .bat files are only in the zip download.  If you're running Tomcat
as a service, there is no .bat file to edit; instead you can use the
Tomcat5w.exe program to set additional parameters (under the Java tab),
or edit the registry.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Help needed: Setting Tomcat5.5 to run with security manager in Windows XP

2005-04-16 Thread Nikolay Karasev
I cannot figure out how to set Tomcat 5.5.7 to be running under security 
manager.
Standard Tomcat help gives option as: %CATALINA_HOME%\bin\catalina start 
-security
however there is no file named "catalina.bat" in this directory. In fact 
there
are only these 4 files: bootstrap.jar, commons-logging-api.jar, tomcat5.exe
and tomcat5w.exe. There is no single *.bat file anywhere under 
%CATALINA_HOME%.

Any help?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Java class is reloaded automatically?

2005-04-16 Thread Kent Tong
Hi,

I notice that in Tomcat 5.5 changes to my Java class take
effects without reloading the app. The content is not marked
as reloadable. There is no message in the console saying
the app is reloaded. It is like the classloader is loading
the new java class automatically. At the same time I can't 
find any doc describing this behavior. Any idea?

Thanks!


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



Re: deploy WAR to /

2005-04-16 Thread luke
Hi,
16Apr2005 @ 14:11 Drew Jorgenson thusly spake
> I am trying to deploy a war file to tomcat 5.5.4 and naming the war file
> ROOT.war and for some reason it is not getting deployed to / of the
> virtual host that it's being deployed on.
> Any suggestions?

It'd certainly help if you'd post exactly what you've done and how.
The usual way to undertake this is to use ant to build your war file and copy it
to the webapps directory where tomcat deploys it.

Take a look at the ant manual:
http://www.google.com.au/search?hl=en&q=ant+manual&btnG=Google+Search&meta=

hth,

kind regards,
Luke

-- 
._
:|  .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.

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



deploy WAR to /

2005-04-16 Thread Drew Jorgenson
Hey list,

I am trying to deploy a war file to tomcat 5.5.4 and naming the war file
ROOT.war and for some reason it is not getting deployed to / of the
virtual host that it's being deployed on.
Any suggestions?

Drew.


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



Can't get Tomcat to use account other than System

2005-04-16 Thread Mark Leone
I think this is a pretty basic question, but I couldn't find an answer 
in the archives. I've been using Tomcat for a while, with Tomcat logging 
on as the local System account. Now I'd like Tomcat to have some 
additional access rights, so I'm trying to get it to log on as a 
privileged user. I have Tomcat 5.5.8 installed as a Service on Windows 
XP. I launch the Service properties window, go to the "Log On" tab, 
check the "This Account" radio button, and then enter the account 
credentials.

The credentials seem to be accepted, but if I close the Service 
properties window and re-launch it, the "Log On" tab has reverted to its 
default configuration, i.e. Log on as "Local System Account" is enabled 
instead of the account I specified. And Tomcat doesn't have the access 
rights I'd like it to have, even after restart.

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


tomcat silent installation

2005-04-16 Thread vishal nalwa
Hi All,

Can anybody tell me how to install tomcat in silent
mode.As i know we can install JDK in silent mode with
the help of a response file.
Plz help me.
its urgent.


Regards
Vishal Nalwa


Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

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



Re: How to change a running Tomcat with root user to other user.

2005-04-16 Thread Anto Paul
On 4/16/05, egan0019 <[EMAIL PROTECTED]> wrote:
> As long as you are using a port above or equal to 1024, I believe you
> should be able to simply start up Tomcat using a non-root user.
> 
> On 15 Apr 2005, Parsons Technical Services wrote:
> > There are several options:
> >
> > 1. Keep running as root. (Bad as noted)
> > 2. Listen on port above 1024.
> > 3. Apache front end.
> > 4. Use jsvc to start Tomcat as root. Bind to ports and change user.
> >
> > I think 4 is what you are looking for.
> >
> > http://jakarta.apache.org/commons/daemon/jsvc.html
> >
> > Doug
> >
> > - Original Message -
> > From: "Lorenzo Jiménez" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" 
> > Sent: Friday, April 15, 2005 10:37 AM
> > Subject: How to change a running Tomcat with root user to other user.
> >
> >
> > Hi,
> >
> > Today we saw that our Tomcat 5.0.28 had been installed and it is running
> > with the root user.
> >
> > Because is a security hazard,
> >
> > how can I change it to other less dangerous user?, and
> > what privileges needs to have in order to work?
> >
> > Our system is a RedHat 9.0, 2.4.21-20.ELsmp
> >
> > Thanks,
> > Regards,
> >
> > Lorenzo
> >
> >
> > -
> >
> > Si usted no es el destinatario indicado en este mensaje o responsable
> como
> > persona
> > de la entrega del mensaje, no debe copiar o reenviar este mensaje, por
> favor
> > notifique
> > al correo [EMAIL PROTECTED] Para más referencia sobre términos
> > importantes
> > relacionados a este correo visite
> > http://www.nacion.com/disclaimer/index_es2.htm
> >
> > If you are not the addressee indicated in this message (or responsible
> for
> > delivery of the
> > message to such person), you may not copy or send this message to anyone,
> 
> > please notify
> > to [EMAIL PROTECTED] Click here for important additional terms
> relating
> > to this e-mail.
> > 
> >
> > -
> >
> >
> >
> > -
> > 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]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
You can consider using the Linux netfileter package to  map port 80 to
another port. Then you  can run Tomcat at port 8080 and set up
netfilter to redirect all request on port 80 to 8080.

-- 
Anto Paul

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