Re: JNDI DataSource Question

2001-12-14 Thread Bhamidi Krishna

Hi,

Thankyou for the mail.

my datasource is sitting on the local computer and I can connect with a 
normal JDBC Connection. The same driver properties I use to create a 
datasource in server.xml and it fails.

I thought it can be a problem like Tomcat failing if we have the servlet.jar 
in /lib/ext, so I cleaned it out.

Any pointers?

Krishna.




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Dynamic Servlet Loading

2001-12-14 Thread Bhamidi Krishna

Hi,

there is a parameter that you define when you define a context in server.xml 
called reloadable = true. I guess it reloads your class at every hit.

Is this what you are looking for?





_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




JNDI DataSource Question

2001-12-14 Thread Bhamidi Krishna

Hi,

I had posted this question some time back and am posting just in case some 
one may have just missed it.

I am trying to get a JNDI connection to a datasource. For this I defined my 
datasource exactly as it is described in the Tomcat docs - define a resource 
in WEB.XML and in SERVER.XML

When I try to connect, my context keeps returning me a NULL DataSource. I 
read thru all of the mails in the list, I could not get any definite 
pointers.

Can someone who has solved the problem, please point me in the right 
direction.

Thankyou for the time,
Krishna.




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




New Bie JNDI question

2001-12-13 Thread Bhamidi Krishna

Hi,

I am using Tomcat 4.0.1 on W2K and trying to use JNDI datasource. I have 
configured datasource as described in the JNDI Resources, yet cannot seem to 
get my JDBC connection going.

I keep getting a null connection. I looked through the lists, but could not 
get a proper solution. Can someone who has solved the problem please help 
me.

Thankyou,
Krishna.



_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Elementary question about Tomcat

2001-08-15 Thread Bhamidi Krishna

Hi,

I am posting a very elementary question about Tomcat.

I have written a JSP application that I want to use undes tomcat. Do I need 
to place it under examples/jsp? I placed the application in the jsp 
directory level, Tomcat looks for class files under examples/web-inf whereas 
the class files are under (my directory)/web-inf.

Can I configure Tomcat to read jsp files and class files in my own directory 
other than under examples/jsp and examples/web-inf? I searched around but 
could not find documentation anywhere.

Thankyou,
Krishna.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp