Tomcat Proxy Connector

2003-07-01 Thread Bishop, Cass
I'm having a problem with my Apache 2.0/Tomcat 4.1 system. Our developer needs to use the Proxy setup contained in this how-to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html Here is the Proxy Connector section from my server.xml: Connector

RE: servlets fail on me

2003-07-01 Thread Chen, Yi
I had the same problem yesterday and other Tomcatters helped me out. Add this web.xml to your application WEB-INF directory. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;

Re: error running javac.exe

2003-07-01 Thread Nathan McMinn
Doing some digging, I came up with a thread on a resin mailing list that details problems that can occur when the classpath is too long. It appears that this is the case here. Notice below that the classpath is truncated. Now the question is, does anyone know a workaround for this? Caused by:

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread John Turner
I could be wrong...it was my understanding that JK2 was only supported by CoyoteConnector. Since both, I believe, use the AJP13 protocol, I guess its possible that Ajp13Connector could/would/might work. I know more about what DOES work than what DOESN'T work. ;) In any case, my point

Help!

2003-07-01 Thread Pitre, Russell
I'm running TC 4.1.24/ J2SDK 1.4 on Win2k Pro workstationI've created a simple webapp to test form-based authentication against Active Directory...I've had absolutely no luck...Has anyone had any luck with this? Any information would be greatly appreciated...code snippets? I

Re: servlets fail on me

2003-07-01 Thread John Turner
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#invoker In short, you can't just drop a servlet into a directory and call it, unless its in the /examples web application. John On Tue, 1 Jul 2003 11:21:50 -0700 (PDT), R. J. [EMAIL PROTECTED] wrote: I just downloaded Tomcat Windows 4.1.24

Re: SSL through IIS to call the Tomcat - problem with isapi_rediect.d ll

2003-07-01 Thread John Turner
I say your problems are caused by sun spots. John On Tue, 1 Jul 2003 13:12:31 -0400, Kannan Sundararajan [EMAIL PROTECTED] wrote: All, Can't use SSL through IIS to call the Tomcat ( crystal reports DLL ) because of problems in the isapi_redirect.dll. Any idea ? Thanks in advance, Kannan

RE: SSL through IIS to call the Tomcat - problem with isapi_rediect.d ll

2003-07-01 Thread Kannan Sundararajan
Is there any remedy? :) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:08 PM To: Tomcat Users List Subject: Re: SSL through IIS to call the Tomcat - problem with isapi_rediect.d ll I say your problems are caused by sun spots. John On

Re: SSL through IIS to call the Tomcat - problem with isapi_redie ct.d ll

2003-07-01 Thread John Turner
No, unless you care to be more specific than can't use because of problems in isapi_redirect.dll. John On Tue, 1 Jul 2003 15:21:07 -0400, Kannan Sundararajan [EMAIL PROTECTED] wrote: Is there any remedy? :) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Help!

2003-07-01 Thread Shapira, Yoav
Howdy, Did you by any chance search this list's archives before posting? A more descriptive subject would also likely net more responses ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:06 PM

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
I could be wrong...it was my understanding that JK2 was only supported by CoyoteConnector. Since both, I believe, use the AJP13 protocol, I guess its possible that Ajp13Connector could/would/might work. I know more about what DOES work than what DOESN'T work. ;) It works *sorta*. It

Wierd Tomcat Problem

2003-07-01 Thread Nathan Ewing
Hi, I'm trying to fix this wierd problem with tomcat and the jstl. Here is what I'm doing: I created a servlet that forwards to a jsp. Inside the jsp I put the line %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % (actually its in an %@ include % file inside the jsp). When I try to

Insufficient quota

2003-07-01 Thread Reis, Tom
I intermittently receive the following error: javax.servlet.ServletException: Read error 1453, Insufficient quota to complete the requested service. Are there any parameters to set for this problem? - To unsubscribe,

RE: Wierd Tomcat Problem

2003-07-01 Thread Shapira, Yoav
Howdy, What happens if you define the JSTL core taglib in your web.xml so that you can match the uri in your JSP with the one in web.xml (and the uri in your JSP is therefore not absolute)? Yoav Shapira Millennium ChemInformatics -Original Message- From: Nathan Ewing [mailto:[EMAIL

RE: How to configure TomCat4 for web applications?

2003-07-01 Thread Chen, Yi
Hi, John: I checked the class loader document online and I moved all my jar files to the WEB-INF/lib under my web application folder. I got all the jar files from someone else and it has a server.jar in it, (there is also one in commons\lib). Then I renamed the servelet.jar inside

Retrieving session by the ID

2003-07-01 Thread Simha, Kailas
How can I load the session, retrieving it from a db upon request by the client? Thanks, Kailas -- Notice: This e-mail message, together with any attachments, contains information of Merck Co., Inc. (Whitehouse Station,

RE: How to configure TomCat4 for web applications?

2003-07-01 Thread Shapira, Yoav
Howdy, Don't just rename the servlet.jar, remove it. You can't have multiple copies of these classes (no matter what the jar is named) in the runtime classpath. What errors are in your tomcat logs after you do the above and restart your server? Yoav Shapira Millennium ChemInformatics

RE: SSL through IIS to call the Tomcat - problem with isapi_redie ct.d ll

2003-07-01 Thread Kannan Sundararajan
well, scenario is like this. Server 1 [s1] : IIS with isapi_redirector.dll Server 2 [s2] : IIS - SSL with isapi_redirector.dll ( SSL ) Server 3 [s3] : Tomcat Server , Crystal Reports Test-A: s1 connects to s3. The application works fine with crystal reports. Test-B: s2 connects to s3. The

Re: Tomcat and Linux

2003-07-01 Thread Gerald Henriksen
On Mon, 30 Jun 2003 12:55:15 -0700, you wrote: Are you sure rc5.d is your startup level? Mine starts in rc3.d, but I am running RH Linux 8.0. Just a thought. rc3.d is boot into text mode, rc5.d boots into X - To

Bean reset attributes

2003-07-01 Thread Delio Dirazar
Hi: I have a problem with a bean in a .jsp I get the error javax.servlet.ServletException: Property serviciosIntermedias returned a null value. The error appear in the second time I access the page. I don't reset explicitly the bean. This error not always occurs and it happens when I

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread John Turner
Cool, thanks for the confirmation. John On Tue, 1 Jul 2003 15:40:37 -0400 (EDT), Eric J. Pinnell [EMAIL PROTECTED] wrote: I could be wrong...it was my understanding that JK2 was only supported by CoyoteConnector. Since both, I believe, use the AJP13 protocol, I guess its possible that

Servlets/JSP crash, static content manager app OK

2003-07-01 Thread Roman Fail
This is one for those who understand the internal separation of powers in Tomcat. I have several webapps running in production with Standalone Tomcat 4.1.24, RedHat Linux 8.0 (2.4.18 kernel), Sun JDK 1.4.1_02 HotSpot client. The min/max heap is 1GB, physical RAM is 2GB, dual P3 processors.

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Stefan Radzom
For security reasons your are not handed the internal org.apache.catalina.session.StandardSession . Instead, the implicit session you are trying to synchronize holds a reference to org.apache.catalina.session.StandardSessionFacade which is backed by the actual StandardSession to which all method

RE: Servlets/JSP crash, static content manager app OK

2003-07-01 Thread Shapira, Yoav
Howdy, The problem: periodically Tomcat stops serving up servlets and JSP from my webapps. However, the manager webapp and static pages continue to be served normally. If I click 'stop' for any of my webapps from the manager app, the page load just hangs forever. If you refresh the manager,

Re: How to configure TomCat4 for web applications?

2003-07-01 Thread John Turner
Multiple copies of servlet.jar where Tomcat can find them is bad. Big bad. Take the JAR file that you have from the third party, expand it out, get rid of their version of servlet.jar, and make a new JAR file without their servlet.jar in it. Then stop Tomcat, clear everything out of the work

Wierd Tomcat Problem

2003-07-01 Thread Nathan Ewing
Attached is a demonstration application for my problem. You will have to include standard.jar for it to work because it wouldn't let me post to the list with that file included (too big). Just run apptest/main2 to see the problem. Here is the description again: --

RE: Wierd Tomcat Problem

2003-07-01 Thread Nathan Ewing
Doesn't seem to make any difference whether I define it in the web.xml. Nathan --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, What happens if you define the JSTL core taglib in your web.xml so that you can match the uri in your JSP with the one in web.xml (and the uri in your JSP is

Executing external programs

2003-07-01 Thread James Michelich
If anyone could help me with this problem I'd be grateful. Here's some of my system info, etc.: Windows XP Pro IIS 5.1 Tomcat 4.1.24 I'm also running Tomcat as a service via JavaService. The problem is this - my web application requires the use of external programs, which I execute by

Running a class on startup - java newbie....

2003-07-01 Thread Ciramella, EJ
I'm working on jsp based registration system where after submitting the registration form, the application then inserts a row in a table that contains the date it was created as well as an ID. What I'd like to do is have something running that sleeps for 5 minutes at a time and then checks to see

RE: Executing external programs

2003-07-01 Thread Lopez David E-r9374c
James I sounds like your program requires environment vars or class paths not available when you log off. This has happened to me executing programs from a cron job. David -Original Message- From: James Michelich [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 1:37 PM To:

Re: Executing external programs

2003-07-01 Thread John Turner
Permissions or user account. You'll have to determine which user account Tomcat is using, and whether that user account has suitable permissions to run something when no user is logged on (I think this has something to do with the Interact with Desktop setting when setting up services but I am

Re: Insufficient quota

2003-07-01 Thread Tim Funk
Looks like your userid is out of disk space (quota) on a *nix system. -Tim Reis, Tom wrote: I intermittently receive the following error: javax.servlet.ServletException: Read error 1453, Insufficient quota to complete the requested service. Are there any parameters to set for this problem?

Re: Retrieving session by the ID

2003-07-01 Thread Tim Funk
You can get your sessionid by looking at the methods contained in the HttpServletRequest class. -Tim Simha, Kailas wrote: How can I load the session, retrieving it from a db upon request by the client? Thanks, Kailas - To

Adding security to a single webapp

2003-07-01 Thread Jeremy Nix
Can somebody point me to a guide that has a good example on adding SSL to a webapp (or possible a few), but not allowing other webapps to be accessed via port 80 (unsecure port)? _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 621-6699

Re: tomcat-user Digest 1 Jul 2003 20:23:51 -0000 Issue 3015

2003-07-01 Thread Geralyn M Hollerman
Eric J. Pinnell wrote: I could be wrong...it was my understanding that JK2 was only supported by CoyoteConnector. Since both, I believe, use the AJP13 protocol, I guess its possible that Ajp13Connector could/would/might work. I know more about what DOES work than what DOESN'T work. ;)

RE: Retrieving session by the ID

2003-07-01 Thread Angus Mezick
Simha, There are some issues with this. I am currently trying to implement a jdbcsessionmanager and am constantly hitting road blocks. I created my own JdbcSession object and then found out that while HttpRequestBase gets the session from the manager, it does not ask for the façade from the

RE: Retrieving session by the ID

2003-07-01 Thread Simha, Kailas
Tim, Thanks. I should have clarified this earlier. But here is the exact scenario: 1. The session is created by JVM1, which crashes later. The session is stored in the DB every 30 secs from the memory by a background thread. 2. The load balancer sends the next client request to another JVM in the

RE: Insufficient quota

2003-07-01 Thread Reis, Tom
What can be done about it? Thanks. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:50 PM To: Tomcat Users List Subject: Re: Insufficient quota Looks like your userid is out of disk space (quota) on a *nix system. -Tim Reis, Tom wrote:

RE: Retrieving session by the ID

2003-07-01 Thread Angus Mezick
You could create your own session manager to do this. Check out the files in C:\ApacheGroup\Tomcat4.1\src\catalina\src\share\org\apache\catalina\sess ion The findSession method in PersistantSessionManagerBase should help you get started. --Angus -Original Message- From: Simha, Kailas

Re: tomcat-user Digest 1 Jul 2003 20:23:51 -0000 Issue 3015

2003-07-01 Thread Eric J. Pinnell
Freakish things once in while? Weird stuff? Sounds like what's happening to us...this is with TC 4.0.4 that I have Ajp13Connector with JK2 - I also have a TC 4.1.24 with CoyoteConnector/JK2 running in test and would like to move to that one. Do you have any strange error messages showing up

RE: Insufficient quota

2003-07-01 Thread Angus Mezick
Contact your system admin. They should beable to help. --Angus -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 5:07 PM To: 'Tomcat Users List' Subject: RE: Insufficient quota What can be done about it? Thanks. -Original

PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread James Courtney
I'm trying again as no one responded to my first email. We REALLY need to resolve this issue. Thanks! We recently upgraded our production systems to Tomcat 4.1.24 and Apache 2.0.45 from 3.2.2 and 1.3.19 respectively and have noticed a VERY pleasing increase in performance and over an 80%

Re: Insufficient quota

2003-07-01 Thread John Turner
- ask your sys-admin to increase (or remove) the quota - figure out what is taking up the disk space (runaway log file perhaps?) and delete it John On Tue, 1 Jul 2003 16:06:55 -0500, Reis, Tom [EMAIL PROTECTED] wrote: What can be done about it? Thanks. -Original Message- From: Tim

RE: Running a class on startup - java newbie....

2003-07-01 Thread Ciramella, EJ
Am I missing the boat here? Is there no good way to do this? If there is a particular methodology, please enlighten me. -Original Message- From: Ciramella, EJ Sent: Tuesday, July 01, 2003 4:38 PM To: '[EMAIL PROTECTED]' Subject: Running a class on startup - java newbie I'm

Re: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread Eric J. Pinnell
Your workers2.properties looks a little off. I don't know if this is the root of your problem but it should look more like: [shm] file=${serverRoot}/logs/shm.file size=1048576 [lb:lb_01] info=Default load balancer. debug=0 # Example socket channel, override port and host.

Re: Running a class on startup - java newbie....

2003-07-01 Thread Andre D Bonner
On 7/1/03 5:27 PM, Ciramella, EJ [EMAIL PROTECTED] wrote: Am I missing the boat here? Is there no good way to do this? If there is a particular methodology, please enlighten me. -Original Message- From: Ciramella, EJ Sent: Tuesday, July 01, 2003 4:38 PM To: '[EMAIL PROTECTED]'

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread James Courtney
Thanks Eric. I'm still puzzled though. I don't really see any difference in what you're doing vs. what I'm doing. I explicitly specify host and port for the channel sockets and I explicitly define the workers but that's shouldn't make any difference should it? Is there anything in

Re: Running a class on startup - java newbie....

2003-07-01 Thread Andre D Bonner
What I'd like to do is have something running that sleeps for 5 minutes at a time and then checks to see if 24 hours have passed since the row was inserted (and if so, delete it). Is there a way to start up a class with my web app? Looks like good old Thread based timer It is a thread

RE: How to synchronize based on session? (Prevent multiple submissionsof forms)

2003-07-01 Thread Raiden
Hi Stefan, Thanks for the explanation. That makes sense, except how can you make sure that the object is added to the session only once, when the session is created? It would seem like you would need to synchronize on something else for adding the object to the session, because there might be a

mod_jk and Coyote connector

2003-07-01 Thread James Courtney
Not that I've had any luck getting mod_jk to work with either the legacy Ajp13Connector or the CoyoteConnector but which one should be used? I know that the CoyoteConnector is required for mod_jk2 and I've had that working (mostly, occasional lapses in communication, see other messages to user

RE: How to synchronize based on session? (Prevent multiple submissionsof forms)

2003-07-01 Thread Raiden
Here's a thread that's discussing the same problem. Though it's referring to the use made in the Struts code, and I'm just talking about a small synchronize call, it's essentially the same issue. If the best way is to synchronize on an object that's in the session, how do you properly get that

RE: Using a custom class loader to load webapp classes

2003-07-01 Thread joe user
Thanks for the info on this. I will give it a try and let the list know how it went. I looked at the WebappClassLoader.java file and it is fairly complicated (2000 lines of code). It looks like the WebappLoader can _only_ use loaders which are a subclass of WebappClassLoader, not more general

RE: Running a class on startup - java newbie....

2003-07-01 Thread Ciramella, EJ
Yeah, but the more and more I ask the more I hear that generating threads is a no-no. But that's exactly what I was thinking. I want the class to launch when this particular webapp is started and die when the webapp (or tomcat) is shut down. And it should run every five minutes or so. I have

RE: Running a class on startup - java newbie....

2003-07-01 Thread James Courtney
EJ, You can create an initialization servlet that get's loaded at startup of your webapp. This servlet could create a thread that does what Andre suggests below. Use the web.xml to configure any parameters you need to pass to this servlet and to ensure it's loaded first. Then just

RE: Running a class on startup - java newbie....

2003-07-01 Thread Ciramella, EJ
Ok, but like I said, all the developers 'round these parts are saying that threads are a no-no. Honestly, I'm not even sure that the DB cleanup I'm trying to perform needs to happen every five minutes. Honestly, it only needs to happen each time a new user tries to register or gets added

RE: Running a class on startup - java newbie....

2003-07-01 Thread Raiden
Hello, Try adding your class to your web.xml file: servlet servlet-name automaticProcess /servlet-name servlet-class AutomaticProcess /servlet-class load-on-startup 1000 /load-on-startup /servlet Then in

RE: Running a class on startup - java newbie....

2003-07-01 Thread Raiden
I know starting threads off of other threads can be a big problem, especially if many of your requests are spawning new ones. But the message I just posted to you would create one thread one time, at startup... and I'm not sure why that would be a problem. -Raiden On Tue, 1 Jul 2003,

Re: Running a class on startup - java newbie....

2003-07-01 Thread Andre D Bonner
On 7/1/03 6:03 PM, Ciramella, EJ [EMAIL PROTECTED] wrote: Yeah, but the more and more I ask the more I hear that generating threads is a no-no. But that's exactly what I was thinking. I want the class to launch when this particular webapp is started and die when the webapp (or tomcat) is

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Justin Ruthenbeck
If your code worked like this: 1: if (session.getAttribute(LOCKED_ATTR) == LOCKED) 2: return user a waiting page 3: else 4: { 5: session.setAttribute(LOCKED_ATTR, LOCKED) 6: work with submitted data 7: } then you're right -- it's possible for one thread to get interrupted

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Stefan Radzom
There is a lifecycle events fired upon creation of a new session. You may want to implement and register your own javax.servlet.http.HttpSessionListener to put the attribute in the session. -Stefan -Original Message- From: Raiden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02,

RE: How to synchronize based on session? (Prevent multiple submissionsof forms)

2003-07-01 Thread Raiden
Hello Justin, Thanks for your response. My understanding is that there will be multiple instances of a servlet depending on what the container thinks is necessary. This will most likely happen, because this is a high-volume site. If that's the case, won't there be multiple instances of the

RE: Running a class on startup - java newbie....

2003-07-01 Thread James Courtney
If that's the case then I'd run it as part of the user addition process to ensure that things are in the correct state for adding a user. No additional threads required (no that they're bad when used correctly). Jamey -Original Message- From: Ciramella, EJ [mailto:[EMAIL PROTECTED]

RE: FORM-based ldap authentication problem

2003-07-01 Thread Karr, David
No, I don't mean the request parameter name in the form, I mean the LDAP attribute name. Nevertheless, after looking over the Tomcat documentation, this probably isn't your issue. You should read over this documentation carefully and make sure you've specified everything you need to connect to

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Justin Ruthenbeck
// Member variable protected Object m_synchObj = new Object(); Yes, your service() method will be run multi-threaded, but all of those threads share the same *servlet* member variables (declared outside your service() method). They do not, as you asked, each have their own copy of that

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Stefan Radzom
IMHO, Justin's proposal will not work since the servlet container may choose to pool multiple instances of the same servlet class and assign an incoming request to an available instance. Things get even worse in a distributed environment involving multiple tomcats running in different jvms. I am

RE: Running a class on startup - java newbie....

2003-07-01 Thread Mayne, Peter
Title: RE: Running a class on startup - java newbie Maybe they're getting confused with EJBs, where apparently thread creation is outlawed by the spec. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2

RE: java.util.zip.ZipException: The system cannot find the path speci fied

2003-07-01 Thread Mayne, Peter
Title: RE: java.util.zip.ZipException: The system cannot find the path speci fied Try reinstalling in a directory path with no spaces in the name. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F:

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Justin Ruthenbeck
At 04:39 PM 7/1/2003, you wrote: IMHO, Justin's proposal will not work since the servlet container may choose to pool multiple instances of the same servlet class and assign an incoming request to an available instance. Agreed. If the container chooses to pool multiple instances of the same

Re: Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Thank you, John. I guess that my problem is the version 2.0.43 of mod_jk2 is not compatible with the version 2.0.46 of Apache. --- John Turner [EMAIL PROTECTED] wrote: http://www.greenfieldresearch.ca/technical/jk2_config.html John On Mon, 30 Jun 2003 23:49:06 -0700 (PDT), Nguyen Anh

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread Eric J. Pinnell
Hi, On Tue, 1 Jul 2003, James Courtney wrote: Thanks Eric. I'm still puzzled though. I don't really see any difference in what you're doing vs. what I'm doing. I explicitly specify host and port for the channel sockets and I explicitly define the workers but that's shouldn't make

Re: index.html

2003-07-01 Thread Oki DZ
On Tue, Jul 01, 2003 at 06:53:07AM -0400, Tim Funk wrote: What happens if you use bin/startup.sh? I'm sorry I've been bothering you; it was just about having an older catalina.jar in the JVM's ext directory. Runs fine now. Oki

HELP Apache 2.x and Tomcat 4.x with mod_jk

2003-07-01 Thread Dumisani Nlebgwa
Hi, I am having trouble integrating tomcat and apache2.x I am using mod_jk, and I mounted my examples directory to see if I could get it working. I have no problem accessing static files under my examples directory however, the problem is that when I try access a jsp page through a browser, I end

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Raiden
Hello Stefan, The original problem was an order page, and yes a session has been created. However, we also have a registration form on our initial page. This could be the first page view for the user, and it could be the first page of the session. However, as long as the page is viewed first,

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Stefan Radzom
-Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:20 AM To: Tomcat Users List Subject: RE: How to synchronize based on session? (Prevent multiple submissions of forms) At 04:39 PM 7/1/2003, you wrote: IMHO, Justin's

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Raiden
On Wed, 2 Jul 2003, Stefan Radzom wrote: IMHO, Justin's proposal will not work since the servlet container may choose to pool multiple instances of the same servlet class and assign an incoming request to an available instance. Agreed. If the container chooses to pool multiple

RE: How to synchronize based on session? (Prevent multiple submissions of forms)

2003-07-01 Thread Raiden
The HttpSessionListener worked beautifully. Thanks to everyone that helped with this! -Raiden On Wed, 2 Jul 2003, Stefan Radzom wrote: IMHO, Justin's proposal will not work since the servlet container may choose to pool multiple instances of the same servlet class and assign an incoming

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
Hi, For anyone that cares I changed the 'long's to 'unsigned short's with some advice from Jeff Trawick. Still looks good after a some load. It's not being hammered but it looks ok. -e On Tue, 1 Jul 2003, Eric J. Pinnell wrote: Hi, This tweak on

ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-01 Thread Thomas Gagné
I suppose I could try it as root, but I'd like first to know what else will end-up in /usr/local, and am also wondering if the build *really* wants things there or if it was a mistake. I looked around in build.xml for license and found: cvs cvsroot=${cvsroot} quiet=true

Re: ant build fails due to /usr/local/LICENSE (Permission denied)

2003-07-01 Thread Thomas Gagné
I tried it as root anyway and it got further, but eventually failed. I need some help on this one. build-catalina-optional: [javac] Compiling 1 source file to /home/tgagne/work/jakarta-tomcat-4.0.6-src/jakarta-tomcat-5/build/classes [javac]

persistent problem

2003-07-01 Thread Paul Wallace
Hello, Can someone please tell me how to configure (I am assuming it is a configuration issue) TC such that my servlets do not insist on persisting. Even when I clear IE history, delete temporary Internet files, cookies, delete the class its self! I literally removed the servlet class and

Re: Dreaded java.lang.NoClassDefFoundError

2003-07-01 Thread taf
Thanks! You were right. I had two CLASSPATH statements, and one was pointing at only the jre. I can't really understand how that happened, I really have been running very well for the past six months, compiling JSPs, running servlets, and generally very happy. Why this should have happened

Re: Sharing a session between multiple frames

2003-07-01 Thread Bill Barker
With frames it is especially important to encode the URL, since the frames will likely be loaded in parallel. You need something like: frame src=""left.jsp") %" frame src=""right.jsp") %" "Mark Riddoch" [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...Hi,I will try to

Re: persistent problem

2003-07-01 Thread Kwok Peng Tuck
What do you mean by persisting? Session issue? Or is it the case where you changed the code in your servlet and the changes are not showing up ? If it is then just use the webapp manager to reload the context the servlet resides in. Paul Wallace wrote: Hello, Can someone please tell

<    1   2