aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Enterprise application web module error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Enterprise application web module error" Watch "Enterprise application web module error" New topic
Author

Enterprise application web module error

sai rama krishna
Ranch Hand

Joined: May 29, 2009
Posts: 269
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.



[Thumbnail for EARProjectWebModuleError.jpg]


[Thumbnail for ApplClientClientModules.jpg]

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
sai rama krishna
Ranch Hand

Joined: May 29, 2009
Posts: 269
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enterprise application web module error