Re: Tomcat as root and security issues

2007-01-28 Thread Corobitsyn Roman
Hi Try it http://wiki.apache.org/tomcat/HowTo#head-18d1c3f3fa702a1be769340784515eecce6e0ac9 JR> jsvc works well for this but I haven't been able to figure JR> out if it invokes java security, ideally using the JR> catalina.policy. Does anyone know? "Christopher Schultz" <[EMAIL PROTECTED]> 1

Configuring Tomcat to Authenticating with Active Directory

2007-01-28 Thread Deepan
Hi All, I am trying to configure one of my application deployed on tomcat to authenticate with Active Directory. I had configured web.xml and server.xml as below and I am using Basic mode of Authentication. Observation: When i enter the wrong user name and password, tomcat prompts me to enter u

Re: Need Help w. Database Servlet.

2007-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Mr. Steve Burrus wrote: > hi all. I find myself in need of help/assistance with a longtime problem > of mine and that is how do you get a servlet working with a backend > database server?? I can see several problems with your code, but you did

Re: Need Help w. Database Servlet.

2007-01-28 Thread Martin Gainty
The init method is meant to init the servlet itself Each statement executed causes a DB cursor to be created to execute the operation e.g. ReadCursor for executeQuery e.g. UpdateCursor for executeUpdate public class SurveyServlet extends HttpServlet { private Connection connection; private

Need Help w. Database Servlet.

2007-01-28 Thread Mr. Steve Burrus
hi all. I find myself in need of help/assistance with a longtime problem of mine and that is how do you get a servlet working with a backend database server?? Here is the basic SurveyServlet.java servlet and please notice that the database server in question is IBM's Cloudscape . after the serv

Re: Tomcat5.5 not listing directories

2007-01-28 Thread Gregor Schneider
you'll have to define a directory-entry in your httpd.conf / vhost. also, you'll have to mount the default servlet in your mod_jk (figure your using this one?) also, take a look at http://httpd.apache.org/docs/2.2/sections.html, here look for +Indexes if all this doesn't help, the apache-userlis

Re: Tomcat5.5 not listing directories

2007-01-28 Thread Espen Fjellvær Olsen
Mark Thomas wrote: Espen Fjellvær Olsen wrote: listings true Making this change is the only thing I need to change to get directory listings to work. Did you restart Tomcat after making the change? Have you tried going direct to Tomcat rather than via

Re: Tomcat5.5 not listing directories

2007-01-28 Thread Mark Thomas
Espen Fjellvær Olsen wrote: > > listings > true > Making this change is the only thing I need to change to get directory listings to work. Did you restart Tomcat after making the change? Have you tried going direct to Tomcat rather than via httpd? HTH, M

Tomcat5.5 not listing directories

2007-01-28 Thread Espen Fjellvær Olsen
Hi, We are using Tomcat5.5.17 with Apache2 on Debian Sarge, and we cant get directory listing to work. the default servlet in web.xml (global) looks like this. default org.apache.catalina.servlets.DefaultServlet debug 0 l

Parametrized server.xml

2007-01-28 Thread Edoardo Causarano
Hello, I've noticed the JBoss launch script takes some useful parameters that specify the cluster community name, multicast cluster address and even the unicast listening address, sparing me from having to hunt down the attributes in the server.xml and other config files. I feel it would be usef

Re: XML Parse problem in a webapp context.xml

2007-01-28 Thread Martin Gainty
Pete-- I would run your xml thru a DOM Validator to test for malformed elements or attributes http://www.w3schools.com/dom/dom_validate.asp HTH Martin -- --- This e-mail message (including attachments, if any) is intended f

Howto ensure session consistency in a cluster?

2007-01-28 Thread Clemens Eisserer
Hello, I've some questions about servlets and session management in a clustered tomcat installation: - The servlet I've developed is really sensitive to session-consistency because it uses some extra encryption (not https), it supports many other backends (among servlet) where https may not be a