RE: Running ID-FF 1.2 Java Toolkit

Naropanth Sumanth-W00108 <[email protected]> Wed, 13 Jul 2005 16:46:26 -0500
Newsgroups gmane.comp.sourceid.sso.user
Message-ID <[email protected]>
Hi,

Thanks for your input. I tried the method you've suggested, using JBoss 3.2.4, and following
the rest of the instructions as given in the guide. While JBoss is working correctly, when
I am trying the https:// URL, an exception is being thrown again as follows:

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

Exception:

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
error: error reading C:\jboss-3.2.4\server\default\tmp\deploy\tmp30693properties-service.xml; java.util.zip.ZipException: error in opening zip file
1 error



	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
	org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	idff12demo.sp.SpServlet.goToLoginPage(SpServlet.java:86)
	idff12demo.sp.SpServlet.doProcess(SpServlet.java:60)
	idff12demo.sp.SpServlet.doGet(SpServlet.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	idff12demo.filters.LAREXLogFilter.doFilter(LAREXLogFilter.java:55)
	idff12demo.filters.NoCacheFilter.doFilter(NoCacheFilter.java:37)

============================

The xml file indicated is being created correctly in the 'tmp' folder. Any clues why the
"ZipException" is being thrown here? I don't see any zip files being created at all!

Thanks,
Sumanth


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Chris Snyder
Sent: Wednesday, July 13, 2005 3:39 PM
To: [email protected]
Subject: RE: [SourceID SSO-users] Running ID-FF 1.2 Java Toolkit

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


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