Re: Compensating for applet security restrictions

2003-07-03 Thread Susan Hoddinott
Hello, I have thought about signing but unfortunately I have many of these files which can be automatically created by users and therefore I cannot expect them to have CA. Can you give an example as to how deployment of the program as a Java Application would differ as effectively this is what I

TomCat and EJBs in WebSphere

2003-07-03 Thread brainSucka
Hi Guys! Im trying to use my TomCat as EJB-Client and reach WebSphere5 EJBs. (This is necessary for a special scenario i try to access). To reach WebSphere-JNDI-Namespace with a Client, one has to use the "launchClient.bat" that is shipped with WebSphere. This batch sets several properties, uses

Re: Tomcat security?

2003-07-03 Thread Bill Barker
There is a plugin for TC 3.3.x to force prompting for the keystore password. Largely due to lack of user interest, nobody has really tried porting it to TC 4.x-5.x. "Mark W. Webb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I can't believe that passwords for SSL are stored in the

Tomcat-Apache JSP compile error

2003-07-03 Thread Atreya Basu
Hello, I'm having a problem compiling JSPs dynamically when using mod_jk2. When I change a JSP file and try to access it I get the following error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error:

Re: exporting certificate chain to tomcat

2003-07-03 Thread Bill Barker
At the moment, mod_jk only sends the top-level cert to Tomcat. The reasons are largely historical: mod_jk was originally developed for Tomcat 3.x, and the 2.2 Servlet spec only allows exposing the top-level cert. Apache has already validated the chain by the time it gets to mod_jk, so this isn't

Re: running tomcat on port 80 instead of port 8080

2003-07-03 Thread Georges Roux
On Linux to run Tomcat Standalone on port 80, without using ROOT permissions(simple user) U can use iptables to redirect 8080 to 80 and 8443 to 443. without iptables, apache can do the job as necessary, but iptables is very simple. Georges Tom Parker a écrit : On Fri, 2003-07-04 at 13:16, Nei

Re: running tomcat on port 80 instead of port 8080

2003-07-03 Thread Tom Parker
On Fri, 2003-07-04 at 13:16, Neil Zanella wrote: > Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather > than on port 8080? I guess all I have to do is change > $CATALINA_HOME/conf/server.xml so that instead of: ... Yes, that should work. However if you are running on lin

Re: running tomcat on port 80 instead of port 8080

2003-07-03 Thread Tim Funk
Try it and see what happens. (meaning yes, that should work) -Tim Neil Zanella wrote: Hello, Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather than on port 8080? I guess all I have to do is change $CATALINA_HOME/conf/server.xml so that instead of: the followi

running tomcat on port 80 instead of port 8080

2003-07-03 Thread Neil Zanella
Hello, Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather than on port 8080? I guess all I have to do is change $CATALINA_HOME/conf/server.xml so that instead of:

Re: tomcat/apache systems consultant available now?

2003-07-03 Thread David Rees
David Rees said: > sander-martijn said: >> >> 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

Re: tomcat/apache systems consultant available now?

2003-07-03 Thread David Rees
sander-martijn said: > > 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 respons

RE: Tomcat Connector for IIS Binary

2003-07-03 Thread Joe & Kelli Mihalich
Hi, I found it, nevermind. I guess the connectors were moved to the JK Directory structure. Joe > -Original Message- > From: Joe & Kelli Mihalich [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 03, 2003 5:40 PM > To: [EMAIL PROTECTED] > Subject: Tomcat Connector for IIS Binary > > >

Tomcat Connector for IIS Binary

2003-07-03 Thread Joe & Kelli Mihalich
Hi, Sorry for this semi-newbie question, but can someone please point me To the URL where the tomcat connector binary distribution is? All the docs I've read said it should be in: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/releas

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.

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 Eucl

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: 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 [mailto:[EMAIL

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 unti

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() >

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 > doesn

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 Windows

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

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 , Eucl

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: T

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 Yahoo!

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 o

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, 2003-07

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: '[EMAI

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 password.

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 whic

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

Re: jspc ant task and merge web.xml

2003-07-03 Thread Liem Do
You could also use the task to do this. == START EXAMPLE == == build.xml == <..

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 r

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 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 o

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: 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 that

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 Message---

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: 2003-07

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

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" To: "Tomcat Users List

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 20

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 = org.apac

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 17:2

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 yo

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 cou

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, Yoav

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: 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 - Or

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 B

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: T

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 Messag

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

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: 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

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 in server.xml. The generated HTML always has UTF-8 encoding. As long we work with tomcat alone, everything works fine: When we get the

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 o

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 h

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: rep

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 list

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 m

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 4.

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 wor

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 progra

"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 displ

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 /home/mm/jakarta-

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 dete

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 DB-oriente

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, 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 tru

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 /servlet/package01.SCEP and the servlet mapping was incorrect. That's very strange but CISCO's standard (SCEP protocol) defines this communication as: GET /cgi-bin/pkiclient.exe?operation=PKIOperation&mess

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 sessi

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 task with an existing web.xml. Thanks in advance. Regards, Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

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 not

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: 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

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 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 Quot

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 attachme

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

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 PROTEC

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 Appl

MYSQL JNDI and DBCP Solution

2003-07-03 Thread J. Carlos Tobar Cereijo
server.xml (context of the WebApp): factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:mysql://PC-JUANT.IGE.ES:3306/tablascubos? autoReconnect=true

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 serv

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 cla

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 no

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 tutorials

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 rudimen

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 w

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: 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: 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: 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 b

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 whe

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: 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

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 t

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 colu

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 Inc

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 file:/home/mm/jakarta-tomcat-connectors

  1   2   >