Apache Tomcat 7.0.14:build-impl.xml:1111: The module has not been deployed

xrcwrn picture xrcwrn · Mar 22, 2014 · Viewed 77k times · Source

While deploying a project in Netbeans7.4 It is not deploying project in Apache Tomcat 7.0.14 am it is showing following

E:\Project\atom\nbproject\build-impl.xml:1111: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 minute 22 seconds) 

line no:1111 at built-impl.xml is

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" 
forceRedeploy="${forceRedeploy}"/>

To resolve above problem I have followed this link

My context.xml file contains

<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/atom"/>

And all permission is set for general users

How to resolve this problem, what can be other cause for this error

Edit: Now installed Netbeans 8.0 and Apache Tomcat 8 then also showing same problem I am using struts2.3.15 and hibernet3.6

My web.xml content is

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <listener>
        <listener-class> business.schedular.QuartzSchedulerListener </listener-class>
    </listener>
    <session-config>
        <session-timeout>
            120
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>pages/login.jsp</welcome-file>
    </welcome-file-list>
</web-app>

Answer

Mathu picture Mathu · Apr 1, 2014

I am facing this issue often,and let me share my experience:

when I experience this issue, I just switch off my wireless network connectivity and then I will restart Netbeans 7.4 in the wireless offline mode. Once it is restarted I will deploy all the applications which I have to execute for a day.

Deployment will be done Successfully. Later you can activate wireless/network connectivity in your system,further deployment doesn't shows the error.

Until closing Neatbeans7.4, you can deploy,you can clean and build, you can do whatever you want.

But if you are planning to restart the IDE again, Do the same, Deactivate the wireless/network connectivity and do the deployment.

I am handling this issue daily by following the above steps.

Before Wireless/Network Activation:

After Wireless/Network Activation: