Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
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 servle

Re: Configuring embedded Tomcat with @WebServlet annotations

2019-03-09 Thread Raffaele Sgarro
ng to achieve it. So no, it's 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. > > Rega

Configuring embedded Tomcat with @WebServlet annotations

2019-03-08 Thread Raffaele Sgarro
nt 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
uestion is, How 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#a139

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
o see 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 ini

Re: Tomcat monitoring

2007-06-20 Thread Raffaele
Hi, sorry for the intrusion... could the number of active threads be retrieved also by code, invoking direclty Tomcat API? I'm using Embedded Tomcat. Thanks, regards. Raffaele Leon Rosenberg-3 wrote: > > there is probably no such thing as "best way" > >>

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

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/ t

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

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 java.library.path

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

Re: problem starting tomcat

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

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 bi

problem starting tomcat

2006-09-28 Thread Raffaele Viola
Hi all, I'm trying to start Tomcat but Ihave some problems This is what I read in the catalina.out, could someone help me? Thanks a lot Raffo 28-Sep-2006 16:03:28 org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance

Re: Administration Web Application

2006-09-25 Thread Raffaele Viola
It seems start to work after I add into the tomcat-user.xml file the row and give to the user administrator this role. Raffo On 9/25/06, ben short <[EMAIL PROTECTED]> wrote: Are the permissions for the new files ok? Ben On 9/25/06, Raffaele Viola <[EMAIL PROTECTED]> wrote: &g

Re: Administration Web Application

2006-09-25 Thread Raffaele Viola
it over 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 > > ---

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: use mod_jk

2006-09-21 Thread Raffaele Viola
AIL 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 > > JkMoun

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

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 workers.catalina_home

caseSensitive on Windows XP

2006-02-08 Thread Merico Raffaele
conf/context.xml file: But I did not really changed anything. The case sensitivity is still ignored. Does anybody can give me a tip, how to set the case sensitivity? For your support many thanks in advance ... Raffaele Raffaele Merico LESS Informatik AG Böhnirainstrasse 14 CH-8800 Thalwil Tel