Home » Archived » Hudson » Hudson 3.0.0 + Active Directory
Hudson 3.0.0 + Active Directory [message #997558] |
Tue, 08 January 2013 05:08  |
Eclipse User |
|
|
|
Hi,
i am testing the new Release of Hudson (3.0.0) and have problems with
the connection to the Active Directory.
The Active Directory Plugin 1.17 does not work anymore. I get the following excepting during the start of Hudson.
Quote:WARNING: Failed to create extension
Throwable occurred: java.lang.NoClassDefFoundError: org.acegisecurity.BadCredentialsException
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java
:85)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79)
at org.hudsonci.inject.internal.extension.SmoothieComponent.<init>(SmoothieComponent.java:45)
at org.hudsonci.inject.internal.extension.SmoothieExtensionLocator.locate(SmoothieExtensionLocator.java:72)
at org.hudsonci.inject.internal.plugin.SmoothiePluginStrategy.findComponents(SmoothiePluginStrategy.java:235)
at org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy.findComponents(DelegatingPluginStrategy.java:74)
At the end i do not have the option AD at the Access Control/Security Realm.
So, is there a way to integrate this plugin or another way to integrate the active directory?
thx
|
|
| | | | | | | |
Re: Hudson 3.0.0 + Active Directory [message #1007707 is a reply to message #1007663] |
Thu, 07 February 2013 03:34   |
Eclipse User |
|
|
|
I tried to reproduce the behavior by restarting several times. Authentication now worked after every restart. Thinking over it, I figured that I normally would only do a restart after changing some configuration. So I went into Configure System and hit the "Save" button. After another restart, the problem showed up again. The log reports that the plugin is initialized correctly but at the end of the log there is this warning again, which is always logged on startup, but in the error case a second time just before Hudson is ready.
Last lines of the log when things are ok:
INFO: Started all plugins
Feb 7, 2013 9:22:57 AM hudson.model.Hudson$5 onAttained
INFO: Attained Discovering plugin initialization tasks
Feb 7, 2013 9:22:57 AM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
Feb 7, 2013 9:22:57 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:22:57 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:22:58 AM hudson.model.Hudson$5 onAttained
INFO: Attained Loading global config
Feb 7, 2013 9:22:59 AM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
Feb 7, 2013 9:22:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained Loading job test job
Feb 7, 2013 9:22:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:22:59 AM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
Feb 7, 2013 9:22:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained Finalizing set up
Feb 7, 2013 9:22:59 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 19006
Feb 7, 2013 9:23:07 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:23:07 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:23:08 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:23:08 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:23:08 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:23:10 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Feb 7, 2013 9:23:10 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Feb 7, 2013 9:23:10 AM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.
End of log whe Active Directory plugin does not work:
INFO: Started all plugins
Feb 7, 2013 9:13:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained Discovering plugin initialization tasks
Feb 7, 2013 9:13:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:13:59 AM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
Feb 7, 2013 9:13:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:13:59 AM hudson.model.Hudson$5 onAttained
INFO: Attained Loading global config
Feb 7, 2013 9:14:00 AM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
Feb 7, 2013 9:14:00 AM hudson.model.Hudson$5 onAttained
INFO: Attained Loading job test job
Feb 7, 2013 9:14:00 AM hudson.model.Hudson$5 onAttained
INFO: Attained null
Feb 7, 2013 9:14:00 AM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
Feb 7, 2013 9:14:00 AM hudson.model.Hudson$5 onAttained
INFO: Attained Finalizing set up
Feb 7, 2013 9:14:00 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 1385
Feb 7, 2013 9:14:08 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:14:09 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:14:09 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:14:09 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:14:10 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
Feb 7, 2013 9:14:14 AM hudson.util.RobustReflectionConverter doUnmarshal
WARNING: Skipping a non-existent type hudson.plugins.active_directory.ActiveDirectorySecurityRealm
Feb 7, 2013 9:14:14 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
Feb 7, 2013 9:14:14 AM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
Feb 7, 2013 9:14:14 AM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.
|
|
| | | |
Goto Forum:
Current Time: Tue Jul 22 13:46:56 EDT 2025
Powered by FUDForum. Page generated in 0.04678 seconds
|