I have built ovirt-engine from the latest GIT master over the past few nights and am running into a MS AD/LDAP error. This same MS AD setup works fine with Released 3.1.<br><br>Current nightly builds from jenkins are not building all the GWT permutations (Internet Explorer for example) so I have been attempting to re-build the engine so I can test using Internet Explorer.<br>
It would be nice if the nightly jenkins builds could be changed to do the build with all GWT permutations enabled.<br><br>I am building in an FC17 environment with updates applied and current as of today. Accordingly maven3 and all build dependencies are installed from the FC17 repositories.<br>
I tried the latest nightly from Jenkins and it does not exhibit the below error. I am guessing I must not have the build recipe/env correct.<br><br>The AD error I am running into looks like:<br><br>2012-09-24 16:15:44,037 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp--127.0.0.1-8702-4) Failed ldap search server LDAP://<a href="http://someserver.foo.com:389">someserver.foo.com:389</a> due to Kerberos error. Please check log for further details.. We should not try the next server<br>
2012-09-24 16:15:44,039 ERROR [org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy] (ajp--127.0.0.1-8702-2) Error from Kerberos: java.lang.NullPointerException<br> at org.ovirt.engine.core.bll.adbroker.GSSAPICallbackHandler.handle(GSSAPICallbackHandler.java:47)<br>
at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:969)<br> at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:966)<br> at java.security.AccessController.doPrivileged(Native Method)<br>
at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:965)<br> at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:870)<br> at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:715)<br>
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:580)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:601)<br> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)<br>
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)<br> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)<br>
at java.security.AccessController.doPrivileged(Native Method)<br> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)<br> at javax.security.auth.login.LoginContext.login(LoginContext.java:594)<br>
at org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticateToKDC(GSSAPIDirContextAuthenticationStrategy.java:127)<br> at org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.explicitAuth(GSSAPIDirContextAuthenticationStrategy.java:119)<br>
at org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticate(GSSAPIDirContextAuthenticationStrategy.java:111)<br> at org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper.useAuthenticationStrategy(GSSAPILdapTemplateWrapper.java:86)<br>
at org.ovirt.engine.core.bll.adbroker.PrepareLdapConnectionTask.call(PrepareLdapConnectionTask.java:56)<br> at org.ovirt.engine.core.bll.adbroker.DirectorySearcher.find(DirectorySearcher.java:103)<br> at org.ovirt.engine.core.bll.adbroker.DirectorySearcher.FindAll(DirectorySearcher.java:48)<br>
at org.ovirt.engine.core.bll.adbroker.LdapSearchGroupsByQueryCommand.executeQuery(LdapSearchGroupsByQueryCommand.java:22)<br> at org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.execute(LdapBrokerCommandBase.java:69)<br>
at org.ovirt.engine.core.bll.adbroker.LdapBrokerBase.RunAdAction(LdapBrokerBase.java:18)<br> at org.ovirt.engine.core.bll.SearchQuery.adSearch(SearchQuery.java:194)<br> at org.ovirt.engine.core.bll.SearchQuery.searchAdGroups(SearchQuery.java:172)<br>
at org.ovirt.engine.core.bll.SearchQuery.executeQueryCommand(SearchQuery.java:79)<br> at org.ovirt.engine.core.bll.QueriesCommandBase.ExecuteCommand(QueriesCommandBase.java:71)<br> at org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41)<br>
at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:384)<br> at org.ovirt.engine.core.bll.Backend.RunQuery(Backend.java:367)<br> at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:601)<br> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)<br>
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)<br> at org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)<br>
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:601)<br>
at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br>
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)<br> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br>
at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br>
at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br>
at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br>
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:211)<br> at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:363)<br> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:194)<br>
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)<br>
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br>
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)<br>
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)<br>
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)<br> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)<br> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br>
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)<br> at org.ovirt.engine.core.common.interfaces.BackendLocal$$$view9.RunQuery(Unknown Source)<br> at org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.RunQuery(GenericApiGWTServiceImpl.java:51)<br>
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:601)<br>
at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)<br> at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:161)<br> at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:222)<br>
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)<br> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)<br> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)<br> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br> at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)<br>
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)<br> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)<br>
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)<br> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)<br> at java.lang.Thread.run(Thread.java:722)<br>
<br>- DHC<br>