Jetty Application Server 9.3.16基于linux上下文文件的部署

Jetty Application Server 9.3.16基于linux上下文文件的部署,linux,deployment,jetty,Linux,Deployment,Jetty,我有一个问题,我看不到解决办法 我有一个jetty应用服务器在slepos下运行。它启动,webapps文件夹包含一个上下文文件xml <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/conf

我有一个问题,我看不到解决办法

我有一个jetty应用服务器在slepos下运行。它启动,webapps文件夹包含一个上下文文件xml

<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
                       "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.quickstart.QuickStartWebApp">    
<Set name="contextPath"><Property name="noti_1.0.0.localbuild"/>/</Set>
<Set name="war">/programs/noti/noti_1.0.0.localbuild</Set>
<Set name="tempDirectory">/programs/jetty_applicationserver/temp/noti1.0.0.localbuild</Set>
<Set name="autoPreconfigure">true</Set>
<Call name="setAttribute">
    <Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>
    <Arg>nothing.jar</Arg>
</Call>
你能帮我吗?我觉得这不是什么大事

我尝试将其解压部署,文件夹“/programs/noti/noti_1.0.0.localbuild”存在并填充,maven生成的内容为“noti_1.0.0.localbuild.war”

完全相同的xml上下文描述文件在windows上工作(除了从c:\programs到/programs的路径)。完全一样


多谢各位

看起来可能是权限问题。您的Jetty进程是否有权从该目录中读取?我无法复制这个。嗨,谢谢你的回复!我也想到了这一点,但是日志schows---“信息:在servlet映射/*处注册Jersey servlet应用程序,名为notification.ws.price.ws.WebAppApplicationClass,并使用相同名称的应用程序类。”---这向我表明,在找到“/programs/noti/noti_1.0.0.localbuild”!您的
quickstart web.xml
包含哪些内容(在您的webapp中找到)?
/ ---> o.e.j.q.QuickStartWebApp@18486a3{/,file:///programs/noti/noti_1.0.0.localbuild/,UNAVAILABLE}{/programs/noti/noti_1.0.0.localbuild} [failed]