[jboss-user] [Security & JAAS/JBoss] - JBoss SSO not able to build the src folder..

nikhilg do-not-reply at jboss.com
Thu Jun 18 09:30:53 EDT 2009


I downloaded the src bundle for SSO from
http://www.jboss.org/jbosssso/downloads/.

and following the steps mentioned in wiki article at:
http://www.jboss.org/community/wiki/StartFedSSO

I am getting error while executing following steps:
anonymous wrote : If the src bundle is downloaded, perform the following build steps by going to 
  | build (will build the project)
  |   | build installSSO (will install the JBoss Federated SSO binaries into the JBoss Application Server

Error message: 
C:\jboss-sso-1.0CR1\components\build>build
Executing C:\jboss-sso-1.0CR1\components\build\..\tools\bin\ant.bat  -logger org
.apache.tools.ant.NoBannerLogger
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_1
6\lib\tools/jar;C:\jboss-sso-1/0CR1\components\build\//\tools\lib\xml-apis/jar;C
:\jboss-sso-1/0CR1\components\build\//\tools\lib\xercesImpl/jar;C:\jboss-sso-1/0
CR1\components\build\//\tools\lib\xalan/jar;C:\jboss-sso-1/0CR1\components\build
\//\tools\lib\saxon/jar;C:\jboss-sso-1/0CR1\components\build\//\tools\lib\option
al/jar;C:\jboss-sso-1/0CR1\components\build\//\tools\lib\junit/jar;C:\jboss-sso-
1/0CR1\components\build\//\tools\lib\explode/jar;C:\jboss-sso-1/0CR1\components\
build\//\tools\lib\crimson/jar;C:\jboss-sso-1/0CR1\components\build\//\tools\lib
\buildmagic-tasks/jar;C:\jboss-sso-1/0CR1\components\build\//\tools\lib\bsf/jar;
C:\jboss-sso-1/0CR1\components\build\//\tools\lib\ant/jar;
Press any key to continue . . .
 
Same with the second step too.
 
When I opened this Jboss SSO src folder in eclipse. I found some build errors:
anonymous wrote : CookiePolicy.RFC_2109 cannot be resolved    TokenValidationTestCase.java    components/jboss_sso_test/src/main/test/jboss/security/token    line 48    Java Problem
  | Syntax error on token "}", AnnotationTypeDeclarationHeader expected after this token    Enum.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 4    Java Problem
  | Syntax error on token "Invalid Character", @ expected    AnnotationType.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 1    Java Problem
  | Syntax error on token "Invalid Character", @ expected    Class.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 1    Java Problem
  | Syntax error on token "Invalid Character", @ expected    Enum.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 1    Java Problem
  | Syntax error on token "Invalid Character", @ expected    Interface.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 3    Java Problem
  | Syntax error on token "package", enum expected    AnnotationType.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 2    Java Problem
  | The type $ is already defined    AnnotationType.java    components/build/ide/intellij/idea50/config/fileTemplates/internal    line 4    Java Problem
  |  
  | etc..
  |  

please guide me how to install SSO properly.
I am not seeing any place in this wiki where one has to make changes in JBoss server on which web/ear application would be running.
 

I am using following  setup with this JBoss SSO:
Java : jdk1.5.0_16
JBoss : jboss-4.2.3.GA
Ant : Apache Ant version 1.7.0

Please provide ur suggestion
 
NIkhil


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238484#4238484

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238484



More information about the jboss-user mailing list