[opencms-dev] installation error, wrong mysql.jar or java version?

Karsten Lehmann klehmann at gmx.net
Thu Jan 18 12:29:18 CET 2001


Hi,

I get the same error message:

{Guest at Online}> login Admin admin
[User]:Admin , Id=2 , flags=0 :the admin-user
{Admin at Online}> readFile "/system/workplace/action/login.html"
#[CmsException]: 2 Not found. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess]
/system/workplace/action/login.html.
        at
com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java, Compiled
Code)
        at
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBrok
er.java, Compiled Code)
        at com.opencms.file.CmsObject.readFile(CmsObject.java,
Compiled Code)
        at
com.opencms.core.CmsShellCommands.readFile(CmsShellCommands.java,
Compiled Code)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.opencms.core.CmsShell.call(CmsShell.java, Compiled
Code)
        at com.opencms.core.CmsShell.commands(CmsShell.java, Compiled
Code)
        at com.opencms.core.CmsShell.main(CmsShell.java, Compiled
Code)

I am using Debian GNU/Linux Potato, Apache Jserv 1.1 (that came with
potato), Java 1.2. Seems to be something with the sql broker. So,
which file do I have to choose of "mm.mysql.jdbc-2.0pre5.tar.gz" ? Is
"mysql_both_uncomp.jar" right?

Karsten

----- Original Message -----
From: "Andreas Schouten" <Andreas.Schouten at framfab.de>
To: <opencms-dev at www.opencms.com>
Sent: Thursday, January 18, 2001 12:02 PM
Subject: AW: [opencms-dev] installation error, wrong mysql.jar or java
version?


> Hi,
>
> you have to type the following at the shell-prompt:
>
> readFile "/system/workplace/action/login.html"
>
> to test if the installation was correct.
>
> Regards,
> Andreas Schouten
>
> -----Ursprüngliche Nachricht-----
> Von: Karsten Lehmann [mailto:klehmann at gmx.net]
> Gesendet: Donnerstag, 18. Januar 2001 12:02
> An: opencms-dev at www.opencms.com
> Betreff: [opencms-dev] installation error, wrong mysql.jar or java
version?
>
> After installing opencms 4.1.50 and typing in (as described in the
> installation guide)
>
> java -mx64M -classpath opencms.jar:xerces.jar:mysql.jar
> com.opencms.core.CmsShell config/opencms.properties
>
> I get the error messages:
>
> [...]
> [CmsLauncherManager] OpenCms launcher "CmsDumpLauncher" with
launcher
> ID 1 loaded successfully.
> [CmsLauncherManager] OpenCms launcher "CmsLinkLauncher" with
launcher
> ID 4 loaded successfully.
> [CmsLauncherManager] Unknown error while initializing launcher
> "CmsPdfLauncher". Ignoring.
> [CmsLauncherManager] java.lang.NoClassDefFoundError:
> org/apache/fop/apps/Driver
> Version 4.1.50 Arakis
>
> but the prompt seems to work.
> Then I try
>
> {Admin at Online}> readFile
"/home/karsten/opencms_4.1.50/workplace/action/start.html"
> [CmsException]: 2 Not found. Detailed Error:
> [com.opencms.file.mySql.CmsDbAccess]
> /home/karsten/opencms_4.1.50/workplace/action/start.html.
> at com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java,
> Compiled Code)
> at
>
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBrok
> er.java, Compiled Code)
> at com.opencms.file.CmsObject.readFile(CmsObject.java, Compiled
Code)
> at com.opencms.core.CmsShellCommands.readFile(CmsShellCommands.java,
> Compiled Code)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.opencms.core.CmsShell.call(CmsShell.java, Compiled Code)
> at com.opencms.core.CmsShell.commands(CmsShell.java, Compiled Code)
> at com.opencms.core.CmsShell.main(CmsShell.java, Compiled Code)





More information about the opencms-dev mailing list