• Also cannot start v2.0

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #235  by robertmarkbram
 
Hi all,

It seems I have a similar error to the couldn\'t start version 2.0, but this is no Connection timed out error. Full copy from the DOS prompt is below.


I am using Java 6, but I got the same error with Java 1.5.0_12


H:\\>echo %JAVA_HOME%
C:\\Program Files\\Java\\jdk1.6.0_02

H:\\>java -version
java version \"1.6.0_02\"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)


Here is the full output from the DOS prompt.


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

JBoss Bootstrap Environment

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

JAVA: C:\\Program Files\\Java\\jdk1.6.0_02\\bin\\java

JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.g
cInterval=3600000

CLASSPATH: C:\\Program Files\\Java\\jdk1.6.0_02\\lib\\tools.jar;C:\\OpenKM-2.0b_JBoss-4.2.2.GA\\bin\\run.jar

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

10:18:42,383 INFO [Server] Starting JBoss (MX MicroKernel)...
10:18:42,383 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
10:18:42,383 INFO [Server] Home Dir: C:\\OpenKM-2.0b_JBoss-4.2.2.GA
10:18:42,383 INFO [Server] Home URL: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/
10:18:42,383 INFO [Server] Patch URL: null
10:18:42,383 INFO [Server] Server Name: default
10:18:42,383 INFO [Server] Server Home Dir: C:\\OpenKM-2.0b_JBoss-4.2.2.GA\\server\\default
10:18:42,383 INFO [Server] Server Home URL: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/
10:18:42,383 INFO [Server] Server Log Dir: C:\\OpenKM-2.0b_JBoss-4.2.2.GA\\server\\default\\log
10:18:42,383 INFO [Server] Server Temp Dir: C:\\OpenKM-2.0b_JBoss-4.2.2.GA\\server\\default\\tmp
10:18:42,383 INFO [Server] Root Deployment Filename: jboss-service.xml
10:18:42,758 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
10:18:42,758 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_02-b06,Sun Microsystems Inc.
10:18:42,758 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:18:43,648 INFO [Server] Core system initialized
10:18:46,774 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
10:18:46,789 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
10:18:47,461 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
10:18:47,461 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
10:18:47,711 INFO [TransactionManagerService] Starting recovery manager
10:18:47,805 INFO [TransactionManagerService] Recovery manager started
10:18:47,805 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
10:18:51,493 INFO [EJB3Deployer] Starting java:comp multiplexer
10:18:51,961 INFO [STDOUT] no object for null
10:18:51,961 INFO [STDOUT] no object for null
10:18:51,977 INFO [STDOUT] no object for null
10:18:52,008 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
10:18:52,008 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
10:18:54,759 INFO [NativeServerConfig] JBoss Web Services - Native
10:18:54,759 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
10:18:55,837 INFO [Embedded] Catalina naming disabled
10:18:56,040 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production env
ironments was not found on the java.library.path: C:\\Program Files\\Java\\jdk1.6.0_02\\bin;.;C:\\windows\\Sun\\Java\\bin;C:\\windows\\
System32;C:\\windows;C:\\Program Files\\BMC Software\\CONTROL-M EM 6.3.01\\Default\\SybClient\\OCS-12_5\\bin;C:\\IBM\\AgentController\\b
in;C:\\oraclexe\\app\\oracle\\product\\10.2.0\\server\\bin;c:\\oracle\\ora92\\bin;C:\\java\\apache-ant-1.7.0\\bin;C:\\Program Files\\Java\\jd
k1.6.0_02\\bin;C:\\Oracle\\Ora101\\bin;C:\\Oracle\\Ora101\\jre\\1.4.2\\bin\\client;C:\\Oracle\\Ora101\\jre\\1.4.2\\bin;c:\\Progra~1\\OraHome1\\
ora81\\bin;C:\\Program Files\\Oracle\\jre\\1.1.7\\bin;C:\\Program Files\\Merant\\vm\\common\\bin\\win32\\;C:\\Program Files\\Merant\\vm\\win32
\\bin\\;C:\\Program Files\\IBM\\WebSphere MQ\\Java\\lib;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\Program Files\\MSS
QL7\\Binn\\;C:\\Program Files\\Common Files\\Roxio Shared\\DLLShared;C:\\Program Files\\IBM\\WebSphere MQ\\bin;C:\\Program Files\\IBM\\Web
Sphere MQ\\tools\\c\\samples\\bin;C:\\Program Files\\ECSDLLs\\;C:\\Program Files\\ControlM-EM\\Orbix2000\\bin\\;C:\\Program Files\\ControlM
-EM\\Ecscli\\;C:\\Program Files\\ControlM-EM\\ECSGui\\;C:\\Program Files\\ControlM-EM\\Orbix2000\\orbix_art\\1.2\\bin\\;C:\\IBM\\SQLLIB\\BIN;
C:\\IBM\\SQLLIB\\FUNCTION;C:\\IBM\\SQLLIB\\SAMPLES\\REPL;C:\\Program Files\\IDM Computer Solutions\\UltraEdit-32;C:\\PROGRA~1\\E-ADAP~1\\b
in;C:\\PROGRA~1\\E-ADAP~1\\eagui;C:\\Program Files\\Subversion\\bin;C:\\E-ADAP~1\\bin;C:\\E-ADAP~1\\eagui;C:\\IBM\\Installation Manager\\e
clipse\\lib;
10:18:56,149 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
10:18:56,149 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
10:18:56,149 INFO [Catalina] Initialization processed in 307 ms
10:18:56,149 INFO [StandardService] Starting service jboss.web
10:18:56,149 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
10:18:56,368 INFO [Catalina] Server startup in 224 ms
10:18:56,540 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
10:18:57,212 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
10:18:57,493 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
10:18:57,728 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.
war/
10:18:58,931 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.wa
r/
10:18:59,712 INFO [MailService] Mail Service bound to java:/Mail
10:19:00,009 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
10:19:00,087 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:19:00,181 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
10:19:00,243 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
10:19:00,368 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
10:19:00,493 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
10:19:00,540 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
10:19:00,556 INFO [QuartzResourceAdapter] start quartz!!!
10:19:00,634 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
10:19:00,665 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
10:19:00,681 INFO [RAMJobStore] RAMJobStore initialized.
10:19:00,681 INFO [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzScheduler\' initialized from default resource file in
Quartz package: \'quartz.properties\'
10:19:00,681 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
10:19:00,681 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
10:19:02,103 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=Defaul
tDS\' to JNDI name \'java:DefaultDS\'
10:19:02,384 INFO [A] Bound to JNDI name: queue/A
10:19:02,384 INFO Bound to JNDI name: queue/B
10:19:02,384 INFO [C] Bound to JNDI name: queue/C
10:19:02,384 INFO [D] Bound to JNDI name: queue/D
10:19:02,384 INFO [ex] Bound to JNDI name: queue/ex
10:19:02,415 INFO [testTopic] Bound to JNDI name: topic/testTopic
10:19:02,415 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
10:19:02,415 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
10:19:02,415 INFO [testQueue] Bound to JNDI name: queue/testQueue
10:19:02,462 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
10:19:02,494 INFO [DLQ] Bound to JNDI name: queue/DLQ
10:19:02,650 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=ConnectionFactoryBinding,name
=JmsXA\' to JNDI name \'java:JmsXA\'
10:19:02,931 INFO [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMAct
ivityDS\' to JNDI name \'java:OKMActivityDS\'
10:19:02,978 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
10:19:05,634 INFO [EARDeployer] Init J2EE application: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
10:19:24,948 INFO [EjbModule] Deploying AuthModule
10:19:25,261 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMAuthWS
10:19:25,261 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMRepositoryWS
10:19:25,261 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMDocumentWS
10:19:25,261 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMFolderWS
10:19:25,261 INFO [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMSearchWS
10:19:27,589 ERROR [MainDeployer] Could not create deployment: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/tmp/deploy/
tmp27670OpenKM.ear-contents/OpenKM.war
javax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:95)
at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.create(ModifyWebMetaDataDeploymentAspect.java:53
)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180
)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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:619)
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(WebXMLRewriterImpl.java:108)
at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:87)
... 79 more
10:19:27,605 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@f5dc3971 { url=file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear }
deployer: org.jboss.deployment.EARDeployer@ae1cf
status: Deployment FAILED reason: Could not create deployment: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/tmp/deplo
y/tmp27670OpenKM.ear-contents/OpenKM.war; - nested throwable: (javax.xml.ws.WebServiceException: org.dom4j.DocumentException:
java.sun.com Nested exception: java.sun.com)
state: FAILED
watch: file:/C:/OpenKM-2.0b_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
altDD: null
lastDeployed: 1207700364651
lastModified: 1207700345634
mbeans:


10:19:27,839 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
10:19:27,901 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
10:19:27,964 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 45s
:566ms


Any help would be most appreciated

Rob
:)
 #236  by robertmarkbram
 
OK, fixed this. As per the this known JBoss issue post, I added proxy details to the JBoss comamnd.

I edited runt.bat and added my proxy details (-Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx) to this line:

\"%JAVA%\" %JAVA_OPTS% \"-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%\" -classpath \"%JBOSS_CLASSPATH%\" org.jboss.Main -Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx %*


Rob
:)
 #239  by jllort
 
Thanks for reporting this jboss bug and a solution.

Is a known issue on Jboss 4.2.2GA that when trying to validate some xml and server can\'t connect to external url.
 #523  by chrisreichel
 
Hi folks.

I can´t provide access to internet to the machine where OpenKM 2.0 is installed, unless if is possible to have domain/user and password authentication in this command line option... Does anybody knows if it is possible?

Or maybe I can tur off webservices options for the OpenKM. How do I do it?


Thanks.


Christian
 #526  by pavila
 
Search in the forum, there is another post with the solution.

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.