Admin Console problem

2006-05-03 Thread Amila Suriarachchi
hi, I am using tomcat 5.0.30 with jdk 1.5 in linux (ubuntu) platform. When i try to commit changes in Admin Console (after change some thing) it will save the changes, but it log out me from the session. When i investigate the code i saw this commit action will call the storeConfig method of the

Re: PostgreSQL access via JNDI

2006-04-04 Thread Amila Suriarachchi
On 4/5/06, Mark Slater <[EMAIL PROTECTED]> wrote: > > > > I've been trying to get PostgreSQL set up to be accessed through JNDI > > in Tomcat 5.5.x. I found the docs page describing it, "jndi- > > datasource-examples-howto.html", and followed the example there, but > > it still doesn't work. I'm tr

Re: PostgreSQL access via JNDI

2006-04-04 Thread Amila Suriarachchi
On 4/5/06, Mark Slater <[EMAIL PROTECTED]> wrote: > > I've been trying to get PostgreSQL set up to be accessed through JNDI > in Tomcat 5.5.x. I found the docs page describing it, "jndi- > datasource-examples-howto.html", and followed the example there, but > it still doesn't work. I'm trying to pr

Re: cluster prblem

2006-04-04 Thread Amila Suriarachchi
ok thankx for reply, What a about not calling methods of HttpSessionActivationListener listner. I set an object (of which class implements the HttpSessionActivationListener) as an attribute of the session. i think when this session being migrated conatiner should call these methods amila.

cluster prblem

2006-04-04 Thread Amila Suriarachchi
hi, I created a tomcat cluster (using tomcat 5.5.15 and jdk 1.5.0_06 in linux) with two nodes, by uncommenting the existing cluster element in server.xml and changing the tcplisten ports. And I created a web application to test the cluster (put and entry in web.xml). Then I deployed the applicati

Re: Running webapp as root context

2006-03-22 Thread Amila Suriarachchi
remane the folder mmwebclient as ROOT

Re: first jdbc tomcat application

2006-02-26 Thread Amila Suriarachchi
On 2/26/06, David McMinn <[EMAIL PROTECTED]> wrote: > > I had not added an error-page tag to the web.xml - The default behavior > would be a stack trace which would be fine w/ me - In my jsp, I have @ page > errorPage="errorpg.jsp".. > > I don't get a stack trace but I get a page w/ this mes

Re: anyway to disable undeploy link in manager app?

2006-02-07 Thread Amila Suriarachchi
> > > Is there a way to configure tomcat or the web app so that the tomcat > > manager disables the > > undeploy command for that application? > > I'd like to prevent some of my apps from being undeployed from the web > > manager. you can do this by changing the source code. you have to change

Re: how to use j_username & j_password in j_security_cheched

2006-01-29 Thread Amila Suriarachchi
see the admin application (server/webapps/admin) see the web.xml to check how to add security constrainsts and use FORM based authentication. see login.jsp to check how to use j_security_checked to authenticate users. amila On 1/27/06, Prashant Saraf <[EMAIL PROTECTED]> wrote: > > hello > can any

Re: need help to get Realm information in Tomcat

2006-01-16 Thread Amila Suriarachchi
hi, i am not familiar with the method u have used. but try to access the resource in noramal way we acess the resources. 1. put an resource reference to ur web.xml as follows. ( change the type and name) DB Connection jdbc/TestDB javax.sql.DataSource Container 2. then