These are all the libraries I use. Some are internal and not needed but at least all Higgins ones are there. --- David Campos
On Sun, Sep 27, 2009 at 23:10, Deinert, Florian < [email protected]> wrote: > I think the error occurs in > > src/org/eclipse/higgins/configuration/common/ConfigurableComponentFactoryHelper.java > Line 86 > > This is line 86: > final Object objectFactory = ((IExtensionHelper) > extensionHelperClass.newInstance()).getInstanceByExtension("org.eclipse.higgins.configuration.api.componentfactory", > factoryClassName, > "factoryclassname"); > > What is this org.eclipse.higgins.configuration.api.componentfactory ??? > > Maybe he can't find it. > > > > -----Ursprüngliche Nachricht----- > Von: [email protected] im Auftrag von David Campos > Gesendet: So 27.09.2009 22:47 > An: Higgins (Trust Framework) Project developer discussions > Betreff: Re: [higgins-dev] RE: Higgins STS NullPointerException > > I'll send you tomorrow which libraries I use. I hope we can solve your > problem soon. > --- > David Campos > > > On Sun, Sep 27, 2009 at 22:27, Smadja Philippe > <[email protected]>wrote: > > > > > I had a "null pointer exception" problem. > > I use tomcat 6 -- moving from Java 1.6 to Java 1.5 fixes the issue but I > > do no know why... > > > > Cheers > > Philippe. > > > > -----Original Message----- > > From: [email protected] [mailto: > > [email protected]] On Behalf Of Deinert, Florian > > Sent: samedi 26 septembre 2009 19:58 > > To: Higgins (Trust Framework) Project developer discussions > > Subject: AW: [higgins-dev] RE: Higgins STS NullPointerException > > > > I added the Setting Name="IdentityAttributeService" to > > ManagedConfiguration.xml as described in the thread but unfortunately > this > > didn't solve the problem. Strictly speaking this didn't change anything. > > > > I checked out the current version of STS from SVN, added some additional > > log messages and built the TokenService.war with Ant. It seems like > > "this.profileService" in ProfileServiceServer.configure is always NULL. > > What's this "profileService"? > > > > >> I have done all proper configurations and add the right libraries > > (including the ones that don't come into the war package). > > > > Which libraries did you add? > > > > > > > > > > > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > DEBUG LogHelper.trace (71): ProfileServiceServerBinding::createProfile > > |#] > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > DEBUG LogHelper.trace (71): ---ProfileServiceServer.createProfile User: > test > > -- Pass: test > > |#] > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > DEBUG LogHelper.trace (71): ---profileService in > > ProfileServiceServer.createProfile is NULL :-( > > |#] > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > ERROR LogHelper.error (119): createProfile: null > > |#] > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > ERROR LogHelper.error (119): java.lang.NullPointerException > > |#] > > > > > > > [#|2009-09-26T19:51:31.556+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;_RequestID=190361d4-4236-4539-917a-8d52e5fc8deb;| > > > org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile > > ProfileServiceServerBinding.java:123.|#] > > > > > [#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 > > ERROR LogHelper.error (119): > > > org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile > > ProfileServiceServerBinding.java:123. > > |#] > > > > > > > > > > -----Ursprüngliche Nachricht----- > > Von: [email protected] im Auftrag von David Campos > > Gesendet: Sa 26.09.2009 16:39 > > An: Higgins (Trust Framework) Project developer discussions > > Betreff: 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 < > > [email protected]> 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 > > > [email protected] > > > https://dev.eclipse.org/mailman/listinfo/higgins-dev > > > > > > > > > > _______________________________________________ > > 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 > >
activation-1.1.jar activation.jar aopalliance-1.0.jar arq.jar aspectjrt-1.5.4.jar aspectjweaver.jar axiom-api-1.2.jar axiom-dom-1.2.jar axiom-impl-1.2.jar axis-ant-1.4.jar axis-schema.jar axis.jar bandit-jndi-0.2.2229.jar bandit-misc-0.2.1030.jar commons-beanutils.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-dbcp.jar commons-digester-1.7.jar commons-discovery-0.2.jar commons-fileupload-1.2.jar commons-httpclient-3.0.1.jar commons-httpclient-3.0.jar commons-io-1.3.2.jar commons-lang-2.1.jar commons-logging-1.0.4.jar commons-logging.jar commons-pool.jar concurrent-1.3.2.jar dom4j-1.6.1.jar ehcache-1.2.3.jar gwt-servlet.jar gxt.jar higgins-audit-api_1.0.600.jar higgins-configuration-api_1.0.600.jar higgins-configuration-common_1.0.600.jar higgins-configuration-xml_1.0.600.jar higgins-configuration-xrds_1.0.600.jar higgins-icard-provider-cardspace-common_1.0.600.jar higgins-icard-registry_1.0.600.jar higgins-icard_1.0.600.jar higgins-idas-api_1.0.600.jar higgins-idas-common_1.0.600.jar higgins-idas-cp-jndi_1.0.600.jar higgins-idas-cp-xmlfile_1.0.600.jar higgins-idas-registry_1.0.600.jar higgins-idas-spi_1.0.600.jar higgins-messages_1.0.600.jar higgins-registry_1.0.600.jar higgins-sts-api_1.0.600.jar higgins-sts-binding-axis1x-client_1.0.600.jar higgins-sts-binding-axis1x-common_1.0.600.jar higgins-sts-common_1.0.600.jar higgins-sts-server-mapper-appliesto_1.0.600.jar higgins-sts-server-mapper-extension_1.0.600.jar higgins-sts-server-mapper-polling_1.0.600.jar higgins-sts-server-metadata_1.0.600.jar higgins-sts-server-profile-idas_1.0.600.jar higgins-sts-server-token-alf_1.0.600.jar higgins-sts-server-token-compound_1.0.600.jar higgins-sts-server-token-encrypt_1.0.600.jar higgins-sts-server-token-handler_1.0.600.jar higgins-sts-server-token-identity_1.0.600.jar higgins-sts-server-token-saml_1.0.600.jar higgins-sts-server-trust_1.0.600.jar higgins-sts-spi_1.0.600.jar higgins-sts-xmlsecurity-apache_1.0.600.jar higgins-util-idas-cp_1.0.600.jar higgins-util-jscript_1.0.600.jar higgins-util-l10n_1.0.600.jar higgins-util-saml_1.0.600.jar higgins-util-socket_1.0.600.jar hsqldb.jar icu4j_3_4.jar iri.jar jakarta-oro-2.0.8.jar jaxrpc.jar jdo2-api-2.3-ea.jar jena.jar jersey-client-1.1.0-ea.jar jersey-core-1.1.0-ea.jar js.jar jsr311-api-1.1.jar jstl-1.1.2.jar ldap.jar mail-1.4.jar openxdas-0.5.257.jar openxri-client.jar openxri-syntax.jar PasswordField.jar RemoteLogger.jar resolver.jar saaj.jar serializer.jar servlet-api.jar smartwrapper.jar smartwrapper.properties spring-aop-2.0.8.jar spring-security-core-2.0.4.jar spring-security-core-tiger-2.0.4.jar spring-security-taglibs-2.0.4.jar spring-webmvc.jar spring.jar standard.jar stax-api-1.0.1.jar trustedx-client-axis-demo.jar trustedx-client-axis-stub.jar trustedx-client-axis.jar trustedx-provider.jar txspringsec-1.0.0.jar webserviceutils.jar wsdl4j-1.5.1.jar wstx-asl-3.0.1.jar xalan-2.6.0.jar xercesImpl.jar xml-apis.jar xmlsec-1.4.0.jar
_______________________________________________ higgins-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/higgins-dev
