Solved

Netbeans Java J2ee environment keeps throwing error

Posted on 2011-03-20
5
468 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
5 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 125 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 125 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 250 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 250 total points
ID: 35185781
You need to add the ant bin directory (the one that contains ant.bat) to your path
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 43
firstswap challenge 20 68
github account with ecipse 1 42
print map entry 34 55
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now