[mdlug] [Newbie] Unable to execute tomcat5 example webapp

Robert Meier list1c30fe42 at bellsouth.net
Tue Oct 21 13:58:02 EDT 2008


Java drinkers,

I'm trying to learn java web apps with netbeans.
I've successfully written standalone executables.
I can download and use java web apps in firefox.



I suspect that my manager.username and manager.password are incorrect,
but I do not know where, how, or to what to set them.



Following the tutorial, I've never imported a successful project
from existing java sources nor built a successful web app.

  file:///usr/share/netbeans/nb5.0/docs/quickstart_jump.html
    file:///usr/share/netbeans/nb5.0/docs/import_web.html
      (...import the Tomcat Web Server's sample "Hello World" application...)



netbeans> [Run/Run Main Project]
prepare:
compile:
install:
/home/developer/java/hello/build.xml:371:
  java.io.FileNotFoundException:
    http://localhost:8084/manager/deploy?
      path=%2FMyProject&
      war=file%3A%2F%2F%2Fhome%2Fdeveloper%2Fjava%2Fhello%2Fbuild
BUILD FAILED (total time: 0 seconds)

      ---- build.xml ----
...
    <deploy url="${manager.url}"
       username="${manager.username}"
       password="${manager.password}"
           path="${app.path}"
       localWar="file://${build.home}"/>
...
      ---- build.xml ----



Distro: SuSE-10.1
IDE:	netbeans-5.0-14.1 (from NOAA SuSE repository)
tomcat:	tomcat5-5.0.30-53 (from NOAA SuSE repository)
java:	java-1_5_0-sun-1.5.0_12-2.1 (from Sun cited by netbeans)
jre:	jre-6u7-linux-i586 (from Sun cited by netbeans)



Any help would be appreciated.

TIA,
-- 
Bob

"To translate it into UNIX system administration terms (Randy's
fundamental metaphor for just about everything), the post-modern,
politically correct atheists were like people who had suddenly found
themselves in charge of a big and unfathomably complex computer system
(viz. society) with no documentation or instruction of any kind, and so
whose only way to keep the thing running was to invent and enforce
certain rules with a kind of neo-Puritanic rigor, because they were at
a loss to deal with any deviations from what they saw as the norm.
Whereas people who were wired into a church were like UNIX system
administrators who, while they might not understand everything, at least
had some documentation, som FAQs and How-tos and README files, providing
some guidance on what to do when things got out of whack.  They were, in
other words, capable of displaying adaptability."
      -- Neal Stephenson, Cryptonomicon, p.585





More information about the mdlug mailing list