Win a copy of Spring Boot in Practice this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

jboss.tomcat bundle newbie question

Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys,
I am having a problem with the Tomcat bundled with JBoss (no probs with EJBs and non-web clients). I have read the FAQ at JBoss web site, as well as some replies in this forum but it Did not help.
I have made a simple directory called webclient.war and have used the normal war structure :
---GetLocation (my servlet)
When I copy the directory under the depoly dir of JBoss, I don't get any probs. Just says it is deployed. (but do get a warning)

I can access my Hello.jsp page, without probs too if I give the full link:
but I can not access my Servlet GetLocation (when I don't use the server-mapping):
All give 404 error

The web-xml looks something like:

The only way I can access it is trough the /Get (and in case I have mappings like in the previous web.xml file)
Any help. I am using IBM r42 with XP as test box, and jboss ver like shown bellow.
ANy help, will be apreciated. Links related to ear /jar /war and the different xml set-up files would be cool.
PS: ant scripts work fine, but I want to do it manually for testing, and don't wanna read 35k ant files. SO if you have made
the smallest ever ant or maven script for jboss dep of an ear file/ simple template, it would be great.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic