Re: web.xml Question

2002-01-21 Thread Nikola Milutinovic
Usually the web.xml file of a web application starts with the following: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; This URL referst to the dtd file on SUN's server. I think most XML parsers like

Re: mod_webapp and php

2002-01-22 Thread Nikola Milutinovic
Thanks for clarification, Craig But then again, what if the static content (e.g. some html pages) resides inside web-app, is it than considered static? Will Apache serve it from there directly (I believe not, cause it could be on a different host) or will mod_webapp pre-cache it in

Re: BLOB FROM JSP PAGE

2002-01-24 Thread Nikola Milutinovic
but this means that i must create and send a second query to a database within in this servlet , rather then this may be i can share my jsp page`s resultset to servlet, do you have any idea to achive this, Even if you used a servlet, you cannot mix text output (the HTML of

Re: Is a jsp page compiled a SERVLET?

2002-01-26 Thread Nikola Milutinovic
Monica Guerra wrote: Please help me with that question: Is a jsp page compiled a SERVLET? The jsp page compiled, the .class is a SERVLET Every JSP page is transformed into a Java source file for a servlet (done by Jasper in Tomcat) and then compiled into a Java class by javac. Then it is

Using beans, accepting input from form

2002-01-29 Thread Nikola Milutinovic
Hi all. I have a HTML form which passes it's data to a JSP, which in turn uses a bean to collect the data. I have everything worked out, so far, except one field. The filed in question is a boolean property and I'm not sure how to achieve that. I have tried the following, with no success

Re: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Nikola Milutinovic
Maybe users shouldn't use Microsoft products! At least for email... What is the recomended client? I would like to have a e-mal + news. Netscape is a bit buggy (just a little bit, but still...), Mulberry is just for mail. Nix.

Re: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Nikola Milutinovic
The real problem with Virus scanners as an open source project is two fold: 1. The virus writers can look at the source code and determine new patterns that will be outside of the scanner's view (granted the script kiddies won't be able to do this, but the more advanced virus writers

Re: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Nikola Milutinovic
I would like to point out that the virus was sent by members of the list. Would Virus filtering of the list be useful? Yes. Would it be cost-effective? No. (Since Jakarta has no real income to spend on this). AFAIK, most - if not all, components of a mail virus scanning system are

Re: WebAppDeploy Vs WebAppMount

2002-01-30 Thread Nikola Milutinovic
jakarta.apache.org it's there. sorry but I looked into http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/src/ but I couldn't find anything related to mod_webapp It usually accompanies the distribution of Tomcat. Haven't looked lately. I think you specify this in web.xml of

Re: Tomcat 4.0.1 Dreamweaver 4.01 using WebDAV too slow

2002-02-01 Thread Nikola Milutinovic
I have configured the HTTP 1.0 connector. It works as fast as I expected to GET-ing the site and pages . However I still get some problems. 1. PUT the files does not work showing error that the files are locked. 2. GET of JSP pages executes the pages and then returns the HTML

Re: How can I find number of 'open files'

2001-08-16 Thread Nikola Milutinovic
I had a problem a while back with 'too many open files'. So I checked and fix some bugs in my code and increased the limit (Solaris running on Sun Netra T1). But now the problem is back. I suspect it is a problem with my code. How can I find out how many files are 'open'? If I can

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Nikola Milutinovic
I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. You can use it for servlets, too. :-) Is it true that it is necessary to make start Tomcat before Apache? Why?.. 1. Tomcat usually builds automatic configuration for including in Apache's

Re: Graphics with jsp

2001-08-22 Thread Nikola Milutinovic
Gregor Kovah wrote: Hi! Hmm, this is a bit off topic, but nevertheless: You could use KavaChart (www.ve.com), which you can use in Servlets and JSPs, but unfortunately it is not free. Why not the good old Fly? It is a C compiled CGI program that takes a command file and draws a GIF

Re: Mozilla and Tomcat

2001-08-23 Thread Nikola Milutinovic
- Original Message - From: "Lloyd Llewellyn" [EMAIL PROTECTED] To: "tomcat-user" [EMAIL PROTECTED] Sent: Thursday, August 23, 2001 6:36 PM Subject: Re: Mozilla and Tomcat So readers, can I assume noone has anything useful to add to why Tomcat produces:

Re: IE and downloading a binary file

2001-08-30 Thread Nikola Milutinovic
Hi, My servlet has to get the Browsers to download binary file independently of their contents. For this purpose I use response.setContentType(application/octet-stream) and I write the content of the file into the output stream of the server. it works fine with Netscape and partly with

Re: IE and downloading a binary file

2001-08-30 Thread Nikola Milutinovic
I believe from previous posts that IE cheats on the content type of downloaded files by looking at the filename as opposed to the content type spec. To get around it, you have to use the three letter file extension in the filename that corresponds to your file type (example: .jpg for jpeg

Re: Where is Mod_webapp?

2001-09-20 Thread Nikola Milutinovic
Kendal L. Montgomery wrote: As far as I know, you have to download it through cvs. If you go to jakarta.apache.org and look under CVS Repositories, there are instructions... It should have been released yesterday (19.09), IIRC. No matter, it will be there soon enough. Nixie.

Re: info req.

2001-09-24 Thread Nikola Milutinovic
Pls let me know that if the URL lenght is a bottle neck in Tomcat 3.1. As i have heard that one can only have 256 char url lenght. I think it is in RFC for HTTP protocol. Nothing to do with Tomcat. Nix.

Re: Webapp and Tru64

2001-10-02 Thread Nikola Milutinovic
Hi all, I 'm not sure If this questions is repeated . I 'm trying to compile Webapp in order to use Tomcat 4.x ( This is release vesrion ) now the problem I 'm facing is . The make fails at trying to include stdint.h which naturally is not there . The system I'm trying

Re: mod_webapp

2001-10-02 Thread Nikola Milutinovic
The Index of /dist/jakarta/jakarta-tomcat-4.0/release/v4.0 states that binary and source distributions of the mod_webapp connector will be posted on Wednesday, September 19, 2001, for a variety of platforms. Presumably into that directory. However its now October 2, 2001 and there is no

Re: Webapp and Tru64

2001-10-02 Thread Nikola Milutinovic
Yogesh Bhanu wrote: Hi Nikolai, Well I havent tried it, But on going thru my linux alpha box , it has stdint.h well it is gcc-2.95.4 what do ya say ..?? Iæm compiling on Tru64 UNIX, I have no doubt Linux has it. By the looks of it, mod_webapp is a LINUX utility

Noted a problem with configure on mod_webapp

2001-10-03 Thread Nikola Milutinovic
Hi all. This is more for developers, but here goes. OS is Tru64 UNIX 4.0F (a.k.a. Digital UNIX (a.k.a. DEC OSF/1)). I'm using native CC of Tru64. "configure" script in APR erroneously detects the presence of stdint.h on the system and that consequently bugs the whole mod_webapp.so.

mod_webapp: Server name

2001-10-04 Thread Nikola Milutinovic
Hi all. I managed to compile mod_webapp.so on Tru64. Now, Apache bugs out if I don't specify ServerName. This works: -- LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c IfModule mod_webapp.c ServerName

Re: Problems compiling mod_webapp on AIX

2001-10-19 Thread Nikola Milutinovic
Pier Fumagalli wrote: This looks like big troubles with your current compiler and linker rather than APXS, I really have no whatsoever clue... I'm working to see how to build the WebApp module without APXS, as a statically linked module... That might help (still work in progress, though!)

Re: the include action - is this possible

2001-10-23 Thread Nikola Milutinovic
Hi, I believe the following does not work. The include action cannot have runtime access of variables i.e. session.getAttribute(baseUri) ). I want to confirm whether this is the case: jsp:include page=%=session.getAttribute(baseUri)%include/stylepicker.jsp flush=true / I get the

Re: Precompiled jsp's

2001-10-25 Thread Nikola Milutinovic
Why are you pre-compiling the JSP's? Doesn't Tomcat do that automatically? How do you precompile JSPs on startup? I know they can be precompiled if called with that precompile URL. But suppose I had a lot of JSPs and I would like to tell Tomcat to precompile a defined portion of them into

Re: X Windows and Tomcat

2001-10-25 Thread Nikola Milutinovic
Krasi, you need to install a dummie Xserver named Xvfb. With this Xserver running you can shut your Xwindows without stopping tomcat. Shouldn't Tomcat keep on running? Or better yet, daemonize itself? Nix.

Problems with PostgreSQL + Tomcat solved - sort of

2001-10-25 Thread Nikola Milutinovic
Hi all. Now it's working all of a sudden. I have made three changes: - removed $CATALINA_OPTS=-Djdbc.drivers=org.postgresql.Driver - removed: import=javax.sql.* from page directive - added: Class.forName( org.postgresql.Driver ) to my code Could someone answer these questions:

Re: Need help for server.xml

2001-10-27 Thread Nikola Milutinovic
Jean-Luc BEAUDET wrote: Sorry if this is the second Post... I made a little mistake ! Hi all, I'm newbie with the Tomcat env. Runnin' SOLARIS 8 Apache 1.3.20 and ApacheJServ 1.1.2 i had to decide to shift to Tomcat 4.0.1 especially for jsp's. I'm happy with it but i'd like to:

Problems setting up PostgreSQL and Tomcat JDBC connection

2001-10-22 Thread Nikola Milutinovic
Hi all. I'm crossposting this to two mailing lists, I think poth parties are concerned. Finaly got some time to work on my project on Tomcat and I ran into problems. Mostly these problems stem from the inconsistent documentation that accompanies Tomcat 4.0 distribution. And it would appear that

Re: tomcat on mainframe

2001-11-01 Thread Nikola Milutinovic
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: has anyone installed TOMCAT on the mainframe (IBM os/390)? Do you know how this would work? Where I could get the binaries (if there are any)? thank you greatly for your timeit's appreciated! I know it works for sure

Re: Mod_webapp configuration

2001-11-03 Thread Nikola Milutinovic
Parashar, Hitesh wrote: What is the time-frame for this change to be in? It will be supported in upcoming releases by mod_webapp, all static content (so the one not associated with a filter, with a servlet, or with security constraints) will be served automagically by Apache. Pier, can you

Re: Bringing up tomcat, reliably.

2001-11-11 Thread Nikola Milutinovic
Bob: I can't really comment on Linux, but most Unixes will encumber bound ports for a while (read a minute or two) under certain circumstances. This could be triggered if Tomcat had open client connections at the time of shutdown. Those sessions should list under netstat as

Re: getting tomcat 4.0.1 started on Compaq tru64

2001-11-12 Thread Nikola Milutinovic
Hello, I've been able to run tomcat on multiple NT platforms without any problems, however, when I run the startup.sh on a Compaq tru64 version 5.1 box, it won't execute the bootstrap start. The log file just says: usage: java org.apache.catalina.startup.Catalina [ -config

Re: Tomcat for Large Team Size

2001-11-13 Thread Nikola Milutinovic
b) Or Can we have one instance of tomcat running central. And each developer sharring one port. so that he(developer) can restart/restop that port. How do u achieve this Yuk. I don't know if this is possible, but I very much doubt it. Why not? Several instances of Tomcat running on

Re: Cp1252

2001-11-14 Thread Nikola Milutinovic
Chen, Gin wrote: Hi all, When I am using JBoss and Tomcat 4.0.1 integrated build. I get an error with any of my JBoss.xml files that have the ?xml version=1.0 encoding=Cp1252? line. CP-1252? You mean Micro$oft CodePage 1252? Don't expect it to work with ANY Java based tool. Java

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
Tom Drake wrote: This has nothing to do with tomcat. It is standard unix behavior. When a user logs out, all processes created by that user are killed. No, when a user logs out all processes that are children to that shell instance are sent a HUP signal (Hang UP). A process may choose to

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
Every well written daemon and server process SHOULD do that (among other things). But you need to remember that you are not running Tomcat, you are running Java - that's a big difference. And it limits what is possible. Good point. Every well written daemon will do the

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
| Tom Drake wrote: | | This has nothing to do with tomcat. It is standard unix behavior. | When a user logs out, all processes created by that user are killed. | | | No, when a user logs out all processes that are children to that shell instance | are sent a HUP signal (Hang

Re: Precompile JSP

2001-11-15 Thread Nikola Milutinovic
Do anyone here know how to compile all the JSP pages before I roll out for production?? Every JSP, when called, is turned into a JAVA source code and compiled into a servlet, the first time it is called. You can do this manually: ${CATALINA_HOME}/bin/jasper.sh jspc

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nikola Milutinovic
Good point. Every well written daemon will do the following: 1. parse input and complain if necessary 2. spawn a child and exit 3. a child will close STDIN, STDOUT, STDERR 4. a child will catch/ignore SIGHUP, SIGTERM, ... 5. a child will spawn a daemon process and

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nikola Milutinovic
If you want a process to be independant from user connection, disconnection on a Unix boxes (and more generally on any system), you should make it run as a service. For example on Linux, you make it run at init time via script in /etc/rc.d/init.d/. And suppose it just blocks or I

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nikola Milutinovic
Hi again! And thank you very much to all of you who had been sending some advice!! I tried to start Tomcat with the following sentence: tomcat.sh start There is no need for with start, it already has in the script. And it didn't work again... I'm going to try with

Re: Precompile JSP

2001-11-15 Thread Nikola Milutinovic
Try bin/jspc.bat or jspc.sh I would like to compile my jsp's as a test before I deploy it and see if it works. I spend quite a lot of time changing stuff, deploying, loading in a web browser and seeing jsp compiliation problems. It would be nice to have jspc compile my jsp's

Re: Precompile JSP

2001-11-16 Thread Nikola Milutinovic
2. Run a startup servlet, which will precompile all JSPs in your webapp (request them with URL /path/file.jsp?precompile=true, I think) As I wrote before this is not possible, because a jsp can first be accessed after the container is *completely* up - including all servlet-startups!

Re: Precompile JSP

2001-11-19 Thread Nikola Milutinovic
We definitely need a regular hook for this. We still need a hook or a definite answer No, it cannot be done or No, it won't be around for a while. Precompilation is a feature of a particular container -- it's not anything mandated by the JSP spec. Tomcat's current implementation of

Re: PreparedStatement caching?

2001-11-19 Thread Nikola Milutinovic
does Tomcat implement caching for PreparedStatement objects? PreparedStatement is a part of JDBC, which has nothing to do with Tomcat. Nix.

Re: Precompile JSP

2001-11-19 Thread Nikola Milutinovic
Precompile all the jsp files in your project in your ant.xml file as part of the build process when making your war file. Yes, yes, it can be done, but what we want is to have JSP normal and then precompiled upon context mounting. Startup servlet cannot do it, since it starts before JSP

Re: Setting up Tomcat 4

2001-11-19 Thread Nikola Milutinovic
I have a Sparc box running Solaris 8. I would like to set the JAVA_HOME environment variable and I would also like to put a script in the rc3.d to allow Tomcat to startup and shutdown with the server. I'm somewhat new to the Solaris OS, so I was wondering if I could get more of an expert

Re: Tomcat Velocity Native language configuration problems

2001-11-21 Thread Nikola Milutinovic
Hello, I am using tomcat and velocity on Debian box. My servlets gets data from postgresql database and merges it with velocity template. After merging I see '?' instead of national characters. But if the same characters are used in template body, then they are displayed correctly. The

Contexts loading twice?

2001-11-22 Thread Nikola Milutinovic
Hi. This is not really an urgent matter, but I'd like to clear it out. I ahve setup a virtual host and deployed a couple of contexts under it. I have two of my applications and I've introduced /tomcat-docs and /manager from the base Tomcat package. The problem is my application contexts get

Problems with mod_jk on Digital UNIX

2001-08-03 Thread Nikola Milutinovic
Hi all. This is what I have: - Digital UNIX 4.0F + native DEC CC - Apache 1.3.19 + DSO support + PHP4 - Apache 1.3.20 + DSO support - Tomcat 3.2.3 and 3.3-b1 All of the above works OK. Now I'm trying to add mod_jk to Apache and it crashes Apache regardless of version and loaded

Re: tomcat apache

2001-08-07 Thread Nikola Milutinovic
- Original Message - From: alexus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 03, 2001 8:05 PM Subject: Re: tomcat apache where would i find mod_jserv (i hope its not same thing as jserv) mod_jk and mod_webapp? mod_jk and mod_jserv come with Tomcat source, under

Re: Servlet Instances

2002-08-28 Thread Nikola Milutinovic
How should I control how many instances I want of a given servlet? In my case I would like just one. I don't think you can control that, usually there is only one instance per Servlet Engine. Are you trying to say that you don't want to have more than one REQUEST being handled by the

Re: Servlet Instances

2002-08-29 Thread Nikola Milutinovic
No, I am saying I have three instances of the same servlet. Only one appears to be receiving the requests, but if things are like you say then what's going on with Tomcat? Are you saying I have three Tomcats running, even thought I called startup only once? Are you sure? Could it be

Re: Bringing up DBCP pooling again

2002-09-07 Thread Nikola Milutinovic
Andrew Conrad wrote: You might get more responses if you post it to [EMAIL PROTECTED] If anyone gets an answer to this question, could it be circulated here, as well? Most of us would like to know. A DB server rebooting scenario is not all that impossible. And if it happens on Saturday

Re: harm in kill-ing tomcat?

2002-09-16 Thread Nikola Milutinovic
Nick Wesselman wrote: The shutdown script takes so long... is there any harm in kill -9-ing tomcat? What about when a connector like mod_jk is in use? What about DataBase connections and possible sessions that will be cut in half? I suppose if there is anything transactional going on in my

Re: encoding problem

2002-09-21 Thread Nikola Milutinovic
Nikola Stefanovski wrote: hello. i'm working with cyrillic characters and i can't get them to show ok. i'm working on win2000 and i've tried tomcat versions 3.2.3, 3.3a and 4.0.1. the page directive is specified as: %@ page contentType=text/html; charset=windows-1251

Re: Please help me!!

2002-10-03 Thread Nikola Milutinovic
Miguel Angel Mulero Martinez wrote: This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Does DBCP that comes with Tomcat 4.0.4 and later reconnect? Nix. -- To unsubscribe, e-mail:

Re: Form Based Authentication, getting login and password

2002-10-05 Thread Nikola Milutinovic
Externo wrote: Sorry by my English. How I can guess login and password strings of an user, from error page (JSP) using Form Based Authentication of Tomcat? I need know it to lock the count each 3 error tries (if login is ok but password is bad, insteed). Something like enhanced

Re: Connection pool DBCP

2002-10-05 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I have been seen that nobody is able to answer to this question, I presume it's interesting for anybody, for a few days. I wish I knew if DBCP is able to find when db is restarted and reconnect. I'd like to use the jakarta instrument DBCP because all the

Re: Shared JSP taglibs

2002-10-05 Thread Nikola Milutinovic
Craig R. McClanahan wrote: In my experience, the (small) memory savings of putting classes into /shared/lib (or /common/lib) is not worth the hassles it brings: What about building a server-wide environment? Suppose you have a set of Tag Libraries that you either trust or wish to enforce

Re: I need to run a servlet periodically

2002-10-05 Thread Nikola Milutinovic
Filip Rachunek wrote: Hello, is it possible to have a servlet in Tomcat container which is invoked automatically each gived time period? [e.g. each 10 minutes] And I would also need this special servlet to access other resources of my web application [connection pool, ...]. You're making

Re: Pb with WarpConnector, JNDI, DBCP

2002-10-07 Thread Nikola Milutinovic
John Walstra wrote: I used to use the WarpConnector. I just switched to mod_jk. When I used the WarpConnector, I could not get the JNDI DataSource to work. I received the same error you received. If I accessed my webapp using the Tomcat-Standalone service it would work, but would not work

Re: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-08 Thread Nikola Milutinovic
String searchFields[] = request.getParameterValues(searchField); String searchFieldValue = searchFields[1]; I should be able to just do: String searchFieldValue = request.getParameter(searchField); Why would I be getting an array with two values? I was able to get the

Re: PostgreSQL JNDI resource under Tomcat 4.1.12 problem

2002-10-09 Thread Nikola Milutinovic
Server.xml: This portion exists under the GlobalNamingResources element under Server; the only pieces changed are the username and password.-) Resource name=jdbc/election scope=Shareable type=javax.sql.DataSource/ ResourceParams name=jdbc/election parameter

Re: JNDI Datasource is null

2002-10-14 Thread Nikola Milutinovic
James hughes wrote: I changed the values, but still the Datasource is null :( I find it strange that the JNDI name exists with no object - that is, I dont get a NameNotFoundException. The object is there the moment you declare it. It is just that it is null. I find it extremely hard to

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: Hi, my problem is that when I run Tomcat with some application, then after some time(using applcations) I get nobody processes which doesn't want to disappear (even after restarting Tomcat). I can see them using command top. I can not kill them even with

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: Thanks for advice, I find out and processes with 'user nobody' are created by process with command inetd. Aha, we are getting somewhere. I don't know if the processes with command httpd can be started by process 'inetd' if service http doesn't exist in

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: I saw that only talk and ntalk are started as user nobody.tty, the rest of services are started as root. Kill those things. You usually do not need them on a server. The parent process which started nobody processes are started by user root from inetd command.

Re: Weird messages

2002-12-12 Thread Nikola Milutinovic
Zsolt Antal wrote: Hi, Is the following normal, accepted or simply `we must live with it'? - html post This is debatable. There is no fixed standard on what a HTML message is. A HTML document embedded into the body of the real message as a MIME chunk is so far the closest description I've

Re: Memory Usage and Garbage Collection

2003-01-05 Thread Nikola Milutinovic
So the instance, and it's string, can still be GC'd, right? Nope. There is still a live reference to each OtherObject instance sitting in the static HashMap cache. Therefore, this instance cannot be GC'd, even though *you* have released your own reference to it. And, if the OtherObject class

Re: Failed ErrNO=61

2003-01-22 Thread Nikola Milutinovic
Ravindra K. Bhat wrote: Hi, Any ideas on how to solve the following error in Mod_jk.log: [Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61 [Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno =

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread Nikola Milutinovic
Boris Folgmann wrote: Ryan Cornia wrote: Anyone using JNDI datasources that reconnect in case of a lost link to the DB server? Any examples? I'm using the I-net driver for Oracle Interesting question. In fact I have the same problem, using DBCP and PostgreSQL. I looked trough the Javadocs

Re: unix security realm

2003-01-29 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: has anyone come across an implementation of a realm for Tomcat which authenticates users against the operating system's logins/passwords? thanks in anticipation Cyrus SASL 2.1.x has a JAR file with some classes that have SASL functionality. Maybe it is not too hard to

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-30 Thread Nikola Milutinovic
Raible, Matt wrote: I've discovered that this problem is related to a 90-minute timeout on our firewall. Tomcat sits outside of the firewall, and Oracle resides inside. Since there's no activity for 90 minutes, it closes the connection. Anyone know of a workaround (+ sample code) for this? I'm

Re: Datasource

2003-02-26 Thread Nikola Milutinovic
Sebastião Carlos Santos wrote: Georges, For the documentation of JNDI Datasource HOW-TO, their files jar should be located in $CATALINA_HOME/common/lib. This road should be put in CLASSPATH of the system also. *** REPLY SEPARATOR *** On 26/2/2003 at 13:31 Georges Roux wrote:

Catalina Home/Base

2003-02-26 Thread Nikola Milutinovic
Hi all. I have a small dilemma regarding CATALINA_HOME and CATALINA_BASE environment. Why are all loggers set to have a default dir ${CATALINA_HOME}/logs? Shouldn't it be ${CATALINA_BASE}/logs? At the moment, I am building a Tru64 UNIX package of Tomcat 4.1.18. Tru64 has a recomendation to

Re: Problems with XML parsers and webapps

2003-06-18 Thread Nikola Milutinovic
All, Our webapp was built to use the Xerces xml parser. I'm trying to update our JDK and tomcat version to do testing for a production level upgrade. I'm running into problems with the JVM using the Crimson parse. The crimson parser does not agree with our XML files. Does anyone know how

JK2 config

2003-06-21 Thread Nikola Milutinovic
Hi all. Is there a comprehensive mod_jk2 guide? I'm mostly interested in comprehensive explanation of the syntax and semantcis of worker2.properties and jk2.properties files. The docs coming with TC are confusing and full of holes, to say the least. Right now, my immediate question would be:

Re: ok, am I offically lost here

2003-06-22 Thread Nikola Milutinovic
ok, there is a webapps directory, inside is a very dirs, examples, ROOT etc. the normal root page loads up and I can get to the examples, the confusion starts here, the ROOT houses the index.jsp, but the examples are not UNDER ROOT they are a different dir back one in webapps. WHEN I

Re: JK2 config

2003-06-23 Thread Nikola Milutinovic
Try Googling. There is a link to quite good piece of docs for JK2 that sits on Jakarta/Tomcat original site. Why isn't it present in the Tomcat's distribution? Nix. - Original Message - From: NormW [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 22, 2003

Re: Virtual domains with Tomcat

2003-06-23 Thread Nikola Milutinovic
How can I get Tomcat to recognize virtual domains? This is trivial with Apache and I can get Apache to fetch the correct jsp but I cannot get timcat to process it. If I turn off tomcat, apache sends the jsp source. If I turn tomcat on, I get the error 404 page Anything in the logs? I'm

Re: JK2 config

2003-06-23 Thread Nikola Milutinovic
There are plenty of examples of both JK and JK2 configurations in the list archives. The topic comes up DAILY, and frankly, I don't think you can blame people when they tire of posting the same thing day in and day out to essentially the same questions. Hi John. I have found a link to

Re: JK2 config

2003-06-23 Thread Nikola Milutinovic
The document that you are referring to, I think, is incomplete or wrong. When I tried it I found that some sections were in correct or misleading, or just didn't work. So I found it best to just ignore that document. Sorry to hear that. I haven't gotten around to testing it, yet. However,

Re: OT Passing parameters to a link with an anchor

2003-06-24 Thread Nikola Milutinovic
I have the following link in a page that works fine: a name=notcurrent href=/itinerary/updatenode.do?id=expanded=trueTrip/a What I would like to do though is add an anchor so that I go to a particular point in the page so I tried including an anchor like this: a name=notcurrent

Problems with mod_jk2

2003-06-24 Thread Nikola Milutinovic
Hi all. mod_jk2 is bugging me properly. It is not working right now and it never did. I could have made a number of mistakes, so if someone could point at them, I'd be grateful. This are the relevant files: jk2.properties -- handler.list=request,container,channelSocket

Re: Problems with mod_jk2

2003-06-24 Thread Nikola Milutinovic
Good morning Nikola. What do you have in your http.conf file(s)? I assume Test.ev.co.yu is the machine you are running Tomcat on and is DNS resolvable? Here it is. # # Global JK2 settings IfModule mod_jk2.c JkSet config.file /usr/opt/Apache-2.0.46W/config/add-on/workers2.properties

Re: Problems with mod_jk2

2003-06-25 Thread Nikola Milutinovic
- Original Message - From: Mark Eggers [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 7:58 AM Subject: Re: Problems with mod_jk2 What are the ownership and permissions on the following directory? /usr/opt/Apache-2.0.46W/logs

Re: [way - OT] oracle and utf8

2003-07-08 Thread Nikola Milutinovic
My dba says that oracle's implementation of UTF-8 is a clusterf**k. I'm wondering if he is going crazy. What exactly would that mean? My knowledgeof clusters is moderate, but I don't see what would ANY implementation of UTF-8 have to do with clusters or f**king :-). OTOH, Oracle IS a

Re: Tomcat and Windows ADS

2003-07-24 Thread Nikola Milutinovic
I would like to use the built in JAAS with my JBoss/Tomcat configuration to use either form or digest authentication. ADS will give you two major things: - Kerberos 5 authentication (use JAAS to access) - LDAP interface (use JNDI to access) What will your Tomcat use of those services, is up

Re: Tomcat UML Diagram

2003-07-30 Thread Nikola Milutinovic
Am I asking a dumb Q or there is just no such thing around? There is no such thing. UML is a information system modelling language. Tomcat is a JSP/Servlet container - a part of J2EE server specification implementation (web application interface). So, Tomcat implements only a segment of an IS.

Re: [OT] JDBC confusion

2003-08-14 Thread Nikola Milutinovic
Hello List... newbie question coming up: Phaser charged... Shields at 80%... Photon torpedos loaded... If I set up a jdbc connection object in one servlet, do I have to close it each time or can the same connection be re-utilized by other servlets each using a different sql statement

Re: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Nikola Milutinovic
now, given that i can confirm that i am closing connections (calling close() on them, which returns them to the pool), can you suggest how i might locate where those connections are not getting released? i have read some stuff about dbcp not being entirely reliable in releasing connections. is

Re: Digest

2003-08-14 Thread Nikola Milutinovic
In a jsp application i want to calculate digested passowrds dynamically According to the Realm How To ... i write this code in a jsp : % String digest = org.apache.catalina.realm.RealmBase.Digest(request.getParameter(password), MD5); % Isn't there a Digest method in some, more public

Re: [OT] how to pronounce Apache ?

2003-08-14 Thread Nikola Milutinovic
Apache has NOTHING to do with indigenous American people. It stands for a patchy software. If that's a pun, it's a bit out of place. If it's a joke, so be it. If it is an oppinion, then you got something mixed up - what's the feather on the web site for? Nix.

Re: GNUPG TC , could be OT!

2003-03-10 Thread Nikola Milutinovic
Power-Netz (Schwarz) wrote: Hi, we have the following constellation: A webapp uses a java class to send emails , this class uses another class to SIGN this email via GNUPG. Is there a way to accomplish this via more common Java APIs, like JavaMail? S-MIME? I'm no exeprt in that field... The

Re: Netscape navigator

2003-03-19 Thread Nikola Milutinovic
Susan Hoddinott wrote: Does anyone know if there is a problem using Netscape Navigator with servlet pages generating their own html using the println function. Whenever I attempt to access servlets of this kind (which work fine under Explorer) I just get the HTML text (e.g. HTML etc.)

Re: Getting Notified in Tomcat 4.1.18

2003-03-19 Thread Nikola Milutinovic
B A L A J I wrote: Hi, I'm trying to extend Tomcat to get notified whenever a session is created or cleared. How is this possible in 4.1.18 version.? Any help will be appreciated as I'm new to Tomcat. Take a look at Listeners in Servlet 2.3 specification and in Tomcat, more specifically,

Expression Language question

2003-06-02 Thread Nikola Milutinovic
Simple question. I have a JSP/Servlet combination in which Servlet is used to authenticate user and create a session. A JSP page then checks for the existence of the session and reads neccessary ID from it. I'm switching to JSTL and I'd like to switch to EL, now. Here is the old code, how can

<    1   2   3   4   5   6   >