?
Solved

Netbeans Java J2ee environment keeps throwing error

Posted on 2011-03-20
5
Medium Priority
?
473 Views
Last Modified: 2012-05-11
Whenever I deploy a web application in netbeans I get the following error:
In-place deployment at C:\Documents and Settings\Home\My Documents\NetBeansProjects\TestWebApplicationProject\build\web
deploy?path=C:\Documents and Settings\Home\My Documents\NetBeansProjects\TestWebApplicationProject\build\web&name=TestWebApplicationProject&force=true failed on GlassFish Server 3
C:\Documents and Settings\Home\My Documents\NetBeansProjects\TestWebApplicationProject\nbproject\build-impl.xml:694: The module has not been deployed.
BUILD FAILED (total time: 6 seconds)

Can some one let me know how to resolve this error
0
Comment
Question by:onaled777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 35178196
I guess it id not very informative message
It just states  that deployment failed.
There probably could be many different reasons with the same message
like that, maybe you could
find details in some log file.

People report a lot of such errors (see examples below)
but there is now guarantee that they are caused by
the same issue.

Some are even writing that if you upgrade
netbeans to 6.9 the issue  will go away (of course those
folks were running on 6.8)
but it probably depends on what is the root cause of the issue.
 

http://netbeans-org.1045718.n5.nabble.com/6-8-Can-t-deploy-Java-EE-6-Enterprise-Application-td2927939.html

http://www.techienuggets.com/Comments?tx=110533
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 500 total points
ID: 35178501
I think ur build.xml not build(create) correctly or Some invaild DD problem in ur JSP
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 1000 total points
ID: 35179720
Try running the following at the command line. Attach the log file ant.log (in the current directory) here
C:\Documents and Settings\Home\My Documents\NetBeansProjects\TestWebApplicationProject>ant -d >ant.log 2>&1

Open in new window

0
 

Author Comment

by:onaled777
ID: 35185546
@CFHJ
'ant' is not recognized as an internal or external command,
operable program or batch file.
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 1000 total points
ID: 35185781
You need to add the ant bin directory (the one that contains ant.bat) to your path
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
A solution for Fortify Path Manipulation.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question