• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Nullpointer during deployment when using the SecurityDomain annotation

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://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:
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic