WEBTOP Version : 6.5
1 websphere application server 版本必須在6.1.0.17以上, 6.1.0.0不行.
The WAS version should be higher then 6.1.0.17, 6.1.0.0 does not work.
2 需要建一個自定義參數
A new properties need to be created as following
Application servers > server1 > Web container > Custom Properties
com.ibm.ws.webcontainer.invokefilterscompatibility = true
3 部署完成後,需要在 ibm-web-ext.xmi 中加入
After the webtop application installation, the following should be added to ibm-web-ext.xmi
<jspAttributes xmi:id="JSPAttribute_1178213473751" name="jdkSourceLevel" value="15"/>
<jspAttributes xmi:id="JSPAttribute_3" name="useJDKCompiler" value="true"/>
ibm-web-ext.xmi 在以下2個位置
ibm-web-ext.xmi can be found from the blow locations.
..\config\cells\..\applications\XX.ear\deployments\XX\XX.war\WEB-INF,
..\installedApps\xxCell\XX.ear\XX.war\WEB-INF
4 部署完成後,需要在把Class loader order改爲application first
After the webtop application installation, the Enterprise Application's Class loader order need to turn to application first.
PS. 可以把正確的ibm-web-ext.xmi和deployment.xml直接打進ear包,這樣部署完就可以跳過3、4條直接啓動。"正確"的意思是
ibm-web-ext.xmi中添加了
<jspAttributes xmi:id="JSPAttribute_1178213473751" name="jdkSourceLevel" value="15"/>
<jspAttributes xmi:id="JSPAttribute_3" name="useJDKCompiler" value="true"/>
deployment.xml中設置了
<classloader xmi:id="Classloader_xxx" mode="PARENT_LAST"/>
並且這2個文件在ear中正確的位置