• Help! Some errors occur when loading OpenKM

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #853  by yuying
 
:S
who can help me?----thanks
when i input \"http://localhost:8080/OpenKM\" into the address bar and \"enter\", some errors occur,

error when communicating with server(GetRoot)
error when communicating with server(GetTamplate)
error when communicating with server(GetPersonal)
error when communicating with server(GetTrash)
error when communicating with server(getUserHome)

Thanks!

i think i did not deploy the openkm.ear correctly.
how should i do?

C:\\OpenKM-2.0_JBoss-4.2.2.GA>C:\\OpenKM-2.0_JBoss-4.2.2.GA\\bin\\run.bat -b 0.0.0.0

===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\\OpenKM-2.0_JBoss-4.2.2.GA

JAVA: C:\\Program Files\\Java\\jdk1.5.0_06\\bin\\java

JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

CLASSPATH: C:\\Program Files\\Java\\jdk1.5.0_06\\lib\\tools.jar;C:\\OpenKM-2.0_JBoss
-4.2.2.GA\\bin\\run.jar

===============================================================================

16:38:57,287 INFO [Server] Starting JBoss (MX MicroKernel)...
16:38:57,337 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
JBoss_4_2_2_GA date=200710221139)
16:38:57,337 INFO [Server] Home Dir: C:\\OpenKM-2.0_JBoss-4.2.2.GA
16:38:57,337 INFO [Server] Home URL: file:/C:/OpenKM-2.0_JBoss-4.2.2.GA/
16:38:57,347 INFO [Server] Patch URL: null
16:38:57,347 INFO [Server] Server Name: default
16:38:57,347 INFO [Server] Server Home Dir: C:\\OpenKM-2.0_JBoss-4.2.2.GA\\server
\\default
16:38:57,347 INFO [Server] Server Home URL: file:/C:/OpenKM-2.0_JBoss-4.2.2.GA/
server/default/
16:38:57,357 INFO [Server] Server Log Dir: C:\\OpenKM-2.0_JBoss-4.2.2.GA\\server\\
default\\log
16:38:57,357 INFO [Server] Server Temp Dir: C:\\OpenKM-2.0_JBoss-4.2.2.GA\\server
\\default\\tmp
16:38:57,357 INFO [Server] Root Deployment Filename: jboss-service.xml
16:38:59,170 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
16:38:59,170 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_06-b05
,Sun Microsystems Inc.
16:38:59,180 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
16:39:02,324 INFO [Server] Core system initialized
16:39:13,981 INFO [WebService] Using RMI server codebase: http://LYB:8083/
16:39:13,991 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
16:39:16,945 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
16:39:16,945 INFO [TransactionManagerService] Setting up property manager MBean
and JMX layer
16:39:17,807 INFO [TransactionManagerService] Starting recovery manager
16:39:18,087 INFO [TransactionManagerService] Recovery manager started
16:39:18,087 INFO [TransactionManagerService] Binding TransactionManager JNDI R
eference
16:39:35,943 INFO [EJB3Deployer] Starting java:comp multiplexer
16:39:37,375 INFO [STDOUT] no object for null
16:39:37,385 INFO [STDOUT] no object for null
16:39:37,435 INFO [STDOUT] no object for null
16:39:37,555 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:39:37,585 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
16:39:45,717 INFO [NativeServerConfig] JBoss Web Services - Native
16:39:45,717 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
0837)
16:39:50,674 INFO [Embedded] Catalina naming disabled
16:39:51,815 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: C:\\Program Files\\Java\\jdk1.5.0_06\\bin;.;C:\\WINDOWS\\system32;C:\\WI
NDOWS;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\M
icrosoft SQL Server\\80\\Tools\\BINN;C:\\Program Files\\IDM Computer Solutions\\UltraE
dit\\
16:39:52,046 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8080
16:39:52,056 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009

16:39:52,066 INFO [Catalina] Initialization processed in 1387 ms
16:39:52,066 INFO [StandardService] Starting service jboss.web
16:39:52,076 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
16:39:52,196 INFO [Catalina] Server startup in 131 ms
16:39:52,587 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
16:39:58,755 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
16:40:01,129 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
16:40:01,920 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:40:05,866 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
16:40:07,628 INFO [MailService] Mail Service bound to java:/Mail
16:40:08,199 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
16:40:09,541 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:40:09,651 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
16:40:09,811 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
16:40:09,972 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
16:40:10,112 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
16:40:10,232 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/quartz-ra.rar
16:40:10,262 INFO [QuartzResourceAdapter] start quartz!!!
16:40:10,462 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
16:40:10,522 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
16:40:10,532 INFO [RAMJobStore] RAMJobStore initialized.
16:40:10,542 INFO [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzSchedule
r\' initialized from default resource file in Quartz package: \'quartz.properties\'

16:40:10,542 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:40:10,552 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
16:40:14,919 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
16:40:15,600 INFO [A] Bound to JNDI name: queue/A
16:40:15,600 INFO Bound to JNDI name: queue/B
16:40:15,620 INFO [C] Bound to JNDI name: queue/C
16:40:15,620 INFO [D] Bound to JNDI name: queue/D
16:40:15,630 INFO [ex] Bound to JNDI name: queue/ex
16:40:15,990 INFO [testTopic] Bound to JNDI name: topic/testTopic
16:40:16,010 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
16:40:16,020 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

16:40:16,391 INFO [testQueue] Bound to JNDI name: queue/testQueue
16:40:16,521 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
16:40:16,661 INFO [DLQ] Bound to JNDI name: queue/DLQ
16:40:17,392 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
16:40:17,803 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActi
vityDS\'
16:40:17,983 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
16:40:27,527 INFO [EARDeployer] Init J2EE application: file:/C:/OpenKM-2.0_JBos
s-4.2.2.GA/server/default/deploy/OpenKM.ear
16:41:44,047 INFO [EjbModule] Deploying AuthModule
16:41:45,819 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMAuthWS
16:41:45,829 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMRepositoryWS
16:41:45,839 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMDocumentWS
16:41:45,849 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMFolderWS
16:41:45,859 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMSearchWS
16:41:48,573 ERROR [MainDeployer] Could not create deployment: file:/C:/OpenKM-2
.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp45917OpenKM.ear-contents/OpenKM.w
ar
javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nest
ed exception: java.sun.com
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebX
MLRewriterImpl.java:95)
at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.cre
ate(ModifyWebMetaDataDeploymentAspect.java:53)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerIn
terceptor.java:79)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.
com
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebX
MLRewriterImpl.java:108)
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebX
MLRewriterImpl.java:87)
... 79 more
16:41:48,864 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@417d6e47 { url=file:/C:/OpenKM-2.0_JBoss-4.2
.2.GA/server/default/deploy/OpenKM.ear }
deployer: org.jboss.deployment.EARDeployer@1582a7c
status: Deployment FAILED reason: Could not create deployment: file:/C:/OpenKM
-2.0_JBoss-4.2.2.GA/server/default/tmp/deploy/tmp45917OpenKM.ear-contents/OpenKM
.war; - nested throwable: (javax.xml.ws.WebServiceException: org.dom4j.DocumentE
xception: java.sun.com Nested exception: java.sun.com)
state: FAILED
watch: file:/C:/OpenKM-2.0_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
altDD: null
lastDeployed: 1216284101523
lastModified: 1216284026505
mbeans:


16:41:49,234 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
16:41:49,314 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
16:41:49,385 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 2m:52s:18ms
 #854  by jllort
 
Well it\'s a \"javax.xml.ws.WebServiceException: \", I think it\'s nothing newer, the return of a classic ( I hope ).

Has this computer internet connection ?, because jboss validates some xml file across uri access, and if cannot crashes -> it\'s a jboss bug, not us.

If this if your case -> for firewall or other network problem you could not connect to this url you could try to remove webservices files, for it open OpenKM.ear -> OpenKM.war and remove the WEB_INF/wsdl directory (here\'s the xml webservices descriptor ). Doing it you\'ll disabling Webservices, but if you don\'t use you can drop it. Or setting this server to get internet connection.

If this not runs tell us more information about OS.
 #858  by yuying
 
First,thanks a lot for your advice.
Now the application can run and be used correctly after I removed the file \'webservices.xml\'.

But can you tell me the effect of the webservices? Whether couldn\'t I use some functions if I remove the file.

Must I get the server internet connection? Now I use it in LAN that can\'t be get internet connection.

Thanks!
 #859  by jllort
 
Webservices are only an exposed API to connect thirdparty apps to OpenKM. Removing it you\'ll not lose any OpenKM functionality.

This is a tedious jboss bug that makes crashing OpenKM if not has internet connection, still on jboss 4.2.2 is not yet corrected, hope on newer versions it\'ll not be present.
 #2966  by samtiku
 
Hi jllort,

This is extract of the message which you have replied for the
<------------------------------------------------------------------------------>
Well it\'s a \"javax.xml.ws.WebServiceException: \", I think it\'s nothing newer, the return of a classic ( I hope ).

Has this computer internet connection ?, because jboss validates some xml file across uri access, and if cannot crashes -> it\'s a jboss bug, not us.

If this if your case -> for firewall or other network problem you could not connect to this url you could try to remove webservices files, for it open OpenKM.ear -> OpenKM.war and remove the WEB_INF/wsdl directory (here\'s the xml webservices descriptor ). Doing it you\'ll disabling Webservices, but if you don\'t use you can drop it. Or setting this server to get internet connection.

If this not runs tell us more information about OS.
<-------------------------------------------------------------------------------->
I am getting the same \"javax.xml.ws.WebServiceException\" exception, but inside
WEB_INF I don\'t have any wsdl directory. So, Please suggest what I need to do to avoid this exception. OR from where else I can remove the \'webservices.xml\' file.

Do I need start running the run.bat file again to do a fresh installation.

Regards,
Sameer
 #2980  by jllort
 
Take a look on FAQ, I think there\'s explained how to remove webservices from OpenKM. On some forum post it\'s explained too.

Really it\'s not a OpenKM bug, it\'s jboss.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.