Skip to main content

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

The first time when I try to create a subject NoClassDefFoundError occurs.

On the second time createProfile is NULL.



[#|2009-09-27T21:50:41.156+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=18;_ThreadName=httpSSLWorkerThread-6080-2;|21:50:41,156 DEBUG SingletonHandler.getSetting (45): Setting Name: ProfileService Value: org.eclipse.higgins.sts.server.profile.ProfileServiceFactory
|#]

[#|2009-09-27T21:50:41.156+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-6080-2;_RequestID=057a5395-4ecb-4cbc-9ec6-b0fb3aabcf29;|StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Platform
	at org.eclipse.higgins.configuration.common.plugin.ExtensionHelper.getInstanceByExtension(ExtensionHelper.java:20)
	at org.eclipse.higgins.configuration.common.ConfigurableComponentFactoryHelper.getSingletonFromFactory(ConfigurableComponentFactoryHelper.java:86)
	at org.eclipse.higgins.configuration.xml.SingletonHandler.getSetting(SingletonHandler.java:47)
	at org.eclipse.higgins.configuration.xml.MapHandler.getSetting(MapHandler.java:108)
	at org.eclipse.higgins.configuration.xml.ConfigurationHandler.configure(ConfigurationHandler.java:425)
	at org.eclipse.higgins.configuration.xml.ConfigurationHandler.configure(ConfigurationHandler.java:291)
	at org.eclipse.higgins.sts.utilities.Configuration.configure(Configuration.java:60)
	at org.eclipse.higgins.sts.binding.axis1x.ServerServiceBinding.configure(ServerServiceBinding.java:101)
	at org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding.configure(ProfileServiceServerBinding.java:65)
	at org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding.createProfile(ProfileServiceServerBinding.java:110)
	at org.eclipse.higgins.sts.binding.axis1x.service.ProfileBindingImpl.createProfile(ProfileBindingImpl.java:38)
	at org.apache.jsp.ProcessCreateProfile_jsp._jspService(ProcessCreateProfile_jsp.java:102)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]




-----Ursprüngliche Nachricht-----
Von: higgins-dev-bounces@xxxxxxxxxxx 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 <
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
>
>

<<winmail.dat>>


Back to the top