How to configure the custom context root for the war in the jetty server. I have provided the context values in the custom context in the IntelliJ > Deployment tab but post that server is not coming up. Please assist.
Adding below Jetty.xml for your reference.
<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Arg name="threadpool"><Ref refid="threadPool"/></Arg>
<Call name="addBean">
<Arg><Ref refid="byteBufferPool"/></Arg>
</Call>
<Call name="addBean">
<Arg>
<New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler">
<Arg name="name"><Property name="jetty.scheduler.name"/></Arg>
<Arg name="daemon" type="boolean"><Property name="jetty.scheduler.daemon" default="false" /></Arg>
<Arg name="threads" type="int"><Property name="jetty.scheduler.threads" default="-1" /></Arg>
</New>
</Arg>
</Call>
<Call name="addBean">
<Arg>
<New class="org.eclipse.jetty.security.HashLoginService">
<Set name="name">myrealm</Set>
<Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>
<Set name="hotReload">true</Set>
</New>
</Arg>
</Call>
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Set name="secureScheme"><Property name="jetty.httpConfig.secureScheme" default="https" /></Set>
<Set name="securePort"><Property name="jetty.httpConfig.securePort" deprecated="jetty.secure.port" default="8443" /></Set>
<Set name="outputBufferSize"><Property name="jetty.httpConfig.outputBufferSize" deprecated="jetty.output.buffer.size" default="32768" /></Set>
<Set name="outputAggregationSize"><Property name="jetty.httpConfig.outputAggregationSize" deprecated="jetty.output.aggregation.size" default="8192" /></Set>
<Set name="requestHeaderSize"><Property name="jetty.httpConfig.requestHeaderSize" deprecated="jetty.request.header.size" default="8192" /></Set>
<Set name="responseHeaderSize"><Property name="jetty.httpConfig.responseHeaderSize" deprecated="jetty.response.header.size" default="8192" /></Set>
<Set name="sendServerVersion"><Property name="jetty.httpConfig.sendServerVersion" deprecated="jetty.send.server.version" default="true" /></Set>
<Set name="sendDateHeader"><Property name="jetty.httpConfig.sendDateHeader" deprecated="jetty.send.date.header" default="false" /></Set>
<Set name="headerCacheSize"><Property name="jetty.httpConfig.headerCacheSize" default="1024" /></Set>
<Set name="delayDispatchUntilContent"><Property name="jetty.httpConfig.delayDispatchUntilContent" deprecated="jetty.delayDispatchUntilContent" default="true"/></Set>
<Set name="maxErrorDispatches"><Property name="jetty.httpConfig.maxErrorDispatches" default="10"/></Set>
<Set name="blockingTimeout"><Property deprecated="jetty.httpConfig.blockingTimeout" name="jetty.httpConfig.blockingTimeout.DEPRECATED" default="-1"/></Set>
<Set name="persistentConnectionsEnabled"><Property name="jetty.httpConfig.persistentConnectionsEnabled" default="true"/></Set>
<Set name="requestCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.requestCookieCompliance" deprecated="jetty.httpConfig.cookieCompliance" default="RFC6265"/></Arg></Call></Set>
<Set name="responseCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.responseCookieCompliance" default="RFC6265"/></Arg></Call></Set>
<Set name="multiPartFormDataCompliance"><Call class="org.eclipse.jetty.server.MultiPartFormDataCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.multiPartFormDataCompliance" default="RFC7578"/></Arg></Call></Set>
</New>
<New id="CXOMetadataDatasource" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>jdbc/CXOMetadataDatasource</Arg>
<Arg>
<New class="oracle.jdbc.pool.OracleDataSource">
<Set name="DriverType">thin</Set>
<Set name="URL">jdbc:oracle:thin:#slc16frz.us.oracle.com:1521/pdborcl</Set>
<Set name="User">dp1mt1_FAWAPPSHELL</Set>
<Set name="Password">welcome1</Set>
<Set name="connectionCachingEnabled">true</Set>
<Set name="connectionCacheProperties">
<New class="java.util.Properties">
<Call name="setProperty">
<Arg>MinLimit</Arg>
<Arg>5</Arg>
</Call>
<!-- put the other properties in here too -->
</New>
</Set>
</New>
</Arg>
</New>
<New id="FawCommonDatasource" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>jdbc/FawCommonDatasource</Arg>
<Arg>
<New class="oracle.jdbc.pool.OracleDataSource">
<Set name="DriverType">thin</Set>
<Set name="URL">jdbc:oracle:thin:#slc16frz.us.oracle.com:1521/pdborcl</Set>
<Set name="User">dp1mt1_FAWCOMMON</Set>
<Set name="Password">welcome1</Set>
<Set name="connectionCachingEnabled">true</Set>
<Set name="connectionCacheProperties">
<New class="java.util.Properties">
<Call name="setProperty">
<Arg>MinLimit</Arg>
<Arg>5</Arg>
</Call>
<!-- put the other properties in here too -->
</New>
</Set>
</New>
</Arg>
</New>
<Set name="handler">
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
<Set name="handlers">
<Array type="org.eclipse.jetty.server.Handler">
<Item>
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
</Item>
<Item>
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
</Item>
</Array>
</Set>
</New>
</Set>
<Set name="stopAtShutdown"><Property name="jetty.server.stopAtShutdown" default="true"/></Set>
<Set name="stopTimeout"><Property name="jetty.server.stopTimeout" default="5000"/></Set>
<Set name="dumpAfterStart"><Property name="jetty.server.dumpAfterStart" deprecated="jetty.dump.start" default="false"/></Set>
<Set name="dumpBeforeStop"><Property name="jetty.server.dumpBeforeStop" deprecated="jetty.dump.stop" default="false"/></Set>
</Configure>
Screenshot of run-jetty-run IntelliJ plugin popup
Welcome to Stackoverflow.
The context path is controlled by the bottom of that screenshot.
The "Use Custom Context Root".
You currently have "oaxservice.war" selected, and it's context path is set to /api/oax
So that means your server could be accessed from http://localhost:8080/api/oax
Select the other war to set it's context path to a different value.
Note: the plugin you are using is not maintained by the Eclipse Jetty project.
I have mapped both the artifacts in the deployment tab and provided the custom context path as provided in the screenshot. I am able to launch the application and all seems okay but deployment status is not refreshed to green ticked or deployed successfully. Also when I do manual refresh it says. -"[2020-08-27 04:27:33,489] Artifact Gradle : com.oracle.faw.dp : oaxui.war (exploded): Artifact is not deployed. Press 'Deploy' to start deployment" . Please refer to the screenshot attached.
So it works but deploy status is not refreshed. Still need to figure it out.
enter image description here
All, This was a bug in the Intellij IDEA, and after having multiple discussions with them. It is fixed and will be part of the likely 2020.2.3 release.
Thanks and see if you can visit the below link :
https://youtrack.jetbrains.com/issue/IDEA-250458?_ga=2.158046906.1073613107.1599818699-1009100717.1597946561
Related
I stuck with an issue where I want to validate crl. I already have a keystore at ${karaf.home}/etc/keystores and would like just to add a crl(CertificateRevocation list) How to do that?
Here's my org.ops4j.pax.web.cfg:
org.osgi.service.http.port=8030
org.osgi.service.http.port.secure=9000
org.osgi.service.http.secure.enabled=true
org.ops4j.pax.web.ssl.keystore=./etc/keystores/keystore.jks
org.ops4j.pax.web.ssl.password=password
org.ops4j.pax.web.ssl.keypassword=password
org.ops4j.pax.web.config.file=${karaf.home}/etc/jetty.xml
org.ops4j.pax.web.ssl.truststore=${karaf.base}/etc/keystores/client.jks
org.ops4j.pax.web.ssl.truststore.password=password
org.ops4j.pax.web.ssl.truststore.type=JKS
Here's my jetty.xml:
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="KeyStorePath"><Property name="jetty.home" default="." />/etc/keystores/keystore.jks</Set>
<Set name="KeyStorePassword">password</Set>
<Set name="KeyManagerPassword">secretpass</Set>
<Set name="TrustStorePath"><Property name="jetty.home" default="." />/etc/keystores/client.jks</Set>
<Set name="TrustStorePassword">password</Set>
<Set name="CrlPath"><Property name="jetty.home" default="." />/etc/keystores/test-cer-.crl</Set>
<Set name="NeedClientAuth">true</Set>
</New>
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg name="server">
<Ref refid="Server" />
</Arg>
<Arg name="factories">
<Array type="org.eclipse.jetty.server.ConnectionFactory">
<Item>
<New class="org.eclipse.jetty.server.SslConnectionFactory">
<Arg name="next">http/1.1</Arg>
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
</New>
</Item>
<Item>
<New class="org.eclipse.jetty.server.HttpConnectionFactory"></New>
</Item>
</Array>
</Arg>
<Set name="host">
<Property name="jetty.host" default="0.0.0.0" />
</Set>
<Set name="port">
<Property name="jetty.port" default="14000" />
</Set>
<Set name="idleTimeout">
<Property name="http.timeout" default="30000" />
</Set>
<Set name="name">restConnector:14000</Set>
</New>
</Arg>
</Call>
But when I try to open https://localhost:14000/ in my browser I get Secure Connection Failed error. means I end up with an error where Jetty tries to validate the subject alternative name of the client certificate. And of course there is none,I was not able to figure out how to disable this client hostname validation.it works fine with port 9000.
Do I miss something in the jetty configuration? Any help will be appreciated.
OR is there any other way to do it?
I need to move out of mule and jetty/jersey in my web service. I'm looking for a alternative way to implement the current code.
I'm starting the service like this -
org.mule.MuleServer -config deploy_jetty_jersey.xml
deploy_jetty_jersey.xml
http://www.mulesource.org/schema/mule/jetty/2.2
http://www.mulesource.org/schema/mule/jetty/2.2/mule-jetty.xsd
http://www.mulesource.org/schema/mule/core/2.2
http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/jersey/2.2
http://www.mulesource.org/schema/mule/jersey/2.2/mule-jersey.xsd
http://www.mulesource.org/schema/mule/vm/2.2
http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd">
<jetty:connector name="httpConnector" useContinuations="true"
configFile="jettyConfig.xml" />
<jetty:endpoint address="http://localhost:8080" name="serverEndpoint"
path="html" synchronous="false" />
<model name="ServiceSample">
<service name="testComponent">
<inbound>
<jetty:inbound-endpoint ref="serverEndpoint" />
</inbound>
</service>
<service name="restTestHello" initialState="started">
<inbound>
<inbound-endpoint address="jersey:http://localhost:7003/rest"
synchronous="true" />
</inbound>
<component>
<singleton-object class="com.rest.RestResource" />
</component>
</service>
</model>
jettyConfig.xml
<Set name="handler">
<New id="Handlers" class="org.mortbay.jetty.handler.HandlerCollection">
<Set name="handlers">
<Array type="org.mortbay.jetty.Handler">
<Item>
<New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection" />
</Item>
<Item>
<New id="DefaultHandler" class="org.mortbay.jetty.handler.DefaultHandler" />
</Item>
<Item>
<New id="StaticHandler" class="org.mortbay.jetty.handler.ResourceHandler" />
</Item>
<Item>
<New class="org.mortbay.jetty.handler.ContextHandler">
<Set name="contextPath">/</Set>
<Set name="resourceBase">
<SystemProperty name="jetty.home" default="." />
XXXXXX
</Set>
<Call name="addHandler">
<Arg>
<New class="org.mortbay.jetty.handler.ResourceHandler" />
</Arg>
</Call>
</New>
</Item>
</Array>
</Set>
</New>
</Set>
<Call name="addLifeCycle">
<Arg>
<New class="org.mortbay.jetty.deployer.WebAppDeployer">
<Set name="contexts">
<Ref id="Contexts" />
</Set>
<Set name="webAppDir">XXX</Set>
</New>
</Arg>
</Call>
<Set name="stopAtShutdown">true</Set>
<Set name="sendServerVersion">true</Set>
<Set name="sendDateHeader">true</Set>
<Set name="gracefulShutdown">1000</Set>
I need an alternate software which uses similar xml structure, so that there will be minimal java change.
The obvious alternative would be to move to a newer Mule version and replace the jetty connector with an HTTP Listener. If you define your REST API with a RAML file you can also use APIKit routing and validation.
I have to enable SSL in Jetty. I have generated keystore file using Keytool. I have included this keytool file in JETTY_BASE\etc\myKeystore. I have included jetty-https.xml and jetty-ssl.xml in JETTY_BASE\etc
jetty-https.xml:
<?xml version="1.0"?>
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Call id="httpsConnector" name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg name="server"><Ref refid="Server" /></Arg>
<Arg name="acceptors" type="int"><Property name="ssl.acceptors" default="-1"/></Arg>
<Arg name="selectors" type="int"><Property name="ssl.selectors" default="-1"/></Arg>
<Arg name="factories">
<Array type="org.eclipse.jetty.server.ConnectionFactory">
<Item>
<New class="org.eclipse.jetty.server.SslConnectionFactory">
<Arg name="next">http/1.1</Arg>
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
</New>
</Item>
<Item>
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
<Arg name="config"><Ref refid="sslHttpConfig"/></Arg>
</New>
</Item>
</Array>
</Arg>
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="https.port" default="443" /></Set>
<Set name="idleTimeout"><Property name="https.timeout" default="30000"/></Set>
<Set name="soLingerTime"><Property name="jetty.https.soLingerTime" default="-1"/></Set>
<Set name="acceptorPriorityDelta"><Property name="jetty.https.acceptorPriorityDelta" default="0"/></Set>
<Set name="acceptQueueSize"><Property name="jetty.https.acceptQueueSize" default="0"/></Set>
</New>
</Arg>
</Call>
</Configure>
jetty-ssl.xml:
<?xml version="1.0"?>
<Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="KeyStorePath"><Property name="jetty.base" default="." />/<Property name="jetty.keystore" default=""/>etc/myKeystore</Set>
<Set name="KeyStorePassword"><Property name="jetty.keystore.password" default=""/>password</Set>
<Set name="KeyManagerPassword"><Property name="jetty.keymanager.password" default=""/>password</Set>
<Set name="TrustStorePath"><Property name="jetty.base" default="." />/<Property name="jetty.truststore" default=""/>etc/myKeystore</Set>
<Set name="TrustStorePassword"><Property name="jetty.truststore.password" default=""/>password</Set>
<Set name="EndpointIdentificationAlgorithm"></Set>
<Set name="NeedClientAuth"><Property name="jetty.ssl.needClientAuth" default="false"/></Set>
<Set name="WantClientAuth"><Property name="jetty.ssl.wantClientAuth" default="false"/></Set>
<Set name="ExcludeCipherSuites">
<Array type="String">
<Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
<Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
<Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
</Array>
</Set>
<New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Arg><Ref refid="httpConfig"/></Arg>
<Call name="addCustomizer">
<Arg><New class="org.eclipse.jetty.server.SecureRequestCustomizer"/></Arg>
</Call>
</New>
</Configure>
Though I have specified my keystore file as
<Set name="KeyStorePath"><Property name="jetty.base" default="." />/<Property name="jetty.keystore" default=""/>etc/myKeystore</Set>
it is not recognized. Jetty uses default 'keystore' file located in 'JETTY_BASE/etc'. How to use the generated keystore file?
Include the details in start.ini and delete the files jetty-https.xml and jetty-ssl.xml.
sample start.ini:
## Keystore file path (relative to $jetty.base)
jetty.sslContext.keyStorePath=etc/myKeystore
## Truststore file path (relative to $jetty.base)
jetty.sslContext.trustStorePath=etc/myKeystore
## Keystore password
jetty.sslContext.keyStorePassword=password
## Keystore type and provider
# jetty.sslContext.keyStoreType=JKS
# jetty.sslContext.keyStoreProvider=
## KeyManager password
jetty.sslContext.keyManagerPassword=password
## Truststore password
jetty.sslContext.trustStorePassword=password
From Jetty documentation:
It is not recommended to use both a ${jetty.base}/start.ini file and a
${jetty.base}/start.d directory at the same time and doing so can
cause issues.
I am using Jetty 9.2.7.v20150116 within OSGi and I must create a Https Connector, but it is not working. I have created a fragment bundle that contains the jetty.xml with the following content:
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Set name="secureScheme">https</Set>
<Set name="securePort">
<Property name="jetty.secure.port" default="8443" />
</Set>
<Set name="outputBufferSize">32768</Set>
<Set name="requestHeaderSize">8192</Set>
<Set name="responseHeaderSize">8192</Set>
<Set name="sendServerVersion">true</Set>
<Set name="sendDateHeader">false</Set>
<Set name="headerCacheSize">512</Set>
</New>
<New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
<Arg>
<Ref refid="httpConfig" />
</Arg>
<Call name="addCustomizer">
<Arg>
<New class="org.eclipse.jetty.server.SecureRequestCustomizer" />
</Arg>
</Call>
</New>
<New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="KeyStorePath">C:/keystore</Set>
<Set name="KeyStorePassword">password</Set>
<Set name="KeyManagerPassword">password</Set>
<Set name="TrustStorePath">C:/keystore</Set>
<Set name="TrustStorePassword">password</Set>
<Set name="ExcludeCipherSuites">
<Array type="String">
<Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
<Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
<Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
<Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
<Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
</Array>
</Set>
</New>
<Call id="httpsConnector" name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg name="server">
<Ref refid="Server" />
</Arg>
<Arg name="factories">
<Array type="org.eclipse.jetty.server.ConnectionFactory">
<Item>
<New class="org.eclipse.jetty.server.SslConnectionFactory">
<Arg name="next">http/1.1</Arg>
<Arg name="sslContextFactory">
<Ref refid="sslContextFactory" />
</Arg>
</New>
</Item>
<Item>
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
<Arg name="config">
<Ref refid="sslHttpConfig" />
</Arg>
</New>
</Item>
</Array>
</Arg>
<Set name="host">
<Property name="jetty.host" />
</Set>
<Set name="port">
<Property name="https.port" default="9443" />
</Set>
<Set name="idleTimeout">
<Property name="https.timeout" default="30000" />
</Set>
<Set name="name">httpsConnector</Set>
</New>
</Arg>
</Call>
<Call id="httpConnector" name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg name="server">
<Ref refid="Server" />
</Arg>
<Arg name="factories">
<Array type="org.eclipse.jetty.server.ConnectionFactory">
<Item>
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
<Arg name="config">
<Ref refid="httpConfig" />
</Arg>
</New>
</Item>
</Array>
</Arg>
<Set name="host">
<Property name="jetty.host" />
</Set>
<Set name="port">
<Property name="jetty.port" default="8282" />
</Set>
<Set name="idleTimeout">
<Property name="http.timeout" default="30000" />
</Set>
<Set name="name">httpConnector</Set>
</New>
</Arg>
</Call>
<Get name="handler">
<Call name="addHandler">
<Arg>
<New class="org.eclipse.jetty.server.handler.ContextHandler">
<Set name="contextPath">/static-content</Set>
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.ResourceHandler">
<Set name="resourceBase">target/logs</Set>
<Set name="directoriesListed">true</Set>
</New>
</Set>
</New>
</Arg>
</Call>
</Get>
I didn't get any exceptions and the output contains the following lines:
17:19:02.401 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{null}{0.0.0.0:0} added {org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper#5c079d6,UNMANAGED}
17:19:02.402 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{null}{0.0.0.0:0} added {qtp1173186476{STOPPED,8<=0<=200,i=0,q=0},AUTO}
17:19:02.403 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{null}{0.0.0.0:0} added {org.eclipse.jetty.util.thread.ScheduledExecutorScheduler#58716c6e,AUTO}
17:19:02.403 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{null}{0.0.0.0:0} added {org.eclipse.jetty.io.ArrayByteBufferPool#296d1b9a,POJO}
17:19:02.404 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{null}{0.0.0.0:0} added {SslConnectionFactory#1757e7bc{SSL-http/1.1},AUTO}
17:19:02.405 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:0} added {HttpConnectionFactory#2458f97{HTTP/1.1},AUTO}
17:19:02.407 [pool-1-thread-1] DEBUG o.e.j.u.component.ContainerLifeCycle - ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:0} added {org.eclipse.jetty.server.ServerConnector$ServerConnectorManager#5b9af7a6,MANAGED}
17:19:02.408 [pool-1-thread-1] DEBUG o.eclipse.jetty.xml.XmlConfiguration - XML ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:0}.setHost(null)
17:19:02.412 [pool-1-thread-1] DEBUG o.eclipse.jetty.xml.XmlConfiguration - XML ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:0}.setPort(9443)
17:19:02.413 [pool-1-thread-1] DEBUG o.eclipse.jetty.xml.XmlConfiguration - XML ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:9443}.setIdleTimeout(30000)
17:19:02.413 [pool-1-thread-1] DEBUG o.eclipse.jetty.xml.XmlConfiguration - XML ServerConnector#31c30fbe{SSL-http/1.1}{0.0.0.0:9443}.setName(httpsConnector)
17:19:02.414 [pool-1-thread-1] DEBUG o.eclipse.jetty.xml.XmlConfiguration - XML call addConnector
When I check the open ports via netstat -an the https port 9443 is not listed. What do I make wrong?
I am trying to combine these 3 sql statements to output into one XML statement that outputs like this example:
<dataset seriesName="Model A12" color="A66EDD" >
<set value="35" />
<set value="42" />
<set value="31" />
<set value="28" />
<set value="34" />
<set value="30" />
</dataset>
<dataset seriesName="Model A15" color="F6BD0F">
<set value="22" />
<set value="25" />
<set value="18" />
<set value="22" />
<set value="17" />
<set value="16" />
</dataset>
Here are my SQL Statements:
(SELECT CLAIM_NUM as 'CATEGORY_LABEL' from claim_table)
for xml RAW, TYPE,ROOT('CATEGORY');
(SELECT TOTAL_INCURRED_AMT as 'SET_VALUE' from claim_table)
for xml RAW, TYPE, ROOT('DATASET');
SELECT TOTAL_PAID_AMT as 'SET_VALUE' from claim_table
for xml RAW, TYPE, ROOT('DATASET');
I have been looking at other examples, but nothing has come close to what I need the output to be.
Thanks is advance for your assistance!