[Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Chris Gray
I've been able to find /etc/init.d scripts for tomcat 7, but they run 
tomcat as root and dspace needs tomcat to run as the dspace user.

Is the necessary script documented somewhere?  If it is, I'm not finding it.

Thanks,
Chris

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Hilton Gibson
Hi Chris

With an Ubuntu server, check: /etc/default/tomcat7

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 February 2015 at 17:46, Chris Gray cpg...@uwaterloo.ca wrote:

 I've been able to find /etc/init.d scripts for tomcat 7, but they run
 tomcat as root and dspace needs tomcat to run as the dspace user.

 Is the necessary script documented somewhere?  If it is, I'm not finding
 it.

 Thanks,
 Chris


 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] tomcat 7 stop/start script for dspace

2015-02-25 Thread Chris Gray
Since there was a problem with the mail list server at sourceforge I got 
impatient and went to the IRC channel.


I'll report here how I got up and running on Ubuntu 14.04 LTS thanks to 
tdonohue with help from mhwood.


I had done a tomcat7 install from tarball, but I'm now using the Ubuntu 
package for tomcat7.  The steps are:


1. sudo apt-get install tomcat7
2. sudo service tomcat7 stop
3. Edit /etc/default/tomcat7 and set TOMCAT7_USER=dspace
4. sudo chown -RL dspace /var/lib/tomcat7
5. sudo service tomcat7 start

Chris


On 15-02-25 03:15 PM, Hilton Gibson wrote:

Hi Chris

With an Ubuntu server, check: /etc/default/tomcat7

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 February 2015 at 17:46, Chris Gray cpg...@uwaterloo.ca 
mailto:cpg...@uwaterloo.ca wrote:


I've been able to find /etc/init.d scripts for tomcat 7, but they run
tomcat as root and dspace needs tomcat to run as the dspace user.

Is the necessary script documented somewhere?  If it is, I'm not
finding it.

Thanks,
Chris


--
Dive into the World of Parallel Programming The Go Parallel
Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought
leadership blogs to
news, videos, case studies, tutorials and more. Take a look and
join the
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette