Sunday, 4 January 2009

tomcat re-installation

I now see log entries. Somehow I seem to have wound up with two mixed-up installations on fuji, and couldn't see any log traffic in response to my call log(string) in MusicServiceImpl.xmmsCmd.

I brutally re-installed tomcat and it's now working.

Use Eclipse, projectCreator and applicationCreator. Forget about Cypal - Ockham would NOT be amused.

Compile using Music-compile (generated by applicationCreator).

Deployment is by running script deploy.sh which implements

Deploying RPC

:

rsync -avz /home/slm/proging/eclipse/JEE/music/www/net.dnsdojo.slm.music.Music/ /var/lib/tomcat6/webapps/music/

if [ ! -d /var/lib/tomcat6/webapps/music/WEB-INF/ ]
then
echo "/var/lib/tomcat6/webapps/music/WEB-INF/ does not exist (creating)"
mkdir /var/lib/tomcat6/webapps/music/WEB-INF/
else
echo "/var/lib/tomcat6/webapps/music/WEB-INF/ exists"
fi

if [ ! -d /var/lib/tomcat6/webapps/music/WEB-INF/classes/ ]
then
echo "/var/lib/tomcat6/webapps/music/WEB-INF/classes/ does not exist (creating)"
mkdir /var/lib/tomcat6/webapps/music/WEB-INF/classes/
else
echo "/var/lib/tomcat6/webapps/music/WEB-INF/classes/ exists"
fi
if [ ! -d /var/lib/tomcat6/webapps/music/WEB-INF/lib/ ]
then
echo "/var/lib/tomcat6/webapps/music/WEB-INF/lib/ does not exist (creating)"
mkdir /var/lib/tomcat6/webapps/music/WEB-INF/lib/
else
echo "/var/lib/tomcat6/webapps/music/WEB-INF/lib/ exists"
fi

rsync -avz /home/slm/proging/eclipse/JEE/music/bin/ /var/lib/tomcat6/webapps/music/WEB-INF/classes/
cp /home/slm/proging/eclipse/JEE/music/web.xml /var/lib/tomcat6/webapps/music/WEB-INF/
cp /opt/gwt-linux/gwt-servlet.jar /var/lib/tomcat6/webapps/music/WEB-INF/lib/

No comments:

Post a Comment