Error setting up Jaas Authentication in Guvnor5.4.0.Final in JbossAS 7.1.1
demkezo May 18, 2012 5:00 AMHello,
I've tried to start up the guvnor-distribution-wars-5.4.0.Final-jboss-as-7.0.war having made a change to the bean.xml file to use Jaas authentication.
I get the error below when I've uncommented the "security:jaas.JaasAuthenticator" stanza, but particularly this element: <jaasConfigName>other</jaasConfigName>.
Can anyone please help me to fix this?
Thanks
10:20:07,300 WARN [org.jboss.solder.config.xml.model.ModelBuilder] (MSC service thread 1-6) Solder Config could not resolve XML namspace for: {}
10:20:07,307 ERROR [stderr] (MSC service thread 1-6) java.lang.NullPointerException
10:20:07,310 ERROR [stderr] (MSC service thread 1-6) at org.jboss.solder.config.xml.model.ModelBuilder.validateXmlItem(ModelBuilder.java:237)
10:20:07,314 ERROR [stderr] (MSC service thread 1-6) at org.jboss.solder.config.xml.model.ModelBuilder.addNodeToResult(ModelBuilder.java:102)
10:20:07,318 ERROR [stderr] (MSC service thread 1-6) at org.jboss.solder.config.xml.model.ModelBuilder.build(ModelBuilder.java:88)
10:20:07,325 ERROR [stderr] (MSC service thread 1-6) at org.jboss.solder.config.xml.bootstrap.XmlConfigExtension.beforeBeanDiscovery(XmlConfigExtension.java:93)
10:20:07,336 ERROR [stderr] (MSC service thread 1-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:20:07,342 ERROR [stderr] (MSC service thread 1-6) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
10:20:07,356 ERROR [stderr] (MSC service thread 1-6) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:20:07,362 ERROR [stderr] (MSC service thread 1-6) at java.lang.reflect.Method.invoke(Method.java:601)
10:20:07,366 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)
10:20:07,371 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
10:20:07,374 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
10:20:07,379 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)
10:20:07,388 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
10:20:07,395 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
10:20:07,402 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
10:20:07,410 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241)
10:20:07,416 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229)
10:20:07,421 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)
10:20:07,427 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)
10:20:07,434 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:4
6)
10:20:07,445 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:46)
10:20:07,453 ERROR [stderr] (MSC service thread 1-6) at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:322)
10:20:07,457 ERROR [stderr] (MSC service thread 1-6) at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)
10:20:07,460 ERROR [stderr] (MSC service thread 1-6) at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
10:20:07,464 ERROR [stderr] (MSC service thread 1-6) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
10:20:07,468 ERROR [stderr] (MSC service thread 1-6) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
10:20:07,473 ERROR [stderr] (MSC service thread 1-6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
10:20:07,478 ERROR [stderr] (MSC service thread 1-6) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
10:20:07,484 ERROR [stderr] (MSC service thread 1-6) at java.lang.Thread.run(Thread.java:722)
-
beans.xml 3.7 KB