java.lang.ClassCastException with javax.net.ssl package

2002-12-19 Thread Luca Ventura
Hello everybody! I have installed JDK1.4 and Tomcat 4.1.16 LE on a Windows 2000 machine. To support SSL protocol in my servlet I use the version of JSSE API integrated in JDK 1.4: import javax.net.ssl.*; //package present in JDK 1.4 ... URL url = new URL(urlString); HttpsURLConnection Con =

R: How to restart Tomca's service from a Web app?

2002-12-17 Thread Luca Ventura
or www.developerfusion.com Batch Script just needs two lines. net stop Tomcat Service Name net start Tomcat Service Name Nicholas Orr -Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Monday, 16 December 2002 9:50 PM To: tomcat-user Subject: How to restart Tomca's service from a Web

How to restart Tomca's service from a Web app?

2002-12-16 Thread Luca Ventura
Hello everybody! I have installed IIS as Web Server and Tomcat 4.1.16 LE as plug-in of IIS to mangage Servlet/JSP pages (using isapi filter JK2 isapi_redirector.dll). I would like to know is there is some way to re-start Tomcat's service using some web application acessible from the Internet

What do these errors mean?

2002-12-11 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4.1.12 as Servlet Container and IIS as Web Server in my Windows 2000 machine. I use the ISAPI filter to redirect requests from IIS to Tomcat: in particular I use the JK connector isapi_redirector.dll you can find at:

What do these errors mean?

2002-12-07 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4.1.12 as Servlet Container and IIS as Web Server in my Windows 2000 machine. I use the ISAPI filter to redirect requests from IIS to Tomcat: in particular I use the JK connector isapi_redirector.dll you can find at:

How can I activate a pool of threads using Ajp13 and Tomcat 4.x?

2002-11-29 Thread Luca Ventura
Hello everybody! I have Tomcat 4.x integrated with IIS 5. I would like to activate a pool of threads to serve all requests. I tried to add in the server.xml the following lines: Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Configure IIS + Tomcat 4.1.12

2002-11-28 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4.1.12 as Servlet Container and IIS 5 as Web Server on my Win2000 machine. I am trying to configure JK2 connector (isapi_redirector2.dll) to redirect JSP/Servlets requests from IIS to Tomcat but unsuccessful. Can someone help me? I tried to follow the

R: Configure IIS + Tomcat 4.1.12

2002-11-28 Thread Luca Ventura
Thanks but it speaks about JK connector (ISAPI redirector 1.0) and not about JK2 (Coyote) connector :-( Best regards, Luca -Messaggio originale- Da: Panos Konstantinidis [mailto:[EMAIL PROTECTED]] Inviato: giovedi 28 novembre 2002 15.07 A: Tomcat Users List Oggetto:

Search engine for the tomcat-user mailing list

2002-11-27 Thread Luca Ventura
Hello everybody! Is there a search engine for the tomcat-user and tomcat-dev mailing list? I would like to find and read old posts using key-words. Thanks to everybody in advance! Luca

R: Search engine for the tomcat-user mailing list

2002-11-27 Thread Luca Ventura
://nagoya.apache.org/eyebrowse/SearchList?listName=tomcat- [EMAIL PROTECTED] Carsten Am Mittwoch, 27.11.02, um 14:29 Uhr (Europe/Berlin) schrieb Luca Ventura: Hello everybody! Is there a search engine for the tomcat-user and tomcat-dev mailing list? I would like to find and read old posts using key-words

Tomcat 5

2002-11-26 Thread Luca Ventura
more stable and than Tomcat 4.x? Has it better performance? Thanks everybody in advance! Luca Ventura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Why does Tomcat 4 suspend itself?

2002-11-26 Thread Luca Ventura
Hello! I have Tomcat 4.0.4-b3 as Servlet Container (I use it as a plug-in of IIS 5, using the ISAPI filter isapi_redirector.dll )and I have seen that sometimes the following strange thing happens When Tomcat doesn't receive user's requests (forwarded from IIS) for a period of time (that can

Tomcat 5 download and possible bug in Tomcat 4.0.4-b3

2002-11-19 Thread Luca Ventura
Hello everybody! I would like to know two things please: 1) Is Tomcat 5.0 available for download? If yes, is it the final release and where can I download it? 2) I want to use Tomcat 5.0 as servlet container for IIS Web Server (it runs under Windows 2000 Advanced Server with JDK 1.4 installed):

BASIC authentication in Tomcat+IIS (PROBLEM SOLVED: ERRATA CORRIGE!!!)

2002-11-05 Thread Luca Ventura
originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 15.17 A: tomcat-dev; tomcat-user Oggetto: BASIC authentication in Tomcat+IIS (PROBLEM SOLVED!!!) Hello everybody! I would like to notify you that I have solved the problem described below after many days

BASIC authentication in Tomcat+IIS (one useful information)

2002-10-31 Thread Luca Ventura
regards, Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: martedì 29 ottobre 2002 12.12 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS Hello everybody! I have the following GREAT problem with basic authentication in Tomcat

BASIC authentication in Tomcat+IIS (second useful information)

2002-10-31 Thread Luca Ventura
many work-days to solve it without success)! Thanks. Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 10.43 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS (one useful information) Hello! I have another

BASIC authentication in Tomcat+IIS (second useful information)

2002-10-31 Thread Luca Ventura
many work-days to solve it without success)! Thanks. Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 11.12 A: tomcat-dev Oggetto: BASIC authentication in Tomcat+IIS (one useful information) Hello! I have another

BASIC authentication in Tomcat+IIS

2002-10-29 Thread Luca Ventura
Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS

BASIC authentication in Tomcat+IIS

2002-10-29 Thread Luca Ventura
Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS

DOES BASIC AUTHENTICATION SUPPORT SSL?

2002-10-18 Thread Luca Ventura
Hello everybody! I have IIS as Web Server and Tomcat 4.x as Servlet Container (using the ISAPI filter). So all requests directed to servlets, jsp-pages, or java-technology based web sites are redirected to Tomcat 4.x from IIS. I have installed in IIS a digital certificate to support HTTPS

WHY DOES TOMCAT SUSPEND ITSELF?

2002-10-18 Thread Luca Ventura
Hello everybody! I have Tomcat 4.x as Servlet Container and I have seen that sometimes the following strange thing happens When Tomcat doesn't receive requests for a period of time (that can take minutes or hours) it suspends itself and I must restart the service manually because Tomcat

ERROR PAGE IN TOMCAT

2002-10-18 Thread Luca Ventura
Hello everybody! I would like to show an html error-page that I have written when an error happens in Tomcat (for example: PAGE NOT FOUND), instead of that one appears by default. How can I do? Is there some setting in Tomcat to do this? Best regards, Luca -- To

R: How can I protect my servlet with a login and a password?

2002-10-18 Thread Luca Ventura
apache httpd.conf file. Nothing to change in tomcat. Have a look at basic authentication in apache -Original Message- From: Luca Ventura [mailto:ventluca;tiscali.it] Sent: Thursday, October 17, 2002 12:37 PM To: tomcat-user Subject: How can I protect my servlet with a login and a password

How can I protect my servlet with a login and a password?

2002-10-17 Thread Luca Ventura
Hello everybody! I have Apache Tomcat 4.0 as Servlet Engine and I would like to to the following thing: when a user tries to connect to my servlet MyServlet a window should appear that ask him to insert a login and a password before accessing to the servlet. How can I do this? Must I change

Digital certification installation in Tomcat

2002-10-02 Thread Luca Ventura
Hello everybody! I have the following problem. I have IIS as Web Server and Tomcat 4.x as Servlet/JSP container. I have installed Tomcat 4.x as a plug-in of IIS (using the isapi filter): so all requests directed to servlet/jsp pages or to sites that use these java-technologies are

R: Digital certification installation in Tomcat

2002-10-02 Thread Luca Ventura
, it will be very interesting. Regards, Miguel -Mensaje original- De: Luca Ventura [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 02 de octubre de 2002 9:29 Para: tomcat-user Asunto: Digital certification installation in Tomcat Hello everybody! I have the following problem. I have IIS as Web

Servlet's contexts and other Tomcat's topics.

2002-09-29 Thread Luca Ventura
Hello everybody! I have Tomcat 4.x as Web Server and I would like to to the following two things but I don't know how to do: 1) I need to share the same Servlet Context MyContext between all the servlets and jsp-pages of my web application. 2) I would like that my web server does something

How to run multiple instances of JSP pages/servlets in Tomcat?

2002-09-26 Thread Luca Ventura
Hello everybody! In Tomcat 4.x I don't know how I can call automatically a JSP page when the web application starts. I mean...in Tomcat 4.x there is the web.xml file where I can declare: servlet servlet-nameMyServlet/servlet-name servlet-classMyServlet/servlet-class

Tomcat and IIS

2002-09-24 Thread Luca Ventura
Hello everybody! I have installed Tomcat as plug-in of Internet Information Server (IIS) to support JSP/Servlet, using the ISAPI filter. So I can support ASP pages thanks to IIS and Servlets/JSP-pages thanks to Tomcat. All works well if I don't use sessions. In fact if I create an user-session

How can I maintain sessions between IIS and Tomcat?

2002-09-24 Thread Luca Ventura
Sorry for having replied this mail but I have set a more detailed subject for it, hoping someone can help me in solving the problem described below. Thanks everybody for the patience. Luca Hello

How I can redirect requests in Tomcat 4?

2002-07-03 Thread Luca Ventura
Hello everybody! I have Tomcat 4 installed as Web Server on a Win 2000 machine. I would like to know how I can redirect requests from an URL to another one. For example I would like to redirect all the requests for this url: http://www.mydomain.com/address1.html to this new url:

Must I restart Tomcat every time I install a new app?

2002-06-13 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4 as plug-in of IIS to support JSP/SErvlets, following the instructions indicated at URL: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html All works fine but every time I modify the file uriworkermap.properties to add or remove an

Is it available Tomcat 2?

2002-06-12 Thread Luca Ventura
Hello everybody! I would like to know if it is true that the next version of Tomcat (called Apache 2) supports ASP pages. Is it Apache 2 available for download (final version)? Thanks a lot in advance! Luca -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

R: Is it available Tomcat 2?

2002-06-12 Thread Luca Ventura
/ -Ursprüngliche Nachricht- Von: Luca Ventura [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 12. Juni 2002 11:37 An: tomcat-user Betreff: Is it available Tomcat 2? Hello everybody! I would like to know if it is true that the next version of Tomcat (called Apache 2) supports ASP pages. Is it Apache

IIS mailing list (off-topic)

2002-06-11 Thread Luca Ventura
Sorry with everybody about this off-topic question but I need absolutely to find a mailing-list about Internet Information Server. I tried to search on the Web but unsuccessfully. Anyway I can explain to you the type of the problem I have...when I open the Microsoft Management Console of IIS (I

How can I disable authentication in Tomcat 4?

2002-06-10 Thread Luca Ventura
Hello everybody! I have a great problem.:-( I have installed IIS as Web Server and Tomcat 4 as JSP/Servlet container: the problem is that when I connect to a site that must be redirected to Tomcat (because it contains JSP/servlets pages) the servlet container (i.e. Tomcat 4) asks me to

How to close an HTTP port on Apache Tomcat 4?

2002-06-07 Thread Luca Ventura
Hello everybody! I use Apache Tomcat 4.0 as Web Server an I would like to know how I can close an opened port (eg. 8000 or 9000) to avoid that someone can use it to enter in my system. Which configuration files I must modify? Thanks a lot in advance! Luca

HELP!! I need urgent information about Tomcat's configuration

2002-06-07 Thread Luca Ventura
Hello everybody! I have the following problem I have installed Internet Information Services (IIS) as Web Server on my local machine and Apache Tomcat 4.0 as plug-in of IIS to support JSP-Servlets (to do this I installed an ISAPI filter in IIS that redirects all my JSP-servlet requests to

R: How to close an HTTP port on Apache Tomcat 4?

2002-06-07 Thread Luca Ventura
that you want to run tomcat behind a web server) -Ursprüngliche Nachricht- Von: Luca Ventura [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Juni 2002 08:28 An: tomcat-user; tomcat-dev Betreff: How to close an HTTP port on Apache Tomcat 4? I use Apache Tomcat 4.0 as Web Server an I would

Problems in redirecting requests from IIS to Tomcat 4

2002-06-07 Thread Luca Ventura
Hello everybody! I have installed Internet Information Services (IIS) as Web Server and Apache Tomcat 4.0 as plug-in of IIS to support JSP-Servlets (to do this I installed an ISAPI filter in IIS that redirects all my JSP-servlet requests to Tomcat). All works fine when I am on localhost but if

R: Problems in redirecting requests from IIS to Tomcat 4

2002-06-07 Thread Luca Ventura
-Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 8:38 AM To: tomcat-dev; tomcat-user Subject: Problems in redirecting requests from IIS to Tomcat 4 Hello everybody! I have installed Internet Information Services (IIS) as Web Server and Apache

R: Problems in redirecting requests from IIS to Tomcat 4 (new Information)

2002-06-07 Thread Luca Ventura
Security tab. Click the Edit button for Anonymous Access and Authentication Control. Select Anonymous Access and un-select everything under Authenticated Access. HTH -Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 8:38 AM To: tomcat-dev; tomcat

Problems in redirecting requests from IIS to Tomcat 4 (2nd new Information)

2002-06-07 Thread Luca Ventura
of localhost? Thanks, Luca -Messaggio originale- Da: Luca Ventura [mailto:[EMAIL PROTECTED]] Inviato: venerdì 7 giugno 2002 15.55 A: Tomcat Users List Oggetto: R: Problems in redirecting requests from IIS to Tomcat 4 (new Information) Escuse me all in the forum I want to point

Server name setting in Apache Tomcat 4

2002-06-04 Thread Luca Ventura
Hello everybody! I have installed Apache Tomcat 4 as plug-in of IIS to support jsp pages and servlets, and alla works fine. For test purposes I installed all on the same machine without changing the server-name (localhost) of my Web Server (IIS) and Servlet/JSP Container (Tomcat). I would like

Help: URL's redirection (maybe a little off-topic).

2002-05-31 Thread Luca Ventura
Hello everybody! I excuse with all people of the forum is the question I am posting is a little off-topic because it concerns also Internet Information Services (IIS) Web Server, but I didn't find any forum or source data where to retrieve the following information that I need absolutely:-( I

R: Ref. : How can I redirect only JSP pages to Tomcat?

2002-05-17 Thread Luca Ventura
ThanksI will try you solution but I hope someone else has already solved this problem:-) Sorry..but I don't know how to put IIS and tomcat on different machine: I am curious to know how to do too! :-( Regards, Luca -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL

How can I redirect only JSP pages to Tomcat?

2002-05-17 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4 as servlet/JSP container fo IIS 5 but I haven't understood how to redirect to Tomcat only requests for JSP pages or servlets. I have found only the way to redirect entire sites but I would like to redirect only JSP pages and servlets and not html

Where must I put the code of my application?

2002-05-17 Thread Luca Ventura
Hello! I have installed Tomcat 4 as servlet/jsp container and IIS as Web Server. I developed a Web application and I want to put it not in /webapps/examples folder of Tomcat but in another folder, for example /webapps/myproject. The problem is that when I try to connect to it IIS redirects

R: Where must I put the code of my application?

2002-05-17 Thread Luca Ventura
=myproject debug=0 reloadable=false crossContext=false assuming the appBase attribute of the Host is webapps RS Luca Ventura [EMAIL PROTECTED] on 05/17/2002 06:41:54 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:tomcat-user [EMAIL PROTECTED], tomcat-dev [EMAIL PROTECTED] cc