Fuse ESB 7.1 Open SAML bootstrap procedure fails
Issue
- When configuring Open SAML in Fuse ESB 7.1, the bootstrap fails when reading it's configuration.
- This same procedure worked in Fuse ESB 7.0.2
The following error occurs on the command line:
FuseESB:karaf@root> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
And the following error will be seen in the ESB log:
2013-03-25 15:22:18,197 | INFO | e-1.1.9-thread-1 | HttpServiceFactoryImpl | ? ? | 100 - org.ops4j.pax.web.pax-web-runtime - 1.1.9 | Binding bundle: [opensaml-bootstrap-check [250]] to http service
2013-03-25 15:22:18,236 | INFO | NAPSHOT-thread-1 | ContextHandler | ? ? | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | started HttpServiceContext{httpContext=DefaultHttpContext{bundle=opensaml-bootstrap-check [250]}}
2013-03-25 15:22:34,661 | WARN | tp1998729324-370 | ServletHandler | ? ? | 90 - org.eclipse.jetty.util - 7.6.7.v20120910 | /moo/
java.lang.reflect.UndeclaredThrowableException
at org.ops4j.pax.web.service.internal.$Proxy37.service(Unknown Source)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[80:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447)[80:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[98:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:534)[82:org.eclipse.jetty.security:7.6.7.v20120910]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[98:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)[80:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[98:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.Server.handle(Server.java:363)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[79:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[79:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[84:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)[81:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)[81:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[90:org.eclipse.jetty.util:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[90:org.eclipse.jetty.util:7.6.7.v20120910]
at java.lang.Thread.run(Thread.java:680)[:1.6.0_43]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_43]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_43]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_43]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_43]
at org.ops4j.pax.web.service.internal.HttpServiceStarted$1.invoke(HttpServiceStarted.java:182)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9]
... 27 more
Caused by: org.w3c.dom.ls.LSException: An unsupported encoding is encountered.
at org.apache.xml.serializer.dom3.LSSerializerImpl.write(LSSerializerImpl.java:936)
at org.opensaml.xml.util.XMLHelper.writeNode(XMLHelper.java:910)
at org.opensaml.xml.util.XMLHelper.writeNode(XMLHelper.java:890)
at org.opensaml.xml.util.XMLHelper.nodeToString(XMLHelper.java:852)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:158)[200:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:142)[200:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:199)[200:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:91)[200:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at moo.security.SecurityProvider.processSAML(SecurityProvider.java:50)[250:opensaml-bootstrap-check:1.0.0.SNAPSHOT]
at moo.security.SecurityProvider.authenticate(SecurityProvider.java:28)[250:opensaml-bootstrap-check:1.0.0.SNAPSHOT]
at moo.MooService.service(MooService.java:22)[250:opensaml-bootstrap-check:1.0.0.SNAPSHOT]
... 32 more
Environment
- Fuse ESB Enterprise 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.