1

我已经遵循了 PM 安装文档第 5 章中提到的所有步骤,可以在此处找到。我在步骤5.7 验证 PM 安装步骤。当我运行文档中提到的以下 URL 时http://localhost:9090/i2b2/services/listServices,我看到一个空白页。基本上这是我在 chrome 的开发人员工具控制台窗口中看到的 404 Not Found 消息。我不确定为什么 web 服务没有运行。当我使用localhost:9990最终将我重定向到 URL的 URL 时,我可以看到 JBoss 正在运行http://localhost:9990/error/index_win.html

以下命令显示我的构建成功并且一切正常,直到部署步骤 5.5

C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm>"%ANT_HOME%"\bin\ant.bat -f master_build.xml  clean build-all depl
oy
Buildfile: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\master_build.xml

common_init:
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\test-reports
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\genlib
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes

common_clean:
     [echo] Cleaning non-source directories in C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\genlib

clean:

common_init:
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\genlib
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes

common_clean:
     [echo] Cleaning non-source directories in C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc
   [delete] Deleting directory C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\genlib

build-all:

common_init:

init:

compile:
    [javac] C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.server-common\build.xml:45: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

dist:
     [echo] i2b2Common: Creating the archive package!
     [copy] Copying 1 file to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\genlib

dist:
     [echo] ProjectManagement: Creating the archive package!

common_init:
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc
    [mkdir] Created dir: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes

common-classpath:

init:

jaxb_gen:
      [xjc] Consider using <depends>/<produces> so that XJC won't do unnecessary compilation
      [xjc] Compiling file:/C:/Program Files/opt/i2b2 Softwares/i2b2core-src-1707/edu.harvard.i2b2.xml/xsd/cell/pm_1.1/PM_USER.xsd and other
s
      [xjc] Writing output to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc

compile:
    [javac] C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\build.xml:60: warning: 'includeantruntime' was not set
, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 95 source files to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes
    [javac] Note: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\test\edu\harvard\i2b2\pm\ws\PMAxisAbstract.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

axis2aar:
      [jar] Building jar: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist\ProjectManagement.aar

common_init:

common-classpath:

init:

jaxb_gen:
      [xjc] Consider using <depends>/<produces> so that XJC won't do unnecessary compilation
      [xjc] Compiling file:/C:/Program Files/opt/i2b2 Softwares/i2b2core-src-1707/edu.harvard.i2b2.xml/xsd/cell/pm_1.1/PM_USER.xsd and other
s
      [xjc] Writing output to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\gensrc

compile:
    [javac] C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\build.xml:60: warning: 'includeantruntime' was not set
, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 48 source files to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\classes

jar_core:
      [jar] Building jar: C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\dist\ProjectManagement-core.jar

deploy:
     [echo] ProjectManagement: Copying archive package to app server C:Program Filesoptjboss-as-7.1.1.Final
     [copy] Copying 1 file to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\Program Filesoptjboss-as-7.1.1.Final
\standalone\deployments\i2b2.war\WEB-INF\lib
     [copy] Copying 1 file to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\Program Filesoptjboss-as-7.1.1.Final
\standalone\deployments
     [copy] Copying 1 file to C:\Program Files\opt\i2b2 Softwares\i2b2core-src-1707\edu.harvard.i2b2.pm\Program Filesoptjboss-as-7.1.1.Final
\standalone\deployments\i2b2.war\WEB-INF\services

BUILD SUCCESSFUL
Total time: 14 seconds

谁能告诉我我必须采取哪些故障排除步骤?

4

1 回答 1

0

standalone.xml位于 JBoss 中的 localhost 必须具有以下端口:

 <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
        <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
        <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
        <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
        <socket-binding name="ajp" port="9009"/>
        <socket-binding name="http" port="9090"/>
        <socket-binding name="https" port="8443"/>
        <socket-binding name="osgi-http" interface="management" port="8090"/>
        <socket-binding name="remoting" port="4447"/>
        <socket-binding name="txn-recovery-environment" port="4712"/>
        <socket-binding name="txn-status-manager" port="4713"/>
        <outbound-socket-binding name="mail-smtp">
            <remote-destination host="localhost" port="25"/>
        </outbound-socket-binding>
    </socket-binding-group>
于 2016-06-23T20:14:46.200 回答