Higgins STS NullPointerException

View: New views
20 Messages — Rating Filter:   Alert me  

Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...

 


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

RE: Higgins STS NullPointerException

by PASQUIER thomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn’t work (maybe it works now).

 

 

Thomas Pasquier

 

 


From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

 

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...

 


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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks, but I tried with Java 6 and Java 5 and there was no difference.

 

 

 

Von: cyrus@... [mailto:cyrus@...] Im Auftrag von PASQUIER thomas
Gesendet: Thursday, September 24, 2009 2:27 PM
An: Higgins (Trust Framework) Project developer discussions
Betreff: [higgins-dev] RE: Higgins STS NullPointerException

 

Hi,

 

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn’t work (maybe it works now).

 

 

Thomas Pasquier

 

 


From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

 

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...

 


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

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe you haven't placed all required libraries. Try to increase the logging level to trace to see if there is more info.
---
David Campos


On Thu, Sep 24, 2009 at 14:28, Deinert, Florian <Florian.Deinert@...> wrote:

Thanks, but I tried with Java 6 and Java 5 and there was no difference.

 

 

 

Von: cyrus@... [mailto:cyrus@...] Im Auftrag von PASQUIER thomas
Gesendet: Thursday, September 24, 2009 2:27 PM
An: Higgins (Trust Framework) Project developer discussions
Betreff: [higgins-dev] RE: Higgins STS NullPointerException

 

Hi,

 

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn’t work (maybe it works now).

 

 

Thomas Pasquier

 

 


From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

 

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...

 


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



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

Re: RE: Higgins STS NullPointerException

by Markus Sabadello :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah it would help to get a detailed stack trace to see where the exception occurs.

Thomas is right, there have been reports of problems with Java 6 a number of times, but since Florian says he tried it with Java 5 and 6, it's probably something else..

Markus

On Thu, Sep 24, 2009 at 3:19 PM, David Campos <noymn.the.archangel@...> wrote:
Maybe you haven't placed all required libraries. Try to increase the logging level to trace to see if there is more info.
---
David Campos


On Thu, Sep 24, 2009 at 14:28, Deinert, Florian <Florian.Deinert@...> wrote:

Thanks, but I tried with Java 6 and Java 5 and there was no difference.

 

 

 

Von: cyrus@... [mailto:cyrus@...] Im Auftrag von PASQUIER thomas
Gesendet: Thursday, September 24, 2009 2:27 PM
An: Higgins (Trust Framework) Project developer discussions
Betreff: [higgins-dev] RE: Higgins STS NullPointerException

 

Hi,

 

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn’t work (maybe it works now).

 

 

Thomas Pasquier

 

 


From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

 

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...

 


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



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



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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Still could'nt deploy Higgins STS. I will describe the deployment steps...

1. went throug the STS deployment tutorial: http://wiki.eclipse.org/Deploy_Token_Service
2. deployed TokenService.war in Glassfish and launched http://localhost:8080/TokenService/CreateProfile.html
3. when I tried to create a new subject Higgins told me: exception: java.lang.ClassNotFoundException: org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory
4. downloaded higgins-idas-cp-jndi_1.0.700.jar from http://www.eclipse.org/higgins/downloads_parser.php?loc=/downloads/idas.cp.jndi
5. copied the jar file into the \WEB-INF\lib folder of my TokenService in Glassfish
6. restarted glassfish
7. tried again to create a new subject: exception: java.lang.NullPointerException

Any help would be greatly appreciated.


-----Ursprüngliche Nachricht-----
Von: cyrus@... im Auftrag von PASQUIER thomas
Gesendet: Do 24.09.2009 14:27
An: Higgins (Trust Framework) Project developer discussions
Betreff: [higgins-dev] RE: Higgins STS NullPointerException
 
Hi,

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn't work (maybe it works now).


Thomas Pasquier






________________________________
From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...




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

winmail.dat (6K) Download Attachment

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A stacktrace from Glassfish console would be really useful.
---
David Campos


On Sat, Sep 26, 2009 at 09:00, Deinert, Florian <Florian.Deinert@...> wrote:
Still could'nt deploy Higgins STS. I will describe the deployment steps...

1. went throug the STS deployment tutorial: http://wiki.eclipse.org/Deploy_Token_Service
2. deployed TokenService.war in Glassfish and launched http://localhost:8080/TokenService/CreateProfile.html
3. when I tried to create a new subject Higgins told me: exception: java.lang.ClassNotFoundException: org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory
4. downloaded higgins-idas-cp-jndi_1.0.700.jar from http://www.eclipse.org/higgins/downloads_parser.php?loc=/downloads/idas.cp.jndi
5. copied the jar file into the \WEB-INF\lib folder of my TokenService in Glassfish
6. restarted glassfish
7. tried again to create a new subject: exception: java.lang.NullPointerException

Any help would be greatly appreciated.


-----Ursprüngliche Nachricht-----
Von: cyrus@... im Auftrag von PASQUIER thomas
Gesendet: Do 24.09.2009 14:27
An: Higgins (Trust Framework) Project developer discussions
Betreff: [higgins-dev] RE: Higgins STS NullPointerException

Hi,

I had some trouble first time I tried to deploy the STS. I was not able to create new profile and have a null pointer exception as well. Do you use Java 5? It seems Java 6 doesn't work (maybe it works now).


Thomas Pasquier






________________________________
From: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] On Behalf Of Deinert, Florian
Sent: jeudi 24 septembre 2009 14:19
To: higgins-dev@...
Subject: [higgins-dev] Higgins STS NullPointerException

Hi!

I tried to deploy Higgins on my Glassfish as described here
http://wiki.eclipse.org/Deploy_Token_Service.
The user interface works fine but when I try to create a profile a nullpointerexception
occurs. The stacktrace says: "createProfile: null"

I set up OpenLDAP and configured the ManagedConfiguration.xml

Do you have any idea what this is about?

thanks in advance
Flo



User Interface in Browser:

Creating a Digital Subject Profile

exception: java.lang.NullPointerException



stack trace of Glassfish.

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ProfileServiceServerBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG LogHelper.trace (71):
ServerServiceBinding::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (270):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (278): ConfigurationBase:
D:\glassfish\domains\idp\applications\j2ee-modules\TokenService\ConfigurationFiles
|#]

[#|2009-09-23T20:33:39.890+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,890 DEBUG ConfigurationHandler.configure (328):
ConfigurationHandler::configure
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG ConfigurationHandler.configure (338): ConfigurationHandler::configure Already
Configuring.
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ServerServiceBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::configure
DONE
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119): createProfile:
null
|#]

[#|2009-09-23T20:33:39.906+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;|20:33:39,906 ERROR LogHelper.error (119):
java.lang.NullPointerException
|#]

[#|2009-09-23T20:33:39.906+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-6080-0;_RequestID=d1ebf9d4-f6eb-4945-89e7-90d3586744ee;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile
ProfileServiceServerBinding.java:113.|#]

...



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



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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

winmail.dat (5K) Download Attachment

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev



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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: higgins-dev-bounces@... 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@...> 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@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>
>


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

winmail.dat (7K) Download Attachment

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... 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@...> 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@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>
>


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

winmail.dat (8K) Download Attachment

RE: RE: Higgins STS NullPointerException

by Smadja Philippe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] 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: higgins-dev-bounces@... 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@...> 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@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>
>

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

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <Philippe.Smadja@...> 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: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] 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: higgins-dev-bounces@... 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@...> 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@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>
>

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


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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: cyrus@... 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
<Philippe.Smadja@...>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: higgins-dev-bounces@... [mailto:
> higgins-dev-bounces@...] 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: higgins-dev-bounces@... 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@...> 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@...
> > https://dev.eclipse.org/mailman/listinfo/higgins-dev
> >
> >
>
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>


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

winmail.dat (9K) Download Attachment

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <Florian.Deinert@...> 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: cyrus@... 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
<Philippe.Smadja@...>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: higgins-dev-bounces@... [mailto:
> higgins-dev-bounces@...] 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: higgins-dev-bounces@... 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@...> 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@...
> > https://dev.eclipse.org/mailman/listinfo/higgins-dev
> >
> >
>
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@...
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>


_______________________________________________
higgins-dev mailing list
higgins-dev@...
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
higgins-dev@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Re: RE: Higgins STS NullPointerException

by Sergey Lyakhov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev



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

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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Could you send a valid ManagedConfiguration.xml (or a short HOWTO) to me which meets the requirements of JNDI?!

 

Thx

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von Sergey Lyakhov
Gesendet: Monday, September 28, 2009 3:11 PM
An: Higgins (Trust Framework) Project developer discussions
Cc: 'Brian Walker'; Paul Trevithick
Betreff: 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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

 


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


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

Re: RE: Higgins STS NullPointerException

by David Campos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you check the attribute ComponentSettings in your ManagedConfiguration.xml? It should be something like this (or maybe this could work since you are working against Java 6):

        <Setting Name="ComponentSettings" Type="htf:map">
            <Setting Name="XMLSecurityExtension" Type="htf:map">
            </Setting>
            <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 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>

There is a redundancy but seems that it is needed in order to configure IdAS properly.

I hope this helps.
---
David Campos


On Mon, Sep 28, 2009 at 15:20, Deinert, Florian <Florian.Deinert@...> wrote:

Could you send a valid ManagedConfiguration.xml (or a short HOWTO) to me which meets the requirements of JNDI?!

 

Thx

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von Sergey Lyakhov
Gesendet: Monday, September 28, 2009 3:11 PM
An: Higgins (Trust Framework) Project developer discussions
Cc: 'Brian Walker'; Paul Trevithick
Betreff: 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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

 


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


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



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

AW: RE: Higgins STS NullPointerException

by Deinert, Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Unfortunately this doesn’t fix the problem. Still NullPointerException L

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von David Campos
Gesendet: Monday, September 28, 2009 3:26 PM
An: Higgins (Trust Framework) Project developer discussions
Betreff: Re: [higgins-dev] RE: Higgins STS NullPointerException

 

Could you check the attribute ComponentSettings in your ManagedConfiguration.xml? It should be something like this (or maybe this could work since you are working against Java 6):

        <Setting Name="ComponentSettings" Type="htf:map">
            <Setting Name="XMLSecurityExtension" Type="htf:map">
            </Setting>
            <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 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>

There is a redundancy but seems that it is needed in order to configure IdAS properly.

I hope this helps.
---
David Campos

On Mon, Sep 28, 2009 at 15:20, Deinert, Florian <Florian.Deinert@...> wrote:

Could you send a valid ManagedConfiguration.xml (or a short HOWTO) to me which meets the requirements of JNDI?!

 

Thx

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von Sergey Lyakhov
Gesendet: Monday, September 28, 2009 3:11 PM
An: Higgins (Trust Framework) Project developer discussions
Cc: 'Brian Walker'; Paul Trevithick
Betreff: 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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

 


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


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

 


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

Re: RE: Higgins STS NullPointerException

by Sergey Lyakhov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Deinert,
 
Are you sure you did get the same error after fixing your configuration? David is right, your JNDIContextFactory is not properly configured.
 
you need to find the following (230 line in ManagedConfiguration.xml):
 
   <Setting Name="JNDIContextFactory" Type="htf:map">
   </Setting>
and replace with this:
 
     <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>
Thanks,
Sergey Lyakhov
----- Original Message -----
Sent: Monday, September 28, 2009 4:32 PM
Subject: AW: [higgins-dev] RE: Higgins STS NullPointerException

Unfortunately this doesn’t fix the problem. Still NullPointerException L

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von David Campos
Gesendet: Monday, September 28, 2009 3:26 PM
An: Higgins (Trust Framework) Project developer discussions
Betreff: Re: [higgins-dev] RE: Higgins STS NullPointerException

 

Could you check the attribute ComponentSettings in your ManagedConfiguration.xml? It should be something like this (or maybe this could work since you are working against Java 6):

        <Setting Name="ComponentSettings" Type="htf:map">
            <Setting Name="XMLSecurityExtension" Type="htf:map">
            </Setting>
            <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 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>

There is a redundancy but seems that it is needed in order to configure IdAS properly.

I hope this helps.
---
David Campos

On Mon, Sep 28, 2009 at 15:20, Deinert, Florian <Florian.Deinert@...> wrote:

Could you send a valid ManagedConfiguration.xml (or a short HOWTO) to me which meets the requirements of JNDI?!

 

Thx

 

 

Von: higgins-dev-bounces@... [mailto:higgins-dev-bounces@...] Im Auftrag von Sergey Lyakhov
Gesendet: Monday, September 28, 2009 3:11 PM
An: Higgins (Trust Framework) Project developer discussions
Cc: 'Brian Walker'; Paul Trevithick
Betreff: 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@...> 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@...
https://dev.eclipse.org/mailman/listinfo/higgins-dev

 


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


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

 


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

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