Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [higgins-dev] TokenService Deployment problem - Unable toinitialize TrustBindingSkeleton

Dear all,

I've managed to setup the Higgins STS on tomcat6, at least for U/P managed cards. Yesterday, I ran across the exact same issue David describes below. I believe it was due to tomcat not finding one of the libs in org.higgins.dependencies.redistributable (although this doesn't follow from the error messages); in any case, I was able to fix it by copying *all* the jars from the redistributable project to $CATALINA_HOME/webapps/<webapp_name>/WEB-INF/lib

In addition I found some issues in http://wiki.eclipse.org/Deploy_Token_Service which IMHO need to be corrected/clarified:

- the links to {windows,linux}_config.zip (pointing to http://shangrila.parityinc.net:8888/TokenServiceDocs/) are dead.

- The download links under http://wiki.eclipse.org/index.php/Components for the util.* components are broken.

- the WAR you download from the Higgins website isn't complete. This is (sort of) mentioned in the dependencies section of the build instructions, but mentioning it in the deployment instructions wouldn't hurt ;).

- getting the STS to work with the ManagedConfiguration.xml as described requires some additional components besides those listed in the build instructions. These are (at least): org.eclipse.higgins.sts.server.token.{alf,compound,encrypt,handler,identity,self}

Classloading in Tomcat version 6 has changed. Thus, stax-api-1.0.1.jar has to be copied (or symlinked) to $CATALINA_HOME/endorsed (not /common/endorsed). In addition, I got ClassNotFoundExceptions when libraries weren't inside the webapp's lib-directory.

Anyways, I hope this helps someone. I'll let you know about what steps are necessary to get Self-signed-SAML- and x509- managed cards to work.

All the best,
  --Chris
 
> David Campos wrote:
> 
> 
> I have tested with any of the TokenService wars that where available
> for
> download, even with the Nightly build of yesterday and all gave the
> same
> error. I added all the required jars from SVN and they where compiled
> without errors. I have no clue about where is the problem.
> 
> 
> David Campos wrote:
> >
> > I downloaded the war from the release website, I dowloaded Stable a
> > Release versions and both where missing of some jars (there where a
> few
> > errors loading the configuration) so I used last jars from SVN. All
> worked
> > fine except that and the TrustBindingSkeleton.class comes bundled
> with the
> > war.
> >
> > Any idea? Should I build the project and try if there is any
> diference?
> >
> >
> > Michael McIntosh wrote:
> >>
> >> David,
> >>
> >> It looks like all of the correct JARs are not in you WAR file.
> >> Wehre did you get the WAR file? Did you download it, or build it
> >> yourself?
> >>
> >> Regards,
> >> Mike
> >>
> >>
> >>
> >>   From:>      David Campos <Noymn.the.archangel@xxxxxxxxx>
> >>
> >>   To:         higgins-dev@xxxxxxxxxxx
> >>
> >>   Date:       05/23/2008 02:31 AM
> >>
> >>   Subject:    [higgins-dev] TokenService Deployment problem - Unable
> to
> >> initialize TrustBindingSkeleton
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hello, I have been playing with Higgins products for about three
> month
> >> and
> >> doing some research about what meta-identity systems and user-
> centric can
> >> offer.
> >>
> >> In these time I have tryed to deploy many of your solutions with
> often a
> >> high grade of satisfaction but now I'm unable to deploy the basic
> >> TokenService STS. Mainly the problem happens when I try to retrieve
> >> claims
> >> from the managed card generated by STS using the Windows Cardspace
> >> selector.
> >> When the selector and STS start the token retrieve protocol I
> recieve a
> >> nastly exception in Tomcat console:
> >>
> >> 08:51:46,532 ERROR LogHelper.error (119): Could not initialize class
> >> org.eclipse.higgins.sts.binding.axis1x.service.TrustBindingSkeleton
> >> A request failed with the exception java.lang.NoClassDefFoundError:
> Could
> >> not initialize class
> >> org.eclipse.higgins.sts.binding.axis1x.service.TrustBindingSkeleton.
> >> 08:51:46,532 ERROR LogHelper.error (119): A request failed with the
> >> exception java.lang.NoClassDefFoundError: Could not initialize class
> >> org.eclipse.higgins.sts.binding.axis1x.service.TrustBindingSkeleton.
> >> 08:51:46,532 ERROR LogHelper.error (119): java.lang.Class::forName0
> >> null:-2
> >> 08:51:46,532 ERROR LogHelper.error (119): java.lang.Class::forName
> >> null:-1
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.utils.ClassUtils$2::run ClassUtils.java:177
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> java.security.AccessController::doPrivileged null:-2
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.utils.ClassUtils::loadClass ClassUtils.java:160
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.utils.ClassUtils::forName ClassUtils.java:142
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.utils.cache.ClassCache::lookup ClassCache.java:85
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.providers.java.JavaProvider::getServiceClass
> >> JavaProvider.java:428
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.providers.java.JavaProvider::initServiceDesc
> >> JavaProvider.java:461
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.handlers.soap.SOAPService::getInitializedServiceDesc
> >> SOAPService.java:286
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.deployment.wsdd.WSDDService::makeNewInstance
> >> WSDDService.java:500
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.deployment.wsdd.WSDDDeployableItem::getNewInstance
> >> WSDDDeployableItem.java:274
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.deployment.wsdd.WSDDDeployableItem::getInstance
> >> WSDDDeployableItem.java:260
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.deployment.wsdd.WSDDDeployment::getService
> >> WSDDDeployment.java:427
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.configuration.FileProvider::getService
> >> FileProvider.java:231
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.AxisEngine::getService AxisEngine.java:311
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.MessageContext::setTargetService
> MessageContext.java:756
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.handlers.http.URLMapper::invoke URLMapper.java:50
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.strategies.InvocationStrategy::visit
> >> InvocationStrategy.java:32
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.SimpleChain::doVisiting SimpleChain.java:118
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.SimpleChain::invoke SimpleChain.java:83
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.server.AxisServer::invoke AxisServer.java:239
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.eclipse.higgins.sts.binding.axis1x.Servlet::doPost
> Servlet.java:826
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> javax.servlet.http.HttpServlet::service HttpServlet.java:710
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.axis.transport.http.AxisServletBase::service
> >> AxisServletBase.java:327
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> javax.servlet.http.HttpServlet::service HttpServlet.java:803
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.ApplicationFilterChain::internalDoFilter
> >> ApplicationFilterChain.java:269
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.ApplicationFilterChain::doFilter
> >> ApplicationFilterChain.java:188
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.StandardWrapperValve::invoke
> >> StandardWrapperValve.java:213
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.StandardContextValve::invoke
> >> StandardContextValve.java:174
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.StandardHostValve::invoke
> >> StandardHostValve.java:127
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.valves.ErrorReportValve::invoke
> >> ErrorReportValve.java:117
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.core.StandardEngineValve::invoke
> >> StandardEngineValve.java:108
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.catalina.connector.CoyoteAdapter::service
> >> CoyoteAdapter.java:174
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.coyote.http11.Http11Processor::process
> >> Http11Processor.java:874
> >> 08:51:46,532 ERROR LogHelper.error (119):
> >> org.apache.coyote.http11.Http11BaseProtocol
> >> $Http11ConnectionHandler::processConnection
> >> Http11BaseProtocol.java:665
> >> 08:51:46,548 ERROR LogHelper.error (119):
> >> org.apache.tomcat.util.net.PoolTcpEndpoint::processSocket
> >> PoolTcpEndpoint.java:528
> >> 08:51:46,548 ERROR LogHelper.error (119):
> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread::runIt
> >> LeaderFollowerWorkerThread.java:81
> >> 08:51:46,548 ERROR LogHelper.error (119):
> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable::run
> >> ThreadPool.java:689
> >> 08:51:46,548 ERROR LogHelper.error (119): java.lang.Thread::run
> null:-1
> >>
> >> Main problem its that the class its on WEB-INF/classes directory so
> have
> >> to
> >> be visible from the context. Mainly the data flow I use its:
> >> TokenService(cardGeneration) > RelyingPartyDemoApp(login) > Windows
> >> Cardspace (claim retrieve).
> >>
> >> Any idea?
> >>
> >> Thank you in advance.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/TokenService-Deployment-problem---Unable-to-
> initialize-TrustBindingSkeleton-tp17399584p17399584.html
> >>
> >> Sent from the Higgins - Dev mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> higgins-dev mailing list
> >> higgins-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/higgins-dev
> >>
> >>
> >>
> >> _______________________________________________
> >> higgins-dev mailing list
> >> higgins-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/higgins-dev
> >>
> >>
> >
> >
> 
> --
> View this message in context: http://www.nabble.com/TokenService-
> Deployment-problem---Unable-to-initialize-TrustBindingSkeleton-
> tp17399584p17532419.html
> Sent from the Higgins - Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev

--
Christopher Taylor (christopher.taylor@xxxxxxxxxxxxxxxxxxx)
Tel: +49 30 3463 9225

Fraunhofer Institute for Open Communication Systems (FOKUS) CC eGovernment and Applications (ELAN)

Fraunhofer Institut für Offene Kommunikationssysteme (FOKUS) Kompetenzzentrum eGovernment und Applikationen (ELAN)

Kaiserin-Augusta-Allee 31
10589 Berlin


Back to the top