当前位置: 首页 > 知识库问答 >
问题:

openkm 6.3.0社区版&TomCat不在64位Windows7上运行

符棋
2023-03-14
    null
  • Apache Web Server 2.4运行PHP应用程序
  • 运行.NET应用程序的IIS7.5
  • NI Instrument Web服务器
  • 运行JSP应用程序的Tomcat

java版本“1.8.0_31”java(TM)SE运行时环境(Build1.8.0_31-B13)java HotSpot(TM)64位服务器VM(Build25.31-B07,混合模式)

Using CATALINA_BASE:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_HOME:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_TMPDIR: "C:\openkm-6.3.0-community\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\Java\jre1.8.0_31"
Using CLASSPATH:       "C:\openkm-6.3.0-community\tomcat\bin\bootstrap.jar;C:\openkm-6.3.0-community\tomcat\bin\tomcat-juli.jar"
Server version: Apache Tomcat/7.0.53
Server built:   Mar 25 2014 06:20:16
Server number:  7.0.53.0
OS Name:        Windows 7
OS Version:     6.1
Architecture:   amd64
JVM Version:    1.8.0_31-b13
JVM Vendor:     Oracle Corporation

Using CATALINA_BASE:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_HOME:   "C:\openkm-6.3.0-community\tomcat"
Using CATALINA_TMPDIR: "C:\openkm-6.3.0-community\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\Java\jre1.8.0_31"
Using CLASSPATH:       "C:\openkm-6.3.0-community\tomcat\bin\bootstrap.jar;C:\openkm-6.3.0-community\tomcat\bin\tomcat-juli.jar"
2015-03-03 16:55:03,693 [main] INFO  org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\DVTk\DVT\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.6\;C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin;C:\php;C:\Program Files\Windows Imaging\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseHg\;C:\ProgramData\ComposerSetup\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenVPN\bin;\lib\sigar;C:\openkm-6.3.0-community\tomcat\lib\sigar;.
2015-03-03 16:55:04,025 [main] INFO  org.apache.coyote.http11.Http11Protocol- Initializing ProtocolHandler ["http-bio-0.0.0.0-8080"]
2015-03-03 16:55:04,056 [main] INFO  org.apache.coyote.ajp.AjpProtocol- Initializing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
2015-03-03 16:55:04,063 [main] INFO  org.apache.catalina.startup.Catalina- Initialization processed in 709 ms


    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\MyACC
    JAVA_HOME=C:\Program Files\Java\jdk1.8.0_31
    JRE_HOME=C:\Program Files\Java\jre1.8.0_31
    KMP_DUPLICATE_LIB_OK=TRUE
    LOCALAPPDATA=C:\Users\MyACC\AppData\Local
    LOGONSERVER=\\PC_NAME
    MKL_SERIAL=YES
    NUMBER_OF_PROCESSORS=8
    OS=Windows_NT
    Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\DVTk\DVT\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.6\;C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin;C:\php;C:\Program Files\Windows Imaging\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseHg\;C:\ProgramData\ComposerSetup\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenVPN\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=1e05
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\MyACC\AppData\Local\Temp
    TMP=C:\Users\MyACC\AppData\Local\Temp
    USERDOMAIN=PC_NAME
    USERNAME=MyACC
    USERPROFILE=C:\Users\MyACC
    VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
    VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir=C:\Windows

我停止了Apache Server NI Web Server,它使用的是端口8080


    2015-03-03 17:11:05,478 [main] INFO  org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\DVTk\DVT\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.6\;C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin;C:\php;C:\Program Files\Windows Imaging\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseHg\;C:\ProgramData\ComposerSetup\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenVPN\bin;\lib\sigar;C:\openkm-6.3.0-community\tomcat\lib\sigar;.
    2015-03-03 17:11:05,811 [main] INFO  org.apache.coyote.http11.Http11Protocol- Initializing ProtocolHandler ["http-bio-0.0.0.0-8080"]
    2015-03-03 17:11:05,842 [main] INFO  org.apache.coyote.ajp.AjpProtocol- Initializing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
    2015-03-03 17:11:05,849 [main] INFO  org.apache.catalina.startup.Catalina- Initialization processed in 707 ms
    2015-03-03 17:11:05,920 [main] INFO  org.apache.catalina.core.StandardService- Starting service Catalina
    2015-03-03 17:11:05,920 [main] INFO  org.apache.catalina.core.StandardEngine- Starting Servlet Engine: Apache Tomcat/7.0.53
    2015-03-03 17:11:05,967 [localhost-startStop-1] INFO  org.apache.catalina.startup.HostConfig- Deploying web application archive C:\openkm-6.3.0-community\tomcat\webapps\OpenKM.war
    2015-03-03 17:11:22,228 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase- ContainerBase.addChild: start: 
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/OpenKM]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: com/openkm/core/AccessDeniedException
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Unknown Source)
        at java.lang.Class.getDeclaredFields(Unknown Source)
        at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
        at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:261)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:140)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
        at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:400)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 10 more
    Caused by: java.lang.ClassNotFoundException: com.openkm.core.AccessDeniedException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
        ... 24 more
    2015-03-03 17:11:22,235 [localhost-startStop-1] ERROR org.apache.catalina.startup.HostConfig- Error deploying web application archive C:\openkm-6.3.0-community\tomcat\webapps\OpenKM.war
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/OpenKM]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    2015-03-03 17:11:22,240 [localhost-startStop-1] INFO  org.apache.catalina.startup.HostConfig- Deploying web application directory C:\openkm-6.3.0-community\tomcat\webapps\ROOT
    2015-03-03 17:11:23,691 [localhost-startStop-1] INFO  org.apache.catalina.util.SessionIdGenerator- Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [521] milliseconds.
    2015-03-03 17:11:23,715 [main] INFO  org.apache.coyote.http11.Http11Protocol- Starting ProtocolHandler ["http-bio-0.0.0.0-8080"]
    2015-03-03 17:11:23,723 [main] INFO  org.apache.coyote.ajp.AjpProtocol- Starting ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
    2015-03-03 17:11:23,724 [main] INFO  org.apache.catalina.startup.Catalina- Server startup in 17874 ms

HTTP Status 404 - /OpenKM

如有任何帮助,将不胜感激(:

共有1个答案

史烈
2023-03-14

您需要做的其他配置很少,我相信他们的文档中没有提到

>

  • openkm.cfg必须第一次更新hibernate.hbm2ddl=create,直到服务器启动没有问题为止。

    xml取消对hsqldb(一种基于文件的存储库,OpenKM默认使用)的资源标记的注释

  •  类似资料:
    • 我在linux中使用eclipse没有问题。但在Windows7上运行时,我遇到了一个普遍的问题,许多人似乎已经面临过这个问题。我尝试了所有的解决方案,但没有一个对我有效,我明白了: 我当前的eclipse.ini如下所示: -Windows 7和eclipse都是64位的。 -Java从java.com自动安装在C:\程序文件(x86)\java\jre7(旧版本已经卸载)中,版本匹配,环境变量

    • 本文向大家介绍Windows7 64位 旗舰版下VirtualBox 4.3.12安装教程,包括了Windows7 64位 旗舰版下VirtualBox 4.3.12安装教程的使用技巧和注意事项,需要的朋友参考一下 写在前面 2014.6 发布《快速入门》 2015.6 更新扩展阅读 2016.1 更新扩展阅读 1、VirtualBox虚拟机——这是什么? VirtualBox 是一款开源虚拟机软

    • 我想开始使用Jmeter进行性能测试,但我无法在我的系统上运行它。 当我点击Jmeter时。bat,命令提示符打开一个分数,然后关闭。我已经设置了java的路径。我使用的是java版本1.8.0_75。 我得到的错误是:

    • 在64位windows 10上运行,我从他们的64位windows网站下载了Spring sts 3.8.2,并安装了JDK 1.8.0_111和JRE 1.8.0_111。 JDK被添加到环境变量PATH。 当运行STS时,我最终会收到以下错误消息: 我也不明白的是,在任务管理器中,STS被标记为32位版本,尽管我下载了64位版本: 这就是我在java版本中得到的: 知道这是怎么回事吗?

    • 问题内容: 我想知道x86和x64中的64位长吗? 问题答案: 是。Java 在任何JVM上都是64位,无一例外。所有Java原语类型都是完全可移植的,并且在所有实现中都具有固定的大小。

    • 为了使用SharePoint对象模型,我在安装在32位计算机和32位操作系统上的Windows服务中使用SharePoint 64位 dll。 64位dll可能在32位计算机上工作吗? 在什么情况下我们会面临“64位dll在32位机器上无法工作”的问题? 如果我想在64位和32位计算机上安装相同的解决方案,该怎么办?我不想每次都更改目标平台。 更新: 经过研发,我发现“32位解决方案可以安装在64