RE: Sending email ( Tomcat 7 )

2012-01-17 Thread Caldarale, Charles R
> From: Lau Eng Huat [mailto:tomcath...@gmail.com] > Subject: Sending email ( Tomcat 7 ) > I need to send emails using tomcat servlet. First, read the docs: http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#JavaMail_Sessions If that isn't sufficient, come back and ask specific

Re: Tomcat upgradation from 5.5.20 to 5.5.34

2012-01-17 Thread Konstantin Kolinko
2012/1/16 Deepak Mishra : > Dear Sir/Ma'am, > > We are planning to upgrade tomcat from 5.5.20 to 5.5.34. As I have > never done this up-gradation was wondering if we can directly upgrade > from 5.5.20 to 5.5.34 or we need to go step by step. Also can you > please provide me the link to download the

Sending email ( Tomcat 7 )

2012-01-17 Thread Lau Eng Huat
Hi guys, I need to send emails using tomcat servlet. I have the following questions to ask 1. How to install javaMail ? Is this the best option ? 2. I'm running Tomcat 7 on a local host. Can I sent email to my gmail account ? How can I achieved this ? Thanks in advanced

Re: Server starts but fails to get any reqs

2012-01-17 Thread deniz
here is my permissions in policy file : // == SYSTEM CODE PERMISSIONS = // These permissions apply to javac grant codeBase "file:${java.home}/lib/-" { permission java.security.AllPermission; }; // These permissions apply to all shared s

RE: Server starts but fails to get any reqs

2012-01-17 Thread Caldarale, Charles R
> From: deniz [mailto:denizdurmu...@gmail.com] > Subject: Re: Server starts but fails to get any reqs > Jan 18, 2012 10:43:57 AM org.apache.coyote.http11.AbstractHttp11Processor > process > SEVERE: Error processing request > java.security.AccessControlException: access denied > ("java.lang.Runtim

Re: Server starts but fails to get any reqs

2012-01-17 Thread Igor Cicimov
Looks like you have access permission problem. What are you policy settings and tomcat directory permissions? On Jan 18, 2012 1:49 PM, "deniz" wrote: > sorry for the weird layout of the error here is the error: > > > > Jan 18, 2012 10:43:57 AM org.apache.coyote.http11.AbstractHttp11Processor

Re: Server starts but fails to get any reqs

2012-01-17 Thread deniz
sorry for the weird layout of the error here is the error: Jan 18, 2012 10:43:57 AM org.apache.coyote.http11.AbstractHttp11Processor process SEVERE: Error processing request java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setContextClassLoader") at

Server starts but fails to get any reqs

2012-01-17 Thread deniz
hi all, my system is tomcat 7.0.23 and jdk 1.7... whenever i try to start tomcat, and access my page, i see this on my logs: *Jan 18, 2012 10:43:57 AM org.apache.coyote.http11.AbstractHttp11Processor process SEVERE: Error processing request java.security.AccessControlException: access denied ("

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=52480 Erik > On 17/01/2012 12:22, epr...@orpheus.fr wrote: >> Forgot to mention: >> - The description pertains to the Linux 32 bits test case + Oracle JDK >> 1.6. >> - For the Windows x64 + JDK 1.7 test case, replace "javac1.6" by >> "javac

Re: Interactive Services Detection

2012-01-17 Thread David kerber
On 1/17/2012 1:09 PM, Shoffey, Montreal wrote: André and David, Unchecking 'Allow service to interact with desktop' fixed the issue. Problem solved ... thanks very much! You're welcome; thanks for posting back with the results. v/r Montreal _ Gail "Montreal" Shoffe

RE: Interactive Services Detection

2012-01-17 Thread Shoffey, Montreal
André and David, Unchecking 'Allow service to interact with desktop' fixed the issue. Problem solved ... thanks very much! v/r Montreal _ Gail "Montreal" Shoffey VA Office of Information and Technology IT Workforce Development 304-262-7713 Office 202-400-7970 Mobile 304

Re: Interactive Services Detection

2012-01-17 Thread André Warnier
David kerber wrote: ... In the Tomcat properties, I have Log on as Local System account and the Allow service to interact with desktop is checked. Windows Vista, 7, Server 2008 and Servere 2008 R2 do not allow services to interact with the desktop whether that option is checked or not. Unc

Re: Excessive CPU w/APR Connectors on tomcat-native 1.1.22

2012-01-17 Thread Marvin Addison
Brief follow up on CPU spike issue. In an attempt to work around the problem via configuration changes, we have swapped out APR connectors with NIO using an equivalent configuration. (The only meaningful changes are SSL configuration directives.) Since swapping out connectors over the weekend, w

Re: Interactive Services Detection

2012-01-17 Thread David kerber
On 1/17/2012 9:24 AM, Shoffey, Montreal wrote: Stuart "Pid", Thanks for your reply. Please see my comments to your questions below. I need the help. Montreal -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 13, 2012 5:53 PM To: Tomcat Users List Subject: Re:

RE: Interactive Services Detection

2012-01-17 Thread Shoffey, Montreal
Stuart "Pid", Thanks for your reply. Please see my comments to your questions below. I need the help. Montreal -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 13, 2012 5:53 PM To: Tomcat Users List Subject: Re: Interactive Services Detection On 13/01/2012 1

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
Ok, I will open a bug tonight (French time zone). Thanks, Erik > On 17/01/2012 12:22, epr...@orpheus.fr wrote: >> Forgot to mention: >> - The description pertains to the Linux 32 bits test case + Oracle JDK >> 1.6. >> - For the Windows x64 + JDK 1.7 test case, replace "javac1.6" by >> "javac1.7"

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Mark Thomas
On 17/01/2012 12:22, epr...@orpheus.fr wrote: > Forgot to mention: > - The description pertains to the Linux 32 bits test case + Oracle JDK 1.6. > - For the Windows x64 + JDK 1.7 test case, replace "javac1.6" by > "javac1.7" and you're done. That looks good to me. Please open a bug and I'll take a

Re: Clarification regarding JULI logger

2012-01-17 Thread Parthiban P
Thanks for your reply. Probably I have not explained my requirement clearly. Here is my actual usecase ... We have our own server implementation and by default we enable only INFO level logs to be logged. In some cases, dynamically we need to change this logger level from INFO to FINER (may be fo

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
Forgot to mention: - The description pertains to the Linux 32 bits test case + Oracle JDK 1.6. - For the Windows x64 + JDK 1.7 test case, replace "javac1.6" by "javac1.7" and you're done. Erik >> Please. And include the steps you are using to configure Ant as the >> compiler in case there is some

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
> Answer Mark's email to you first. Done. @Pid: thank you for the reminder, I thought I already posted an answer! Erik > On 17/01/2012 10:21, epr...@orpheus.fr wrote: >>> And I really, really do not understand why the people who make the >>> installer of the >>> Windows version of Tomcat - and

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
> Please. And include the steps you are using to configure Ant as the > compiler in case there is something odd there. @mark: do you think the description below is concise enough ? Erik - Download apache-ant-1.8.2-bin.tar.gz - Extract to any temp directory - Copy apache-ant-1.8.2/lib/ant.jar + a

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Pid
On 17/01/2012 10:21, epr...@orpheus.fr wrote: >> And I really, really do not understand why the people who make the >> installer of the >> Windows version of Tomcat - and who are undoubtedly otherwise pretty smart >> people - are >> compounding the issue by installing this by default in a sub-direc

[SECURITY] CVE-2012-0022 Apache Tomcat Denial of Service

2012-01-17 Thread Mark Thomas
CVE-2012-0022 Apache Tomcat Denial of Service Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.22 - Tomcat 6.0.0 to 6.0.33 - Tomcat 5.5.0 to 5.5.34 - Earlier, unsupported versions may also be affected Description: Analysis of the recent hash co

[SECURITY] CVE-2011-3375 Apache Tomcat Information disclosure

2012-01-17 Thread Mark Thomas
CVE-2011-3375 Apache Tomcat Information disclosure Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.21 - Tomcat 6.0.30 to 6.0.33 - Earlier versions are not affected Description: For performance reasons, information parsed from a request is ofte

Re: how to subscribe tomcat org userlist?

2012-01-17 Thread eprost
> how to subscribe tomcat org userlist? > See http://tomcat.apache.org/lists.html#tomcat-users => Subscription:Send a blank email to users-subscr...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat

how to subscribe tomcat org userlist?

2012-01-17 Thread srilaxmi deevela
how to subscribe tomcat org userlist?

Re: [OT] TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Konstantin Kolinko
2012/1/17 Kees Jan Koster : > On 17 jan. 2012, at 11:11, André Warnier wrote: > >> Kees Jan Koster wrote: >>> Dear all, Now about whether this is a bug in Tomcat or its documentation : I am fairly sure that not long ago, I saw a strong warning somewhere in the on-line Tomcat docum

Re: [OT] TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
> So if you can save yourself the trouble, by installing Tomcat in some > pathname which makes Yes, we can deploy in C:\TC7 or /opt/TC7 instead of "C:\Program Files\blahbla" or "/opt/apache/tomcat 7.0.23". But, especially on Windows, where all applications live in "C:\Program Files", this is disr

Re: [OT] TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Kees Jan Koster
On 17 jan. 2012, at 11:11, André Warnier wrote: > Kees Jan Koster wrote: >> Dear all, >>> Now about whether this is a bug in Tomcat or its documentation : I am >>> fairly sure that not long ago, I saw a strong warning somewhere in the >>> on-line Tomcat documentation, about not using spaces in

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread eprost
> Exactly which version, Tomcat 7.0.? 7.0.23 > On 17/01/2012 03:44, deniz wrote: >> Hi all, >> >> I am getting a weird error on tomcat 7. at first i deploy my war file >> and >> everything is smooth.. but after some time - randomly - i cant access >> anything on tomcat and in the log file I see

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
> And I really, really do not understand why the people who make the > installer of the > Windows version of Tomcat - and who are undoubtedly otherwise pretty smart > people - are > compounding the issue by installing this by default in a sub-directory > named "Apache > Software Foundation". Follo

Re: [OT] TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread André Warnier
Kees Jan Koster wrote: Dear all, Now about whether this is a bug in Tomcat or its documentation : I am fairly sure that not long ago, I saw a strong warning somewhere in the on-line Tomcat documentation, about not using spaces in pathnames somewhere, as it was not supported by some component

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread deniz
7.0.23 is this a bug in this version? -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat-7-JDK-7-access-permissions-error-or-bug-tp3679835p3680278.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread Pid
On 17/01/2012 03:44, deniz wrote: > Hi all, > > I am getting a weird error on tomcat 7. at first i deploy my war file and > everything is smooth.. but after some time - randomly - i cant access > anything on tomcat and in the log file I see these lines: Exactly which version, Tomcat 7.0.? p

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Mark Thomas
On 16/01/2012 23:14, epr...@orpheus.fr wrote: > ### Summary > > TC fails to compile JSP when 1) the compiler is AntCompiler and 2) there > is a whitespace somewhere in the pathname to TC home dir. > ### Questions > > Q1 - Does somebody already have seen this problem? I don't recall seeing thi

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Kees Jan Koster
Dear all, > Now about whether this is a bug in Tomcat or its documentation : I am fairly > sure that not long ago, I saw a strong warning somewhere in the on-line > Tomcat documentation, about not using spaces in pathnames somewhere, as it > was not supported by some component. Perhaps the Tom

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread André Warnier
epr...@orpheus.fr wrote: ### Summary TC fails to compile JSP when 1) the compiler is AntCompiler and 2) there is a whitespace somewhere in the pathname to TC home dir. Personal opinion : you should not do that (use paths with spaces in them). It was a stupid idea to allow this in the first p