Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Sérgio Areias
to stop it), can you give me some pointers of where I should begin if I want to do it (any class for that purpose, etc.)? Thanks for the quick answer Olivier Lamy, and thanks for your attention. I am really enjoying this learning process :) Best regards, Sérgio Areias On 4 September 2012 16:43, Ol

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-04 Thread Sérgio Areias
On 4 September 2012 09:26, Olivier Lamy wrote: > > 2012/9/3 Sérgio Areias : > > Hi. > > > > On 31 August 2012 21:24, Olivier Lamy wrote: > > > >> 2012/8/27 Sérgio : > >> > Hi. > >> > > >> > I am trying to use the Tomcat

Re: Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-09-03 Thread Sérgio Areias
Hi. On 31 August 2012 21:24, Olivier Lamy wrote: > 2012/8/27 Sérgio : > > Hi. > > > > I am trying to use the Tomcat Maven Plugin to create an executable jar > file > > with an embedded Tomcat7, but I am having two issues when trying to do > so. > > >

Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-08-27 Thread Sérgio
packaging war using the build found here http://tomcat.apache.org/maven-plugin-2/executable-war-jar.html ; - Running in Ubuntu 11.04; - Using: org.apache.tomcat.maven tomcat7-maven-plugin 2.0-beta-1 Thanks in advance. Best regards, Sérgio Areias

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
sts? Also, may it be, that there are different version of the libraries in your development and production tomcats? 2008/7/10 Sérgio Vieira Rolanski <[EMAIL PROTECTED]>: The basewebAcessoLogin.unidade.seqUnidade.value returns an Integer object. The weird thing is that it works on Windo

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
Forgot to mention, I don't get the exception on every SelectOneMenu, it seems like a random thing. Maybe it's an ajax problem? Sérgio Vieira Rolanski wrote: The basewebAcessoLogin.unidade.seqUnidade.value returns an Integer object. The weird thing is that it works on Windows (netbean

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
message that you are seeing. In your code: value="#{basewebAcessoLogin.unidade.seqUnidade.value}" Is the value of seqUnidade.value a java.lang.String, or a java.lang.Integer? If it is Integer, it may be the cause. 2008/7/10 Sérgio Vieira Rolanski <[EMAIL PROTECTED]>: I co

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
arles R wrote: From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED] Subject: Re: Problem publishing application to debian with tomcat 5.5.17 I believe you mean the System.GetProperty("file.encoding") on my windows computer I get "Cp1252" and on my

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
I believe you mean the System.GetProperty("file.encoding"), if that is the case on my windows computer I get "Cp1252" and on my debian server I get "UTF-8". How do I change it to be same on both computers? Should I use UTF-8, right? Caldarale, Charles R wrote:

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
6.0.16 versions on both windows and debian. The results was the same, running smooth on windows and failed to run with same exception on debian. Caldarale, Charles R wrote: From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED] Subject: Problem publishing application to debia

Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
10. } 11. } And this is a sample from a JSP file: 1. disabled="#{basewebAcessoLogin.notLogged}" > 2. 3. Thanks in advance, Sérgio - To start a new topic, e-mail: users@tomcat.ap

Re: sort an array

2006-06-27 Thread Sérgio Costa
ted } } Notice the type checking to make sure you don't put anything other than your class on your list. If you're not using Java 5.0, remove the from the list declaration. On 6/27/06, password password <[EMAIL PROTECTED]> wrote: Please, can you put an example? I don&#x

Re: sort an array

2006-06-26 Thread Sérgio Costa
Put them in a list and Collections.sort() them. All you'll need to do is create a Class with all those fields implementing Comparable, and implement the compareTo Method. hope it helps SC On 6/26/06, password password <[EMAIL PROTECTED]> wrote: Hi, I have a servlet and in this servlet I h

Re: Tomcat's scalability

2006-06-20 Thread Sérgio Costa
overhead until Java noticed the socket was closed, and the reconected it. We solved it through firewall configuration. Sérgio On 6/20/06, Hyatt, Gordon <[EMAIL PROTECTED]> wrote: We had an application (with connection pooling and validation query) running on TC5.0.28 (now on TC5.5.17) connect