jndi DataSource

2001-03-07 Thread John de la Garza
If I want to set up a DataSource in my server.xml file can I do this with tomcat 3.2? Or must I use 4.0? Or can I even do it at all? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

help with error message in 4.0

2001-03-07 Thread John de la Garza
I added my web app in the webapps dir and now I get this message... - Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 PARSE error at line 13 column -1 org.xml.sax.SAXParseException: Element "web-app" does not allow

RE: help with error message in 4.0

2001-03-07 Thread John de la Garza
fixed...thanks -Original Message- From: Steve Ruby [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: Re: help with error message in 4.0 According to the DTD login-config goes after security-constraint John de la Garza wrote

can't set up jdbc security

2001-03-07 Thread John de la Garza
I guess tomcat 4 doesn't have RequestInteceptors...is that true? Are they now called realms? anyways, I am getting this error Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 Catalina.start: LifecycleException: This Realm has already been started LifecycleException: This Realm has

jdbc realms with tomcat 4

2001-03-07 Thread John de la Garza
Is anyone here currently using JDBC realms with tomcat 4? I'm having trouble and just wanted to make sure it wasn't just me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: JDBC Connection Pools

2001-03-07 Thread John de la Garza
Funny you ask...I've been working all this for the last two days...I run tomcat... Check out: http://poolman.sourceforge.net/PoolMan/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shantul Nigam Sent: Wednesday, March 07, 2001 5:58 PM To:

RE: Tomcat usability as a WebServer?

2001-03-06 Thread John de la Garza
But what if I am using form based auth? if I use apache and tomcat my form based auth doesn't work... Is it possible to use apache and tomcat and use form based auth? -Original Message- From: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06,

struts question??

2001-03-06 Thread John de la Garza
I really need an answer...please if you know, respond. I feel like the invisible man! I am using this sample code from the struts users guide...with a problem...there is no findDataSource() method. All I want to do is define a datasource in the context of my servlet container...should this be

apache with tomcat

2001-03-06 Thread John de la Garza
Does anyone have tomcat and apache running together and using form based security? I just want to know if this is possible... My app uses tomcat with form based security...I need to run it on our corp web server that uses apache.

tomcat as a web server

2001-03-05 Thread John de la Garza
I am trying using form based security for the main security of my web app...when I run tomcat through apache the form based security is messed up. What are my options? Should I just run tomcat as a standalone web server? - To

RE: JDBC Realm not triggering

2001-03-05 Thread John de la Garza
Mike, I see that you are using the JDBC realm...Are you using tomcat as a standalone server? -Original Message- From: Mike Slinn [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 3:25 PM To: [EMAIL PROTECTED] Subject: RE: JDBC Realm not triggering Ignacio: I realize

apache/tomcat with formbased security

2001-02-28 Thread John de la Garza
Does anyone have formbased security working with apache and tomcat? I have formbased security working fine with tomcat in standalone, but when I go through apache it doesn't recognize the post to j_security_check - To

RE: apache/tomcat with formbased security

2001-02-28 Thread John de la Garza
I just looked at tomcat 4.0 b1. Where did you read about it having the functionality you talked about? -Original Message- From: Andrew Robson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: Re: apache/tomcat with formbased

problems with apache and formbased sec?

2001-02-26 Thread John de la Garza
Are there any major problems with formbased security when running apache and tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

jdbc realm

2001-01-23 Thread John de la Garza
If I have two different projects under the webapps dir and want each one to use a different data base, how can a do that? Seems that the jdbc realm stuff is in the conf/server.xml file that applies to all projects. - To

RE: JSP vs Servlets...

2000-12-20 Thread John de la Garza
Ultimately JSP will be compiled to servlets...Use JSP for stuff that requires a lot of text output...formatted output...stuff you would see in a html page. Use servlets to do backend processing to facilitate jsps. Personally I don't ever do any output in my servlets. It's to tedious. Just my

modifying web.xml on the fly

2000-12-19 Thread John de la Garza
I have written some code to add security constraints from a web app. The only problem is that the security constraints don't become active until the server is restarted... Any one have any good ideas to deal with this? It would be cool if the security constrains info was in a

web.xml parsing

2000-12-18 Thread John de la Garza
I am a bit new to XML tools. Can someone tell me what I should be doing to be able to add and delete security constraint info in the web.xml file? I have tried reading some docs on XML as a whole, but I need to get going quickly and don't have time to read everything about XML as a whole...I

RE: Installtion problem

2000-12-13 Thread John de la Garza
I get the exact same error! No ports are in use. Let me know if you get this figured out, please! By the way, if you didn't realize, after the server starts and outputs this error, it will still work. Are you using JDBC realm security? That is when I started seeing the problem.

FW: java platform

2000-12-12 Thread John de la Garza
Does anyone here have experience running java under Solaris on a sparc and Linux on a x86? I am looking to set up a server to run servlets and was wondering which os runs java better. I would assume running Solaris on a sparc would be the best, but I just wanted some feedback. Im using

RE: bind error

2000-12-08 Thread John de la Garza
). Randy -Original Message- From: John de la Garza [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 3:53 PM To: Tomcat-Users (E-mail) Subject: bind error Since I have switched to tom cat 3.2 when I restart the server I get this: Starting tomcat. Check logs/tomcat.log for error

RE: bind error

2000-12-08 Thread John de la Garza
also, SunOS 5.6 login: only shows up when I am running tomcat on port 80... If tomcat is not running telnet can't connect to port 80, but I still get the bind error! This all started since I switched to JDBC realm security stuff... -Original Message- From: John de la Garza [mailto

bind error

2000-12-08 Thread John de la Garza
Since I have switched to tom cat 3.2 when I restart the server I get this: Starting tomcat. Check logs/tomcat.log for error messages FATAL:java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native

RE: mod_jk.so problem

2000-12-07 Thread John de la Garza
I had a similar problem with apache...I needed to recompile it so it would accept dynamic loading of modules...Sounds like your apache bin doesn't support dynamic loading. to enable as a dynamic loading try: ./configure --enable-module=most --enable-shared=max make install -Original

RE: mod_jk.so problem

2000-12-07 Thread John de la Garza
let me know if this works or not, please... I had a similar problem with apache...I needed to recompile it so it would accept dynamic loading of modules...Sounds like your apache bin doesn't support dynamic loading. to enable as a dynamic loading try: ./configure --enable-module=most

RE: formbased security

2000-12-07 Thread John de la Garza
I am answering my own question...if anyone cares... What I realized is that j_username and j_password are just strings on the session... -Original Message- From: John de la Garza [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 07, 2000 1:17 PM To: Tomcat-Users (E-mail) Subject

RE: [OT} Tomcat Enabled ISP's

2000-12-06 Thread John de la Garza
I am in the process of setting up a isp that will support tomcat...under linux (redhat 6.2 or 7.0) How soon are you looking to go online? I will be ready to go online by the end of the month, probally sooner. -Original Message- From: John Gentilin [mailto:[EMAIL PROTECTED]] Sent:

posting to servlets from a url

2000-12-06 Thread John de la Garza
Is there some way I can make my server not allow users to type in URL's directly to servlets in the WEB-INF/classes directory? I only want these servlets to be accessed by my own jsp pages on my server.

formbased security

2000-12-05 Thread John de la Garza
Can someone tell me what the difference is between remote user and principal name is? For example at: http://127.0.0.1/examples/jsp/security/protected/index.jsp I see: You are logged in as remote user johnd Your user principal name is johnd

servlet 2.2 security

2000-12-05 Thread John de la Garza
Is there a way to protect a directory that just requires that a user is valid...even if he has no roll? Or do I need to make like a standard access roll?

RE: formbased security

2000-12-04 Thread John de la Garza
? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 4:43 PM To: [EMAIL PROTECTED] Subject: Re: formbased security John de la Garza wrote: arg! I meant insufficient...sorry I wondered if that's what you really meant :-) Is there more

principal

2000-12-04 Thread John de la Garza
I can't figure out what a Principal is all about... where does the Principal come from? I log on to a secure page using formbased security and it put in the user name tomcat and passwd tomcat...it says logged in as tomcat principal johnd ! Where does it get johnd?? that is my name...but how

jdbc

2000-12-04 Thread John de la Garza
I was a bit confused with the server.xml file. I want to use a jdbc date base to keep a user list in...(names, passwords, roles) and saw the following in the server.xml file: !-- UnComment the following and comment out the above to get a JDBC realm. Other options for

formbased security

2000-11-30 Thread John de la Garza
where can I get complete documentation on formbased security? The servlet 2.2 spec is sufficient.

j_security is pissing me off...

2000-11-29 Thread John de la Garza
Does anyone know what's up with the formbased security that tomcat supports? I try to access the http://127.0.0.1/examples/jsp/security/protected/index.jsp and it never gets to index.jsp or if I click on protected from the http://127.0.0.1/examples/jsp/security/ directory display it puts me