[rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

Ravikiran ravikiran.kakarla at gmail.com
Wed Jul 18 08:19:14 EDT 2012


Hi Geoffrey & Other Gurus

To throw more light on the above error message, please find below the
getCurrentUser() method snippet that i have taken from the source of
SecurityServiceServlet.java. Please tell me in what cases the
securityService comes as null for causing this exception.

public UserSecurityContext getCurrentUser() {
        if (securityService == null) {
            // This is the first method called by the client.
            // If CDI hasn't kicked in (theoretically impossible...), throw
a readable exception
            throw new IllegalStateException("CDI hasn't been properly
started.\n" +
                    "  Make sure your IDE classpath is in sync with the real
maven classpath.\n" +
                    "  The classpath should include weld-servlet.");
        }
    return securityService.getCurrentUser();
}

Thanks a lot

--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-integration-with-Webshere-Exception-during-startup-Please-help-tp4018745p4018752.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list