I don't have a resources.xml file anywhere in the Tomee install. [root] # find /opt -name resources.xml [root] #
When I comment out the <Connector> XML element the error goes away. On 6/15/2016 2:43 AM, Romain Manni-Bucau [via TomEE & OpenEJB] wrote: > Hi > > this error is in resources.xml not in server.xml. You put <role ...> but > this is not a supported entry there. > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-06-15 1:06 GMT+02:00 paulhr <[hidden email] > </user/SendEmail.jtp?type=node&node=4678884&i=0>>: > > > I am using this Connector XML Element for in my server.xml file as > per my > > SSL > > vendors instructions for Tomcat. > > > > <Connector port="8443" maxHttpHeaderSize="8192" > > protocol="org.apache.coyote.http11.Http11Protocol" > > maxThreads="150" minSpareThreads="25" > maxSpareThreads="75" > > enableLookups="false" disableUploadTimeout="true" > > acceptCount="100" SSLEnabled="true" scheme="https" > > secure="true" keyAlias="server" > keystoreFile="/root/usque_software.jks" > > keystorePass="__" clientAuth="false" sslProtocol="TLS" > > xpoweredBy="false" /> > > > > We spent over an hour trouble shooting the issue and have come no > closer to > > resolving it. > > > > The Catalina.log has the following exception stack. It seems like > there is > > an XML parsing error. There does not seem to be a XSD defined for the > > server.xml file to validate against. Can someone tell me if Tomee > 1.7.4 > > supports all the element attributes provided? > > > > INFO: Using > > > 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}' > > Jun 14, 2016 7:23:31 PM org.apache.openejb.config.ReadDescriptors > > readResourcesXml > > WARNING: can't read > > org.apache.openejb.config.ReadDescriptors$UrlSource@183dc7ad to load > > resources for module org.apache.openejb.config.ResourcesModule@2b2bef9 > > javax.xml.bind.UnmarshalException: unexpected element > > (uri:"http://www.openejb.org/System/Configuration", local:"role"). > > Expected > > elements are > > <{http://www.openejb.org/System/Configuration}Service>,<{ > > http://www.openejb.org/System/Configuration}Resource>,<{ > > http://www.openejb.org/System/Configuration}JndiProvider>,<{ > > http://www.openejb.org/System/Configuration}Connector>,<{ > > http://www.openejb.org/System/Configuration}Container> > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:662) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:120) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:105) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement(StructureLoader.java:262) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:498) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:480) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:150) > > at > > org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551) > > at > > > > > org.apache.openejb.config.sys.JaxbOpenejb$NamespaceFilter.startElement(JaxbOpenejb.java:350) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) > > at > > > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:357) > > at > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2787) > > at > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) > > at > > > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118) > > at > > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) > > at > > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) > > at > > > > > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) > > at > org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:258) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:236) > > at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:288) > > at > > > org.apache.openejb.config.sys.JaxbOpenejb.unmarshal(JaxbOpenejb.java:324) > > at > > > org.apache.openejb.config.sys.JaxbOpenejb.unmarshal(JaxbOpenejb.java:332) > > at > > > > > org.apache.openejb.config.ReadDescriptors.readResourcesXml(ReadDescriptors.java:255) > > at > > > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:149) > > at > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:2054) > > at > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:136) > > at > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > > at > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > at > > > > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1371) > > at > > > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1543) > > at > > > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1553) > > at > > > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1521) > > at java.lang.Thread.run(Thread.java:745) > > > > Jun 14, 2016 7:23:31 PM org.apache.openejb.config.ConfigurationFactory > > configureApplication > > INFO: Configuring enterprise application: > > /opt/tomee-plume/webapps/tomcat-users.xml > > > > > > > > > > -- > > View this message in context: > > > http://tomee-openejb.979440.n4.nabble.com/SSL-install-config-errors-tp4678882.html > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://tomee-openejb.979440.n4.nabble.com/SSL-install-config-errors-tp4678882p4678884.html > > > To start a new topic under TomEE Users, email > [email protected] > To unsubscribe from SSL install config errors., click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4678882&code=cGF1bEBvcnRob2dyb3VwLmhvbGRpbmdzfDQ2Nzg4ODJ8MTczMjcxNDMwMQ==>. > NAML > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- The people that bring you Usque <http://Usque.software/>. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/SSL-install-config-errors-tp4678882p4678885.html Sent from the TomEE Users mailing list archive at Nabble.com.
