weixin_39603217
weixin_39603217
2020-12-09 10:34

auto deployment of exploded WAR does not work

build: M2 (glassfish-snapshot-v3-preview-m2-b4-13_02_2008.zip)

Please see issue 4223 for hellojsp.war used in this test. Steps to reproduce the issue:

1. stop domain if running 2. create hellojsp.war dir under autodeploy dir (created upon domain startup) 3. unjar hellojsp.war into autodeploy/hellojsp.war 4. start-domain 5. autodeploy fails with the following error in server.log: [#|2008-02-15T16:08:09.791-0800|SEVERE|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-4;|Exception while invoking class com.sun.enterprise.web.WebDeployer prepare method java.lang.RuntimeException: String index out of range: -5 at org.glassfish.javaee.core.deployment.JavaEEDeployer.prepare(JavaEEDeployer.java:134) at com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:271) at com.sun.enterprise.v3.deployment.DeployCommand$1.run(DeployCommand.java:261) at com.sun.enterprise.v3.deployment.DeployCommand$1.run(DeployCommand.java:249) at org.jvnet.hk2.config.ConfigSupport$1.run(ConfigSupport.java:99) at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:163) at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:96) at com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:236) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:171) ...

[#|2008-02-15T16:08:09.839-0800|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=11;_ThreadName=Thread-4;|deployment of /gussie1/j2eetest/runbox/2008-14-02/3/ejb/appserver/glassfish/config/../domains/domain1/autodeploy/hellojsp.war failed|#]

Environment

Operating System: All Platform: All

Affected Versions

[V3]

该提问来源于开源项目:eclipse-ee4j/glassfish

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39603217 weixin_39603217 5月前
    • Issue Imported From: https://github.com/javaee/glassfish/issues/4225
    • Original Issue Raised By:
    • Original Issue Assigned To:
    • Original Issue Closed By:
    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented said: move the target milestone to v3

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented said: I am not seeing this with the latest builds. The underlying causes seems to have been fixed.

    Lidia, please re-open this if you see it recur. It's not happening for me.

    Thanks.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Was assigned to tjquinno

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented This issue was imported from java.net JIRA GLASSFISH-4225

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Reported by lidiam

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Marked as cannot reproduce on Friday, March 28th 2008, 2:56:17 am

    点赞 评论 复制链接分享

相关推荐