resin解压war包错误

打好的war包,放到resin webapps目录,启动resin,报如下错误:

java.lang.IllegalArgumentException
[11:59:57.679]  at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:293)
[11:59:57.679]  at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:247)
[11:59:57.679]  at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:74)
[11:59:57.679]  at com.caucho.server.deploy.ExpandDeployController.expandArchiveImpl(ExpandDeployController.java:390)
[11:59:57.679]  at com.caucho.server.deploy.ExpandDeployController.expandArchive(ExpandDeployController.java:189)
[11:59:57.679]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:661)
[11:59:57.679]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[11:59:57.679]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[11:59:57.679]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[11:59:57.679]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
[11:59:57.679]  at com.caucho.server.host.Host.start(Host.java:450)
[11:59:57.679]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[11:59:57.679]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[11:59:57.679]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[11:59:57.679]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[11:59:57.679]  at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
[11:59:57.679]  at com.caucho.server.cluster.Server.start(Server.java:1319)
[11:59:57.679]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
[11:59:57.679]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
[11:59:57.679]  at com.caucho.server.resin.Resin.start(Resin.java:703)
[11:59:57.679]  at com.caucho.server.resin.Resin.initMain(Resin.java:1162)
[11:59:57.679]  at com.caucho.server.resin.Resin.main(Resin.java:1365)

意思是说resin在解压war包到应用目录时,发生了错误,有错误参数。

经过调试,发现war里有一个中文命名的文件,于是修改中文文件名为英文的,再打war包启动resin成功!

看来resin对中文支持的还不是很好。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值