Florent Georges wrote:
> 2) On Mac OS X 10.6.4, I unzip the distribution, cd to my
> tomcat webapps directory, and call mkserver. It results in the
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/qizx/apps/QizxCLI
Actually it seems this is because of the following in both
scripts mkserver and qizx:
|| dbin=`dirname $0`
|| if ! expr match "$dbin" "/" >& /dev/null
|| then
|| dbin=`pwd`/$dbin
|| fi
As far as I understand, the if condition is not recognized
("expr match" does not seem to be supported by my Bash), so the if
body is evaluated even though the path is already absolute,
resulting in something like (note the '//' and the repetition,
twice the same beginning):
/tomcat/webapps//tomcat/webapps/..../qizx/bin
If I comment out the above if expression in both scripts, the
Qizx mkserver script is finally launched. I get the summary of
information, then another error (looks like an XQuery error):
|| Qizx server root with its configuration: directory
|| /Applications/qizx/data, Web application: directory qizx.
|| continue (y/n) ? y
|| invocation of extension function filu:ensureDirExists ( $p1 as
|| xdt:object[Object]? ) as empty()? throws
|| java.lang.IllegalArgumentException: argument type mismatch
I must admit that here, I don't know how I can investigate
any further... If you want more info, I'd be glad to provide it,
if you explain how to get it.
Best regards,
--
Florent Georges
http://fgeorges.org/
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support