Re: Java Process Pool

2003-07-03 Thread James Carpenter
Do you know of an open-source implementation that does provide process pooling? (Synchronization alone isn't good enough in my case as I want to spread the work over multiple processors.) The whole point of the search is to avoid the time spent writing my own pooling service. - Original

Re: How to generate Build Status Log

2003-07-03 Thread Bill Barker
$ ant -logfile build.log bas perumal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Please let me know how to generate build status log with all the possible information about the build process status. with luv, bas SMS using the Yahoo! Messenger;Download latest version.

AW: Starting a sevlet automatically when Tomcat starts

2003-07-03 Thread Hamidene, Anis Ben
Hi, my error was that I implemented my initialisation in the doGet method, not the init. I thought tomcat would call the servlet. Bye -Ursprüngliche Nachricht- Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. Juli 2003 20:17 An: Tomcat Users List Betreff: RE:

Problem deploying webapp with context file

2003-07-03 Thread Jeroen Breedveld
Hi all, I'm trying to deploy an application by copying a file called myapp.xml containing the context description below to tomcat's webapp directory: Context path=myapp docBase=C:/cvs/demos/myapp/deploy debug=0 privileged=true Logger

Re: Problem deploying webapp with context file

2003-07-03 Thread Antonio Fiol Bonnín
try path=/myapp Jeroen Breedveld wrote: Hi all, I'm trying to deploy an application by copying a file called myapp.xml containing the context description below to tomcat's webapp directory: Context path=myapp docBase=C:/cvs/demos/myapp/deploy debug=0 privileged=true Logger

RE: Problem deploying webapp with context file

2003-07-03 Thread Jeroen Breedveld
|| -Original Message- || From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED] || Sent: donderdag 3 juli 2003 11:08 || To: Tomcat Users List || Subject: Re: Problem deploying webapp with context file || || try path=/myapp That did it, thanks! regards, Jeroen

Re: How to generate Build Status Log

2003-07-03 Thread B.A.S.Perumal
Hi Barker, I dont want to dump the output into one file I need to store few information like... buildno, build version, built start time, end time, status, target status... corporate build status... if the build fails.. i need to store the even the exception message in the log... so i can

Running Tomcat as Windows Service

2003-07-03 Thread Hamidene, Anis Ben
Hi, I want to install Tomcat 4.1.2 as windows service. My servlets should connect to another server over SSl-Connection. I could install tomcat as a service, but when my client connects to the servlet, tomcat hangs down,and I have to restart the service manually. If I start Tomcat using the batch

New context

2003-07-03 Thread Elisabeth Rotbach
Hello, I would like to create (install) a new context (just a direcotry) from my application (in a ServletContextListener per exemple). I had see the ServletManager source and had search in archive mail whitout success. If I use : org.apache.catalina.startup.Embedded, catalina.bat not found

Error to load servlets

2003-07-03 Thread Manuel Gil Pérez
Hi all. I have a CISCO router that it connects with one servlet. My servlet has the following URL: http://server.com/servlet/package01.SCEP When the router achieves a request... I capture with Ethereal the following entry: GET /servlet/package01.SCEP/pkiclient.exe?param01=value01

(401) unauthorised error

2003-07-03 Thread Agarwal, Naresh
Hi I'm using Tomcat for deploying a Web App AXIS (SOAP implementation). Now when I try to run the AXIS client from the local machine (where Tomcat is running), it is working fine. However, when I try to run the AXIS client from a different machine, I get (401) unauthorised error code. I'm not

RE: Compensating for applet security restrictions

2003-07-03 Thread Atreya Basu
If you need to read and write to a file, just keep the files on the server. You can pull a resource off the originating server to read something. Writing to a file is probably going to be a problem however. You could always sign the applet and then you would be able to read and write all you

RE: New context

2003-07-03 Thread Atreya Basu
Just to understand your question... You are trying to dynamically create a new context? Like when Tomcat has already started? _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From:

can not build jk or jk2

2003-07-03 Thread Marc Muncke
Hi I am can not get jk or jk2 connector compiled (ant). I think, there are files missing in the package ? when I use jk from : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4/ and type ant i recieve this error: BUILD FAILED

RE: can not build jk or jk2

2003-07-03 Thread Atreya Basu
Hi, I tried building with ant also and got no end to errors. I think that the ANT build requires some extra libraries and some external ant tools also. The best way to do it is to use configure and then make. _ Atreya Basu Developer, Greenfield Research

web.xml help

2003-07-03 Thread J. W. Ballantine
Hi, I'm new to this, and quickly going blind looking at a web.xml. When I start tomcat I get the following error message during start-up: Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jul 3, 2003 8:09:11 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 34

Re: (401) unauthorised error

2003-07-03 Thread Ben Souther
From the Axis User's Guide: Remote Administration Note that by default, the Axis server is configured to only accept administration requests from the machine on which it resides - if you wish to enable remote administration, you must set the enableRemoteAdmin property of the AdminService to

Re: Need your suggestion

2003-07-03 Thread John Turner
Agreed, my mistake. I hadn't had my caffeine yet. My brain was thinking its open source. John On Wed, 2 Jul 2003 22:01:35 -0700, Bill Barker [EMAIL PROTECTED] wrote: John Turner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] #2 because its free and based on the GPL. 'Nuf said.

Re: web.xml help

2003-07-03 Thread Ben Souther
You have to list all of your servlet elements before listing any of the servlet-mapping elements. On Thursday 03 July 2003 08:21 am, J. W. Ballantine wrote: Hi, I'm new to this, and quickly going blind looking at a web.xml. When I start tomcat I get the following error message during

RE: New context

2003-07-03 Thread Elisabeth Rotbach
Yes. From: Atreya Basu [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: New context Date: Thu, 03 Jul 2003 08:21:52 -0300 Just to understand your question... You are trying to dynamically create a new context? Like when

Re: web.xml help

2003-07-03 Thread John Turner
servlet-mapping tags must follow servlet tags. All of them. Don't do servlet/servlet-mapping, servlet/servlet-mapping, do ALL servlets then do ALL servlet-mappings. John On Thu, 03 Jul 2003 08:21:21 -0400, J. W. Ballantine [EMAIL PROTECTED] wrote: Hi, I'm new to this, and quickly going

Re: HELP, HOW TO BUILD MOD_JK FROM SOURCE

2003-07-03 Thread John Turner
- download source - run buildconf.sh - ./configure --with-apxs=/path/to/your/apxs - make - make install I think with RH's 2.0.40 you also need to point to APR (--with- apr=/some/path/to/apr I think), but I'm not sure because I don't use RH's 2.0.40. John On Wed, 2 Jul 2003 21:42:57 -0400

Re: can not build jk or jk2

2003-07-03 Thread John Turner
First, don't use ant. Second: ./configure --with-apxs=/some/path/to/apxs; make; make install John On Thu, 3 Jul 2003 13:18:38 +0200, Marc Muncke [EMAIL PROTECTED] wrote: Hi I am can not get jk or jk2 connector compiled (ant). I think, there are files missing in the package ? when I use jk

Re: web.xml help

2003-07-03 Thread J. W. Ballantine
Thanks, Is there some place on the web that has this and like info? I've been scanning the xml tutorials and either missed it or they don't go into the amount of depth. -- In Response to your message - Date: Thu, 3 Jul 2003 08:25:58 -0400 To: Tomcat Users List

Re: web.xml help

2003-07-03 Thread Ben Souther
I found out by searching this list. I haven't looked at the docs that ship with Tomcat in a while so I don't know if they're in there. It might be a good idea to note this in the xml comments in the web.xml file that ships with Tomcat. On Thursday 03 July 2003 08:53 am, J. W. Ballantine

Re: Compensating for applet security restrictions

2003-07-03 Thread Nathan McMinn
You may want to investigate using HTTP to handle your transfer. You could download the file that your applet needs with HTTPClient, and have another JSP page that takes the file back from the applet and saves it on the server using HTTPClient and FileUpload. That at least gives you

Re: web.xml help

2003-07-03 Thread Tim Funk
1) Its part of the Servlet API. - Not tomcat dependent 2) If you create an XML document that references a DTD - always verify your doc is valid against the DTD. -Tim J. W. Ballantine wrote: Thanks, Is there some place on the web that has this and like info? I've been scanning the xml

exporting certificate chain to tomcat

2003-07-03 Thread Mark W. Webb
I have been researching this issue for a few days, and have come to the conclusion that apache 2.0.46 is not exporting the entire certificate chain to tomcat when I use mutually authenticated SSL. I have tried different configurations, and also some cgi-type programs to determine whether or

Apache-SOAP/Tomcat Classpath problem

2003-07-03 Thread Brian Abbott
Hi, Im runing Tomcat 4.0.6. I have a web application running and Apache-SOAP installed. The web application is publishing methods to be accessed via soap-rpc. When the client code makes a call, the fault code is badTargetObjectURI. The problem is the classpath on Tomcat doesnt contain the

Problem

2003-07-03 Thread Waqas Asad
when i run a servlet from 'home/webapps/examples/servlet/xxx' the servlet gets executed in the browser. However i cant seem to execute it if i store in any oyher path '/home/webapps/myfolder/servlet/xxx'. So how can i execute servlet apart from examples or ROOT directory I am using tomcat

MYSQL JNDI and DBCP Solution

2003-07-03 Thread J. Carlos Tobar Cereijo
server.xml (context of the WebApp): Context className=org.apache.catalina.core.StandardContext cachingAllowed=true charsetMapperClass=org.apache.catalina.util.CharsetMapper cookies=true crossContext=true debug=0 docBase=c:\jakarta-tomcat- 4.1.24-LE-jdk14\webapps\hipertaboas

RE: New context

2003-07-03 Thread Atreya Basu
Okay, So I guess you tried to use the Embedded version of Tomcat. You should have a look at http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html That should explain well how to dynamically load a new context. The other option is if you have a Tomcat server running is to use the Manager

RE: Error to load servlets

2003-07-03 Thread Shapira, Yoav
Howdy You could add another servlet mapping for this servlet, with url-pattern /servler/package01.SCEP/* That might work. But that's very strange -- why is the router doing that? Yoav Shapira Millennium ChemInformatics -Original Message- From: Manuel Gil Pérez [mailto:[EMAIL

RE: Java Process Pool

2003-07-03 Thread Shapira, Yoav
Howdy, Do you know of an open-source implementation that does provide process pooling? (Synchronization alone isn't good enough in my case as I want to spread the work over multiple processors.) I personally don't. Most of the java developers I know balk enough at using Processes, they try to

RE: Problem

2003-07-03 Thread Shapira, Yoav
Howdy, However i cant seem to execute it if i store in any oyher path '/home/webapps/myfolder/servlet/xxx'. So how can i execute servlet apart from examples or ROOT directory By RTFMing. http://tomcatfaq.sourceforge.net/miscellaneous.html Yoav Shapira This e-mail, including any

RE: can not build jk or jk2

2003-07-03 Thread Marc Muncke
that's a good idea , but it did not work here: /home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 #./configure errors out with : configure: error: Cannot find any WebServer or : /home/mm/jakarta-tomcat-connectors-jk-1.2.4-src/jk/native #./configure file not found thank you Marc

Re: can not build jk or jk2

2003-07-03 Thread John Turner
Did you run buildconf.sh first? John On Thu, 3 Jul 2003 15:36:21 +0200, Marc Muncke [EMAIL PROTECTED] wrote: that's a good idea , but it did not work here: /home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 #./configure errors out with : configure: error: Cannot find any WebServer

Re: can not build jk or jk2

2003-07-03 Thread Eric J. Pinnell
HI, I'll field this again... I'm sure it's in the archives by now. And I only know about JK2. So... BUILD FAILED file:/home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/build.xml:11: Basedir /home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/util does not exist I don't use ant. I use the

Storing the SessionID in the Database.

2003-07-03 Thread Andoni
Hello, I want to store the Session ID in the database. Does anyone know what the smallest type I can use in Oracle is? What I mean is... Is the session Id always a 32 character string? Thanks. Andoni.

RE: Storing the SessionID in the Database.

2003-07-03 Thread Angus Mezick
You want to use a VARCHAR. This is because the jvmroute parameter will be appended to the sessionId. This is the suggested table structure for JdbcStore: create table tomcat_sessions ( session_id varchar(100) not null primary key, valid_session char(1) not null, max_inactive int

jspc ant task and merge web.xml

2003-07-03 Thread BOULAY Arnaud
Hi ! I want to do an automatic merge of newweb.xml file generated with jspc task with an existing web.xml. Thanks in advance. Regards, Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Storing the SessionID in the Database.

2003-07-03 Thread Andoni
I am only looking to know when a particular user clicks on Exit is that the same user that logged in, as in my app. many users use the same login ID and password. So I only want to store the session ID to compare with the ones created at login. Do I really need a varchar(100) to store the

RE: Error to load servlets

2003-07-03 Thread Manuel Gil Pérez
Hi Yoav. Thanks for your response... my servlet is executed correctly. Before, I had url-pattern/servlet/package01.SCEP/url-pattern and the servlet mapping was incorrect. That's very strange but CISCO's standard (SCEP protocol) defines this communication as: GET

RE: Storing the SessionID in the Database.

2003-07-03 Thread Shapira, Yoav
Howdy, Either varchar(100) or char(32) or pretty much any other choice is future to breakage in the future and non-portability. The servlet specification leaves it up to the container to choose the session ID string. What Mr. Mezick said about the jvmRoute being appended to the session ID is

Re: Storing the SessionID in the Database.

2003-07-03 Thread Andoni
Yes, the can. In fact I am using JSP so I can do session.getID() at anytime. But this does not help me as I want to know how long this session has been active. I want to be able to store the timestamp for when the session was invalidated by clicking exit so as to be able to calculate how long

RE: Storing the SessionID in the Database.

2003-07-03 Thread Shapira, Yoav
Howdy, Why not to this via a session listener? It's trivial. Keep a static map with the session Id (String, key) and creation time (long, value). Add a value in the sessionCreated event and remove the value, calculate delta in the sessionDestroyed event. That's so much cleaner than a

Finding exact Tomcat version

2003-07-03 Thread Jon Felmey
Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to

Re: can not build jk or jk2

2003-07-03 Thread Marc Muncke
done, thank you Quoting Eric J. Pinnell [EMAIL PROTECTED]: HI, I'll field this again... I'm sure it's in the archives by now. And I only know about JK2. So... BUILD FAILED file:/home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/build.xml:11: Basedir

The Document contains no data error

2003-07-03 Thread R.U. Spell
I am having trouble with a servlet in Netscape v 4.76. I am running Red Hat Linux 7.2. The servlet (code included below) calls another class that generates a JPG and outputs it to a file. A link to the temporary image file is supposed to be displayed on the page, but instead I get a pop-up

RE: Finding exact Tomcat version

2003-07-03 Thread Shapira, Yoav
http://tomcatfaq.sourceforge.net/miscellaneous.html -Original Message- From: Jon Felmey [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:31 AM To: [EMAIL PROTECTED] Subject: Finding exact Tomcat version Hi, I am creating an install file using InstallAnywhere. Our program

Tomcat security?

2003-07-03 Thread Eugene Lee
Anyone want to discuss hardening Tomcat servers? Hacking Contest Threatens Web Sites By George V. Hulme, InformationWeek Updated Wednesday, July 2, 2003, 3:00 PM EDT A hacking contest slated for this weekend could produce a rash of Web-site defacements

Re: Finding exact Tomcat version

2003-07-03 Thread Tim Funk
One way: In a properties file: org.apache.catalina.util.ServerInfo.properties propertyname: server.info -Tim Jon Felmey wrote: Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as

reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread harpreet kapur
sir/mam i have tried to install tomcat on windows 98 several times and tht mens several timesss actuallly 20 times but i am not able to install it pl cld u see the error its giving on startup command i ran on command mode and let me know wht RE CHANGES REQUIRED IF ANY??pl help

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Atreya Basu
I don't think that the current version of Tomcat works with any JDK less than 1.4. So you may want to get the latest JDK (1.4.2 is the latest I believe). Give that a try first and then before you start tomcat check that the environment variables are indeed set properly with 'set'. That will

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Shapira, Yoav
Howdy, Don't use JDK 1.2, use JDK 1.3 or later. Set JAVA_HOME via the environment tab in My Computer. Yoav Shapira Millennium ChemInformatics -Original Message- From: harpreet kapur [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: reply

Re: Tomcat security?

2003-07-03 Thread Tim Funk
July 6th, turn your server off. July 7th, turn it back on. Problem solved ;) -Tim Eugene Lee wrote: Anyone want to discuss hardening Tomcat servers? Hacking Contest Threatens Web Sites By George V. Hulme, InformationWeek Updated Wednesday, July 2, 2003, 3:00 PM EDT A

Re: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Ben Souther
If you have no experience with Java and none of your acquaintances do either, I would strongly suggest getting a book doing some reading before start. Tomcat Kickstart by Sam's publishing is a great one to start with. I also recommend Core Servlets and Java Server Pages You can download this one

Apache Webserver and Tomcat: encoding problem with UTF-8

2003-07-03 Thread Gregor Kappler
Hi, I have the following problem with mod_jk on apache 1.3.26 (SLES8): we have a Tomcat 3.3.1a, and changed the default request charset (ISO 8859-1) to utf-8 via DecodeInterceptor defaultEncoding=UTF-8/in server.xml. The generated HTML always has UTF-8 encoding. As long we work with tomcat

RE: Finding exact Tomcat version

2003-07-03 Thread Mike Curwen
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 10:50 AM To: Tomcat Users List Subject: RE: Finding exact Tomcat version http://tomcatfaq.sourceforge.net/miscellaneous.html That won't help, since the Installer needs to know,

Re: Tomcat security?

2003-07-03 Thread Nathan McMinn
When was the last time Tomcat had a published exploit? On a related note, these kind of contests are fairly common, and usually don't produce any kind of real activity. --Nathan - Original Message - From: Eugene Lee [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Shapira, Yoav
Howdy, From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 12:01 PM To: 'Tomcat Users List' Subject: RE: reply urgently tomcat installation query !!! I don't think that the current version of Tomcat works with any JDK less than 1.4. That's wrong. Yoav Shapira This

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Eric J. Pinnell
Hi, This is off topic but does tomcat/JDK even work on windows 98? -e On Thu, 3 Jul 2003, Shapira, Yoav wrote: Howdy, Don't use JDK 1.2, use JDK 1.3 or later. Set JAVA_HOME via the environment tab in My Computer. Yoav Shapira Millennium ChemInformatics -Original Message-

Re: Finding exact Tomcat version

2003-07-03 Thread Jon Felmey
Tim, Thanks for your help. One more question. Is there any way to get the version from the command line? Thanks, Jon From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Finding exact Tomcat version Date: Thu, 03

Re: Tomcat security?

2003-07-03 Thread John Turner
http://www.amazon.com/exec/obidos/tg/detail/-/1861008309/ If you're just worrying about it now, its probably too late. John On Thu, 3 Jul 2003 10:51:52 -0500, Eugene Lee [EMAIL PROTECTED] wrote: Anyone want to discuss hardening Tomcat servers? Hacking Contest Threatens Web Sites By

Re: Tomcat security?

2003-07-03 Thread John Turner
AFAIK, November 2002. John On Thu, 3 Jul 2003 11:14:26 -0500, Nathan McMinn [EMAIL PROTECTED] wrote: When was the last time Tomcat had a published exploit? On a related note, these kind of contests are fairly common, and usually don't produce any kind of real activity. --Nathan -

Re: Storing the SessionID in the Database.

2003-07-03 Thread Andoni
That is fine for monitoring who or how many are online now but it is no use for long-term statistics calculation. I want to be able to graph the changes in times spent on the site over the past week / month / year. For that I think I will need a DB approach?? Andoni. - Original Message

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Bodycombe, Andrew
Yes. -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: 03 July 2003 17:08 To: Tomcat Users List Subject: RE: reply urgently tomcat installation query !!! Hi, This is off topic but does tomcat/JDK even work on windows 98? -e On Thu, 3 Jul 2003, Shapira,

RE: Storing the SessionID in the Database.

2003-07-03 Thread Shapira, Yoav
Howdy, That is fine for monitoring who or how many are online now but it is no use for long-term statistics calculation. I want to be able to graph the changes in times spent on the site over the past week / month / year. For that I think I will need a DB approach?? You could... Or you could

Re: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Andoni
Definitely wrong!! I'd worry about setting JAVA_HOME and not worry about JDK versions for now. have you tried running the command at the dos prompt just before running startup thus: c:\set java_home=c:\jdk1.2 c:\startup you can run startup from anywhere if the c:\tomcat\bin directory is in you

Re: Storing the SessionID in the Database.

2003-07-03 Thread John Turner
I think Yoav's point was that once you had your calculation (total time on site), you could update a database with the information when the session was over. Yes, it still uses a DB, but only for long-term storage and querying, which is typically what DBs are for. John On Thu, 3 Jul 2003

Re: Finding exact Tomcat version

2003-07-03 Thread Tim Funk
1) Extract file: jar xf ???/catalina.jar org/apache/catalina/util/ServerInfo.properties 2) Use you favorite file parsing thingy (grep, perl, awk, c, ??) to parse ServerInfo.properties OR Write a simple java program and have catalina.jar in your classpath: main(...) { String version =

Re: Tomcat security?

2003-07-03 Thread Nathan McMinn
Any idea what it was and/or what versions it affected? - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:13 AM Subject: Re: Tomcat security? AFAIK, November 2002. John On Thu, 3 Jul 2003 11:14:26

Re: Tomcat security?

2003-07-03 Thread John Turner
The Invoker servlet source code vulnerability: http://www.securityfocus.com/bid/5786 John On Thu, 3 Jul 2003 12:04:57 -0500, Nathan McMinn [EMAIL PROTECTED] wrote: Any idea what it was and/or what versions it affected? - Original Message - From: John Turner tomcat- [EMAIL PROTECTED]

Re: jspc ant task and merge web.xml

2003-07-03 Thread Elisabeth Rotbach
To merge several xml, I use : xmltask from http://www.oopsconsultancy.com. EJL Toulouse From: BOULAY Arnaud [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: jspc ant task and merge web.xml Date: Thu, 03 Jul 2003 16:33:30 +0200 Hi ! I want to do an

problem with JDBCStore

2003-07-03 Thread Stephan Hintzen
Hi! I'm trying to use JDBCStore with mySQL under Win98. It looks like Tomcat can connect to the database I get to see the created process in the Process list in the WinMySQLadmin-Programm, but no entries are sent to the database. Instead I get the following Exception: l ocalhost_log.txt:

RE: problem with JDBCStore

2003-07-03 Thread Shapira, Yoav
Howdy, First suggestion is to start with tomcat-standalone for now. Don't use apache and a connector, just tomcat-standalone, as we further debug this. You can add apache back later (assuming it's not the cause of the problem). Yoav Shapira Millennium ChemInformatics -Original

Re: problem with JDBCStore

2003-07-03 Thread Stephan Hintzen
Thanks for the quick reply! Since I'm new to tomcat I've got a question: How do I only start tomcat-standalone? I get the following message at starting tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Starting service Tomcat-Apache Apache Tomcat/4.0.1 in which file do I specify

off-topic: session cookie question

2003-07-03 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, just a simple question: Does session cookie genarates browser's cookie, automatically? Thanks in advance, Euclides. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat security?

2003-07-03 Thread Mark W. Webb
I can't believe that passwords for SSL are stored in the clear. That places all responsibility of security to the OS, which may not be a good idea. What happened to defense-in-depth ?? Nathan McMinn wrote: When was the last time Tomcat had a published exploit? On a related note, these kind

Re: off-topic: session cookie question

2003-07-03 Thread Jens Skripczynski
Jose Euclides da Silva Junior - DATAPREVRJ: Hi guys, just a simple question: Does session cookie genarates browser's cookie, automatically? I do not fully understand you question. Do you mean, does a coockie sent by some html server generate a coockie on the client side ? This may not always

Re: Tomcat security?

2003-07-03 Thread Nathan McMinn
What do you mean stored in the clear? Are you referring to tomcat-users.xml? Personally, I use a MySQL database to hold auth information for a JDBC Realm, and store them digested. As an additional layer of security, the user account that is used to access the DB for the realm is only granted

Re: jspc ant task and merge web.xml

2003-07-03 Thread Liem Do
You could also use the style task to do this. == START EXAMPLE == == build.xml == xmlcatalog id=commondtds dtd publicId=-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN location=${src}/conf/web-app_2_3.dtd/ /xmlcatalog target name=jspc .. your jspc

Session Object added through Listener missing on tomcat restart

2003-07-03 Thread Raiden
Hello, Thanks to the kind help of this group, I am now synchronizing against double clicks using a session-based lock object added through an HttpSessionListener. However, when I restart tomcat, sessions are reloaded, but these objects are lost. In fact, anything I added to the session outside

Integration problems: tomcat 4.1, apache 1.3.x mod_jk (ajp13)

2003-07-03 Thread sander-martijn
Hi, I'm trying to integrate apache and tomcat on our new production server. I'm having a problem which appears to be related to tomcat dropping connections without apache realizing it or vice versa. Every so many requests (sometimes 2, sometimes 20) I get an internal server error, after

Basic Authentication and eternal 403

2003-07-03 Thread Paul Smith
Using tomcat 4.1.24, it appears that if using Basic authentication and a user enters a valid username but an invalid password, access to the restricted page is forbidden from then on (403 error code is returned all the time). User is never given a second chance at typing the username and

RES: off-topic: session cookie question

2003-07-03 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I mean if any servlet create a cookie object, it will be created a cookie on the user browser, which called the servlet ( of course). Thanks again, Euclides. -Mensagem original- De: Jens Skripczynski [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 3 de julho de 2003 16:00 Para:

Re: Tomcat security?

2003-07-03 Thread Ben Ricker
Plus, if one runs as a non-priviledged user account with no login privileges (i.e., locked account) and your permissions are correct, then only root and Tomcat can read the users file. If the hacker has root, the tomcat users are the least of your worries. Ben Ricker Wellinx.com On Thu,

TomCat did not run correctly

2003-07-03 Thread Jason H. Lee
** Proprietary ** Hi, I downloaded and installed Apache Tomcat/4.1.24. After installation, I tried the first run of my TomCat Server, and I got the following error messages. I am using Windows 2000 Server, and did not install Apache http Server (only install TomCat I downloaded with COMPLETE

problem with getQueryString

2003-07-03 Thread Sumit Mittal
Hi, I am using Tomcat version 4.1.24 and j2ee version 1.3.1 for running servlets. However, the methong getQueryString returns a null, even when the parameters are not null. Any suggestions/ideas would be highly helpful. Regards, Sumit __ Do you Yahoo!? SBC

RE: problem with getQueryString

2003-07-03 Thread Mike Curwen
If you post to the servlet, getQueryString() should return null. But if your request looks like: http://localhost:8080/myapp/myservlet?foo=bar then getQueryString() should return foo=bar Which case is it? -Original Message- From: Sumit Mittal [mailto:[EMAIL PROTECTED] Sent:

off-topic: please, help needed with cookie question

2003-07-03 Thread Jose Euclides da Silva Junior - DATAPREVRJ
My question is: if any servlet generate a cookie object ( during http connection, of course ), so it will always store this cookie on the client side ( the user' browser) , which called the servlet ( of course). Is it right? If yes, what happens if the browser doesnt accept cookies? Thanks ,

Re: Session Object added through Listener missing on tomcat restart

2003-07-03 Thread Tim Funk
What if you change new Object() to new String() -Tim Raiden wrote: Hello, Thanks to the kind help of this group, I am now synchronizing against double clicks using a session-based lock object added through an HttpSessionListener. However, when I restart tomcat, sessions are reloaded, but these

Re: TomCat did not run correctly

2003-07-03 Thread Tim Funk
First, see the FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#compile -Tim Jason H. Lee wrote: ** Proprietary ** Hi, I downloaded and installed Apache Tomcat/4.1.24. After installation, I tried the first run of my TomCat Server, and I got the following error messages. I am using

RE: off-topic: please, help needed with cookie question

2003-07-03 Thread Brett Neumeier
Jose Euclides da Silva Junior wrote: if any servlet generate a cookie object ( during http connection, of course), so it will always store this cookie on the client side ( the user' browser) , which called the servlet ( of course). Is it right? If yes, what happens if the browser doesnt

Re: Session Object added through Listener missing on tomcat restart

2003-07-03 Thread Raiden
Hello Tim, Thanks for the tip... it worked! Upon futher investigation, it appears that java.lang.Object is not serializable, because that would lend to all objects being inherently serializable. -Raiden On Thu, 3 Jul 2003, Tim Funk wrote: What if you change new Object() to new String()

tomcat/apache systems consultant available now?

2003-07-03 Thread sander-martijn
hi - sorry for posting this but i'm not sure what else to do at this point. i'm desparately seeking help with the issue i posted earlier on this list under the subject Integration problems: tomcat 4.1, apache 1.3.x mod_jk (ajp13). since i haven't received a response and am really stuck until

RES: off-topic: please, help needed with cookie question

2003-07-03 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Thanks for your reply! My question regards on best practices on user authentication management. So, cookies is really the best choice, since my application offers authentication/authorization service, isnt it? Thanks again, Euclides. -Mensagem original- De: Brett Neumeier

Re: RES: off-topic: please, help needed with cookie question

2003-07-03 Thread Raiden
On Thu, 3 Jul 2003, Jose Euclides da Silva Junior - DATAPREVRJ wrote: Thanks for your reply! My question regards on best practices on user authentication management. So, cookies is really the best choice, since my application offers authentication/authorization service, isnt it? Thanks

RES: RES: off-topic: please, help needed with cookie question

2003-07-03 Thread Jose Euclides da Silva Junior - DATAPREVRJ
And, what do you think about SSL V3? Does it use cookie? -Mensagem original- De: Raiden [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 3 de julho de 2003 19:30 Para: Tomcat Users List Assunto: Re: RES: off-topic: please, help needed with cookie question On Thu, 3 Jul 2003, Jose

default.jsp from Windows XP + Apache 2.0.46+ JK + Tomcat4.1.18

2003-07-03 Thread Andrzej
How can I put index.jsp as my default page, after I write myadress-domain.com? In httpd.conf for apache I must write DocumentRoot as a directory, but not as a myadress-domain.com address, because apache can't read it. Andrzej.

  1   2   >