Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nullpointer during deployment when using the SecurityDomain annotation

 
Tim Storms
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've got the org.jboss.annotation.security.SecurityDomain annotation on my web service class. I do this to reach the application policy in login-config.xml of jboss 4.2.3.

So my annotation:

And my login-config.xml:

On deployment of my EAR file, I always get a Nullpointer:


Does anyone have any idea why this happens? I've been looking for more then 10 hours, so all your help is much appreciated!

Btw, RoleBasedAuthorizationInterceptorFactory.java:49 is this:
 
Tim Storms
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, any help on this?

I've managed to get this thing working in a very small dummy application but this problem is still occuring in my companies application. It's a seam application running on JBoss 4.2.3. Could seam somehow be causing this nullpointer?

I've also posted this problem on http://www.coderanch.com/t/457907/JBoss/HTTP-authentication-accessing-WSDL because I don't really know where to put his problem. Sorry for the duplication!

This is the dependency I use to get the EJB's working:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic