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

Geoffrey De Smet ge0ffrey.spam at gmail.com
Wed Jul 18 09:37:50 EDT 2012


Just realized:
We only use CDI, weld, seam 3 and arquillian since Guvnor 5.4.0
In Guvnor 5.3.0 we still use seam 2 (which does not use the CDI spec jars).

So how can you be running into errors that speak about weld-servlet?

Op 18-07-12 14:19, Ravikiran schreef:
> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

-- 
With kind regards,
Geoffrey De Smet




More information about the rules-users mailing list