Page 1 of 1

problems with fresh install 5.01 and mysql 5.0

PostPosted:Wed Feb 09, 2011 6:00 pm
by okm-user-2011
i did a fresh install of 5.01 connected to an external mysql5.0-server following the wiki-instructions.
in both databases were tables created and filled with "hibernate.hbm2ddl=create" in /opt/jboss-4.2.3.GA/OpenKM.cfg.
restarted with "hibernate.hbm2ddl=none" in /opt/jboss-4.2.3.GA/OpenKM.cfg.
login as okmAdmin shows only trash-folder:

http://78.46.108.243:/Bildschirmfoto9.png

any hints?

please help

Re: problems with fresh install 5.01 and mysql 5.0

PostPosted:Wed Feb 09, 2011 7:29 pm
by jllort
login to you mysql and ensure tables are created in okm_repo and okm_app ( I think okm_repo will be empty )

Re: problems with fresh install 5.01 and mysql 5.0

PostPosted:Wed Feb 09, 2011 8:42 pm
by okm-user-2011
the repo-db has 8 tables with some content
http://78.46.108.243/Bildschirmfoto10.png
and the app-db has 55 tables with some content

Re: problems with fresh install 5.01 and mysql 5.0

PostPosted:Wed Feb 09, 2011 10:46 pm
by jllort
Very, very very, strange.

Seems like something was wrong on creation.
I suggest
1- stop jboss
2- drop both databases and return create it ( assign grant to user )
3- start jboss with create param
4- try login

In case error persist, put here the stack trace of server.log when you login ( only it, not all server.log )

Re: problems with fresh install 5.01 and mysql 5.0

PostPosted:Mon Feb 14, 2011 4:39 pm
by pavila
This error is typical when the document repository creation failed. Stop JBoss, empty database and $JBOSS_HOME/repository directory and start JBoss again.