How to configure JNDI resource

2010-12-13 Thread Abid Hussain
Hi all, I've a question about how to configure a datasource to be accessed via JNDI. I have a datasource configured in server.xml (In Server/GlobalNamingResources/Resource). In the documentation http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_Definitions it says that that a

Question about context.xml

2010-06-10 Thread Abid Hussain
Hello, I'm sure this question has been posted in the past already, but when searching for Tomcat 6 context.xml (or similar) I didn't find anything which described my question. My question is about the several possibility to declare context elements for configuring JNDI resources in Tomcat 6

AW: Re: Ignore http header if-modified-since

2009-12-21 Thread Abid Hussain
. Call HttpServletResponse.containsHeader to see if the header has been set. -- Len On Fri, Dec 18, 2009 at 10:47, Abid Hussain abid.huss...@dilax.com wrote: OK, it seems that tomcat is working correctly. Still I would like to get the root cause of my problem which is again

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
Users List Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: I used the startup parameters -Duser.language=en -Duser.region=US This caused Tomcat to deliver the Last-Modified

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: I used the startup parameters -Duser.language=en -Duser.region=US This caused Tomcat to deliver the Last-Modified in the correct format. That solved the problem, no 404

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
13:56 An: Tomcat Users List Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since Mark Thomas wrote: On 18/12/2009 09:36, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote

AW: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
can seriously reduce load on a server. M. -Original Message- From: Abid Hussain [mailto:abid.huss...@dilax.com] Sent: woensdag 16 december 2009 14:11 To: users Subject: Ignore http header if-modified-since Hallo, when processing ajax-requests Tomcat sometimes responds

AW: Re: AW: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
:20 An: users@tomcat.apache.org Betreff: Re: AW: RE: Ignore http header if-modified-since On 17/12/2009 11:26, Abid Hussain wrote: Hallo, unfortunately it is a 404. And the 404 is only delivered when the request header contains if-modified-since. If not the request is respondec correctly

AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
on it. -Original Message- From: Abid Hussain [mailto:abid.huss...@dilax.com] Sent: donderdag 17 december 2009 12:26 To: users Subject: AW: RE: Ignore http header if-modified-since Hallo, unfortunately it is a 404. And the 404 is only delivered when the request header contains if-modified-since

AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
. Dezember 2009 15:59 An: Tomcat Users List Betreff: Re: AW: RE: RE: Ignore http header if-modified-since Abid Hussain wrote: Hi, this is interesting. As you see in my example (i put it again below), tomcat itself delivers the Last-Modified (Do, 17 Dez 2009 11:11:29 GMT) in a different locale

Ignore http header if-modified-since

2009-12-16 Thread Abid Hussain
Hallo, when processing ajax-requests Tomcat sometimes responds with a 404 instead of delivering XML. This seems to happen when the http header if-modified-since in the request doesn't somehow contain the right value. At least, if the request doesn't contain this header, tomcat responds

AW: Re: Response logging

2009-12-15 Thread Abid Hussain
MESSAGE- Hash: SHA1 Abid, On 12/14/2009 11:09 AM, Abid Hussain wrote: I would like to log the complete responses (including the body) from the incoming ajax requests. [snip] Does anybody if there is any tomcat-built-in or external tool which can log every response tomcat sends out? I

Response logging

2009-12-14 Thread Abid Hussain
Hello everybody, for testing some ajax components on my local tomcat (in a JSF application) I would like to log the complete responses (including the body) from the incoming ajax requests. I already configured a org.apache.catalina.valves.AccessLogValve for logging the incoming requests. But

Re: retrieving two different objects from session (should be thesame)

2008-05-13 Thread Abid Hussain
it in the session. Now I have to find a way to store objects in session avoiding any concurrency issues... Regards, Abid Caldarale, Charles R schrieb: From: Abid Hussain [mailto:[EMAIL PROTECTED] Subject: Re: retrieving two different objects from session (should be thesame) so this means, it's

retrieving two different objects from session (should be the same)

2008-05-08 Thread Abid Hussain
this can happen? Does tomcat modify the objects in session somehow...? Best regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To start a new topic, e-mail: users@tomcat.apache.org

Re: retrieving two different objects from session (should be the same)

2008-05-08 Thread Abid Hussain
no rights to access the tomcat directore in productive system. Regards, Abid Mark Thomas schrieb: Abid Hussain wrote: Anybody got an idea, how this can happen? Does tomcat modify the objects in session somehow...? Do you have any session persistence configured? Mark

Re: retrieving two different objects from session (should be thesame)

2008-05-08 Thread Abid Hussain
] -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: retrieving two different objects from session (should be thesame)

2008-05-08 Thread Abid Hussain
being replaced, etc. so this means, it's specified behaviour that there is no guarantee, having an object placed in session would be the same after retrieving it after some time...? Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de

multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain
several webapps on a single tomcat instance in terms of not interfering with each other? Or is it principally better to run every webapp in it's own tomcat instance? Would be thankful for any advices. Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de

Re: multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain
Context definition - Each context are defined in a separate configuration file ( [Tomcat directory]\conf\Catalina\localhost\ perhaps is a good start... Hassan Schroeder a écrit : On Mon, Feb 25, 2008 at 5:46 AM, Abid Hussain [EMAIL PROTECTED] wrote: My question is: Is there a best

using a dll in a webapp

2006-12-15 Thread Abid Hussain
is: java.lang.UnsatisfiedLinkError: no win32com.dll in java.library.path I wonder how it's possible that the dll seems not to be in the java.library.path although I just added it - has anybody an idea? Thanks a lot for helping. Best regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76

Re: using a dll in a webapp - Fixed!

2006-12-15 Thread Abid Hussain
interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Abid Hussain [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, December 15, 2006 9:03 AM Subject: using a dll in a webapp Hi everybody, I want to establish a connection to a serial port

tomcat doesn't deliver page on first call

2006-05-18 Thread Abid Hussain
enough? Has anyone an idea about this? Best Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web: http://www.abid76.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]