Useful scripts for managing WDK-based websites. These currently include hard-coded paths so strict requirements for directory structure and naming apply.
This is a temporary repository. In the future these scripts will be bundled into an RPM.
Place a tail on standard log files used by a WDK-based website that has been installed using EuPathDB file naming and location conventions.
Run cattail without options for help.
Requirements
- Apache logs in
/var/log/httpd/ - Tomcat logs in
/usr/local/tomcat_instances/<instance_name>/logs/<webapp_name> - Jason Fesler's
xtailin/usr/local/bin
Perl script by Jason Fesler
Rebuilds an existing WDK-based website owned by the invoking user.
Run rebuilder without options for help.
Requirements
- java in one of the locations listed in the
jpathsearch path hard-coded in the script. $ORACLE_HOMEin one of the locations listed in theoracle_pathshard-coded in the script.- sudoers permissions to grant users permissions to manage
httpd. See below. wsf.propandwebapp.propin the website'setcdirectory
Rebuild an existing WDK-based integration website owned by joeuser.
Run ibuilder without options for help.
Requirements
joeuseraccount. This does not need to be a login account (can use/bin/falsefor the shell) unless you plan to also use it for Jenkins jobs.- The site files must be owned by
joeuser ibuilderis a wrapper onrebuilderso all the rebuilder requirements also apply.- sudoers permissions to grant users permissions to run
ibuilderasjoeuser. See below.
User_Alias APIDB_DEV_GROUP = joeuser, %www, %cbil
Cmnd_Alias HTTPD_TOMCAT = /usr/local/bin/instance_manager, /etc/init.d/httpd
APIDB_DEV_GROUP ALL = (joeuser) NOPASSWD:/usr/local/bin/ibuilder, NOPASSWD:HTTPD_TOMCAT