David,
It looks you missed "ContextTypes" list for JNDI context cactory in your
configuration file.
........................
<Setting Name="IdentityAttributeService" Type="htf:map">
<Setting Name="ContextFactoryInstancesList" Type="htf:list">
<Setting Name="JNDIContextFactory" Type="htf:map">
<Setting Name="Instance" Type="xsd:string">JNDIContextFactory</Setting>
<Setting Name="ContextTypes" Type="htf:list">
<Setting Name="LDAPContextType" Type="xsd:string">$context+ldap</Setting>
</Setting>
</Setting>
</Setting>
........................
Thanks,
Sergey Lyakhov
----- Original Message -----
From: David Campos
To: Higgins (Trust Framework) Project developer discussions
Sent: Thursday, July 16, 2009 4:16 PM
Subject: [higgins-dev] Problem deploying TokenService M6
Hello all,
After a long time using Higgins TokenService 1.1M1 we have decided to migrate
to the last milestone available. I have done all proper configurations and add
the right libraries (including the ones that don't come into the war package).
The problem I've found is that the app fails on configuration while is trying
to configure the IdasRegistry component.
This is the trace of the log:
5:10:57,790 DEBUG MapHandler.getSetting (117):] Adding Map Entry for Name:
ComponentSettings
[15:10:57,791 DEBUG SingletonHandler.getSetting (45):] Setting Name:
XMLSecurityExtension Value:
org.eclipse.higgins.sts.xmlsecurity.apache.XMLSecurityApacheExtensionFactory
[15:10:57,797 DEBUG LogHelper.trace (71):]
XMLSecurityApacheExtension:XMLSecurityApacheExtension
[15:10:57,800 DEBUG LogHelper.trace (71):]
XMLSecurityApacheExtension:configure
[15:10:57,857 DEBUG LogHelper.trace (71):] SignatureAlgorithm:
http://www.w3.org/2000/09/xmldsig#rsa-sha1
[15:10:57,858 DEBUG LogHelper.trace (71):]
SignatureCanonicalizationAlgorithm: http://www.w3.org/2001/10/xml-exc-c14n#
[15:10:57,858 DEBUG LogHelper.trace (71):]
ReferenceCanonicalizationAlgorithm: http://www.w3.org/2001/10/xml-exc-c14n#
[15:10:57,858 DEBUG LogHelper.trace (71):] ReferenceDigestAlgorithm:
http://www.w3.org/2000/09/xmldsig#sha1
[15:10:57,859 DEBUG LogHelper.trace (71):] EncryptionAlgorithm:
http://www.w3.org/2001/04/xmlenc#aes256-cbc
[15:10:57,859 DEBUG LogHelper.trace (71):] EncryptionAlgorithmProvider: null
[15:10:57,860 DEBUG LogHelper.trace (71):] EncryptionDigestAlgorithm:
http://www.w3.org/2000/09/xmldsig#sha1
[15:10:57,860 DEBUG LogHelper.trace (71):] EncryptionKeyGeneratorAlgorithm:
AES
[15:10:57,860 DEBUG LogHelper.trace (71):] EncryptionKeyGeneratorSize: 256
[15:10:57,861 DEBUG LogHelper.trace (71):]
EncryptionKeyGeneratorAlgorithmProvider: null
[15:10:57,861 DEBUG LogHelper.trace (71):] EncryptionKeyWrapAlgorithm:
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
[15:10:57,863 DEBUG LogHelper.trace (71):]
EncryptionKeyWrapAlgorithmProvider: null
[15:10:57,863 DEBUG MapHandler.getSetting (117):] Adding Map Entry for
Name: XMLSecurityExtension
[15:10:57,864 DEBUG ClassInstanceHandler.getSetting (80):] Setting Name:
JNDIContextFactory Value: org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory
[15:10:57,870 DEBUG MapHandler.getSetting (117):] Adding Map Entry for
Name: JNDIContextFactory
[15:10:57,870 DEBUG ClassSingletonHandler.getSetting (46):] Setting Name:
IdentityAttributeService Value: org.eclipse.higgins.idas.registry.IdASRegistry
[15:10:57,877 ERROR ConfigurationHandler.configure (439):]
[15:10:57,877 ERROR LogHelper.error (119):] modifyProfile: null
[15:10:57,878 ERROR LogHelper.error (119):] java.lang.NullPointerException
[15:10:57,881 ERROR LogHelper.error (119):]
org.eclipse.higgins.idas.registry.IdASRegistry::registerContextFactory
IdASRegistry.java:467.
[15:10:57,882 ERROR LogHelper.error (119):]
org.eclipse.higgins.idas.registry.IdASRegistry::configure IdASRegistry.java:291.
[15:10:57,882 ERROR LogHelper.error (119):]
org.eclipse.higgins.configuration.xml.ClassSingletonHandler::getSetting
ClassSingletonHandler.java:81.
[15:10:57,883 ERROR LogHelper.error (119):]
org.eclipse.higgins.configuration.xml.MapHandler::getSetting
MapHandler.java:108.
[15:10:57,883 ERROR LogHelper.error (119):]
org.eclipse.higgins.configuration.xml.ConfigurationHandler::configure
ConfigurationHandler.java:425.
[15:10:57,884 ERROR LogHelper.error (119):]
org.eclipse.higgins.configuration.xml.ConfigurationHandler::configure
ConfigurationHandler.java:291.
[15:10:57,884 ERROR LogHelper.error (119):]
org.eclipse.higgins.sts.utilities.Configuration::configure
Configuration.java:60.
I don't know which is the reason of this error... could you help me?
---
David Campos
------------------------------------------------------------------------------
_______________________________________________
higgins-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/higgins-dev
_______________________________________________
higgins-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/higgins-dev