Thursday Jun 07, 2007

Portal Server start script for Derby

Well if you install portal and bounce your server you may find that the communties no longer work. Communities use the Open Source Derby Database. Needless to say no database no communities. Below you will find I script I use on my demo system to start Derby. Modify as needed. Make sure the derby start/stop line is not broken into two lines. Should be one line.




-bash-3.00# more S74derby

#!/sbin/sh

#

#

# Derby start/stop script

#



case "$1" in

'start')

/usr/sfw/bin/ant -DPS_CONFIG=/etc/opt/SUNWportal/PSConfig.properties -buildfile
/opt/SUNWportal/lib/derby.xml start-instance

;;



'stop')

/usr/sfw/bin/ant -DPS_CONFIG=/etc/opt/SUNWportal/PSConfig.properties -buildfile
/opt/SUNWportal/lib/derby.xml stop-instance

;;



\*)

echo "Usage: $0 { start | stop }"

exit 1

;;

esac

exit 0

-bash-3.00#

About

leroyk

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today