Tomcat sample initial context for jboss

2005-10-04 Thread Lee Morgan
Does anyone have a sample initial context setup that works with jboss external? Do I need to create a resource for the context that will be performing the JNDI lookup in the conf/server.xml file? I have read all the docs and scoured the net but cannot find a solution. *Disclaimer

Re: Datasource and Initial Context

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, maninder s batth wrote: > Date: Mon, 02 Dec 2002 20:41:10 -0800 > From: maninder s batth <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Datasource and Initial

Datasource and Initial Context

2002-12-02 Thread maninder s batth
hi i am using my own DataSource class which cannot be configuered by xml file i need to programatically configure it . since tomcat provides read only context , is there any way i can use tomcat's jndi implementation, as of now i am using filesystem provider for datasource, is there any other op

Re: JNDI Initial Context, outside webapp

2002-10-09 Thread Craig R. McClanahan
[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: JNDI Initial Context, outside webapp > > Hi, > I noticed that is pratically impossible to retrieve a JNDI resource > outside a webapp.If I need to access my resourse in some classes > istantiated outside a single webapp, I

JNDI Initial Context, outside webapp

2002-10-09 Thread Luca Zago
Hi, I noticed that is pratically impossible to retrieve a JNDI resource outside a webapp.If I need to access my resourse in some classes istantiated outside a single webapp, I always get an exception. Name jdbc/myDS is not bound in this Context I read the docs. If I understand well, the initialC

can´t get JNDI initial context

2001-08-13 Thread Juan García-Baró
Hi all! I'm trying to create an application using JNDI on a tomcat server and I can´t instantiate the Context as needed. Could anyone tell me which class should I use as an Initial Context Factory? env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingCont

read-only initial context

2001-07-16 Thread Aditya Anand
Hi i'm trying to bind an object to "java:comp/env" using initial context and i get the attached exception message. I am using tomcat-4.0-b5, Clearly the message says the context is read-only, how do i change this. The same code executes fine over resin and jrun. TIA Adit

Initial Context directly under the root (http://localhost/) not being mapped

2001-01-05 Thread Marc Escurriola
Hi, I'm trying to define an initial context which allows me invoking my servlets by calling them from the root location of my Webserver (eg. http://localhost/). This is actually not a problem if I invoke a Servlet by calling it this way: http://localhost/htdocs/servlet/EditStudent

Re: Initial Context

2000-12-11 Thread Cyril Bouteille
Christian, > i use Tomcat as a Servlet Engine and want to create a Initial Context...but > what is the Initial Context Factory i have to USE? Tomcat 3.x does not include a JNDI server yet, so you can't use any InitialContext unless you use a third-party naming service such

Initial Context

2000-12-11 Thread Christian_Kogler
Hi guys, i use Tomcat as a Servlet Engine and want to create a Initial Context...but what is the Initial Context Factory i have to USE? ciao Chriss

Re: Initial Context

2000-12-07 Thread Thom Park
D] wrote: > Hi, > > who can tell me, which class or factory is responsible for retrieving the > Initial Context (web.xml) . I think it should be a class that implements > javax.naming.spi.InitialContextFactory > > ciao > Chrisse

Initial Context

2000-12-07 Thread Christian_Kogler
Hi, who can tell me, which class or factory is responsible for retrieving the Initial Context (web.xml) . I think it should be a class that implements javax.naming.spi.InitialContextFactory ciao Chrisse