我已经遵循了 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
谁能告诉我我必须采取哪些故障排除步骤?