Hello Florent,
Tomcat/Ubuntu:
- is qizx.jar accessible to Tomcat (it contains
com.qizx.util.basic.FileUtil) ?
it should be in /webapps/qizx/WEB-INF/lib
On MacOsX:
- the shell wrapper is indeed not OK on Mac
- the ensureDirExists problem is related to a "Java Binding" issue
with method overloading: there are 2 methods FileUtil.ensureDirExists
and the wrong one is taken. This is OS- or perhaps even
machine-dependent.
Sorry about that, it is pretty difficult to ensure that install scripts
work on all platforms.
That will be fixed in the coming 4.1
We plan a better install in next versions
On 25/09/10 01:11, Florent Georges wrote:
> Hi,
>
> I tried to install Qizx FE, both on Ubuntu Server and Mac OS X,
> and both failed. 1) On Ubuntu, I used the APT package tomcat6,
> followed the Qizx instructions, and added the following to the
> file /etc/tomcat6/policy.d/50local.policy:
>
> grant codeBase "file:${catalina.base}/webapps/qizx/-" {
> permission java.io.FilePermission "/usr/local/share/qizx-data",
> "read,write";
> permission java.io.FilePermission "/usr/local/share/qizx-data/-",
> "read,write";
> }
>
> When I go to http://localhost:8080/qizx/xqsdemo/index.html,
> everything is fine. Then I click on "Initialize database", and I
> get the following stacktrace on the below frame (excerpt):
>
> java.lang.NoClassDefFoundError: Could not initialize class
> com.qizx.util.basic.FileUtil
> com.qizx.server.util.QizxDriver.loadConfiguration(QizxDriver.java:378)
> com.qizx.server.util.QizxDriver.initialize(QizxDriver.java:184)
> com.qizx.server.util.QizxRequestBase.getDriver(QizxRequestBase.java:44)
> com.qizx.server.util.QizxRequestBase.setup(QizxRequestBase.java:51)
> com.qizx.server.util.ServletBase.doGet(ServletBase.java:74)
> ...
>
> I guess loadConfiguration() uses the classloader, and the
> default configuration of Tomcat on Ubuntu is to much secure to
> allow that. I am not sure if there is a way to provide more
> information?
>
> 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
> Caused by: java.lang.ClassNotFoundException: com.qizx.apps.QizxCLI
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>
> Here also, I am not sure how I could provide additional info.
>
> Any idea?
>
> Regards,
>
>
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support