You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ilyal levin <ni...@gmail.com> on 2011/09/28 14:57:20 UTC
2 servlets on tomcat.
Hi
I have installed tomcat v6 on port 8080, wrote a simple java program
(eclipse 3.7) and now i have my servlet running.
now i want to write another servlet, how can i define tomcat so that i can
run both servlets at the same time? or maybe it is
not possible.
Thanks a lot.
Re: TOMCAT-7.0 and SSL issues
Posted by Marvin Addison <ma...@gmail.com>.
> My question is, why my first aproach didn't work ?
Likely because you specified the APR connector somewhere in your
connector config, yet the SSL instructions you cited for CAS describe
the setup for the pure-java connectors. APR is a different (but
friendly) beast.
M
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: TOMCAT-7.0 and SSL issues
Posted by Pid <pi...@pidster.com>.
On 28/09/2011 17:17, Alexandre Adao wrote:
Please start a new email, rather than replying to an existing thread "2
servlets on tomcat." This is called thread hijacking.
p
Re: TOMCAT-7.0 and SSL issues
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/9/28 Alexandre Adao <aa...@yahoo.com>:
> I have a CAS server on Apache-Tomcat-7.0.19 on Windows 2008 and I need to apply the SSL. I followed this instructions ( https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method ),but when Apache restarts, I have the follwing error:
>
> SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-8443"]
> java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
>
> So this how I made it to work for my test SSL. I followed this instructions using Openssl. http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ssl-howto.html#s6
"tomcat-3.3-doc"
Do you know where the proper docs for Tomcat 7.0 are?
Just make a guess.
>
> My question is, why my first aproach didn't work ?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
TOMCAT-7.0 and SSL issues
Posted by Alexandre Adao <aa...@yahoo.com>.
I have a CAS server on Apache-Tomcat-7.0.19 on Windows 2008 and I need to apply the SSL. I followed this instructions ( https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method ),but when Apache restarts, I have the follwing error:
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-8443"]
java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
So this how I made it to work for my test SSL. I followed this instructions using Openssl. http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ssl-howto.html#s6
My question is, why my first aproach didn't work ?
Thanks for your help in Advance
--Alex Adao
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: 2 servlets on tomcat.
Posted by André Warnier <aw...@ice-sa.com>.
Caldarale, Charles R wrote:
>> From: André Warnier [mailto:aw@ice-sa.com]
>> Subject: Re: 2 servlets on tomcat.
>
>> ilyal levin wrote:
>>> I have installed tomcat v6 on port 8080, wrote a simple java
>>> program (eclipse 3.7) and now i have my servlet running.
>>> now i want to write another servlet, how can i define tomcat
>>> so that i can run both servlets at the same time?
>
>> You really do not provide a lot of information, so answer this :
>
> Before answering, read the servlet spec or otherwise become familiar with the concept of web applications of which servlets are a component.
>
Charles, you are impatient. That was supposed to be lesson #3.
Lesson #1 was gentle prodding about providing more (and better) information.
Lesson #2 would be about the difference between webapps and servlets, and where they live.
Then, if you want, you can take over, when things become more interesting.
;-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: 2 servlets on tomcat.
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Re: 2 servlets on tomcat.
> ilyal levin wrote:
> > I have installed tomcat v6 on port 8080, wrote a simple java
> > program (eclipse 3.7) and now i have my servlet running.
> > now i want to write another servlet, how can i define tomcat
> > so that i can run both servlets at the same time?
> You really do not provide a lot of information, so answer this :
Before answering, read the servlet spec or otherwise become familiar with the concept of web applications of which servlets are a component.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: 2 servlets on tomcat.
Posted by André Warnier <aw...@ice-sa.com>.
ilyal levin wrote:
> Hi
>
> I have installed tomcat v6 on port 8080, wrote a simple java program
> (eclipse 3.7) and now i have my servlet running.
> now i want to write another servlet, how can i define tomcat so that i can
> run both servlets at the same time? or maybe it is
> not possible.
>
You really do not provide a lot of information, so answer this :
- What is the top directory where Tomcat is installed ?
- What is the URL that you currently use, to access the web application which you mention
above ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org