RE: Running ID-FF 1.2 Java Toolkit

"Chris Snyder" <[email protected]> Wed, 13 Jul 2005 16:38:52 -0400
Newsgroups gmane.comp.sourceid.sso.user
Message-ID <[email protected]>
Point 1. and 2.:
Create a "build.local.properties" file in each of the Demo, CastlePeak, and 
Infrastructure directories. Those files should have the jboss directory 
value (as documented).

Point 3.
Use JBoss 3.2.4


From: Naropanth Sumanth-W00108 <[email protected]>
Reply-To: SourceID Users List <[email protected]>
To: [email protected]
Subject: [SourceID SSO-users] Running ID-FF 1.2 Java Toolkit
Date: Tue, 12 Jul 2005 12:08:46 -0500

Hello,

I am new user to the ID-FF 1.2 Java Toolkit 2.0. I am trying to get the 
CastlePeak demo running on my standalone host, but am running into problems.

Firstly, I see that the User's guide in the SourceID website (and the Readme 
in the package) does not match with the online help at : 
http://www.sourceid.org/downloads/showReleaseNotes.action?id=38 
<http://www.sourceid.org/downloads/showReleaseNotes.action?id=38>  .

I tried the steps pointed out in the above URL. However, there are a few 
inconsistencies:

1. The package doesn't have a "build.local.properties". I assume we are 
talking about "build.properties" file here.

2. If I copy the changed "build.properties" file from CastlePeak directory 
to infrastructure directory, building the package later on using 'ant' 
fails, throwing several exceptions. I changed the path to JBoss separately 
in the original "build.properties" files in 'infrastructure' and 'demo' 
directories.

3. I am using JBoss v4.0.2, the latest stable version. This does not have a 
"servlet-api.jar" file in the 
${jboss.server.dir}\deploy\jbossweb-tomcat55.sar directory. So, I do not 
copy any file to the 'lib' directory.

I followed the rest of the steps just as mentioned in the URL. I am able to 
get the SP and IdP login pages. However, when I try to login at either site, 
the following exception is thrown in my browser:

message:

description The server encountered an internal error () that prevented it 
from fulfilling this request.

exception:

java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
  
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
  
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
  idff12demo.idp.IdpServlet.doPost(IdpServlet.java:100)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  idff12demo.filters.LAREXLogFilter.doFilter(LAREXLogFilter.java:55)
  idff12demo.filters.NoCacheFilter.doFilter(NoCacheFilter.java:37)
  
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


I also tried running the demo using the older 3.2.4 JBoss, but without much 
success.

Am I missing something? It'd be very helpful if I could get some points on 
how I can get the demo running. I am using a Windows XP machine, with 
jdk1.5.0.

Regards,
Sumanth

_______________________________________________
sso-users mailing list
[email protected]
http://lists.sourceid.org/mailman/listinfo/sso-users