Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] RE: Higgins STS NullPointerException

Yes, I also suppose it occured because ManagedConfiguration.xml in org.eclipse.higgins.sts.binding.axis1x.service does not confirm to JNDI CP requrements. I suppose we need to prepare differnent examples of ManagedConfiguration.xml for each context provider and commit it to org.eclipse.higgins.sts.binding.axis1x.service (at least for xmlfile CP which can be configured more easier than JNDI CP).
 
Thanks,
Sergey Lyakhov
----- Original Message -----
Sent: Saturday, September 26, 2009 5:39 PM
Subject: Re: [higgins-dev] RE: Higgins STS NullPointerException

Now I see :) That happened to me deploying Higgins TokenService M6 on Tomcat 6.0 with Java 6. If it's the same problem it comes from a bad configuration file :)

Follow this topic and try the solution that worked for me: http://www.nabble.com/Problem-deploying-TokenService-M6-to24516173.html#a24516173

I hope this solves your problem.

Regards,
---
David Campos


On Sat, Sep 26, 2009 at 15:09, Deinert, Florian <Florian.Deinert@xxxxxxxxxxxxxxxxxxx> wrote:
A complete stacktrace would be too long but this is where the error occurs. I think it's something with this JNDIContextFactory.
Do I need any other additional jar files for JNDI?


[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG LogHelper.trace (71): EncryptionKeyGeneratorSize: 256
|#]

[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG LogHelper.trace (71): EncryptionKeyGeneratorAlgorithmProvider: null
|#]

[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG LogHelper.trace (71): EncryptionKeyWrapAlgorithm: http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
|#]

[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG LogHelper.trace (71): EncryptionKeyWrapAlgorithmProvider: null
|#]

[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG MapHandler.getSetting (117): Adding Map Entry for Name: XMLSecurityExtension
|#]

[#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612 DEBUG ClassInstanceHandler.getSetting (80): Setting Name: JNDIContextFactory Value: org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory
|#]

[#|2009-09-26T14:30:53.627+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,627 DEBUG MapHandler.getSetting (117): Adding Map Entry for Name: JNDIContextFactory
|#]

[#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,627 DEBUG ClassSingletonHandler.getSetting (46): Setting Name: IdentityAttributeService Value: org.eclipse.higgins.idas.registry.IdASRegistry
|#]

[#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643 ERROR ConfigurationHandler.configure (445):
|#]

[#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643 ERROR LogHelper.error (119): createProfile: null
|#]

[#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643 ERROR LogHelper.error (119): java.lang.NullPointerException
|#]

[#|2009-09-26T14:30:53.658+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=08ad8227-17e2-461c-ac9a-e6cb12485fdd;|
org.eclipse.higgins.idas.registry.IdASRegistry::registerContextFactory IdASRegistry.java:467.|#]

[#|2009-09-26T14:30:53.658+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,658 ERROR LogHelper.error (119): org.eclipse.higgins.idas.registry.IdASRegistry::registerContextFactory IdASRegistry.java:467.
|#]

[#|2009-09-26T14:30:53.658+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=08ad8227-17e2-461c-ac9a-e6cb12485fdd;|
org.eclipse.higgins.idas.registry.IdASRegistry::configure IdASRegistry.java:291.|#]

[#|2009-09-26T14:30:53.658+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,658 ERROR LogHelper.error (119): org.eclipse.higgins.idas.registry.IdASRegistry::configure IdASRegistry.java:291.
|#]





....and this is the corresponding part of the ManagedConfiguration.xml

               <!-- The name of the class that provides the factory for the class that implements the Apache XML Security Extension -->
               <Setting Name="XMLSecurityExtension" Type="htf:singleton">org.eclipse.higgins.sts.xmlsecurity.apache.XMLSecurityApacheExtensionFactory</Setting>

               <!-- The name of the class that provides the factory for the class that implements the JNDI Context Provider -->
               <Setting Name="JNDIContextFactory" Type="htf:classinstance">org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory</Setting>

               <!-- The name of the class that provides the factory for the class that implements the IdASRegistry -->
               <Setting Name="IdentityAttributeService" Type="htf:classsingleton">org.eclipse.higgins.idas.registry.IdASRegistry</Setting>

               <!-- The name of the class that provides the factory for the class that implements the AppliesTo Mapper -->
               <Setting Name="AppliesToMapper" Type="htf:singleton">org.eclipse.higgins.sts.server.mapper.appliesto.AppliesToMapperFactory</Setting>

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev



_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Back to the top