2016-06-02 7 views
0

환경을 구축 : 우분투에게 내 프로젝트가 잘 작동되었다 7.0.34build-impl.xml : 1048 : 모듈이 배포되지 않았습니다. 자세한 내용은 서버 로그를 참조하십시오. 실패

14.04 LTS, 넷빈즈 7.3.1, Tomcat을, 갑자기 내가 얻을이 error : 나는 대한 연구

/my/project's/path/nbproject/build-impl.xml:1048: The module has not been deployed. 
See the server log for details. 
BUILD FAILED 

일주일 만에 모든 것을 시도했습니다. 데이터베이스 usernamepassword을 확인하고, tomcat 관리자, 넷빈 캐시를 삭제했습니다.

int로 보았습니다. 내가 발견 한 의심스러운 tomcat logs 유일한 것은 localhost_access_log.(date).log 파일에 있었다 :

127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:40:43 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:46 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:49 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:52 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:52 +0300] "GET /Test/service/info/ HTTP/1.1" 200 20468 
127.0.0.1 - - [02/Jun/2016:11:40:55 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:55 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:40:58 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:41:01 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:41:04 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:41:07 +0300] "GET /manager/text/list HTTP/1.1" 404 985 
127.0.0.1 - - [02/Jun/2016:11:41:07 +0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext3726028026992785425.xml&path=/Test HTTP/1.1" 404 989 
127.0.0.1 - - [02/Jun/2016:11:41:10 +0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext3726028026992785425.xml&path=/Test HTTP/1.1" 404 989 
127.0.0.1 - - [02/Jun/2016:11:41:13 +0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext3726028026992785425.xml&path=/Test HTTP/1.1" 404 989 
127.0.0.1 - - [02/Jun/2016:11:41:16 +0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext3726028026992785425.xml&path=/Test HTTP/1.1" 404 989 
127.0.0.1 - - [02/Jun/2016:11:41:19 +0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext3726028026992785425.xml&path=/Test HTTP/1.1" 404 989 
127.0.0.1 - - [02/Jun/2016:11:41:22 +0300] "GET /Test/service/info/ HTTP/1.1" 200 20468 
127.0.0.1 - - [02/Jun/2016:11:41:31 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:41:31 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 
127.0.0.1 - - [02/Jun/2016:11:41:32 +0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 - 

내가 404 오류를 많이 참조하십시오.

아, 응용 프로그램을 실행할 때 브라우저가 시작되지 않습니다. 하지만 모듈이 배포되지 않았기 때문에 그럴 수 있습니다.

아이디어가 있으십니까?

Catalina.2016-06-02.log :

Jun 02, 2016 2:10:25 PM org.apache.catalina.core.AprLifecycleListener init 
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/petre/jdk1.7.0_79/jre/lib/amd64:/home/petre/jdk1.7.0_79/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 
Jun 02, 2016 2:10:25 PM org.apache.coyote.AbstractProtocol init 
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-8080"] 
Jun 02, 2016 2:10:25 PM org.apache.coyote.AbstractProtocol init 
INFO: Initializing ProtocolHandler ["http-nio-127.0.0.1-8443"] 
Jun 02, 2016 2:10:26 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 
INFO: Using a shared selector for servlet write/read 
Jun 02, 2016 2:10:26 PM org.apache.coyote.AbstractProtocol init 
INFO: Initializing ProtocolHandler ["ajp-bio-127.0.0.1-8009"] 
Jun 02, 2016 2:10:26 PM org.apache.catalina.startup.Catalina load 
INFO: Initialization processed in 1023 ms 
Jun 02, 2016 2:10:26 PM org.apache.catalina.core.StandardService startInternal 
INFO: Starting service Catalina 
Jun 02, 2016 2:10:26 PM org.apache.catalina.core.StandardEngine startInternal 
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34 
Jun 02, 2016 2:10:26 PM org.apache.catalina.startup.HostConfig deployDescriptor 
INFO: Deploying configuration descriptor /home/petre/apache-tomcat-7.0.34/conf/Catalina/localhost/VReports.xml 
Jun 02, 2016 2:10:29 PM org.apache.catalina.startup.HostConfig deployDescriptor 
INFO: Deploying configuration descriptor /home/petre/apache-tomcat-7.0.34/conf/Catalina/localhost/HafasPassengerInfo.xml 
Jun 02, 2016 2:10:31 PM com.sun.jersey.api.core.PackagesResourceConfig init 
INFO: Scanning for root resource and provider classes in the packages: 
    server.resource 
Jun 02, 2016 2:10:31 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses 
INFO: Root resource classes found: 
    class server.resource.VJResource 
    class server.resource.GFPSResource 
    class server.resource.CResource 
    class server.resource.SResource 
    class server.resource.TRPIResource 
Jun 02, 2016 2:10:31 PM com.sun.jersey.api.core.ScanningResourceConfig init 
INFO: No provider classes found. 
Jun 02, 2016 2:10:31 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate 
INFO: Initiating Jersey application, version 'Jersey: 1.13 06/29/2012 05:14 PM' 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /home/petre/apache-tomcat-7.0.34/webapps/manager 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /home/petre/apache-tomcat-7.0.34/webapps/docs 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /home/petre/apache-tomcat-7.0.34/webapps/examples 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /home/petre/apache-tomcat-7.0.34/webapps/ROOT 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /home/petre/apache-tomcat-7.0.34/webapps/host-manager 
Jun 02, 2016 2:10:32 PM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-8080"] 
Jun 02, 2016 2:10:32 PM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["http-nio-127.0.0.1-8443"] 
Jun 02, 2016 2:10:32 PM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["ajp-bio-127.0.0.1-8009"] 
Jun 02, 2016 2:10:32 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 6592 ms 
+0

, 카탈리나를 참조하십시오 확인합니다. out 파일이있을 수 있습니다. 가능한 오류 메시지가 있습니다. –

+1

우리에게 catalina.out을 보여주세요 –

+1

나는 catalina-2016-06-02.log를 위의 설명에 추가했습니다. 바람둥이/로그에는 catalina.out이 없습니다. – PetreC

답변

0

변경 톰캣의 디렉토리의 소유자. 리눅스 나 BSD에서이 작업을 수행 :

는 대한 Chown -R 이름 /usr/local/apache-tomcat-8.0/

* 배포판의 디렉토리의 톰캣에있는 경로에