• 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

Enterprise application web module error

 
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Experts Exchange > Programming > Prog Languages > Java > J2EE > Enterprise Application Web Module Error
Enterprise application web module error
Asked by: gudii9
Hi,

I have created one new enterprise aplication project called July2014. While creating I have added one new EJB module called July2014EJB for business logic and one new web module Called July2014Web for the UI(I see connector module and application client module what are the uses of them and when should i select them).I have addded one index.jsp with below sample code






When i right click on the parent July2014 EAR project (which is basically empty except it contains web module and ejb module within it ) run on JBoss 7.1 server on my windows laptop I am getting errors as attached.


HTTP Status 404 - /July2014Web/

--------------------------------------------------------------------------------

type Status report

message /July2014Web/

description The requested resource (/July2014Web/) is not available.


--------------------------------------------------------------------------------

JBoss Web/7.0.13.Final

I did multiple times clean, build, publish, restarting the server.

I have not done refreshing EAR, EJB and web project. I am not sure how Refresh is useful and different from clean and build
How to fix this issue. Please advise.
EARProjectWebModuleError.jpg
[Thumbnail for EARProjectWebModuleError.jpg]
error
ApplClientClientModules.jpg
[Thumbnail for ApplClientClientModules.jpg]
appl client and connectore modules
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it work if you try http://localhost:8080/July2014Web/index.jsp? And if not, check in the console view and tell us what it says there. There should be an error message if it doesn't work.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actualyl when i selected EAR, EJB and WEB projects all three of them and 'Refresh' then the issue solved. Before that i did multiple clean, build, publish, restart, add/remove project from server, creating new instance of server etc.

Do i need to do this kind of exercise for creating and running any simiple EJB example. Why EJB examples do not run for first time. How the refresh is different from clean build.

connector module and application client module what are the uses of them
Please advise
 
reply
    Bookmark Topic Watch Topic
  • New Topic