can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Mohd. Jeffry
Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
standart operating procedure to develop and deploy at linux
environtment? For the time being this is what I do and it's kinda
troublesome.

1. compile my app at /home/devel/myapps
2. su as root and move it to /usr/local/tomcat/webapps/myapps
3. and chown myapps for tomcat:tomcat.
4. and restart tomcat

If possible I don't want to use any IDE tools for time being because I
want to focus on servlet/jsp and not on IDE.

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



Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Michael Greer
Why not chown the whole tomcat directory to yourself (or your group)? 
Then you can just pop in your apps. Tomcat doesn't need to (and should 
not) run as root. No need to restart either.
-Michael Greer

On Feb 22, 2005, at 8:47 AM, Mohd. Jeffry wrote:
Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
standart operating procedure to develop and deploy at linux
environtment? For the time being this is what I do and it's kinda
troublesome.
1. compile my app at /home/devel/myapps
2. su as root and move it to /usr/local/tomcat/webapps/myapps
3. and chown myapps for tomcat:tomcat.
4. and restart tomcat
If possible I don't want to use any IDE tools for time being because I
want to focus on servlet/jsp and not on IDE.
-
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: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Pete Stevens
On Tue, 22 Feb 2005, Mohd. Jeffry wrote:

 Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
 standart operating procedure to develop and deploy at linux
 environtment? For the time being this is what I do and it's kinda
 troublesome.

 1. compile my app at /home/devel/myapps
 2. su as root and move it to /usr/local/tomcat/webapps/myapps
 3. and chown myapps for tomcat:tomcat.
 4. and restart tomcat

 If possible I don't want to use any IDE tools for time being because I
 want to focus on servlet/jsp and not on IDE.

I'd add yourself to the tomcat group,
chmod -R g+w /usr/local/tomcat/webapps

Then you can just overwrite the files and tomcat will pick up the changes.

Yours,

Pete Stevens

--
Pete Stevens
[EMAIL PROTECTED]
http://www.ex-parrot.com/~pete/

   Should anyone contact you with an after sales enquiry, please do not attempt
to help them with the enquiry.
  -- Corporate advice on improving customer interaction

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



Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread QM
On Tue, Feb 22, 2005 at 09:47:51PM +0800, Mohd. Jeffry wrote:
: Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the
: standart operating procedure to develop and deploy at linux
: environtment? For the time being this is what I do and it's kinda
: troublesome.
: 
: 1. compile my app at /home/devel/myapps
: 2. su as root and move it to /usr/local/tomcat/webapps/myapps
: 3. and chown myapps for tomcat:tomcat.
: 4. and restart tomcat

You could look into setting up a private Tomcat instance for yourself.
This uses a single Tomcat install on the machine, but leaves the
relevant files writable by you.  Look into $CATALINA_HOME vs
$CATALINA_BASE, it's in the docs.

: If possible I don't want to use any IDE tools for time being because I
: want to focus on servlet/jsp and not on IDE.

Good call.  I've seen container/IDE integration cause all sorts of
problems.  Until you're familiar with Tomcat and know what to look for,
this is the way to go.


-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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