*I did the following:*

1, Go to Run
2. Open CMD
3. change directory "cd C:\Program 
Files\RedDot\LiveServer\tomcat\webapps\cps\WEB-INF\bin"
4. run file "dbm.cmd"
5. create user with command: "script RDEUSER DBInitUsers -a admin1&&admin1"

But I got a "Database Creation Error" for some reason. Do you know why?

*Here are the error message in full:
*
----------------------------------------------------------------------------------------------------------------------------------
Buildfile: build.xml

time:

platform:

set.db.bin.path:

set.startup.conf:

set.reddot.startup:

set.poet.cfg:

set.dbm.classpath:

ask.for.command:
     [echo]
     [echo] **************************************************
     [echo]   RedDot LiveServer 4.0.0.8
     [echo]     Maintenance Tool
     [echo] **************************************************
     [echo]
     [echo]   Example Commands:
     [echo]
     [echo]     script RDEMASTER DbInitLicense LICENSE1 LICENSE2
     [echo]
     [echo]     script RDEMASTER DbInitRegistry -menu
     [echo]
     [echo]     script RDEUSER   DbInitUsers -a adminuser&&adminpassword
     [echo]
     [echo]     script RDEMASTER DbInitProject -p MyProject
     [echo]
     [echo]     export MyProject MyProject-exportpath
     [echo]
     [echo]     import MyProject MyProject-exportpath
     [echo]
     [echo]     -h     Shows the help.
     [echo]
    [input]
    [input]   DBM:
script RDEUSER DBInitUsers -a admin1&&admin1

dbm:
     [exec] JCLLogFactoryMapping loaded
     [exec] get log factory...
     [exec] 2013-01-14 19:07:02.678  Open Database 'RDEMASTER'
     [exec] 2013-01-14 19:07:02.819  Creating Database 'RDEMASTER'
     [exec] 2013-01-14 19:07:02.834  Creating Database 'RDEUSER'
     [exec] Exception in thread "Thread-CPS-1-32591083-main" 
DatabaseException:
database creation failed - project:'' repository:'FastObjects (embedded)' 
instan
ce:'RDEMASTER' (connection url:'poet://LOCAL/cpsRDEMASTER/db')
     [exec]
     [exec] /**
     [exec]  * Stack Dump
     [exec]  * Copyright (c) 1990-2006 Versant Corporation, Inc.
     [exec]  * Version: 10.0.4.111
     [exec]  * Reference-ID: [SD-1215179952]
     [exec]  * see http://community.fastobjects.com for details
     [exec]  */
     [exec] The database already exists. (-2035)
     [exec]     at 
de.reddot.dbaccess.helper.exceptions.DatabaseExceptionHelper.
convertException(DatabaseExceptionHelper.java:176)
     [exec]     at 
de.reddot.dbsupport.fojdo.helper.DatabaseExceptionHelper.conv
ertException(DatabaseExceptionHelper.java:38)
     [exec]     at 
de.reddot.dbsupport.fojdo.helper.DatabaseExceptionHelper.conv
ertException(DatabaseExceptionHelper.java:23)
     [exec]     at 
de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createInstan
ce(DatabaseFactory.java:287)
     [exec]     at 
de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createDataba
se(DatabaseFactory.java:185)
     [exec]     at 
de.reddot.dbaccess.helper.DatabaseService.createDatabase(Data
baseService.java:218)
     [exec]     at 
de.reddot.dbaccess.helper.DatabaseService.checkCreateMasterDa
tabase(DatabaseService.java:179)
     [exec]     at 
de.reddot.dbaccess.helper.DatabaseService.createDatabase(Data
baseService.java:169)
     [exec]     at 
de.reddot.dbaccess.manager.StartupManager.config(StartupManag
er.java:57)
     [exec]     at 
de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSin
gleton.java:210)
     [exec]     at 
de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSin
gleton.java:217)
     [exec]     at 
de.reddot.util.discovery.DiscoverSingleton.startServices(Disc
overSingleton.java:98)
     [exec]     at 
de.reddot.util.discovery.DiscoverSingleton.startServices(Disc
overSingleton.java:92)
     [exec]     at 
de.reddot.idea.bb.db.maintenance.Application.initStartup(Appl
ication.java:202)
     [exec]     at 
de.reddot.idea.bb.db.maintenance.Application.go(Application.j
ava:879)
     [exec]     at 
de.reddot.idea.bb.db.maintenance.Application.main(Application
.java:849)
     [exec] Caused by: com.poet.jdo.UserException:
     [exec] /**
     [exec]  * Stack Dump
     [exec]  * Copyright (c) 1990-2006 Versant Corporation, Inc.
     [exec]  * Version: 10.0.4.111
     [exec]  * Reference-ID: [SD-1215179952]
     [exec]  * see http://community.fastobjects.com for details
     [exec]  */
     [exec] The database already exists. (-2035)
     [exec] NestedThrowables:
     [exec] com.poet.rt.backend.poet.LibraryException: The database already 
exis
ts. (-2035)
     [exec]     at com.poet.rt.db.JDOBindingSupport.canRetryRuntime(Unknown 
Sour
ce)
     [exec]     at com.poet.rt.db.JDOBindingSupport.poetException(Unknown 
Source
)
     [exec]     at 
com.poet.rt.db.adapter.poet.ExceptionConverter.convert(Unknow
n Source)
     [exec]     at com.poet.rt.db.adapter.poet.POETDatabase.create(Unknown 
Sourc
e)
     [exec]     at com.poet.jdo.admin.DatabaseAdministration.create(Unknown 
Sour
ce)
     [exec]     at com.poet.jdo.admin.DatabaseAdministration.create(Unknown 
Sour
ce)
     [exec]     at 
de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createInstan
ce(DatabaseFactory.java:281)
     [exec]     ... 12 more
     [exec] Caused by: com.poet.rt.backend.poet.LibraryException: The 
database a
lready exists. (-2035)
     [exec]     at com.poet.rt.backend.poet.DatabaseMethods._create(Native 
Metho
d)
     [exec]     ... 16 more
     [exec] Result: 1
    [input] Press RETURN to continue...
----------------------------------------------------------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/kgxzHAssrHMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to