You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Vaneet Sharma <va...@iwg.info> on 2005/10/07 15:52:20 UTC
Syntax Error in Check.sh
Info: I am trying to solve the problem of Tomcat pausing cos of Roller
After reading the mailing list, I found out that I might check for
database inconsistencies by running the Roller Consistency Check
Utility.
Code for check.sh
#!/bin/sh
if [ "$JAVA_HOME" = "" ] ; then
echo You must set JAVA_HOME to point to your Java JDK install
directory
exit 1
fi
_JDBCJAR=${CATALINA_HOME}/common/lib/pg74.1jdbc3.jar
_CP=../lib/rollerbeans.jar
_CP=${_CP}:../lib/commons-logging.jar
_CP=${_CP}:${_JDBCJAR}
${JAVA_HOME}/bin/java -classpath ${_CP}
org.roller.business.utils.ConsistencyCheck $1 $2 $3 $4
check.sh (END)
When I run "sh check.sh" command, it gives me the following error:
check.sh: line 12: syntax error: unexpected end of file
There is nothing on 12th line.
Any help will be appreciated.
Thankx and Regards
Vaneet
Vaneet Sharma
executive manager
iDeasTank Limited
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile: +356 9943 8263
skype: CALLVANEET
fax: +356 9952 8888
phone: +356 9942 8888
vaneet@iwg.info
call me on www.skype.com - my ID is CALLVANEET
Want a signature like this? - www.plaxo.com\signature
iwg is a global e-mobile company creating, building and growing new businesses. iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US.
www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt
Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.