【发布时间】:2011-08-27 20:30:47
【问题描述】:
我尝试this example 将战争嵌入码头。 当我在 Eclipse 上调试一切正常并且 web 服务在端口 8080 中部署良好,但是当我用这个程序制作一个 jar 并放入服务器时(我尝试进入 tomcat 5.5 和码头 7.4.1)当我开始程序,当我启动码头服务器时出现这个异常:
7641 [qtp21021313-35] ERROR configuration.EngineConfigurationFactoryServlet - Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
7641 [qtp21021313-35] WARN configuration.EngineConfigurationFactoryServlet - Unable to load/create servlet engine config file, attempting internal default (from jar).
仅部署默认的 webservices 方法(AdminService 和版本) wsdd 很好。如果我将这场战争部署到服务器中,它会完美运行
【问题讨论】:
标签: java deployment servlets jetty embedded-jetty