[opencms-dev] Installing opencms 40a26 in Debian Linux (potato)

Christoph Martin martin at uni-mainz.de
Fri Apr 28 16:58:42 CEST 2000


-----BEGIN PGP SIGNED MESSAGE-----

Hi all,

I am trying to install opencms 40a26 on our Debian Linux
server. Installed is apache 1.3.9, jdk 1.1, mysql 3.22.32 and
mysql_1_uncomp.jar from mm.mysql.jdbc-2.0pre5.

I went through your installation howto and everything went fine until
step 6.

jre -mx64M -cp opencms.jar -cp xerces.jar -cp mysql_uncomp.jar
com.opencms.setup.CmsShell com.opencms.file.CmsInitMySqlFillDefaults
org.gjt.mm.mysql.Driver
"jdbc:mysql://localhost:3306/opencms?user=root&password=" <
config/cmssetup.txt  

should read instead: 

jre -mx64M -cp<patch to classes.zip> -cp opencms.jar -cp <patch to
mysql_uncomp.jar> com.opencms.setup.CmsShell
com.opencms.file.CmsInitMySqlFillDefaults org.gjt.mm.mysql.Driver
"jdbc:mysql://localhost:3306/opencms?user=root&password=" <
config/cmssetup.txt

because, as you say on other place, xerces is included in opencms.jar
now and on the other hand jre wont find classes.zip (because there is
no default CLASSPATH in Debian) and mysql_uncomp.jar (because it
resides where you unpacked it).

Then the commands in cmssetup.txt get executed until the line:

importDb "config/workplace.dat" "/"

which throws the following exception:

java.lang.reflect.InvocationTargetException
        at com.opencms.setup.CmsShell.call(CmsShell.java:153)
        at com.opencms.setup.CmsShell.commands(CmsShell.java:116)
        at com.opencms.setup.CmsShell.main(CmsShell.java:76)

The next exception occures on the line:

addMountPoint "/system/workplace/pics/" "/var/www/pics/" pics Guest Guests plain "383"

[CmsException]: 0 Unknown exception 
Detailed Error: readFolder [com.opencms.file.CmsAccessFileMySql] /system/workplace/pics/
Caught Exception: [CmsException]: 2 Not found 
Detailed Error: [com.opencms.file.CmsAccessFileMySql] /system/workplace/pics/


        at com.opencms.file.CmsAccessFileMySql.readFolder(CmsAccessFileMySql.java:1212)
        at com.opencms.file.CmsAccessFile.readFolder(CmsAccessFile.java:374)
        at com.opencms.file.CmsRbFile.readFolder(CmsRbFile.java:463)
        at com.opencms.file.CmsResourceBroker.readFolder(CmsResourceBroker.java:2663)
        at com.opencms.file.CmsResourceBroker.addMountPoint(CmsResourceBroker.java:1976)
        at com.opencms.file.CmsObject.addMountPoint(CmsObject.java:1804)
        at com.opencms.setup.CmsShell.addMountPoint(CmsShell.java:638)
        at com.opencms.setup.CmsShell.call(CmsShell.java:153)
        at com.opencms.setup.CmsShell.commands(CmsShell.java:116)
        at com.opencms.setup.CmsShell.main(CmsShell.java:76)

/var/www/pics/ exists and is the directory in DocumentRoot where the
pics are.

Do you have any hints about these problems?

Christoph
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface
Charset: noconv

iQEVAwUBOQmnJ24/9k35XC9tAQHDKQf/fnS0Yw3EDp7sqR9OLo0ET2QZ28rmVWAk
dtBZaQmwp0+JRvrUj3yshGMKlVEaxq81+rK/75gLdlMwSk5Kd2y+sDNHUm5OfRE/
0FIeGLtTOssWpJVut6pijgdW7W8cKasS1a43VRRjLhVg448LmAOYCOPNugeIlTVv
ZOagBuM2eAFyhhWmgdVJydCmZrNo4JeDSeySkwzXPyVjFZEqV3+UWDtICNE3RxwS
mpMT/lW4X+QZuKHIJ0+4R8gfpYmvkUhyamo2H3d6wV5lcVJ4dD2yWXZwA/p5SxS/
EUIlD+XbwLndPcgY/e9w2BDR58gf4G5ZR1bYBEZz0cjArS/FMRXTRg==
=SoQ6
-----END PGP SIGNATURE-----



More information about the opencms-dev mailing list