Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access Error = EJB + Glassfish + Netbeans

Berg Oliveira
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My situation: I have the following panel:
- Using Project: EJB Glashfish + v3 + Netbeans 6.8
- Platform: WEB
- Type of project: EAR

: I have a SessionBean called GenericDAO, which is the only one who knows the others sessionbeans and, through them, the persistence layers.
Needed to implement a new method in my GenericDAO. Something quite simple: get the object type and do a specific search in the corresponding SessionBean.
This new method was created pq no other existing method to satisfy my situation.

The problem: when I try to access this new method GenericDAO, Glassfish says he does not have permission. Simple as that.
Did another test: I created another method that did nothing, just returning 'null'. Returned the same error.

So if I use the methods already published, shows no problem.
If you need to implement a new method, at the execution, gives the error below.

- Every time I need to create a new method, it gives this error.
- I had to reimplement the entire project once cuz I could not resolve this error, and I think it can not be so.

So, any help is welcome.
Thank you. God bless

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic