我有一個Java Servlet應用程序的情況。最初創建了一個「開發」版本,然後完成後,我們創建了一個「測試」,然後創建了一個「現場」。所有3個(開發,測試和現場)部署和運行在我的開發PC上。但是當我們傳輸到服務器時,開發和測試部署並開始正常,但Live將不會啓動。我在兩臺機器上都使用相同版本的Java JRE和Tomcat(Windows XP開發PC和服務器上的Windows Server)。WAR不會部署在不同的機器上
有人可以告訴我這裏可能有什麼問題嗎?
在此先感謝
這裏是Tomcat的控制檯輸出
07-Jan-2014 10:50:17 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting propert
y 'source' to 'org.eclipse.jst.jee.server:Orion' did not find a matching propert
y.
07-Jan-2014 10:50:17 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
07-Jan-2014 10:50:17 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8443"]
07-Jan-2014 10:50:17 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
07-Jan-2014 10:50:17 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
07-Jan-2014 10:50:17 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 911 ms
07-Jan-2014 10:50:17 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
07-Jan-2014 10:50:17 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
07-Jan-2014 10:50:22 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
07-Jan-2014 10:50:22 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:22 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Apache\Tomcat 7.0\webapps\PPSLDev.war
07-Jan-2014 10:50:27 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
07-Jan-2014 10:50:27 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:27 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:27 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Apache\Tomcat 7.0\webapps\PPSLTest.war
07-Jan-2014 10:50:31 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
07-Jan-2014 10:50:31 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:31 com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
07-Jan-2014 10:50:31 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat 7.0\webapps\docs
07-Jan-2014 10:50:32 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat 7.0\webapps\examples
07-Jan-2014 10:50:32 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat 7.0\webapps\host-manager
07-Jan-2014 10:50:32 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat 7.0\webapps\manager
07-Jan-2014 10:50:33 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Apache\Tomcat 7.0\webapps\ROOT
07-Jan-2014 10:50:33 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
07-Jan-2014 10:50:33 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8443"]
07-Jan-2014 10:50:33 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
07-Jan-2014 10:50:33 org.apache.catalina.startup.Catalina start
INFO: Server startup in 16115 ms
問候
AJF
後控制檯輸出等。此外,此應用程序試圖寫入自己的位置? – chrylis
chrylis,我添加了控制檯輸出。戰爭文件是PPSLDev.war,PPSLTest.war和PPSL.war – AJF
我看不到任何錯誤 – Sergi