首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

部署war包时出错,该如何解决

2012-04-13 
部署war包时出错从控制台导入应用war包时,进程挂起。WSVR0605W: 线程“WebContainer : 1”(00000032)已保持活

部署war包时出错
从控制台导入应用war包时,进程挂起。

WSVR0605W: 线程“WebContainer : 1”(00000032)已保持活动状态 680828 毫秒,此线程可能已挂起。在服务器中共有 1 个线程可能处于挂起状态。
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:234)
at java.util.zip.InflaterInputStream.read (InflaterInputStream.java: 146)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:157)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:103)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:81)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy. NestedArchiveLoadStrategyImpl. getZipInputStreamSkippedTo (NestedArchiveLoadStrategyImpl. java:249)
………

IBM官方网站给出解决办法,安装7.0.0.3(update Installer)。Problem conclusion 
The install step examines the annotations of all of the classes in the ear, war and jar files. The algorithm for examining the class files within these archive files has been modified to decrease the installation time.
The fix for this APAR is currently targeted for inclusion in fixpacks 6.1.0.23 and 7.0.0.3.

但安装完成,升级后,该问题还没有解决,错误一样,长时间不能完成安装。



[解决办法]
1.Export your portlet as a .war file (currently, there is no means to deploy a portlet directly from RAD into TIP -- as of TIP 1.1d8)
2. Copy the .war file to <TIP install dir>\systemApps\isclite.ear\<yourportlet>.war
3. Make sure TIP is started: <TIP install dir>\bin\startServer.bat server1 -user iscadmin -pass iscpass
4. Use wsadmin to install the .war
<TIP install dir>\bin\wsadmin.bat -username iscadmin -password iscpass
wasadmin>$AdminApp update isclite modulefile {-operation add -contents C://<TIP install dir >//systemApps//isclite.ear//<WAR file>
-contenturi <WAR file> -custom paavalidation=true -usedefaultbindings -contextroot /<context root> -MapWebModToVH {{.* .*
admin_host}}}
wasadmin>$AdminConfig save
wasadmin> exit
for example...
wasadmin>$AdminApp update isclite modulefile {-operation add -contents C://IBM//TIP//systemApps//isclite.ear//HelloWorld.war
-contenturi HelloWorld.war -custom paavalidation=true -usedefaultbindings -contextroot /HelloWorld -MapWebModToVH {{.* .*
admin_host}}}
5. Should anything go wrong during the deployment of your portlet, you can cancel the wsadmin changes by typing the following:
wasadmin> $AdminConfig reset
wasadmin> $AdminConfig save
wasadmin> exit
restart TIP
[解决办法]
搞不懂

热点排行