Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
by the compiler of the IDE to the path read by the scanner). Il sab 9 mar 2019, 20:45 Mark Thomas ha scritto: > On 08/03/2019 17:47, Raffaele Sgarro wrote: > > Hello all! How is one supposed to configure Tomcat (I'm on 9.x) to scan a > > given package looking for @WebServlet servlets? &

Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
not documented in the website. Il sab 9 mar 2019, 15:15 Phumelela Mdluli ha scritto: > Hey, > > Try reading this, I think you will be fine: > > http://tomcat.apache.org/tomcat-9.0-doc/index.html > > No one can do it for you. > > Regards, > > Phumelela > >

Configuring embedded Tomcat with @WebServlet annotations

2019-03-08 Thread Raffaele Sgarro
to build a fat JAR and starting Tomcat in my main() - but then I do not have any WAR/JAR because all classes are on classpath. Is there some utility in Tomcat? Is there any external library commonly used for this? Thanks, Raffaele

[HTTPS] more web app each one with a proper certificate

2007-11-26 Thread Raffaele
should I configure server.xml (or other things) to use different certificates with different web apps? Thanks in advance and best regards. Raffaele -- View this message in context: http://www.nabble.com/-HTTPS--more-web-app-each-one-with-a-proper-certificate-tf4875838.html#a13951888 Sent from

bad workers.properties configuration

2007-07-19 Thread Raffaele Viola
Hi all, I'm using Apache 2.2.3 and Tomcat 5.5.17 and I want to connect Apache with Tomcat using mod_jk-1.2.21. I write this workers.properties worker.list=default worker.default.port=8009 worker.default.host=localhost worker.default.type=ajp13 worker.default.lbfactor=1 But when I try to start

java.net.BindException: Address already in use: JVM_Bind:xxxx

2007-06-27 Thread Raffaele
if that port is already used by other processesThe problem exists with all ports I try and no one process uses the same port as tomcat. Thanks in advance, Best regards. Raffaele Exception in thread main java.lang.RuntimeException: LifecycleException: Protocol handler initialization failed

Retrieving working threads from an embedded Tomcat

2007-06-20 Thread Raffaele
Hi all, I have an Embedded Tomcat, and my question is: - How should I do to retrieving the information about the number of currently working threads using the Tomcat API? Thanks in advance, Best regards Raffaele -- View this message in context: http://www.nabble.com/Retrieving-working

different version of java

2007-01-15 Thread Raffaele Viola
Hi all, I have two different web application under tomcat 5.5.17. Can I use a different version of java for each of application. In example: webapps1 - java1.4 webapps2 - java 1.5 Thanks all Raffo

Re: different version of java

2007-01-15 Thread Raffaele Viola
Pid wrote: can you explain why you need different versions of java, Raffaele? He might have an application that has been fully tested in one environment (1.4?) and not in the latest (1.5). I have apps that are stuck running in Tomcat 4.1 because migration testing takes a /long/ time

exception during deploy

2006-11-16 Thread Raffaele Viola
HI all, at Tocat startup I get this error: INFO: Deploying web application archive CMM_EU.war - IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; Can someone help me? Thanks Raffo

problem at startup

2006-11-16 Thread Raffaele Viola
Hi all, when I try to start Tomcat in the catalina.out I can find these lines 16-Nov-2006 10:07:34 org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the

Re: problem starting tomcat

2006-09-29 Thread Raffaele Viola
1) port 8005 is not available on the machine (not allowed to that user or used by another application already), free it or change it in server.xml I try to change the port but I still have the problem 2) you have changed tomcat configuration on a perhaps multi ip machine to

Re: problem starting tomcat

2006-09-29 Thread Raffaele Viola
I solved the problem. The server had a incorrect LOOPBACK interface settings Thanks Raffo

Administration Web Application

2006-09-25 Thread Raffaele Viola
Hi all, how can I install the Administration Web Application for Tomcat 5.5.17? Thanks Raffo

Re: Administration Web Application

2006-09-25 Thread Raffaele Viola
the tomcat install directory. Restart tomcat and off you go. Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: Hi all, how can I install the Administration Web Application for Tomcat 5.5.17? Thanks Raffo - To start a new

use mod_jk

2006-09-21 Thread Raffaele Viola
Hi all, I Apache web server with Tomcat and mod_jk. The row JkMount /MyApp/* worker1 in the httpd.conf file is it enought to allow the loading of all the web application from Apache? Thanks Raffo

Re: use mod_jk

2006-09-21 Thread Raffaele Viola
PROTECTED] wrote: Sorry I didn't get you question well but see if this helps. http://tomcat.apache.org/tomcat-3.2-doc/tomcat-apache-howto.html#adapter_jk_vs_js Santosh. Raffaele Viola wrote: Hi all, I Apache web server with Tomcat and mod_jk. The row JkMount /MyApp/* worker1 in the httpd.conf

problem with path

2006-09-19 Thread Raffaele Viola
Hi all, I have Apache/2.0.54 mod_jk/1.2.18 and tomcat 5.5.9 installed on Sun Solaris8. I've inserted the rows JkAutoAlias /usr/local/tomcat/webapps and JkMount /My_application default JkMount /My_application/* default in the httpd.conf and workers.tomcat_home=$CATALINA_HOME