[opencms-dev] Opencms installation failure step 6.

Steve Tulk stevil at stevil.net
Thu Jan 25 17:49:14 CET 2001


I'm unable to complete the installation of opencms.  I'm having trouble in
step 6 during the database initialization with the workplace default
files.

Some of the commands in config/cmssetup.txt will process, but a majority
of them fail.  They begin to fail during:
createPropertydefinition NavText page 0

I get this error:

[CmsException]: 4 Sql exception. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess] Invalid ar
gument value: Duplicate entry 'NavText-76' for key 2. Caught Exception:
>java.sql.SQLException:
Invalid argument value: Duplicate entry 'NavText-76' for key 2<
        at
com.opencms.file.genericSql.CmsDbAccess.createPropertydefinition(CmsDbAccess.java:121
4)
        at
com.opencms.file.genericSql.CmsResourceBroker.createPropertydefinition(CmsResourceBro
ker.java:1800)
        at
com.opencms.file.CmsObject.createPropertydefinition(CmsObject.java:548)
        at
com.opencms.core.CmsShellCommands.createPropertydefinition(CmsShellCommands.java:519)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.opencms.core.CmsShell.call(CmsShell.java:135)
        at com.opencms.core.CmsShell.commands(CmsShell.java:176)
        at com.opencms.core.CmsShell.main(CmsShell.java:207)
>java.sql.SQLException: Invalid argument value: Duplicate entry
'NavText-76' for key 2
>       at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
>       at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
>       at org.gjt.mm.mysql.Connection.execSQL(Connection.java:885)
>       at
org.gjt.mm.mysql.PreparedStatement.executeUpdate(PreparedStatement.java:389)
>       at
com.opencms.file.genericSql.CmsDbAccess.createPropertydefinition(CmsDbAccess.java:121
2)
>       at
com.opencms.file.genericSql.CmsResourceBroker.createPropertydefinition(CmsResourceBro
ker.java:1800)
>       at
com.opencms.file.CmsObject.createPropertydefinition(CmsObject.java:548)
>       at
com.opencms.core.CmsShellCommands.createPropertydefinition(CmsShellCommands.java:519)
>       at java.lang.reflect.Method.invoke(Native Method)
>       at com.opencms.core.CmsShell.call(CmsShell.java:135)
>       at com.opencms.core.CmsShell.commands(CmsShell.java:176)
>       at com.opencms.core.CmsShell.main(CmsShell.java:207)

Any suggestions?




More information about the opencms-dev mailing list