1 Reply Latest reply on Sep 23, 2009 4:16 AM by Sean Wu

    Identity fed-example-1.0.0.beta deploy failed

    Sean Wu Newbie

      Does somebody run the fed example successfully?
      I got deployment error as follows:

      [2009-09-23 14:58:23,113 DEBUG [org.jboss.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve] Referer in finally block=http://localhost:8080/seam-sp/SamlAuthenticationFilter.seam?newRelayState=0:user principal=GenericPrincipal[sales(Employee,Sales,)]
      2009-09-23 14:58:23,488 ERROR [org.apache.catalina.connector.CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
       at java.util.zip.Inflater.inflateBytes(Native Method)
       at java.util.zip.Inflater.inflate(Inflater.java:215)
       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:128)
       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105)
       at java.io.FilterInputStream.read(FilterInputStream.java:66)
       at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2622)
       at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:997)
       at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)
       at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)
       at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
       at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:468)
       at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:524)
       at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchema(XSDHandler.java:1517)
       at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.resolveSchema(XSDHandler.java:1472)
       at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.constructTrees(XSDHandler.java:762)
       at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.constructTrees(XSDHandler.java:843)
       at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:472)
       at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:556)
       at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:523)
       at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
       at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:489)]
      
      

      I found idp-sig-no-val.war with:
      <JBossIDP xmlns="urn:jboss:identity-federation:config:1.0" >
      <IdentityURL>http://localhost:8080/idp-sig/</IdentityURL>
      <Trust>
       <Domains>localhost,jboss.com,jboss.org,redhat.com</Domains>
      </Trust>
      <KeyProvider ClassName="org.jboss.identity.federation.bindings.tomcat.KeyStoreKeyManager">
       <Auth Key="KeyStoreURL" Value="/jbid_test_keystore.jks" />
       <Auth Key="KeyStorePass" Value="store123" />
       <Auth Key="SigningKeyPass" Value="test123" />
       <Auth Key="SigningKeyAlias" Value="servercert" />
       <ValidatingAlias Key="localhost" Value="servercert"/>
       <ValidatingAlias Key="127.0.0.1" Value="servercert"/>
      </KeyProvider>
      </JBossIDP>

      while I did not have this keystore. Does it cause this problem? Thanks.