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 elements for configuring JNDI resources in Tomcat 6 config

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

2009-12-21 Thread Abid Hussain
find the point where > the Last-Modified header is added. Call > HttpServletResponse.containsHeader > to see if the header has been set. > -- > Len > > > > On Fri, Dec 18, 2009 at 10:47, Abid Hussain > wrote: > > OK, it seems that tomcat is working correctly. >

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

2009-12-18 Thread Abid Hussain
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.re

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

2009-12-18 Thread Abid Hussain
wrote: > 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

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

2009-12-18 Thread Abid Hussain
2:18 An: Tomcat 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 d

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 d

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

2009-12-17 Thread Abid Hussain
ec". Maybe tomcat chokes 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. An

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

2009-12-17 Thread Abid Hussain
: 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

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

2009-12-17 Thread Abid Hussain
u get client-side caching for (almost) free, which 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 > > H

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 tomc

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 t

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,

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.abid

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

2008-05-08 Thread Abid Hussain
ands, e-mail: [EMAIL PROTECTED] -- 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 the same)

2008-05-08 Thread Abid Hussain
, cause I've 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 persisten

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

2008-05-08 Thread Abid Hussain
up. Anybody got an idea, how 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-ma

Re: multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain
hink about conflict 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

multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain
ctice" for running 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 PROTEC

Re: using a dll in a webapp - Fixed!

2006-12-15 Thread Abid Hussain
pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Abid Hussain" <[EMAIL PROTECTED]> To: Sent: Friday, December 15, 2006 9:03 AM Subject: using a dll i

Re: using a dll in a webapp

2006-12-15 Thread Abid Hussain
r = (CommDriver) Class.forName("com.sun.comm.Win32Driver").newInstance(); commDriver.initialize(); instead of System.loadLibrary("win32com.dll"); fails, too. Any ideas? Best regards, Abid Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Abid, Abid Hu

using a dll in a webapp

2006-12-15 Thread Abid Hussain
.dll"); And this fails. The Error message 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, Ab

using a dll in a webapp

2006-12-15 Thread Abid Hussain
.dll"); And this fails. The Error message 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, Ab

tomcat doesn't deliver page on first call

2006-05-18 Thread Abid Hussain
erful 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]