This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

please help  RSS feed

Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

i am new to the jboss app server. i just tried runnig this simple code given in the book called begining j2ee 5. but i get an error saying no such a directory. the code is as follows;

1) a usual jsp file named index.jsp
2) a application.xml file which is under META-INF directory. it is as follows;

<?xml version="1.0"?>
<display-name>Hello Java EE World!</display-name>

then according to the book i made a WAR file containing the index.jsp and a EAR file containing the WAR file +the META-INF directory.

then i copied the .ear file in to jboss/server/all/deploy directory.

when i run the server and type in localhost:8080/hello it gives an error saying that the resource is not found. what am i doing wrong? please help

thank you
Author and ninkuma
Posts: 66789
IntelliJ IDE Java jQuery Mac Mac OS X
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!