Need a working example of jetty with https for Red Hat JBoss Fuse 6.0.

Solution Verified - Updated -

Issue

  • Currently I am running into a problem trying to write a poc for securing a https connection. ie
<from uri="jetty:https://0.0.0.0:?matchOnUriPrefix=true"/>
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'sslContextParameters'. One of '{"http://www.springframework.org/schema/beans":import, "http://www.springframework.org/schema/beans":alias, "http://www.springframework.org/schema/beans":bean, WC[##other:"http://www.springframework.org/schema/beans"]}' is expected.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)[:]
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
        at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)[:]
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)[:]
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)[:]
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)[:]
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)[:]
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)[:]
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)[:]
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:]
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:]
  • Is this because it is 6.0.0?

Environment

  • Red Hat JBoss Fuse
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.