You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Francesco Viscomi <fv...@gmail.com> on 2018/08/01 08:16:30 UTC

Re:

> I've configured tomcat with a host: MIosil-dd.net
>
>
> I can start the server, but when i try to reach it the server tell me:
>
> ERR_EMPTY_RESPONSE
>
>
> thanks really much
>
>
> foolowing the server.xml
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <Server port="18016" shutdown="SHUTDOWN">
>   <!--APR library loader. Documentation at /docs/apr.html -->
>   <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>   <!--Initialize Jasper prior to webapps are loaded. Documentation at
> /docs/jasper-howto.html -->
> <!--  <Listener className="org.apache.catalina.core.JasperListener" />
>  -->
>   <!-- Prevent memory leaks due to use of particular java/javax APIs-->
>   <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
>   <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>   <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
>
>    <GlobalNamingResources>
>     <!-- Editable user database that can also be used by
>          UserDatabaseRealm to authenticate users
>     -->
>
>
>  <Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver"
> maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/servicesDatasource"
> password="oracle"
> type="javax.sql.DataSource"
> url="jdbc:oracle:thin:@sil-d.net:1521:SWIWEB" username="tikj"/>
>
>
>
>   </GlobalNamingResources>
>
>
>
>   <Service name="Catalina">
>         <Connector address="127.0.0.1" port="8016"
>                 enableLookups="false"
>                 protocol="AJP/1.3"
>                 minProcessors="5"
>                 maxProcessors="75"
>                 backlog="10"
>                 secure="false"
>                 scheme="http">
>         </Connector>
>         <Connector port="8116"
>                 enableLookups="false"
>                 secure="false"
>                 scheme="http">
>         </Connector>
>         <Engine name="WEB-INTERNET-REST-ANT" defaultHost="localhost">
>         <Host autoDeploy="true"
>                 deployXML="true"
>                 unpackWARs="true"
>                 xmlValidation="false"
>                 xmlNamespaceAware="false"
>                 name="MIosil-dd.net">
>                 <Context path=""
>                         reloadable="true"
>
> docBase="C:\Users\fviscomi\workspaceEsempi\svil\target\svilServices">
>                 </Context>
>                 <Valve
> className="org.apache.catalina.valves.AccessLogValve"
>                         prefix="Tomcat_RestFlexBen"
>                         directory="C:\pop"
>                         suffix=".access">
>                 </Valve>
>         </Host>
>     </Engine>
>   </Service>
> </Server>
>
>
>
>
>
>
> *Francesco Viscomi*
> Consoft Sistemi S.p.A.
> BU APPLICATIONS
> Via Candiani 73 - 20158 Milano
> cell. 3282863820
>
> Il messaggio (inclusi gli allegati) potrebbe contenere informazioni
> riservate rivolte ad uno specifico individuo e a determinate finalità, ed è
> protetto dalle vigenti normative. Nel caso in cui lo aveste ricevuto per
> errore, vogliate cortesemente avvertire il mittente e distruggerne il
> contenuto. Sono vietati la riproduzione, la distribuzione e l'attuazione
> anche parziale dei contenuti del presente messaggio in mancanza di espressa
> autorizzazione del mittente.
>
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law. If
> you are not the intended recipient, you should notify the sender and delete
> this message. You are hereby informed that any disclosure, copying, or
> distribution of this message, or the taking of any action based on it,
> without explicit consent of the sender is strictly.
>
>

Re: Re:

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Francesco,

On 8/1/18 4:16 AM, Francesco Viscomi wrote:
>> I've configured tomcat with a host: MIosil-dd.net
>> 
>> 
>> I can start the server, but when i try to reach it the server
>> tell me:
>> 
>> ERR_EMPTY_RESPONSE

What URL did you use to make the request? From what host?

Can you show any kind of protocol trace or packet capture? That looks
like a TLS handshake error to me, and TLS is not configured in your
server.xml.

- -chris

>> foolowing the server.xml
>> 
>> 
>> <?xml version='1.0' encoding='utf-8'?> <Server port="18016"
>> shutdown="SHUTDOWN"> <!--APR library loader. Documentation at
>> /docs/apr.html --> <Listener
>> className="org.apache.catalina.core.AprLifecycleListener" 
>> SSLEngine="on" /> <!--Initialize Jasper prior to webapps are
>> loaded. Documentation at /docs/jasper-howto.html --> <!--
>> <Listener className="org.apache.catalina.core.JasperListener" /> 
>> --> <!-- Prevent memory leaks due to use of particular java/javax
>> APIs--> <Listener 
>> className="org.apache.catalina.core.JreMemoryLeakPreventionListener"
>> /> <Listener 
>> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListene
r"
>> /> <Listener 
>> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener
"
>> />
>> 
>> <GlobalNamingResources> <!-- Editable user database that can also
>> be used by UserDatabaseRealm to authenticate users -->
>> 
>> 
>> <Resource auth="Container"
>> driverClassName="oracle.jdbc.OracleDriver" maxActive="20"
>> maxIdle="10" maxWait="-1" name="jdbc/servicesDatasource" 
>> password="oracle" type="javax.sql.DataSource" 
>> url="jdbc:oracle:thin:@sil-d.net:1521:SWIWEB" username="tikj"/>
>> 
>> 
>> 
>> </GlobalNamingResources>
>> 
>> 
>> 
>> <Service name="Catalina"> <Connector address="127.0.0.1"
>> port="8016" enableLookups="false" protocol="AJP/1.3" 
>> minProcessors="5" maxProcessors="75" backlog="10" secure="false" 
>> scheme="http"> </Connector> <Connector port="8116" 
>> enableLookups="false" secure="false" scheme="http"> </Connector> 
>> <Engine name="WEB-INTERNET-REST-ANT" defaultHost="localhost"> 
>> <Host autoDeploy="true" deployXML="true" unpackWARs="true" 
>> xmlValidation="false" xmlNamespaceAware="false" 
>> name="MIosil-dd.net"> <Context path="" reloadable="true"
>> 
>> docBase="C:\Users\fviscomi\workspaceEsempi\svil\target\svilServices">
>>
>> 
</Context>
>> <Valve className="org.apache.catalina.valves.AccessLogValve" 
>> prefix="Tomcat_RestFlexBen" directory="C:\pop" suffix=".access"> 
>> </Valve> </Host> </Engine> </Service> </Server>
>> 
>> 
>> 
>> 
>> 
>> 
>> *Francesco Viscomi* Consoft Sistemi S.p.A. BU APPLICATIONS Via
>> Candiani 73 - 20158 Milano cell. 3282863820
>> 
>> Il messaggio (inclusi gli allegati) potrebbe contenere
>> informazioni riservate rivolte ad uno specifico individuo e a
>> determinate finalità, ed è protetto dalle vigenti normative. Nel
>> caso in cui lo aveste ricevuto per errore, vogliate cortesemente
>> avvertire il mittente e distruggerne il contenuto. Sono vietati
>> la riproduzione, la distribuzione e l'attuazione anche parziale
>> dei contenuti del presente messaggio in mancanza di espressa 
>> autorizzazione del mittente.
>> 
>> This message (including any attachments) contains confidential
>> information intended for a specific individual and purpose, and
>> is protected by law. If you are not the intended recipient, you
>> should notify the sender and delete this message. You are hereby
>> informed that any disclosure, copying, or distribution of this
>> message, or the taking of any action based on it, without
>> explicit consent of the sender is strictly.
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlth5bwACgkQHPApP6U8
pFgXGQ//TF4nPD3MNa5G9IL3xji+AfUHf3IMfZPPDmmS/kFX4i+egnvBa6MpnVGD
pyGyWBO4f9HkENeRvh+UpMPvd73a4BxlcYlqkWIk8em5MnTHCtOUMKEtaY6FcZW0
OHe4pHjwSe4jYGor8szE7aGsZpW0vS36h51KWdH0QsTiFK9ab55NLwhJ38/Gr5En
xnTXzmBrOujJ54xefAX9jjbDqTLZ9VxPpf9f6/pcqXfTUEpRsK5+kfrWdS3cmGuw
g8EMzjnw5U4KAvyK8RgklWqFGmAx2MFoP7ccKcDaHYV6szAJZ1nJnI15cYhyLk4V
y+BzPY5WWgK9th2UrKyFBlzrZMvcu3i14IB1pfAaUZq4Tbf2Vh6LBSUsvaLbdz+z
nmAl/ayct5HQ389ragQvTCuLZvkK08ZjsT7Zp8En0nfJVVqLN7b3Dx0ygSRd0xgh
KzZDERKexingNJLyB4UbEmwybrbz5z2FeW9jTYGIErHZl8ZgCMgd0mPSK4ieFc9a
B0pE22uAwx8a5Bx4Lov1mANOTYR4aSu898uJ+4Wdsls49Y1GsK9mM+v4V4eHIieN
dtUi3W6aQhlU2XUcUaWZdF1E5iblpK1c6gJvYqKVV2vqxbJ/HlE2TUfdfl4psLpi
qEdBDnf0zxlcPjzDI2Qwk0SmCNLlr4u70B7xUC5NBPwtVSudxqk=
=J74Q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org