EL and Autoboxing

2008-05-19 Thread Milanez, Marcus
Hi Everyone, I came across na interesting situation here. One of my classes contains a Boolean (wrapper) value as its return type. Something like this: ... public Boolean isServerOK() { return isOK; } ... Whenever I try to invoke this method using EL, I receive the following error: "Pr

RES: Once again, clear text passwords in context.xml files

2008-05-13 Thread Milanez, Marcus
would need to hash the user input and compare. This might give ur security czars a warmer feeling and get them off ur back. -Kevin On 5/13/08, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > Filip thanks for your reply, > > >> 1. make sure tomcat runs as an account that can

RES: Once again, clear text passwords in context.xml files

2008-05-13 Thread Milanez, Marcus
ount that can't login 2. make any file that contains secure information readonly, and readable only by the tomcat user if someone gets onto your machine as an super user, you have bigger problem than the password being in clear text Filip Milanez, Marcus wrote: > Hello everyove, > &

Once again, clear text passwords in context.xml files

2008-05-13 Thread Milanez, Marcus
Hello everyove, We were asked to eliminate clear text passwords associated to database pooled connections in context.xml files... I know it has been discussed a lot, but I would like to ask once again whether someone has a simple, clean solution for that. We are using Windows server and MS SQL 200

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Thabks a lot for your effort! -Mensagem original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 15:51 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 11:42 AM, Milanez, Marcus <[EM

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
L PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 15:27 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 11:00 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > trimDirectiveWhitespaces directive simply doesn't work at all in &

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
ED] Enviada em: sexta-feira, 9 de maio de 2008 14:09 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 9:55 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > I've reard about this issues, but our tests confirmed that all JSPs > and

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
hroeder [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 12:10 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 7:45 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > Just a final questions: should it be wor

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
2008 at 7:28 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > I think it won't be possible to trim white spaces from .tag files > uwing this directive then... If minimizing white space is critical for you, you might try something with the String taglib -- maybe wrap a string:s

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
ective can only be used in a tag file" I think it won't be possible to trim white spaces from .tag files uwing this directive then... -Mensagem original- De: Milanez, Marcus Enviada em: sexta-feira, 9 de maio de 2008 11:21 Para: 'Tomcat Users List' Assunto: RES: tri

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
r) or during compiling time? Thank you! -Mensagem original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 11:17 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 7:04 AM, Milanez, Marcus &l

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Just for a matter of reference, I'm currently using Tomcat 6.0.14 under Windows 2003 server. Thanks again! -Mensagem original- De: Milanez, Marcus Enviada em: sexta-feira, 9 de maio de 2008 11:04 Para: 'Tomcat Users List' Assunto: trim-directive-whitespaces and .tag f

trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Hi, I'm successfully using trim-directive-whitespaces in my web.xml file, clearing unecessary white spaces from my pages. The only problem is that .tag files content is not affected by this directive. Is there a way to make it work? I've searched a lot for it and couldn't find anything... I'm us

RES: Runtime created files not accessible.SOLUTION FINALLY!!!

2008-04-25 Thread Milanez, Marcus
Here comes NetBeans to 'save' the day... I had a similar problem working on a Swing project... My non java files kept being excluded all the time... -Mensagem original- De: Andreas [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 25 de abril de 2008 07:42 Para: Tomcat Users List Assun

RES: Runtime created files not accessible.Please help.

2008-04-24 Thread Milanez, Marcus
Hello, I meant any class that extends HttpServlet. Have you tried the code I sent you? Marcus Milanez -Mensagem original- De: Andreas [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de abril de 2008 17:06 Para: Tomcat Users List Assunto: Re: Runtime created files not accessible.

RES: custom timeout/expiry implementation

2008-04-24 Thread Milanez, Marcus
Hello, We've implemented a similar solution for that, which consists on opening a modal dialog in the browser asking for user password again, thus extending session duration if he correctly enters it, one minute before the user session expires. We've used regular javascript setInterval to accompl

RES: Runtime created files not accessible.Please help.

2008-04-24 Thread Milanez, Marcus
I don't think so, never noticed it in our applications... -Mensagem original- De: Piller Sébastien [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de abril de 2008 11:22 Para: Tomcat Users List Assunto: Re: Runtime created files not accessible.Please help. Hello, personnally, I

RES: Runtime created files not accessible.Please help.

2008-04-24 Thread Milanez, Marcus
ieve it after the end of session. If by chance you would like to warn me for the dots '.' in the path name or the capital letters , I could say tha I have tried to create simple path names without any dots or special characters and i had the same problem. Thnx so much. Andreas.

RES: Runtime created files not accessible.Please help.

2008-04-24 Thread Milanez, Marcus
ser I get HTTP Status 404. The code is pretty much basic, Java.IO , FileReader/Writer and so on. Tell me please if i can be more specific or I should post something more. Thanx a lot, Best Regards, Andreas, Greece. - Original Message - From: "Milanez, Marcus" <[EMAIL PROTE

RES: Runtime created files not accessible.Please help.

2008-04-24 Thread Milanez, Marcus
Hi Andreas, We do pretty much the same here and it is working fine. Could you please post some parts of your code, so that we can see how you specify your physical folders? Can you see the folders/files created using a file viewer ? Yours, Marcus Milanez -Mensagem original- De: Andreas

RES: RES: Application context configuration & datasources

2008-03-27 Thread Milanez, Marcus
I've never used a pool shared by more than one app, so I'm not the best person to offer other options. In this case, you have to stop your server whenever you deploy a new version of your app? -Mensagem original- De: Charl Gerber [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 d

RES: Application context configuration & datasources

2008-03-27 Thread Milanez, Marcus
Hi, You are not supposed to edit server.xml in order to make your pooled connections work. As your log messages suggest, I would you recomend you put your context.xml file inside a META-INF directory, as you mentioned. As a matter of an example, here is my context.xml file, which is stored insi

RES: url redirection

2008-03-27 Thread Milanez, Marcus
Hi, I'm not completely sure about what you want, but you can redirect urls according to a given pattern between tomcat instances using jakarta connectors. Is that what you want? You can have further info here http://tomcat.apache.org/connectors-doc/ Yours, Marcus -Mensagem original-

RES: Java 1.4.2 to 1.5 upgrade tips

2008-03-26 Thread Milanez, Marcus
You could have both tomcats running in the same server, one for legacy apps and another for new stuff, using mod_jk. It works very well. -Mensagem original- De: Jonathan Mast [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 26 de março de 2008 13:14 Para: Tomcat Users List Assunto:

RES: Securing Tomcat

2008-03-26 Thread Milanez, Marcus
We are currently using the steps published by OWASP too, in terms of tomcat configuration (there are application related security issues that are not covered by the article). Is there something else we should be aware of, that is not described? >> I have no personal experience with this but it mi

RES: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
iginal- De: Mark Thomas [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de março de 2008 18:23 Para: Tomcat Users List Assunto: Re: Tomcat 6.0.16 and Listeneres Milanez, Marcus wrote: > Searching over the internet I came accross very few references > reporting the same problem, and

RES: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
Everything works really fine, but this message is somehow annoying ... -Mensagem original- De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 25 de março de 2008 18:20 Para: Tomcat Users List Assunto: RE: Tomcat 6.0.16 and Listeneres > From: Milanez, Mar

Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
Hi, I've just updated my tomcat version to 6.0.16 (I was using 6.0.14 since then), and it keeps reporting me "INFO: The listener myfullpackage.MyListener" is already configured for this context. The duplicate definition has been ignored." everytime I deploy my application. I've inspected all file

RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
PROTECTED] Enviada em: segunda-feira, 17 de março de 2008 12:16 Para: Tomcat Users List Assunto: RE: about java.lang.outofmemory error > From: Milanez, Marcus [mailto:[EMAIL PROTECTED] > Subject: RES: about java.lang.outofmemory error > > GC never (ever) ran and Tomcat proccess c

RES: RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
17 de março de 2008 11:41 Para: Tomcat Users List Assunto: Re: RES: about java.lang.outofmemory error Milanez, Marcus wrote: > Chuck, > > Sorry if I haven't been clear enough, but we did have several situations in > which such a thing happened in production. We'd specified too mu

RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
is there another explanation for it? Thank you! -Mensagem original- De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 17 de março de 2008 11:06 Para: Tomcat Users List Assunto: RE: about java.lang.outofmemory error > From: Milanez, Marcus [mailto:[

RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
Hello, Just be aware that increasing memory isn't always the best option. In most cases you should decrease memory instead, giving GC a chance to run. If you increase memory, it may never run (realising unused resources) and your process may never be able to allocate the amount you specify...

RES: Simultate Tomcat JNDI

2008-03-07 Thread Milanez, Marcus
Hi everyone, I came accross a solution for that. I've created my own helper class that provides the same JNDI hierarchy tomcat does to my datasources. Now I can test my DAOs using jUnit outside tomcat! Thank you all! Marcus Milanez -Mensagem original- De: Milanez, Marcus [m

RES: Simultate Tomcat JNDI

2008-03-07 Thread Milanez, Marcus
-- De: Martin Gainty [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 7 de março de 2008 11:43 Para: Milanez, Marcus Cc: Tomcat Users List Assunto: Re: Simultate Tomcat JNDI Marcus-http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howt o.html//assume you have this Oracle Datasourc

Simultate Tomcat JNDI

2008-03-07 Thread Milanez, Marcus
Hi everyone, I'm trying to simulate tomcat's jndi mechanism, in order to test my DAO objects with junit. Does anybody knows how to do that? It seems to me that I need to bind the name java:/comp/env to a Context object and then bind my jdbc name to this context. Is this the way tomcat put things t

RES: Servlet Filter Not Intercepting?

2008-01-03 Thread Milanez, Marcus
Checkout Checkout com.inifim.commerce.store.servlets.transactions.Checkout I only have one filter right now. Thanks again, Jay -Original Message- From: Milanez, Marcus [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 5:21 AM To: Tomcat Users List; [EMAIL PROTECTE

RES: Servlet Filter Not Intercepting?

2008-01-02 Thread Milanez, Marcus
Hi, Yes, filters atre supposed to intercept a requets just before it is accessed. Could you please post your filter config written in your web.xml file? Yours, Marcus Milanez http://sumatrablog.wordpress.com -Mensagem original- De: Jay Liu [mailto:[EMAIL PROTECTED] Enviada em: terça-f

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
D MESSAGE- > Hash: SHA1 > > Marcus, > > Milanez, Marcus wrote: > > In this case, my files are created > > correctely, but I just can't reach them using their URLs. > > This is likely because Tomcat expects all the resources for a web app > to be availab

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
Sorry, I've mispelled the Tomcat version. We are currently using 6.0.14 here. Thanks, Marcus -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 30 de outubro de 2007 10:12 Para: Tomcat Users List Assunto: RES: Creating files dynamicall

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
Hassan, Are you using antiJARLocking="true" and antiResourcesLocking="true" in your context.xml file? Whenever I drop new JSP files *with* these options set to "false", they work fine, but if I do that when these options are set to "true", they simply can't be found... Thanks, -Mensagem orig

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
Hassan, Are you using antiJARLocking="true" and antiResourcesLocking="true" in your context.xml file? Whenever I drop new JSP files *without* these options set to "false", they work fine, but if I do that when these options are set to "true", they simply can't be found... Thanks, -Mensagem o

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
folder: what is the result of calling ServletContext.getRealPath(...)? 2007/10/29, Christopher Schultz <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Marcus, > > Milanez, Marcus wrote: > > In this case, my files are created > > corr

Creating files dynamically and antiJarLocking

2007-10-29 Thread Milanez, Marcus
Hi all, In my web project, I dynamically create JSP files in some ocasions. These files are placed under my web application folder and only works well if I don't use antiJarLocking='true' and antiResourcesLocking='true'. In this case, my files are created correctely, but I just can't reach them u

RES: Help with Tomcat & IIS

2007-10-25 Thread Milanez, Marcus
Just to make things clear, the "Web Services Extension" item is located above "Web Sites" item and not under, as I've mentioned... Sorry! -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 25 de outubro de 2007 09:2

RES: Help with Tomcat & IIS

2007-10-25 Thread Milanez, Marcus
Demetris, Have you taken all the required steps to integrate IIS and Tomcat? If so, IIS under Windows 2003 requires an extra one which consists on adding a "Web Service Extension". Note that now there is an item named "Web Service Extensions", under "Web Sites" folder. Just right click on it and

RES: RES: RES: How can I ensure that client access servlets via HTTPS?

2007-10-24 Thread Milanez, Marcus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: > I know that, but the code posted in the question had a CONFIDENTIAL > value set for and the author still seemed to > have lacks regarding it... But just for a matter of curiosity, why > should I u

RES: RES: How can I ensure that client access servlets via HTTPS?

2007-10-24 Thread Milanez, Marcus
Schultz [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 23 de outubro de 2007 17:23 Para: Tomcat Users List Assunto: Re: RES: How can I ensure that client access servlets via HTTPS? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: > I think you could configure y

RES: How can I ensure that client access servlets via HTTPS?

2007-10-23 Thread Milanez, Marcus
I think you could configure your server so that the 80 port is not available, only the 443 one. Programaticaly, you can invoke the request.isSecure() method to check whether your request uses https. -Mensagem original- De: alla winter [mailto:[EMAIL PROTECTED] Enviada em: terça-feira,

RES: How to? debug large session size? drill down and tools / over 400K is too be for replication

2007-10-16 Thread Milanez, Marcus
We use Lambda Probe http://www.lambdaprobe.org here -Mensagem original- De: hanasaki jiji [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 16 de outubro de 2007 15:53 Para: users@tomcat.apache.org Assunto: How to? debug large session size? drill down and tools / over 400K is too

RES: Rookie Question Please help

2007-09-14 Thread Milanez, Marcus
Hi! We have used the JTDS driver for Sql 2005 and we didn't have a single problem... Give it a try, it's the best SQL 2K/2005 driver ever... http://jtds.sourceforge.net/faq.html Yours, Marcus Milanez -Mensagem original- De: Charlie Wingate [mailto:[EMAIL PROTECTED] Enviada em: sexta-

TagLib body code

2007-09-14 Thread Milanez, Marcus
Hi there, Is it possible to somehow, obtain the non-evaluated code contained inside a taglib body ? thanks!

RES: RES: tc & xmlhttprequest

2007-09-10 Thread Milanez, Marcus
ook into to those, now I just need to get this done, grin. "Milanez, Marcus" <[EMAIL PROTECTED]> wrote: Hi, These questions sound really strange to me. Are you using an AJAX framework like DWR ? If not, I guess you should give it a try: http://getahead.org/dwr . You can easily

RES: tc & xmlhttprequest

2007-09-10 Thread Milanez, Marcus
Hi, These questions sound really strange to me. Are you using an AJAX framework like DWR ? If not, I guess you should give it a try: http://getahead.org/dwr . You can easily find installing and deployment instructions there. Yours, Marcus -Mensagem original- De: Chris Pat [mailto:[EMAIL

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
What's wrong? Problems with native libraries? -Mensagem original- De: Leon Rosenberg [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 22 de agosto de 2007 12:23 Para: Tomcat Users List Assunto: Re: 20 Tips for Using Tomcat in Production On 8/22/07, Milanez, Marcus <[EMAIL P

RES: RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
Hi Karel, Take a look at http://tomcat.apache.org/tomcat-5.5-doc/apr.html, which describes native libraries. We started using it sometime ago and we noticed better response times in or application. -Mensagem original- De: Karel Sedlacek [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
Another tip that could be considered is the use of Tomcat Native Libraries (http://tomcat.heanet.ie/native/) , what do you think? -Mensagem original- De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 22 de agosto de 2007 10:56 Para: Tomcat Users List Assunto:

RES: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Milanez, Marcus
If you are running tomcat under windows services, you can select which JVM you want to use through bin/tomcatXw.exe. -Mensagem original- De: Karel V Sedlacek [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 22 de agosto de 2007 08:19 Para: Tomcat Users List Assunto: Re: 20 Tips for U

RES: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Milanez, Marcus
We should create a wiki to accomplish all theses tips Why not? -Mensagem original- De: Ben Souther [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 21 de agosto de 2007 14:46 Para: Tomcat Users List Assunto: Re: 20 Tips for Using Tomcat in Production Tip #8: You tell the users ab

RES: Re: Memory problems

2007-08-21 Thread Milanez, Marcus
Have you considered using Lambda Probe for tracking tomcat memory use details? Give it a try, maybe you'll be able to find alive object references that could be garbage collected. http://www.lambdaprobe.org/ -Mensagem original- De: news [mailto:[EMAIL PROTECTED] Em nome de Morten Env

RES: 20 Tips for Using Tomcat in Production

2007-08-21 Thread Milanez, Marcus
Thank you very much! -Mensagem original- De: Shane Witbeck [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 21 de agosto de 2007 09:10 Para: users@tomcat.apache.org Assunto: 20 Tips for Using Tomcat in Production I thought my latest blog post would be of interest to the people on th

RES: Resource Security

2007-08-20 Thread Milanez, Marcus
For all those interested in tightening tomcat security, there are some interesting advices from OWASP here http://www.owasp.org/index.php/Securing_tomcat Yours, Marcus Milanez -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 20 de agosto de

RES: Resource Security

2007-08-20 Thread Milanez, Marcus
Mark, First of all, let me thank you for your detailed response. This list contains lots of qualified people, and I'm really glad I'm part of it because I'm learning more and more everyday. All the reasons you mentioned are reasonable, but there are some pointes that makes me think a lot (an

RES: RES: RES: Context.xml file

2007-08-17 Thread Milanez, Marcus
- Hash: SHA1 Marcus, Milanez, Marcus wrote: > I know.. This is quite difficult to address... > > Have your company adhered to SOX already? Erm... correct me if I'm wrong, but SOX is all about public disclosure of bad things happening. There are no preventative measures or anything

RES: RES: Context.xml file

2007-08-17 Thread Milanez, Marcus
Enviada em: sexta-feira, 17 de agosto de 2007 15:17 Para: Tomcat Users List Assunto: Re: RES: Context.xml file -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: > Regarding that, I came across an implementation suggestion which seems > to be valid, but still seems

RES: RES: Context.xml file

2007-08-17 Thread Milanez, Marcus
I know.. This is quite difficult to address... Have your company adhered to SOX already? -Mensagem original- De: Christopher Schultz [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 17 de agosto de 2007 15:17 Para: Tomcat Users List Assunto: Re: RES: Context.xml file -BEGIN PGP S

RES: Resource Security

2007-08-17 Thread Milanez, Marcus
I read this just after I sent the same question... Take alook at the following article: http://wldj.sys-con.com/read/393364.htm -Mensagem original- De: Christopher Schultz [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 17 de agosto de 2007 11:46 Para: Tomcat Users List Assunto: Re: R

RES: Context.xml file

2007-08-17 Thread Milanez, Marcus
Regarding that, I came across an implementation suggestion which seems to be valid, but still seems to have security issues. What do you think? Take a look at http://wldj.sys-con.com/read/393364.htm -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: sexta

Context.xml file

2007-08-17 Thread Milanez, Marcus
Hello everyone! Is there a way to make the context.xml file more secure? I mean, inside this file we have database users and passwords in plain form, and this seems to be a severe security issue... How do you guys usually protect these informations (using context.xml file) in your projects? Thank

RES: Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Thanks Gregor! -Mensagem original- De: Gregor Schneider [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 10 de agosto de 2007 11:49 Para: Tomcat Users List Assunto: Re: Define tomcat ports afaik port 1 - 1024 are so-called privileged ports (at least in unix / linux) which require supe

RES: Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Thank you Markus! I'll take a careful look at server.xml file! -Mensagem original- De: Markus Schönhaber [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 10 de agosto de 2007 11:55 Para: users@tomcat.apache.org Assunto: Re: Define tomcat ports Milanez, Marcus schrieb: >

Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Hi, We need have two tomcat instances (different versions, 5.0.xx and 6.0.xx) running in the same server. We need it because we have some web applications deployed in Tomcat 5 which don't start in Tomcat 6. We won't have enough time to migrate all the applications to adhere some Tomcat 6 issues, s

Possible Bug Regarding Tag Files

2007-06-28 Thread Milanez, Marcus
Hi everyone, As I'm not a native english speaker, I might possibly commit mistakes during this report, so I ask your apologize in advance. I've researched at google and at tomcat's web site but couldn't find any satisfatory answer regarding the following behaviour: whenever I use Expression Lan

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
ool" fields and it started working once again. Previously I had tested those values under Windows XP without problems... -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 6 de junho de 2007 09:12 Para: Tomcat Users List Assunto: RES: Perm Si

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
s=c:\jakarta-tomcat-6\endorsed -Djava.io.tmpdir=c:\jakarta-tomcat-6\temp -Dcom.sun.management.jmxremote -Xmx512m -Xms1024m -XX:PermSize=128m -XX:MaxPermSize=256m Thank you all! Marcus -----Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 6 de junho de 2007

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
em: terça-feira, 5 de junho de 2007 18:42 Para: Tomcat Users List Assunto: RE: Perm Size > From: Milanez, Marcus [mailto:[EMAIL PROTECTED] > Subject: Perm Size > > I'm trying to use the following parameters in my Tomcat 6 server > through tomcat6w.exe, but they don't seem to

Perm Size

2007-06-05 Thread Milanez, Marcus
Hi, I'm trying to use the following parameters in my Tomcat 6 server through tomcat6w.exe, but they don't seem to take any effect: -Dserver -XX:-UseSerialGC -XX:MaxPermSize=256m -XX:PermSize=128m What happens is that my Perm Size still has its default value, which is 64mb. What am I doing wrong?

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
Maybe... But I'm pretty used to ANT, so I *don't* care very much... :D -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 17:21 Para: Tomcat Users List Assunto: RES: pre-compile Maybe... But I'm pretty us

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
n the eye ;) On 5/24/07, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > > See if it helps you then... > > > Generating .

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
ve my problem with maven, I will use yours. Thank you. -Mensagem original- De: Milanez, Marcus [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 15:34 Para: Tomcat Users List Assunto: RES: pre-compile I know how to do it using ANT. Would you like it? -Mensage

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
I know how to do it using ANT. Would you like it? -Mensagem original- De: Rogerio Baldini das Neves [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de maio de 2007 15:30 Para: users@tomcat.apache.org Assunto: pre-compile Hi Guys, I'd like to pre-compile my jsps for Tomcat 6 u

RES: Prevent unwanted requests

2007-05-21 Thread Milanez, Marcus
Thanks everybody for your ideas and responses. Just to make things clear to everyone, I'm *NOT* storing .java files inside my web folder. What happens is DWR servlet accepts requests for addresses that ends with .java extensions, giving the impression that these files exists. Worst still, autom

RES: Preventing unwanted requests

2007-05-18 Thread Milanez, Marcus
Users List Assunto: RE: Prevent unwanted requests > From: Milanez, Marcus [mailto:[EMAIL PROTECTED] > Subject: RES: Prevent unwanted requests > > In fact I don't have this files in my server. The thing is, whenever I > invke URLs that matches /dwr/anyFile.java, I get a positi

RES: Prevent unwanted requests

2007-05-18 Thread Milanez, Marcus
s are pointed out... I just want to be sure that these kind of requests are rejected. Thanks! -Mensagem original- De: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 18 de maio de 2007 16:59 Para: Tomcat Users List Assunto: RE: Prevent unwanted requests > From:

Prevent unwanted requests

2007-05-18 Thread Milanez, Marcus
Is it possible to prevent the request os unwatned extensions, like *.bak, *.java and so on, through web.xml file? My solution was creating a servlet that gets mapped to this extensions, but I could realize that it doesn't work along with DWR for example... The problem is that when I invoke somethi

Servlet class according to url-mapping

2007-05-15 Thread Milanez, Marcus
Hi, Is it possible to get the full servlet class name (e.g: com.test.MyServlet) according to its URL (e.g: /servlet/MyServlet) programmatically ? Thanks!

RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.432 2) 404 0 3 Sean McKellips Systems Administrator Associated Grocers 206-767-8725 phone 206-764-7879 fax [EMAIL PROTECTED] "Milanez, Marcus" <[EMAIL PROTEC

RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
0 3 Sean McKellips Systems Administrator Associated Grocers 206-767-8725 phone 206-764-7879 fax [EMAIL PROTECTED] "Milanez, Marcus" <[EMAIL PROTECTED] iebold.com> To "Tomcat U

RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
I must tell you guys, that the only way I can get Tomcat running along with IIS is doing an extra step that is not documented anywhere, which consists on creating a Virtual Directory on IIS for my application and pointing it to my tomcat app folder. I do all those known steps (registry import,

RES: Tomcat 6 trimDirectiveWhitespaces

2007-05-14 Thread Milanez, Marcus
Thanks for your attention! I'll try RegEX! -Mensagem original- De: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Enviada em: sábado, 12 de maio de 2007 00:04 Para: Tomcat Users List Assunto: Re: Tomcat 6 trimDirectiveWhitespaces On 5/11/07, Milanez, Marcus <[EMAIL PROTECTED]> wr

RES: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-11 Thread Milanez, Marcus
Hi Jean, I could succesfully integrate IIS 6 with Tomcat (also 6), and you really need an extra step to het it done: Note that in IIS 6, there is a new item named 'Web Service Extension'. Right click on it and then 'Add new Web Service Extension' . Name it jakarta and point it to your isapi_r

RES: Tomcat 6 trimDirectiveWhitespaces

2007-05-11 Thread Milanez, Marcus
I mean <%@ page trimDirectiveWhitespaces="true" %> ... Using false it shouldn't work anyway! -Mensagem original- De: Milanez, Marcus Enviada em: sexta-feira, 11 de maio de 2007 15:55 Para: 'Tomcat Users List' Assunto: Tomcat 6 trimDirectiveWhitespaces

Tomcat 6 trimDirectiveWhitespaces

2007-05-11 Thread Milanez, Marcus
Hi, Do I need something else besides declaring <%@ page trimDirectiveWhitespaces="false" %> to have my page's white spaces trimmed? This directive doesn't seem to work at all... Thanks in advance, Marcus - To start a new topic