hi
everybody
I've downloaded sourcecode from the SCM ,There are many mistakes when deployment project.
Error code is as follows.
Thanks in advance
everybody
I've downloaded sourcecode from the SCM ,There are many mistakes when deployment project.
Error code is as follows.
Code: Select all
java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]
2010-01-11 17:31:13,843 ERROR [es.git.openkm.module.direct.DirectRepositoryModule] failed to register namespace okm -> http://www.openkm.org/1.0: mapping already exists
javax.jcr.NamespaceException: failed to register namespace okm -> http://www.openkm.org/1.0: mapping already exists
2010-01-11 17:31:13,843 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/OpenKM]] Servlet /OpenKM threw load() exception
javax.servlet.ServletException: failed to register namespace okm -> http://www.openkm.org/1.0: mapping already exists
org.jbpm.JbpmException: jbpm configuration resource 'jbpm.cfg.xml' is not available
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp11107jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
2010-01-11 17:31:14,609 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@475e8ff3{ url=file:/D:/jboss-4.2.3.GA/server/default/deploy/openkm.war, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/jboss-4.2.3.GA/server/default/deploy/openkm.war; - nested throwable: (java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp11107jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/))
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp11107jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Code: Select all
Look forward to your solution2010-01-11 17:31:11,046 INFO [es.git.openkm.core.Config] ** Reading config file D:\jboss-4.2.3.GA/OpenKM.cfg **
2010-01-11 17:31:11,046 WARN [es.git.openkm.core.Config] ** No OpenKM.cfg file found, set default config **
2010-01-11 17:31:11,046 INFO [es.git.openkm.core.Config] ** Configuration **
2010-01-11 17:31:11,046 INFO [es.git.openkm.core.Config] {repository.config=repository.xml, repository.home=repository, default.user.role=UserRole, default.admin.role=AdminRole, principal.adapter=es.git.openkm.principal.DatabasePrincipalAdapter, principal.database.filter.inactive.users=on, principal.ldap.server=, principal.ldap.security.principal=,principal.ldap.security.credentials=,principal.ldap.user.search.base=, principal.ldap.user.search.filter=, principal.ldap.user.atribute=, principal.ldap.role.search.base=, principal.ldap.role.search.filter=, principal.ldap.role.atribute=, principal.ldap.mail.search.base=, principal.ldap.mail.search.filter=, principal.ldap.mail.atribute=, max.file.size=25, max.search.results=25, restrict.file.mime=off, restrict.file.extension=*~,*.bak, notify.message.body=<b>Document: </b><a href="{0}">{1}</a><br/><b>User: </b>{3}<br/><b>Message: </b>{4}<br/>, notify.message.subject=OpenKM - NOTIFICATION - {0}, subscription.message.body=<b>Document: </b><a href="{0}">{1}</a><br/><b>User: </b>{3}<br/><b>Event: </b>{4}<br/><b>Comment: </b>{5}<br/>, subscription.message.subject=OpenKM - {0} - {1}, notify.twitter.user=, notify.twitter.password=, notify.twitter.status=OpenKM - {0} - {1} - {3} - {4}, system.demo=off, system.readonly=off, system.ocr=, system.openoffice=off, system.pdf2swf=, system.antivir=, application.url=http://localhost:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp, update.info=on, default.lang=, keyword.map.live=onuser.documents.size.live=off}
2010-01-11 17:31:11,046 INFO [es.git.openkm.core.Config] ** Reading MIME file mime.types **
2010-01-11 17:31:11,046 WARN [es.git.openkm.core.Config] ** No mime.types file found **
2010-01-11 17:31:11,046 INFO [es.git.openkm.core.Config] ** MIME Accepted **
Thanks in advance