Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB MDB example on netbeans HTTP Status 404

 
sai rama krishna
Ranch Hand
Posts: 496
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working on below example.

https://netbeans.org/kb/docs/javaee/javaee-entapp-ejb.html

i have downloaded the source code and then imported as archive project and ran the ejb project ie NewApp-ear(not other project NewsApp-war that is create there as shown in ejb1.png).

I am not sure why NewsAPP containing war and jar not created as show in ejbEE.png attachment and above link?

After that when i go to below URL
http://localhost:8080/NewApp-war/ListNews
HTTP Status 404 -

type Status report

message

descriptionThe requested resource is not available.

GlassFish Server Open Source Edition 4.1.1
getting below error

please advise on how to fix above error and see NewsAPP project and execute that to give and get response from Queue through servlet using session beans?
ejb1.png
[Thumbnail for ejb1.png]
ejb1
ejbEE.png
[Thumbnail for ejbEE.png]
ejbEE
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!