Re: JNDI with a custom factory not working

2002-06-14 Thread Remy Maucherat
Arshad Mahmood wrote: > Remy, > > I will send you the config files shortly (they're on a laptop I don't have > access to at the moment). > > My situation does have one unique feature. The servlet which is causing > these issues is in a jar which I > have installed under "common/lib". The reason

Re: JNDI with a custom factory not working

2002-06-14 Thread Arshad Mahmood
ROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 4:45 PM Subject: Re: JNDI with a custom factory not working > > I had a look at the JNDI example, unfortunately it wasn't totally relevant > > as everything > > is de

Re: JNDI with a custom factory not working

2002-06-14 Thread Remy Maucherat
> I had a look at the JNDI example, unfortunately it wasn't totally relevant > as everything > is defined in the web.xml and that has always worked for me. > > After a lot more debugging and I am getting even more confused (!!!). I put > some trace > into the "init" function of my servlet. It's w

Re: JNDI with a custom factory not working

2002-06-14 Thread Arshad Mahmood
From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 7:11 PM Subject: Re: JNDI with a custom factory not working > Arshad Mahmood wrote: > > Hmm, I will investigate further. I

Re: JNDI with a custom factory not working

2002-06-13 Thread Remy Maucherat
Arshad Mahmood wrote: > Hmm, I will investigate further. It seemed to be that "ResourceLink" in the > server.xml > " "//Standard/myapp" but > the one which I retrieved from the servlet was called > "//Standard/localhost/webapp". I will > debug this further. The context name is not important for t

Re: JNDI with a custom factory not working

2002-06-13 Thread Arshad Mahmood
- Original Message - From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 6:51 PM Subject: Re: JNDI with a custom factory not working > Arshad Mahmood wrote: > > I do get the

Re: JNDI with a custom factory not working

2002-06-13 Thread Remy Maucherat
Arshad Mahmood wrote: > I do get the same context when I ask for it in my web application. The > problem > is that I can see from the debug that my "Resource" definitions in the > global naming resources appear to be in one context, Indeed, the global resources go into a separate context. > the

Re: JNDI with a custom factory not working

2002-06-13 Thread Arshad Mahmood
- Original Message - From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 6:27 PM Subject: Re: JNDI with a custom factory not working > There was a simple bug until very recently whi

Re: JNDI with a custom factory not working

2002-06-13 Thread Remy Maucherat
Arshad Mahmood wrote: > Remy, > > Thanks for you response. I didn't make myself very clear, I'll try again. > > The Problem > = > > In the server.xml have defined a global resourcce under the name > "rohas/filecache". > The resource params defines a "factory" along with other attributes

Re: JNDI with a custom factory not working

2002-06-13 Thread Arshad Mahmood
- Original Message - From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 5:33 PM Subject: Re: JNDI with a custom factory not working > Arshad Mahmood wrote: > > - Ori

Re: JNDI with a custom factory not working

2002-06-13 Thread Remy Maucherat
Arshad Mahmood wrote: > - Original Message - > From: "Ian Darwin" <[EMAIL PROTECTED]> > To: "Tomcat Developers List" <[EMAIL PROTECTED]>; "Arshad > Mahmood" <[EMAIL PROTECTED]> > Sent: Thursday, June 13, 2002 1:48 AM > Subj

Re: JNDI with a custom factory not working

2002-06-13 Thread Arshad Mahmood
- Original Message - From: "Ian Darwin" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]>; "Arshad Mahmood" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 1:48 AM Subject: Re: JNDI with a custom factory not working &

Re: JNDI with a custom factory not working

2002-06-12 Thread Ian Darwin
On June 12, 2002 07:45 am, Arshad Mahmood wrote: > I am having a problem trying to use a custom factory with JNDI. I get an > exception froom org.apache.naming.factory.ResourceFactory. I have added > debug and it appears that my "factory" parameter is not being picked up > from the server.xml. > >

JNDI with a custom factory not working

2002-06-12 Thread Arshad Mahmood
Hi, I am having a problem trying to use a custom factory with JNDI. I get an exception froom org.apache.naming.factory.ResourceFactory. I have added debug and it appears that my "factory" parameter is not being picked up from the server.xml. Can somebody familiar with the naming code point me to