Skip to main content

custom realm creation problem

No replies
Joined: 2012-10-16

hello, I have a jar with some classes that implement some custom realms. I'm using it in glassfish 2.1, putting it in {glassfish-dir}/lib and changing the login.conf.. all works fine

Now, I trying to use it on glassfish 3.1 but when I create the realm through the admin console, I always see this error:
java.lang.NoClassDefFoundError: com/sun/enterprise/security/LoginException

I tried putting the jar in {glassfish-dir}/lib and {domain-dir}/lib as I saw in , but the error is the same. The login.conf is changed as I did with glassfish 2

please I need help, any suggestions will be appreciated