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:

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

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

2008-05-13 Thread Milanez, Marcus
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, We were asked to eliminate clear text passwords associated to database pooled connections

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't login Right, that is done

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 files Hi, I'm

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
) 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 [EMAIL

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
;%@ attribute directive 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: trim-directive

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
: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:squeeze around the whole tag body

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
:[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 working or not? I mean, ths

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
: 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 scripts are working well. We've also

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
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 Tomcat 6.. I've posted this question here some months ago.. Uh, I just tried it on both

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 [EMAIL

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

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: 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,

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

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

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

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

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

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:

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 files

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, Marcus

RES: Tomcat 6.0.16 and Listeneres

2008-03-25 Thread Milanez, Marcus
[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 these referenced explained

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: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
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:[EMAIL PROTECTED] Subject: RES: about

RES: RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
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 much memory to tomcat

RES: about java.lang.outofmemory error

2008-03-17 Thread Milanez, Marcus
] 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 could never acquire the amout

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

RES: Simultate Tomcat JNDI

2008-03-07 Thread Milanez, Marcus
[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 Datasource definition in your

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 [mailto

RES: Servlet Filter Not Intercepting?

2008-01-03 Thread Milanez, Marcus
again, Jay -Original Message- From: Milanez, Marcus [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 5:21 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RES: Servlet Filter Not Intercepting? Hi, Yes, filters atre supposed to intercept a requets just before it is accessed

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:

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
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 correctely, but I just can't reach them using their URLs. This is likely because

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

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

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 dynamically

RES: Creating files dynamically and antiJarLocking

2007-10-30 Thread Milanez, Marcus
can be turned off by some options. What Tomcat version is Marcus using? As for the path to the temp folder: what is the result of calling ServletContext.getRealPath(...)? 2007/10/29, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez

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

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 then

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:28 Para: Tomcat Users List; [EMAIL

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

2007-10-24 Thread Milanez, Marcus
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 transport-guarantee and the author still seemed to have lacks regarding it... But just for a matter of curiosity, why should I use another port

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

2007-10-24 Thread Milanez, Marcus
: Christopher 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

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

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

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

RES: RES: tc xmlhttprequest

2007-09-10 Thread Milanez, Marcus
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 find installing and deployment instructions there. Yours

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

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:

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 PROTECTED

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

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

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

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

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

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?

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:

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

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

RES: RES: Context.xml file

2007-08-17 Thread Milanez, Marcus
: 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 to have security

RES: RES: RES: Context.xml file

2007-08-17 Thread Milanez, 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 like that. It's not like SOX says you

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

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: We need have

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,

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

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
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 take any effect: -Dserver There's no such option as -Dserver. If you're trying to run

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
-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 08:56 Para: Tomcat Users List

RES: Perm Size

2007-06-06 Thread Milanez, Marcus
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 Size Hi, I could get

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

RES: pre-compile

2007-05-24 Thread Milanez, Marcus
on the eye ;) On 5/24/07, Milanez, Marcus [EMAIL PROTECTED] wrote: See if it helps you then... target name=generate_jsp_java echoGenerating .java files from .jsp files/echo taskdef classname=org.apache.jasper.JspC name=jasper2 classpath id=jspc.classpath

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 used to ANT, so I

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,

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

RES: Prevent unwanted requests

2007-05-18 Thread Milanez, Marcus
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: Milanez

RES: Preventing unwanted requests

2007-05-18 Thread Milanez, Marcus
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 positive DWR answer, as if I had

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] wrote: Hi, Do

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: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

2007-05-14 Thread Milanez, Marcus
Systems Administrator Associated Grocers 206-767-8725 phone 206-764-7879 fax [EMAIL PROTECTED] Milanez, Marcus [EMAIL PROTECTED] iebold.com To Tomcat Users List 05/14/2007 04:16 users

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

2007-05-14 Thread Milanez, Marcus
;+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 PROTECTED] iebold.com To Tomcat

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,

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 Hi, Do I need something else

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