Page 1 of 1

The database initialization.

PostPosted:Fri Dec 18, 2009 4:56 am
by hayasi
JBOSS enter debug mode, according to the log found in the database has been initialized. However, when I log on, there was“ authentication error”

Tell me how to solve do.
Code: Select all
12:43:00,218 INFO  [DirectRepositoryModule] Repository already created
12:43:00,265 INFO  [DirectAuthModule] loadUserData(system)
12:43:00,265 INFO  [DirectAuthModule] ** User Home already created **
12:43:00,265 INFO  [DirectAuthModule] system # lockTokensValues.length: 0
12:43:00,312 INFO  [RepositoryStartupServlet] *** Repository initialized ***
12:43:00,312 INFO  [RepositoryStartupServlet] *** User database initialized ***
12:43:00,328 INFO  [AbstractDAO] Looking for java:/OKMAuthDS DataSource...
12:43:00,328 INFO  [RepositoryStartupServlet] *** Activating watchdog ***
12:43:00,328 INFO  [RepositoryStartupServlet] *** Activating update info ***
12:43:00,328 INFO  [RepositoryStartupServlet] *** Activating repository info ***
12:43:00,390 WARN  [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jboss/cache/aop/PojoCacheMBean
12:43:06,250 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMAuthService15476.wsdl
12:43:06,281 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMDocumentService15478.wsdl
12:43:06,296 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMTestService15480.wsdl
12:43:06,296 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMRepositoryService15483.wsdl
12:43:06,312 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMNotificationService15485.wsdl
12:43:06,328 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMSearchService15487.wsdl
12:43:06,328 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMFolderService15489.wsdl
12:43:06,343 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.ear/OpenKM.war/OKMPropertyGroupService15491.wsdl
12:43:06,531 INFO  [EARDeployer] Started J2EE application: file:/D:/TDDOWNLOAD/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/OpenKM.ear
12:43:06,671 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
12:43:06,734 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
12:43:06,750 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 52s:79ms
Thanks in advance。

Re: The database initialization.

PostPosted:Fri Dec 18, 2009 12:57 pm
by jllort
Which user and password are you using to autenticate, in version 4.0 ares okmAdmin and pass admin.

Seems all goes fine in jboss log ( cluster error is normal )

Re: The database initialization.

PostPosted:Mon Dec 21, 2009 1:23 am
by hayasi
jllort wrote:Which user and password are you using to autenticate, in version 4.0 ares okmAdmin and pass admin.

Seems all goes fine in jboss log ( cluster error is normal )
I am in accordance with Developer Guide (version 2.0) to do.From the openkm.cvs.sourceforge.net download the source code.From the“ auth.ddl ” know the username is okmAdmin password is admin, so I made use of okmAdmin and admin landing. However, authentication ERROR occurs.

Looking forward to your reply.

Re: The database initialization.

PostPosted:Mon Dec 21, 2009 9:56 am
by jllort
Developer guide, refers to OpenKM 3.0, developer guide for 4.0 is not yet done. If you've downloaded from cvs I recomend you try svn repository, now we use maven, more easily project building ( simply download ganymede, m2eclipse plugin, and some one for svn ). If you want to continue with cvs - version 3.0 - then user is "admin" and pass "admin".