title: build-impl.xml:1048: The module has not been deployed. See the server log for details. BUILD FAILED
body: <blockquote>
    <p>Environment: Ubuntu 14.04 LTS, NetBeans 7.3.1, Tomcat 7.0.34</p>
  </blockquote>
  
  <p>My project was working fine, and suddenly I get this <code>error</code>:</p>
  
  <pre><code>/my/project's/path/nbproject/build-impl.xml:1048: The module has not been deployed.
  See the server log for details.
  BUILD FAILED
  </code></pre>
  
  <p>I researched for a week, and I tried everything: checked the database <code>username</code> and <code>password</code>, installed <code>tomcat</code> admin, cleared netbeans cache, etc.</p>
  
  <p>I looked int the <code>tomcat logs</code> and the only thing suspicious that I found was in the <code>localhost_access_log.(date).log</code> file:</p>
  
  <pre><code>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&amp;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&amp;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&amp;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&amp;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&amp;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 -
  </code></pre>
  
  <p>I see a lot of 404 errors.</p>
  
  <p>Oh, and the browser doesn't start when I run the application. But that is  probably happening because the module is not deployed.</p>
  
  <p>Any ideas?</p>
  
  <p>Catalina.2016-06-02.log:</p>
  
  <pre><code>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
  </code></pre>