• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlets-3b Ant deploy issue

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this

In the c:\java directory, type "ant ffbuild deploy"

a typo? It only builds successfully if I run it from the c:\java\bee directory. But also, even though it builds successfully I get the dreaded HTTP 500 complaint when testing orion. I've even gone as far as re-doing assignments Servlets-1, Servlets-2, and Servlets-3 to make sure files and directories were in tact.

One more thing, ...\web\WEB-INF\web.xml file missing error message came up during first attempt to build bee.war file...was not instructed to create that part of directory structure.
 
village idiot
Posts: 1208
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It has been a while since I had to set this stuff up, I seem to remember having trouble with this too. Let me check my posts and see if it was the same issue. I'll get back to you.
 
John Abong
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Carol. I printed out all of your posts .
I haven't found any specifics yet, though. I'll re-read that stack...

John
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this

quote:In the c:\java directory, type "ant ffbuild deploy"

a typo?


Good catch, John. It is indeed a typo. You need to run ant from the bee directory.

One more thing, ...\web\WEB-INF\web.xml file missing error message came up during first attempt to build bee.war file...was not instructed to create that part of directory structure.

It's under WAR FILES

The static HTML files and JSPs are stored in the top level directory.
The Servlet and related Java class files must be stored in the WEB-INF/classes directory.
Any auxiliary library JAR files must be stored in the WEB-INF/lib directory.
The deployment descriptor is stored as a file named web.xml in the WEB-INF directory.

 
John Abong
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Marilyn and welcome back (sorta). I got it all working now...

John
 
Everybody's invited. Even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic