Re: Security

2002-04-22 Thread Aditya
Vladimir, On Mon, Apr 22, 2002 at 03:11:09PM +0900, Joel Rees wrote: Vladimir Vanyukov asked I have seen this question here many times and have seen many answers but most of them never really ANSWERED the question. So I figured I'd ask one more time. Is there anyway to programmatically

RE: Is Tomcat/MySQL suitable to deploy as a production platform under Windows 2000 Pro?

2002-04-22 Thread Lee Chin Khiong
I think Tomcat doesn't have a detail document regarding how to deploy or rather the architecture of the system that's why there are so many questions been ask. -Original Message- From: David Lu [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 12:49 PM To: Tomcat Users List

Tomcat and XSLT transformations

2002-04-22 Thread cyril vidal
Hy, Does Tomcat 4.0.1 assume some xslt transformations by default? I've put the following .jar files (xalanservlet.jar, xalan.jar,xercesImpl.jar, xml-apis.jar, xsltc.jar) in C:\tomcat\lib, as written in thedoc of tomcat, so that these files may be shared by all the applications.But it doesn't

Re: ISAPI_REDIRECTOR.DLL problem: Error 500

2002-04-22 Thread Markus Colombo
Hi, Here are some additional hints for running Tomcat 4.03 with IIS5 on W2k: -I used jakarta-redirector.dll from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/win32/ (Don't download it with Netscape) -Make sure the registry key matches the name (was

Re: XML configuration file..

2002-04-22 Thread Vincenzo Marchese
you can try using an URL for your configuration file storing the xml file in your webapp/yourapp directory. InputSource sn = new InputSource(http://server/yourapp/AccessInfo.xml;); You can also limit the access to the file using standard protection methods. Another way to access you file is

classpath problem of widows

2002-04-22 Thread Prashant
hi i have written a servlet which shows all the java and tomcat property . when i run it linux server it shows me the class path like this java.class.path=/temp5/sites/australia:/usr/java/jdk1.3.1/lib/td.jar:/usr/ja

Re: Any mod_webapp + user-data-constraint gotchas in 4.0?

2002-04-22 Thread Øyvind Vestavik
I am way over my head here, but I once made a servlet whos methods should only bee accessed over SSL. I Just made a secure port on 8443. In my code I wrote if (!request.isSecure) //make java.net.Url (using request.getHost() .getServletContext and so on (all though I didn't find a

Re: Security

2002-04-22 Thread Øyvind Vestavik
The easy way in a servlet : Make a login servlet where the doGet() just prints a login form. The servlet has to be accessed over https so that noone can pick username/password. To ensure this you can make a test in the doGet() and doPost(): if request.isSecure()... Now you have the username and

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-22 Thread Simon Stewart
On Sat, Apr 20, 2002 at 10:04:35PM -0400, Jeffrey Bonevich wrote: Simon Stewart wrote: Yet more digging suggests that this could be a bug: attaching an strace to the httpd process as it starts up gives: write(2, Syntax error on line 1018 of /us..., 66) = 66 write(2, Duplicate connection

javax.servlet.ServletException: Cannot create bean of class MoniTestBean

2002-04-22 Thread chuck amadi
I have a problem with the following i have created and compiled my JavaBeans in my Web-Inf /classes folder and everythings fine . Thus i have the useBean tag as follows: *jsp:useBean id=formHandler scope=request class=MoniTestBean/ jsp:setProperty name=formHandler property=*/ And also the

Tomcat and XSLT transformations

2002-04-22 Thread cyril vidal
Nobody has the solution for my problem, please? Does Tomcat 4.0.1 assume some xslt transformations by default? I've put the following .jar files (xalanservlet.jar, xalan.jar,xercesImpl.jar, xml-apis.jar, xsltc.jar) in C:\tomcat\lib, as written in thedoc of tomcat, so that these files

documentation location

2002-04-22 Thread Øyvind Vestavik
Where can i find javadoc for this package?? package javax.mail.* Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Re: Tomcat 4 + Apache 2 + mod_webapp HOWTO

2002-04-22 Thread Alex Potter
Jeff Many thanks - followed your directions and it works (after a week of banging my head on the wall!) Alex - Original Message - From: Jeffrey Bonevich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 22, 2002 4:20 AM Subject: Tomcat 4 + Apache 2 + mod_webapp HOWTO Hey

AW: documentation location

2002-04-22 Thread Ralph Einfeldt
http://java.sun.com/products/javamail/1.2/docs/javadocs/index.html -Ursprüngliche Nachricht- Von: Øyvind Vestavik [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. April 2002 13:36 An: Tomcat Users List Betreff: documentation location Where can i find javadoc for this

Re: AW: documentation location

2002-04-22 Thread Øyvind Vestavik
Thanks. Should have found it myself. Stupid, but thanks anyway.. Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 On Mon, 22 Apr 2002, Ralph Einfeldt wrote: http://java.sun.com/products/javamail/1.2/docs/javadocs/index.html -Ursprüngliche

SecurityManager and codeBase

2002-04-22 Thread Rune Hamnvik
Hello We planned to start using the SecutiryManager on our Tomcat installations, but we have problems getting the SecurityManager to work as supposed to. We have a project located under the webapps catalog called isp. The application works well if we set up the catalina.policy file with the

AW: AW: documentation location

2002-04-22 Thread Ralph Einfeldt
Never mind. As we say here in gemany: Self-knowledge is the first step of improvement :) -Ursprüngliche Nachricht- Von: Øyvind Vestavik [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. April 2002 13:44 An: Tomcat Users List Betreff: Re: AW: documentation location snip/ Thanks.

not reading system classpath in windows

2002-04-22 Thread Prashant
Hello sir. I'm testing one web application written in java on linux and windows both. On linux system.getProperty(java.class.path) this shows me following classpath : $SYSTEM_CLASSPATH:{$CATALINA_HOME}\bin\bootstrap.jar however on windows machine it is just showing me :

RE: not reading system classpath in windows

2002-04-22 Thread Shiva.Devaguptapu
Hi, Can anyone tell me the steps involved in installing the tomcat on linux machine and integrating it with apache running on it.. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Resolution to JNDI DataSource=null problem

2002-04-22 Thread Nick Johnson
After fighting with this thing all day, I've finally achieved resolution to the problem. I had so many things going wrong, it's a wonder I ever solved the problem. Just to recap: the problem was that whenever I looked up a jdbc DataSource object, it was found, but it was always null, so null

Re: documentation location

2002-04-22 Thread Me
Google is your friend! http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/mail/package-summary.h tml EG - Original Message - From: Øyvind Vestavik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 22, 2002 1:36 PM Subject: documentation location Where

mod_jk problem for Apache2

2002-04-22 Thread Main, David
I would like to upgrade from (a working!) Apache1.3 setup to Apache2 but am having problems getting mod_jk to work. I built Apache2 and then built mod_jk for Apache2 then added mod_jk.dll to /modules and added the following to httpd.conf: LoadModule jk_module modules/mod_jk.dll JkWorkersFile

session expiree

2002-04-22 Thread Sudhir
Hi, Can anybody tell me if the user closed the window without logging out but pressing the X button of the browser, how do we close the session. Thanks and Best Regards, Venkata Sudhir Kurapati -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: How can I get the location of the webapps-directory?

2002-04-22 Thread Rajesh Nair
Hi I think u can try getContextPath() which will give u the root of ur web application .To get access to resources inside WAR or other archive files u can use the method getResource(String URIPath); If the context is in a different m/c u can use getContext() to get the context first and then

Re: Hello sir/madam,

2002-04-22 Thread Hugh Brien
Check the README file that comes with the MySQL JDBC driver. It explains how to fix this - Original Message - From: David Rault [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 5:06 AM Subject: Re: Hello sir/madam, this is a typical mysql

Invalid WARP packet type for body

2002-04-22 Thread Irina Tkatch
Hi, We tried to integrate Apache 1.3.20 and Tomcat 4.0.1 using WARP connector but from time to time an IOException (Invalid WARP packet type for body) is thrown. I read that this problem is not a new one. Is WARP connector the only possible way to connect between them? And how scalable is

Re: Is Tomcat/MySQL a suitable combination in a production environmentunder Windows 2000 Pro?

2002-04-22 Thread Hugh Brien
At my company of 50 people, we use Tomcat 4.0/MySql for our portal site and our internal user site. So far they have been very reliable. r, Hugh - Original Message - From: Adrian Beech [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Sunday, April 21, 2002 5:45 AM

Running Tomcat in a cluster

2002-04-22 Thread scheung5
Hi, I have setup Tomcat running in a cluster and have apache as my load-balancer (using mode_jk). I have a servlet running in all my Tomcats and it is looking for a parameter url for every requset. i.e. the proper way to invoke the servlet is

apache and tomcat

2002-04-22 Thread kagus ting
Hi, I want to connect apache and tomcat together so that everytime i start my apache it can also listen to any request bound to Tomcat. Any tutorials on this matter. im using win98 with Apache and Tomcat and Linux with Apache and Tomcat. Any help will be apprciated. gustin -- To unsubscribe:

Re: mod_jk problem for Apache2

2002-04-22 Thread Jeffrey Bonevich
David - I have seen several postings to the list that mod_jk does not work under Apache 2 yet. Not sure when it will. And I am probably wrong. I could not get it working either. I did have success getting mod_webapp up and running. For starters, see for details:

Re: Security

2002-04-22 Thread Timothy Fisher
I think that most of the responses I've seen here to the original question are missing the point. I understand the question as he's wondering whether or not you could programatically authenticate a user, such that the container would then recognize the user as being authenticated and not require

Re: Html/jpg from db to client?

2002-04-22 Thread Jeffrey Bonevich
Nope. Only need two at most. Each of them sets their own content type (image streamer sets it to image/jpg, HTML producer to text/html). And in answer to your other question, yes, this could be reduced to just one servlet that does conditional setting of content-type and content. But you

Re: apache and tomcat

2002-04-22 Thread @Basebeans.com
Subject: Re: apache and tomcat From: Bruno V [EMAIL PROTECTED] === I tried to search for guides and howto to install Tomcat and Apache WITH a WARP connector (mod_webapp) Here is what I found so far : http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp codesta by Joseph

Re: SecurityManager and codeBase

2002-04-22 Thread Olivier Chicha
Hi, On redhat the xmlparser jar file (xerces.jar) is installed in /usr/share/java If you don't grant read access to this repository, you will not be able to start tomcat. If this is not the problem, you should try to start tomcat with the following command : tomcat4 run -security and you will

Apache and Tomcat on Linux6.2

2002-04-22 Thread Shiva.Devaguptapu
Hi, Can anyone tell me the steps involved in installing the tomcat on linux machine and integrating it with apache running on it.. Thanks, Shiva. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Connectors

2002-04-22 Thread Anthony W. Marino
Should I / can I use coyote connectors for TC4 integration with Apache2 ??? Or should I stick with AJP1.3??? Thank You, Anthony -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

create a new web application .?

2002-04-22 Thread staginfo-ar
Hi, I'm working with tomcat end iis. Isapi redirector runs good. And no difficulties in running /examples from iis. How can I run new web application? How can i run a jsp whereas its directory is not in /tomcat? Thanks jc -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

realm parameter from config file

2002-04-22 Thread Sasvari, Zsolt
How can I read a realm parameter from a Realm class? For example I have a TestRealm that I have set for my webapp: TestRealm something=anything / How can I get the value of parameter something from the TestRealm class? Thanks, Zsolt -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Tomcat and Apache 2

2002-04-22 Thread Simon Stewart
There have been quite a few posts about how to integrate Apache 2 and Tomcat 4, and Jeff Bonevich has posted a HOWTO here, which you may have already read. I've taken the HOWTO, edited it a bit and added some extra notes on using Apache, Tomcat and JBoss 3 and put it on a website, because I know

Re: session expiree

2002-04-22 Thread Chinni . Venkateswara
You can try with ONUNLOAD event. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783

Deploying and Catalina Class Loader

2002-04-22 Thread Marieka Prince
Hello, I am writing an application that accesses the Catalina internals. I understand that the classes I need in the $CATALINA_HOME/server directory are not visible my web application. My application is actually working but I have a question regarding deployment. It is a simple application

Re: Tomcat and Apache 2

2002-04-22 Thread Alex Potter
Simon an excellent document, however, the location of the mod_webapp connector source is given incorrectly on the web page, I guess the jakarta guys moved it? The correct location is http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakar

Re: Tomcat and Apache 2

2002-04-22 Thread Simon Stewart
Something had to slip through the net, didn't it ;) Thanks for pointing that out; I've updated the HOWTO with your suggested URL. On Mon, Apr 22, 2002 at 03:44:07PM +0100, Alex Potter wrote: Simon an excellent document, however, the location of the mod_webapp connector source is given

Problems with Tomcat 4.0.3 and Apache 2. PLEASE HELP

2002-04-22 Thread Sefton, Adam
Sorry for bringing this up again ... but I am having real problems getting Apache to start once I've modified the httpd.conf file. I am running Win2K with Tomcat 4.0.3 and Apache 2, and I have followed a variety of instructions I found on this mailing list (thanks all). I have: -altered the

Getting URL of protected resource in form-based authentication

2002-04-22 Thread Riney, John
Hello, all. Long time user, first time poster. I have a few resources behind a security-constraint block in my web.xml. I've got form-based authentication turned on. The login form is a JSP called, oddly enough, Login.jsp. I really need to find out, from Login.jsp, the URL of the protected

IIS and Tomcat on Different Machine?

2002-04-22 Thread Sandeep Contractor
Has anybody integrated IIS and Tomcat when they reside on different physical machines? please help asap if anybody has. sandeep

RE: Tomcat and Apache 2

2002-04-22 Thread Collins, Jim
Why couldn't you have posted this three weeks earlier :) -Original Message- From: Simon Stewart [mailto:[EMAIL PROTECTED]] Sent: 22 April 2002 16:03 To: Tomcat Users List Subject: Re: Tomcat and Apache 2 Something had to slip through the net, didn't it ;) Thanks for pointing

domain:8080

2002-04-22 Thread Rick Fischer
Our web site domain name is hudsonwholesalers.com The site starts with a servlet : startup.class (in a package called 'hudson') My Tomcat hosting service tells me the users must use www.hudsonwholesalers.com:8080. Since this is not reasonable I had to use a redirect in index.html to

RE: Tomcat and Apache 2

2002-04-22 Thread Tim Cronin
Under w2k I was unable to use mod_webapp http://www.tek-tips.com/gfaqs.cfm/lev2/3/lev3/22/spid/65/sfid/1552 -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:13 AM To: 'Tomcat Users List' Subject: RE: Tomcat and Apache 2 Why couldn't you

Re: initializing Session state during realm login

2002-04-22 Thread Rick Fincher
Hi Tim, Your main (or index) page is your init page. After a successful login you can get the username and role from the request object with the getRemoteUser() and isUserInRole(roleNameString) methods. If you need more data than that you can try stuffing data into the session in your login

AW: How can I get the location of the webapps-directory?

2002-04-22 Thread Eichfelder, Frank
Hi, thanks for the reply, but I need the webapps-directory to read the existent subdirectories and/or war-files in order to make a list of all deployed web-applications. (In older versions of the Servlet-API, there was a method called getServletNames(), which is deprecated now and returns

Re: domain:8080

2002-04-22 Thread Oktay Altunergil
Your hosting provider (or you .. if you have root access) has to set up a connector for your web server that relays jsp/servlet requests for your domain to Tomcat. Chances are they will not do it. It can get pretty annoying to set up in a shared environment, which is probably why they told you

Re: Apache and Tomcat on Linux6.2

2002-04-22 Thread Oktay Altunergil
Steps. 1) Install Apache (w/ DSO support ( --enable-module=so) (rpm is fine) 2) Install a JDK ( you can download a binary distribution from SUN) 3) Install Tomcat ( On linux, a binary installation works fine) 4) Install a tomcat-apache connector ( mod_jserv, mod_jk, or webapp_module ) 5) Edit

Re: domain:8080

2002-04-22 Thread Rick Fincher
Edit that in server.xml in the conf directory. Tomcat defaults to 8080 (or 8443 sor SSL rather than 443) because some systems make you jump through a lot of hoops to use ports with numbers below 1000 for security reasons. Rick Our web site domain name is hudsonwholesalers.com The site

RE: How can I get the location of the webapps-directory?

2002-04-22 Thread Scott Purcell
I think it is servletContext now. Check out the j2ee for servletContext that may be what you are looking for. my o'reilly book shows public String ServletContext.getServerInfo() if that don't fly, I can dig deeper, just yell Scott -Original Message- From: Eichfelder, Frank

RE: initializing Session state during realm login

2002-04-22 Thread Tim Cronin
this is ok for someone going to the index page for the site but if your session times out or you point to a page other than index after the login page you are not set back to the index page but the last you were on or the page you requested. -Original Message- From: Rick Fincher

How to rename manager?

2002-04-22 Thread Martin Erlandsson
Hi List! Due to a name clash, I would like to rename the manager application. Can someone tell me how to do that? I tried just to rename the webapps/manager dir, but that wasn't enough. :-( Thanks, /Martin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: How to rename manager?

2002-04-22 Thread Marieka Prince
You need to also change the Context path and docbase in $CATALINA_HOME/conf/server.xml HTH, Marieka From: Martin Erlandsson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: How to rename manager? Date: Mon, 22 Apr 2002 18:38:27

Re: Tomcat and Apache 2

2002-04-22 Thread Simon Stewart
Can you be a little more specific? From a quick look at the page, the obvious flaw is that it mentions AddModule; with Apache 2, you only need to use LoadModule There's also the warning at the head of the page about mod_webapp under Windows being flakey. If you've got any error messages, that

RE: Html/jpg from db to client?

2002-04-22 Thread Ozgur Sahoglu
how do you store your image files in your DB? as BLOB objects or as references to image files at some location? Ozgur. -Original Message- From: john-paul delaney [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 3:15 AM To: Tomcat Users List Subject: Re: Html/jpg from db to

RE: Tomcat and Apache 2

2002-04-22 Thread Tim Cronin
I had it setup (on w2k) and I could get to the index page ok but any page with frames would give me the error as described in the link WebApp: Error 500 (File: pr_warp.c Line: 434) (null) I don't have the logs (but I can regenerate them). I ended up using mod_jk instead -Original

JDBC realm problems

2002-04-22 Thread Januski, Ken
Hi, I've spent many hours last week and a few more today trying to get JDBC security realm to work and keep stumbling on this error: java.sql.SQLException: General error: Access denied for user: 'localhost.localdomain' to database 'tomcatusers'; I'm sure many people have problems getting this

Re: domain:8080

2002-04-22 Thread Joseph Molnar
Hey Oktay. My how-to covers how to do both shared context's for multiple virtual hosts and talks about multiple instances of tomcat running to protect against one going down...as an ISP the choice is yours and is probably largely memory drive. But have a look, I hope it helps:

[nbusers] Tomcat 3.3.1 and JDBC Realms - no luck

2002-04-22 Thread colin . madere
I'm trying to do the basic setup of this and failing. I had this working under Tomcat 3.2 a year ago or so and don't know what I'm missing this time. OS: WinNT Tomcat: 3.3.1 (also tried 3.3a prior to upgrading) DB: SQLServer I'm doing the simple one in server.xml (not the context

Re: domain:8080

2002-04-22 Thread Oktay Altunergil
Joe, Looks like a scenario that covers a lot of combinations. Thanks a lot. This might just be what I'm looking for. Oktay On Mon, 22 Apr 2002 10:05:45 -0700 Joseph Molnar [EMAIL PROTECTED] wrote: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/ -- To unsubscribe:

sorry about incorrect prefix

2002-04-22 Thread colin . madere
My last message was intended for this list, just put the prefix for the wrong list in the subject. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread Scott Jones
Hi Chad, Didn't get your emails until this morning -- are you experiencing the same problems that I was talking about? Basically, it seems like a new connection pool is getting set up after every JNDI lookup (which I'd basically like to do every time I run a query). If I hold on to the same

FW: 404 Errors and no log file

2002-04-22 Thread Eric McDonald
Hi: Hopefully a little help here. Tried going to Tomcat 4.0.3 and still seeing same errors (404). Nothing in the access log. I tried all of the base root areas defined in server.xml as docBase but the server can't seem to find any of the files. Access Log has a zero length. Eric

Index page not found.

2002-04-22 Thread Thomas Pennington
I recently upgraded to tomcat 4.0.1. I am using apache 1.3.14 and previously had no problems integrating with tomcat. The problem I am having is when I use only the directory name and try to hit my website I get an error cant find server. But if I include the index.html or index.jsp it works

AW: How to rename manager?

2002-04-22 Thread Ralph Einfeldt
Hi user! (Sorry couldn't resist ...) You also need to change the context in server.xml Context path=/manager -Ursprüngliche Nachricht- Von: Martin Erlandsson [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. April 2002 18:38 An: 'Tomcat Users List' Betreff: How to rename

Tomcat as an NT Service.

2002-04-22 Thread ari
Hi. I'm trying to install tomcat on my Windows 2000 Server as an NT service using the jk_nt_service.exe wrapper. I am consistantly getting the same error everytime I try and start the Server (I'm using the services control panel) Do you know of any problems with using the wrapper on a windows

problems poolman with tomcat

2002-04-22 Thread rsalinasg
hi to all, I use poolman 2.0, tomcat 3.3.1, and windows 2000 professional, when I runnig the samples poolmansample in standalone, the results is sucessful, but when I runnig the poolman.jsp and clicked the PoolMan JSP Database Client , I received this error: EmbededTomcat: Startup time 351

Re: domain:8080

2002-04-22 Thread Oktay Altunergil
Your hosting provider (or you .. if you have root access) has to set up a connector for your web server that relays jsp/servlet requests for your domain to Tomcat. Chances are they will not do it. It can get pretty annoying to set up in a shared environment, which is probably why they told you

Re: Tomcat as an NT Service.

2002-04-22 Thread Jacob Kjome
Hello ari, Which version of Tomcat? If 4.0, then you don't use jk_nt_service.exe. You use Tomcat.exe that is in the $TOMCAT_HOME/bin directory. Just use the following to install/uninstall the service (copy/paste the lines below to the command line...assuming you've set up the environment

RE: DBCP Database Connection pooling in TC4

2002-04-22 Thread Ozgur Sahoglu
Hi, What is the difference between javax.sql.DataSource and javax.sql.ConnectionPoolDataSource interfaces? In API docs it is written that connection pool implementation of the DataSource works with a middle-tier connection pooling manager. I am using mm.mysql, and I am wondering if connection

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Half answering my own question I found that if I changed permissions to the relevant user I was able to get a bit further. At least the logon is now seen but it fails with this message: Invalid authorization specification: Access denied for user: 'ken;[EMAIL PROTECTED]' (Using password: NO) I

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, Have you tried setting the debug level to 99 in the realm tag in server.xml? You may have already done this, but it will add a lot more info to the log about the process of getting into the realm. Rick Hi, I've spent many hours last week and a few more today trying to get JDBC

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread John McNally
Hello Scott, There is another connection pool located in commons-sandbox/jdbc2pool that behaves as you expect, multiple lookups of the same pool will NOT reset the pool. Jdbc2pool is written to use a ConnectionPoolDataSource as the backend providing the connections. It does have an adapter

Re: 404 Errors and no log file

2002-04-22 Thread Rick Fincher
Hi Eric, If your log is empty you may not have CATALINA_HOME set up correctly. If you used a Tomcat 3.x and are using some old scripts they may have TOMCAT_HOME set up in them. They will need to be changed to CATALINA_HOME. You should see some messages in the logs. Are the permissions of the

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
have you tested accessing mysql from JDBC in isolation (write a simple test class that creates a connection and does a simple select)? there might be a problem on you permissions setup under mysql. http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Adm

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Yes I have. After some more investigation I think the problem is this: the entry in server.xml is like this user=ken;password=ken. But mySQL wants a and xml parser demands a ;. With a ; mySQL thinks no password was sent and so denies me with 'password: no'. With debug=99 comes into play and

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread Scott Jones
Hi John, Ah, very nice. That's exactly what I was looking for... I don't actually understand why you'd ever want the pool to get reset. Before, I actually had JDBC Connection Pooling set up using the bitmechanic jdbcpool (http://www.bitmechanic.com/projects/jdbcpool/). However, I want to

Re[2]: JDBC realm problems

2002-04-22 Thread Jacob Kjome
Hello Ken, Well, then write it as the entity amp; which is the xml equivalent of as long as the DTD defines that entity. Jake Monday, April 22, 2002, 1:22:56 PM, you wrote: JK Yes I have. After some more investigation I think the problem is this: the JK entry in server.xml is like this

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
what if you remove the username and password from the URL and set them via the connectionName, connectionPassword attribs? -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 1:23 PM To: Tomcat Users List Subject: RE: JDBC realm problems Yes I

Re: Tomcat and Apache 2

2002-04-22 Thread Michael Delamere
Simon, first of all, thank you very much for taking up your time in producing such an excellent how-to!! Secondly, I´m having problems. Although your information is very clear I appear to have problems during the last compile process (or maybe earlier??). After entering the command:

RE: Re[2]: JDBC realm problems

2002-04-22 Thread Januski, Ken
Jake, HEY! That did it. Thanks very much for the suggestion. Ken -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:42 PM To: Tomcat Users List Subject: Re[2]: JDBC realm problems Hello Ken, Well, then write it as the entity amp; which is

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Thanks Tim. Jake's suggestion of changing the to amp; did the trick I'm happy to say. -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:40 PM To: 'Tomcat Users List' Subject: RE: JDBC realm problems what if you remove the username and

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, The spec allows the values: connectionName=username connectionPassword=password in the realm tag in server.xml. You might try that instead of putting the username and password in the connection URL. Tomcat then builds the string for the URL with the connection parameters in it.

Re: DBCP Database Connection pooling in TC4

2002-04-22 Thread John McNally
Ozgur Sahoglu wrote: Hi, What is the difference between javax.sql.DataSource and javax.sql.ConnectionPoolDataSource interfaces? A DataSource is meant to be used by an application. It could be written by the jdbc driver as a way to provide physical db connections. It is also the

tomcat 3.x virtual hosts

2002-04-22 Thread Phillip Morelock
Hi everybody, usual list-newbie disclaimer I have searched the archives to no avail for this particular answer...i think my problem may or may not be subtly unique from others' problems. I have been using tomcat 3.x for a long time but have never encountered this self-inflicted problem. If I

Re: JNDI realm against win2000 DC (REPOST SORRY)

2002-04-22 Thread Jonathan Eric Miller
As far as I know, you won't be able to do this until Tomcat 4.1 is released. In the current version of Tomcat, it binds as an administrator and then queries for the user's password and compares it to that which was provided by the user. This comparison takes place on the client-side. i.e. in

using more memory, different classpath

2002-04-22 Thread jason wood
(1) i received an out of memory exception and would like to know where to tell tomcat to use more memory (2) my tomcat installation directory is located on c:\ (this is where we keep development software), and d:\company_name\classes\... . How do i tell tomcat that my classes directory is

Re: JNDI Realm with Tomcat 4.0.1 and Netscape LDAP

2002-04-22 Thread Jonathan Eric Miller
I don't know if you noticed, but, the password has to be stored as a hex string rather than a base64 encoded string in the directory in order for it to work. I think there is a patch that is supposed to fix this that I think is supposed to be included when Tomcat 4.1 comes out. Also, there's

Apache 2.0.35 configuration problem

2002-04-22 Thread Cheng Yan
I am tring to install Apache 2.0.35 on my Solaris 8 box which has gcc 2.95 installed in /usr/local After I am running following command: % ./configure --enable-mods-shared=all --prefix=/export/home/cyan/apache_tomca t/apache_2.0.35 The last a few output lines are below:

Re: using more memory, different classpath

2002-04-22 Thread Jacob Kjome
Hello jason, Monday, April 22, 2002, 2:14:39 PM, you wrote: jw (1) i received an out of memory exception and would like to know where to tell tomcat to use more memory use environment variables TOMCAT_OPTS (for Tomcat3.2.x or 3.3.x) and CATALINA_OPTS (for Tomcat 4.xx) to add options that

RE: using more memory, different classpath

2002-04-22 Thread Tim Cronin
1) if your using 4.x you can increase memory /w the following env var CATALINA_OPTS=-Xmsthe number of megs to start withm -Original Message- From: jason wood [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:15 PM To: [EMAIL PROTECTED] Subject: using more memory, different

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Thanks Rick, I did solve it by changing the to amp; and that worked. But it's good to know that there is an alternative and how to go about using it. Ken -Original Message- From: Rick Fincher [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 3:08 PM To: Tomcat Users List

RE: using more memory, different classpath

2002-04-22 Thread Tim Cronin
(assuming 4.xx) if you follow the startup script the CLASSPATH is reset when tomcat is started, see setclasspath .sh/.bat. You can jar your files and place them CATALINA_HOME\common\lib or if your lazy like me you could modify the setclasspath. Beware if your using the j2ee lib you will create

Re: Tomcat and Apache 2

2002-04-22 Thread Michael Delamere
Sorry, it does work! However when I add the following lines in my virtual host directive like so: VirtualHost 192.168.10.1:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /www/servtest/java ServerName servtest.intern.delamere.de WebAppConnection warpConnection warp localhost:8008

Re: How to logout for the browser based authentication?

2002-04-22 Thread Oktay Altunergil
You have to close the browser otherwise the cached username/password will still work. You might also close other instances that were spawned from the same parent. ( like opening up one browser and creating new instances within that browser ) Is it clean enough? This is probably dependend on

  1   2   >