[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3608
  • Last Modified:

netbeans5 project did not run!

hi,
i created an web application project(following the screen instructions).

this is very basic and simple application.

but it did not run . what happened ?


the log message is :

.........
.........

FAIL - Failed to deploy application at context path /strutsProject



FAIL - Failed to deploy application at context path /strutsProject

E:\netbeanproject\strutsProject\nbproject\build-impl.xml:440: Deployment error:

The module has not been deployed.

See the server log for details.

BUILD FAILED (total time: 0 seconds)





build-impl.xml:440(autogenerated)  has the following code..

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





the code around this snippet is

 <target name="run" depends="run-deploy,run-display-browser" description="Deploy to server and show in browser."/>
    <target name="run-deploy" depends="init,compile,compile-jsps,-do-compile-single-jsp,dist">
        <nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
    </target>




can you tell whats happened ? why its not deploying ?


 
thanks
0
cofactor
Asked:
cofactor
  • 6
  • 4
  • 2
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
>> See the server log for details.

Did you see the server log?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
>> The module has not been deployed.

Oh, you need to deploy the web module on the server first.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
cofactorAuthor Commented:
i used

1. clean and build project  // build successful

2 .run project  // deploy failed


there is nothing in the server log.  when i open up the
>E:\netbeanproject\strutsProject\nbproject\build-impl.xml:440: Deployment error:


i got to see,
<nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>  highlighted.

what is this ?

what it could not deploy ?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
When you created that project, did you set it as the main project? Try to see the link I posted.
0
 
cofactorAuthor Commented:
here are the steps i followed


1.  New Project (choose "web")

2.  write the name of project [keep everything default]

3.  next


This would create a sample web apps.


now "clean and build" project

"Run  project"


and that produced those errors.

0
 
cofactorAuthor Commented:
>When you created that project, did you set it as the main project? Try to see the link I posted.

Yes. i did.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Did you register a local server instance with the IDE?
0
 
cofactorAuthor Commented:
It comes with  with Tomcat 5.5.9 bundled.

I am  using Netbeans 5 . Tomcat is in-built
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I know, but you need to register a local server instance. See the link I posted, like I already said many times.
0
 
IcyMonkeyCommented:
This is a horribly left question with an answer and link that does not work?! :(
0
 
IcyMonkeyCommented:
Ok try 2.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now