Ajp13 config + dll for IIS

2001-11-14 Thread Abbrederis Thomas tab09
Hello to all! I'm searching for tomcat 4.0.1 the ajp1.3 redirect dll for IIS 4. Did anybody have information about that?!? Where I can find it and how does it work?!? Thanks for reply! Best regards inet-logistics GmbH Thomas Abbrederis (software engineering) Holzriedstrasse 29 A-6961 Wolfurt

AW: Ajp13 config + dll for IIS

2001-11-14 Thread Hessing Ingo
Hi! I've heard that the ISAPI_REDIRECT.DLL for Tomcat 3.3 might work with Tomcat 4.0.1, too. Can anybody verify this or does anybody know when a special version for Tomcat 4.0.1 will be released? bestWISHES Ingo -Ursprüngliche Nachricht- Von: Abbrederis Thomas tab09 [mailto:[EMAIL

Re: Got him...

2001-11-14 Thread Endre Stølsvik
On Wed, 14 Nov 2001, Pier Fumagalli wrote: | On 14/11/2001 01:01 am, Pier Fumagalli [EMAIL PROTECTED] wrote: | | On 14/11/2001 12:42 am, Martin van den Bemt [EMAIL PROTECTED] wrote: | | nice job ;)) | Why don't you put the subcriber email address in by default (in the text | footer of the

Tomcat 4.0.1 taglib problem

2001-11-14 Thread Thomas Rickal, IOP Unternehmensberatung GmbH
Hi, i changed from Apache 1.3.19/Tomcat 3.2.3 to Apache 1.3.19/Tomcat 4.0.1 on SUSE Linux 7.3. Now I'am encountering a taglib problem. My dynamic bodycontents are not processed in the proper way anymore. I put an url rewriting example example in this mail. I hope somebody can help. Thomas

AW: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-14 Thread Schulz, Sebastian, fiscus GmbH, Bonn
what's about loadbalancing? say, we have defined local loadbalancing using 5 ajp13-worker at workers.properties, and we have at server.xml: Ajp13Connector port=8009 maxThreads=100 maxSpareThreads=50

webapp module for combining Apache and Tomcat

2001-11-14 Thread Thomas Spiessens
Hi, the Tomcat website states that the binary and source distributions of the mod_webapp connector would have been added on September 19. I can't find them on the site. Can anybody help me out with this ? specifications : Apache 1.3.22 Tomcat 4.0 OS : Win 2000 (!!) Thanks, Thomas. -- To

AW: webapp module for combining Apache and Tomcat

2001-11-14 Thread Thomas Rickal, IOP Unternehmensberatung GmbH
Hi Thomas, here you can find the binary distribution of mod_webapp for windows: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/b in/win32/ Thomas -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

Re: Got him...

2001-11-14 Thread Antony Bowesman
Endre Stølsvik wrote: On Wed, 14 Nov 2001, Pier Fumagalli wrote: | On 14/11/2001 01:01 am, Pier Fumagalli [EMAIL PROTECTED] wrote: | | On 14/11/2001 12:42 am, Martin van den Bemt [EMAIL PROTECTED] wrote: | | nice job ;)) | Why don't you put the subcriber email address in by default

question about db connection?

2001-11-14 Thread The Duke
I would like set up a connection to a database with the nesescary stuff placed in web.xml. How do I do this? Wich attributes do I need to use? And how do I get the attributes out of the web.xml?? Thanks in advance. Dennis -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
Hello, i have some serious problems compiling mod_webapp on my Suse 7.2 System.. I downloaded APACHE 1.3.22, Tomcat 4.0.1, PHP4 and mod_perl, compiled each of them and they work.. Tomcat works standalone and Apache also.. Then i tried to connect Apache and Tomcat with the mod_webapp module.. I

Wrap an HttpServletRequest

2001-11-14 Thread Diego del Río
Is there any way to wrap an HttpServletRequest in Tomcat 3.2.x and then forward the wrapped request to anoher servlet? We need a 'decorated request' with added functionality, more precisely, we need to add 'extra-parameters' to that request and then forward it to another servlet that process both

RE: Wrap an HttpServletRequest

2001-11-14 Thread Martin van den Bemt
Pas the request object to that servlet eg BlahServlet servlet = new BlahServlet(); servlet.execute(req, resp); Mvgr, Martin -Original Message- From: Diego del Río [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: Wrap an

Number of processes growing.

2001-11-14 Thread Laurent Michenaud
Hi, Our web server : Apache 1.3.14 Tomcat 3.2.3 Oracle 8.1.6 with Jdbc Thin drivers We've got the following problem ( appearing about 10 times per day ) - The number of request on port 80 is stable( between 15-25 ) - The number of apache threads suddenly grows ( from 30 to 100 ) - The number of

RE: Principal caching with authentication

2001-11-14 Thread Bongiorno, Christian
Thanks for the input all, what I am looking for is caching the Principals of a user in my Realm. It doesn't seem to be caching them, as every page I click generates numerous authenticate requests. I wish to avoid this after the user has logged in. If there is a built in way I just need to know

Tomcat as a service

2001-11-14 Thread Owain Lewis
I am a relativley new Tomcat user, and have been charged with the task of setting up Tomcat 3.2 to run as a service on a Windows2000 server. I've read lots of the documentation relating to this and have had some success setting it up. I have managed to create tomcat as a service which starts

RE: Tomcat as a service

2001-11-14 Thread Jim Urban
Check out: http://www.alexandriasc.com/software/JavaService/index.html -Original Message- From: Owain Lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 7:28 AM To: [EMAIL PROTECTED] Subject: Tomcat as a service I am a relativley new Tomcat user, and have been charged

RE: Tomcat 3.2.3 and struts 1.1

2001-11-14 Thread Larry Isaacs
I'm not sure why you are getting duplicate entries in your CLASSPATH, but it looks like it is only using the parser.jar from the Tomcat 3.2.3 distribution. This parser.jar is from JAXP 1.0.1, which doesn't have a org.xml.sax.helpers.DefaultHandler. I would guess that your linux system has a

RE: Tomcat as a service

2001-11-14 Thread Randy Layman
If you are using jk_nt_service to run the service, modify your wrapper.properties file (the last line) so that the JVM receives the -Xrs parameter - this is the parameter that Sun supplied to the JVM that makes the bug go away. Randy -Original Message- From: Owain

RE: Tomcat as a service

2001-11-14 Thread Bongiorno, Christian
Here is how you do it -- It is detailed in the MS help docs goto the win2k resource disk (or an old NT disk will do) and find the 2 files srvany.exe and instsrv.exe create a no command batch to start tomcat. I.E if you use TC 3.2 make tomcat start into a batch tomcatstart (it doesn't like

RE: Tomcat 3.3 Selt-test failed when protocol is HTTP 1.1

2001-11-14 Thread Larry Isaacs
The self-test isn't intended to run with HTTP 1.1 as the Expected protocol when running against Tomcat 3.3 directly. Thus your failures in this case are normal. If you test through an external web server that supports HTTP 1.1, you should specify HTTP 1.1 to avoid failures. Since the tests

AW: Wrap an HttpServletRequest

2001-11-14 Thread Thomas Rickal, IOP Unternehmensberatung GmbH
Hi Diego, do it like Martin described. Or try out the RequestDispatcher: request.setAttribute(key1, value1); request.setAttribute(key2, value2); [...] RequestDispatcher rd = getServletContext().getRequestDispatcher(myServletUrl); rd.forward(request, response); Thomas -- To unsubscribe:

RE: Tomcat 3.2.3 - Image loading problem

2001-11-14 Thread Larry Isaacs
What do the Apache and Tomcat logs show is happening to the image requests? Cheers, Larry -Original Message- From: Marko Sarunac [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 11:16 PM To: 'Tomcat Users List' Subject: RE: Tomcat 3.2.3 - Image loading problem P.S.

AW: Number of processes growing.

2001-11-14 Thread Thomas Rickal, IOP Unternehmensberatung GmbH
Hi Michenaud, maybe not all of your connections are freed so that users open new connections although there are should be free connections in your connection pool. Check your code. Thomas winmail.dat Description: application/ms-tnef -- To unsubscribe: mailto:[EMAIL PROTECTED] For

RE: Number of processes growing.

2001-11-14 Thread Laurent Michenaud
Hi, Code already checked. Debug information in our pool.log is ok too. Note that the server is able to run ok during 4-5 hours without any problems. a+ -Message d'origine- De : Thomas Rickal, IOP Unternehmensberatung GmbH [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 14 novembre 2001

Re: Wrap an HttpServletRequest

2001-11-14 Thread Diego del Río
Thank you Thomas and Martin, our problem is that the target servlet, i.e. the servlet that would receive the 'wrapped request' forwarded by the first servlet (in this case, the target servlet is a jsp page), shouldn't know that the request is wrapped. We have already implemented a lot of jsp

Re: Wrap an HttpServletRequest

2001-11-14 Thread Fredrik Westermarck
Martin van den Bemt wrote: Pas the request object to that servlet eg BlahServlet servlet = new BlahServlet(); servlet.execute(req, resp); Why not get a RequestDispatcher and forward (or include) to the other servlet? .. RequestDispatcher rd = request.getRequestDispatcher(pathToServlet);

Major (guru mode) help required

2001-11-14 Thread raj
I finally got Apache and Catalina to speak to each other when running on separate machines (I had not set ServerName in Apache initially and hence it was failing - earlier post: Catalina Apache on different machines) But now I have reached another major hurdle. All request to non-secure

tomcat4 naming context

2001-11-14 Thread c tang
Hi all, I am writing an app in which a web component accesses ejbs in an appserver (borland appserver). The appserver has its naming service running and all ejb register with it. If the naming service in tomcat is running, lookup for ejbs will fail. This is not an option. If the naming

Re: mod_webapp compiling problems

2001-11-14 Thread jean-frederic clere
Petry Roman, ITS-IT wrote: Hello, i have some serious problems compiling mod_webapp on my Suse 7.2 System.. I downloaded APACHE 1.3.22, Tomcat 4.0.1, PHP4 and mod_perl, compiled each of them and they work.. Tomcat works standalone and Apache also.. Then i tried to connect Apache and

Last straw - AccessControlException problem

2001-11-14 Thread Antony Bowesman
Hi, I'm getting an AccessControlException when trying to read the file H:\Apache\jakarta-tomcat-4.0\bin\user.txt Top part of stack trace is java.security.AccessControlException: access denied (java.io.FilePermission user.txt read) at

error-page location

2001-11-14 Thread Brian K. Buckley
Is it legal to supply a JSP for the location of an error-page in web.xml? Tomcat 4.0.1 does not appear to allow it. error-page exception-typewcd.MyException/exception-type location/test.jsp/location !-- does not work but /test.html does -- /error-page -Brian -- To unsubscribe:

Problem in starting Tomcat

2001-11-14 Thread rehan
Hello Support, I am facing some problem in installing Tomcat in RHlinux 6.1, i am using Apache 1.3.9 and jdk 1.3.1 I installed apache with DSO support, i copied the source of Tomacat in /usr/local/. i had also declare the path for Tomcat and jdk1.3.1 But when i run startup.sh from Tomacat/bin.

Re: Catalina Apache on different machines

2001-11-14 Thread Pier Fumagalli
On 14/11/2001 02:27 pm, raj [EMAIL PROTECTED] wrote: I am trying to set up Apache and Catalina so that they run on different machine. In my Apache httpd.conf, I have WebAppConnection connwarpip of machine running catalina:8008 WebAppDeploy foobar conn/foobar

Re: Major (guru mode) help required

2001-11-14 Thread Pier Fumagalli
On 14/11/2001 03:46 pm, raj [EMAIL PROTECTED] wrote: Will authentication (especially FORM) NOT work if Catalina and Apache were to run on two different machines. Has anyone had any experience on this? Any help would be much appreciated. Muchas gracias. What error are you observing ???

RE: REPOST: NEED HELP URGENT:: internet explorer nullifies session on open new window

2001-11-14 Thread Geoff Howard
I only meant to ask if you were using the default Tomcat sessions, or perhaps some customized implementation via an app server, etc. I'm not entirely clear from your description exactly what is going on, but if you have the examples context installed somewhere, try this: - Go to

RE: mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
Hello, i compiled apache as follows... I need php and mod_perl.. nothing more and Tomcat of course.. export CFLAGS= export LIBS= export INCLUDES= ./configure --prefix=/usr/local/apache \ --enable-suexec \ --suexec-caller=nobody \ --enable-module=so \ --enable-module=access \

resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Carl Boudreau
Good Morning Fellow Coders, I have a very interesting question for all of you. Below is a small snippet of code which basically validates a database Insert operation. The operation writes to the database then turns around and read the email address and compares it to what was passed to

Errors reported in IIS_redirect.log

2001-11-14 Thread Richardson, Ray (c)
I have TomCat 3.2.3 and Cocoon running in a test environment with IIS. Following some basic load testing of the server I have noticed the IIS_Redirect log has been growing at a fairly steady rate. The log setting is set to 'Error' and I'm getting repeated entries in the log as follows :

Where can I find the .sendRedirect source code?

2001-11-14 Thread Carl Boudreau
Hi, Can anyone point me to the area where the redirect are handled in tomcat? I have already downloaded the source, but can't find the exact location. And how about any flow diagrams that shows how tomcat is put together, what classes are being called and the basic flow of the application? --

Java and double

2001-11-14 Thread Laurent Michenaud
Hi, Excuse me... this mail shouldnot be on this mailing list but it is an hurry. public class TestDouble { static public void main(String args[]) { double val = 0.5055 * 1000 ; System.out.println( val ); } } This program gives me the following results : 505.44

Re: mod_webapp compiling problems

2001-11-14 Thread Pier Fumagalli
On 14/11/2001 03:26 pm, Petry Roman, ITS-IT [EMAIL PROTECTED] wrote: Hello, i compiled apache as follows... I need php and mod_perl.. nothing more and Tomcat of course.. export CFLAGS= export LIBS= export INCLUDES= ./configure --prefix=/usr/local/apache \ --enable-suexec \

Re: Last straw - AccessControlException problem

2001-11-14 Thread Antony Bowesman
Aargh, Problem solved, I had java.util.FilePermission in my policy not java.io.FilePermission... Can't see the wood for the trees. Antony -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Tom Drake
You're @ is likely the problem. You must url-encoude the redirect address. - Original Message - From: Carl Boudreau [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 7:32 AM Subject: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

Re: cannot execute binary file

2001-11-14 Thread Noble Long
I actually added it to the tomcat.sh (dirty I know) but I wanted to make sure it was definitely loaded. But even when I add it to /etc/profile or /root/.bashrc, /root/.cshrc I get the same messages, the files must have been getting corrupted in transfer. Where is TOMCAT_OPTS? Noble -

Re: Major (guru mode) help required

2001-11-14 Thread raj
Hi Pier, Thanks for replying. I set debug=99 on WarpConnector, and my apache_log.2001-11-14.txt comes up with the following: 2001-11-14 16:38:21 WarpEngine[Apache]: Mapping request 2001-11-14 16:38:21 WarpHost[domainname]: Mapping request for Host 2001-11-14 16:38:21 WarpEngine[Apache]:

Re: Major (guru mode) help required

2001-11-14 Thread Pier Fumagalli
On 14/11/2001 05:01 pm, raj [EMAIL PROTECTED] wrote: Of course on the browser, I only get my Error.jsp displayed, (no HTTP errors there). Without the specific error happening, it's impossible to know what's going on. Sorry. Pier -- To unsubscribe: mailto:[EMAIL PROTECTED] For

Installing Tomcat4.0.1 on Mandrake 8.0

2001-11-14 Thread Nick Woolley
Hi, I've been documenting my installation of Tomcat 4 on Mandrake Linux 8.0. For what it's worth I'm posting this here. It's a draft, and intended ultimately to contribute to a user's installation guide for the Melati package (www.melati.org, which requires a servlet container). As

RE: Problem in starting Tomcat

2001-11-14 Thread Larry Isaacs
All versions of Tomcat use more than just 8080. Search server.xml for port= to find the ports that could be used. Those not part of a commented-out entry will be used. Cheers, Larry -Original Message- From: rehan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 8:13 AM

RE: mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
Hello... first.. tnaks for your fast answers.. Apachetoolbox is a nice shell-script, which helps you to compile Apache with a lot of modules, if you want.. nice thing.. btw.. Ok.. But back to tomcat.. I deleted from the makefile, in the Apache-1.3 dir, the following line.. -S

RE: REPOST: NEED HELP URGENT:: internet explorer nullifies session on open new window

2001-11-14 Thread Amit Kelkar
Hi Geoff, Thanks for all the reponses... Here is the latest I have on the issue: * There seems to be a issue with IE 6, with can be fixed up with some options * The session seems to keep alive if we use our full domain name (postmodern.com.au), but not with a local address such as 192.168.x.x

RE: Java and double

2001-11-14 Thread Jim Rueschhoff
There is no problem. Float and Double represents a number as a mantissa and radix which produces a close but not exact representation of a number. If you round to a reasonable number of decimal places you will get the correct result but if you insist on looking at the full precision of the

RE: Java and double

2001-11-14 Thread Mangi, Rick
Ya, I've seen that one before. use the java.math package. -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: Java and double Hi, Excuse me... this mail shouldnot be on this mailing list but

Config crashing Tomcat 4.01

2001-11-14 Thread L Rutker
Hi, I am new at this and the way I mapped my servlet might be odd but crashing tomcat wasn't what I expected. I am running Tomcat 4.01 standalone on NT 4 SP6 I am starting it using the shortcut provided by the installation (\Apache Tomcat 4.0\bin\bootstrap.jar start) and stopping it with the

Re: cannot execute binary file

2001-11-14 Thread James Chuang
You can set TOMCAT_OPTS in your environment, and tomcat will use them as part of it's startup env. When I added the classes12.zip to my TC environment, I just added it directly to the tomcat.sh as well, and it works fine. Why don't you put together a small test program that loads the driver, and

STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nancy Crisostomo Martinez
Hello everybody! I hope you could help me, please.. Actually, I'm begining to use Tomcat, and I have a succeded start because it still works PERFECT to me... But muy problem is very strange : I installed Tomcat to Solaris 8, and when I start it (startup.sh | tomcat.sh start ) it starts, but when

AW: Java and double

2001-11-14 Thread Ralph Einfeldt
As in most other programming languages float and double are implemented in way that numbers are not represented exactly. That's caused by the internal format which is used to store floats and doubles. If you want know more of the basics have a look at

Cp1252

2001-11-14 Thread Chen, Gin
Hi all, When I am using JBoss and Tomcat 4.0.1 integrated build. I get an error with any of my JBoss.xml files that have the ?xml version=1.0 encoding=Cp1252? line. The error is when starting JBoss and it says: [AutoDeployer] Deployment

RE: Java and double

2001-11-14 Thread Slava
Try to use BigDecimal. It should be OK. --- Mangi, Rick [EMAIL PROTECTED] wrote: Ya, I've seen that one before. use the java.math package. -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:39 AM To: [EMAIL PROTECTED]

Re: cannot execute binary file

2001-11-14 Thread Tom Drake
I think that this may have to do with the security policy not allowing you to load classes or jars from 'other' directories. Look in conf/catalina.policy or conf/tomcat.policy (depending on the version of tomcat you are using). You will probably need to add an entry that looks like this: grant

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
This has nothing to do with tomcat. It is standard unix behavior. When a user logs out, all processes created by that user are killed. Unix provides simple way to around this feature. Simply type the following command: nohup tomcat.sh run In this case all 'console output produced by

Re: Java and double

2001-11-14 Thread Micael Padraig Og mac Grene
Not sure what your point is. The code is okay, check out the internal math yourself. You can do it by hand. If you want more precision, use different code. -Original Message- From: Mangi, Rick [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Date: Wednesday, November 14,

Re: cannot execute binary file

2001-11-14 Thread Noble Long
Possibly, but it is not only happening in Tomcat. It happens when I put the CLASSPATH in /root/.bashrc or /root/.cshrc on startup. Thanks for the info on tomcat.policy though. They are different versions (Tomcat 3.2.2 -working) (Tomcat 3.2.1 - not working). Noble - Original Message -

SHA passwords of LDAP and tomcat

2001-11-14 Thread Isaac Cruz Ballesteros
Does anyone know why a SHA password generated by openLDAP is different from a SHA password generated by Tomcat? # slappasswd -h {SHA} -s tomcat {SHA}U2wLM5NFYWwbM8r0VEVNi4oZDWw= # java org.apache.catalina.realm.RealmBase -a SHA tomcat tomcat:536c0b339345616c1b33caf454454d8b8a190d6c This is a

Re: Where can I find the .sendRedirect source code?

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Carl Boudreau wrote: Date: Wed, 14 Nov 2001 09:37:37 -0600 From: Carl Boudreau [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Where can I find the .sendRedirect source code?

RE: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Carl Boudreau
Well Tom, I have changed the following code to read; if(TxtCheck1.equals(User_Name)) { // User join1 data has been added to Database String Redirect_String = ./ValidUser?firstname= + User_Name;

Re: Wrap an HttpServletRequest (fwd)

2001-11-14 Thread Craig R. McClanahan
This was asked on TOMCAT-USER also, so I'm forwarding my rely. Craig -- Forwarded message -- Date: Wed, 14 Nov 2001 09:09:58 -0800 (PST) From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED]

Manager maxIdleBackup, {min,max}IdleSwap query

2001-11-14 Thread Paul DuBois
I've been pondering the Tomcat Manager component documentation (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/manager.html) with regard to storing sessions in JDBC-based backing store. I am not clear on the distinction between backing up a session and swapping it (the behaviors

parameters

2001-11-14 Thread Bongiorno, Christian
I am pretty sure that this is true, but just to get a sanity check, do the username and password come in as parameters to the servlet as part of the ServletRequest? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

RE: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-14 Thread Travis Schmid
-Original Message- From: Schulz, Sebastian, fiscus GmbH, Bonn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 1:19 AM To: '[EMAIL PROTECTED]' Subject: AW: mod_jk / Ajp13 config fix on heavily loaded system what's about loadbalancing? say, we have defined

Re: parameters

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Bongiorno, Christian wrote: Date: Wed, 14 Nov 2001 12:59:06 -0500 From: Bongiorno, Christian [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: parameters I am pretty sure that this is true, but just to

Request Dispatcher

2001-11-14 Thread Scott Walter
I am trying to use a RequestDispatcher include with a JSP page, it seems to be including the content above the location where I have coded the include. Any clues??? Below is my code % RequestDispatcher rd = request.getRequestDispatcher(pageName);

Re: Request Dispatcher

2001-11-14 Thread Tom Drake
JSP provides an easier way to do what you are attempting. However, the 'hot' include mechanism, is very much like a function call. the output from the included jsp/servlet simply appears in the middle of your output stream. It does not replace the entire page. If you need a completely different

RE: Request Dispatcher

2001-11-14 Thread Rajah Kalipatnapu
thats exactly correct, and if do not want to use forward, may be u can use a conditional statement -Original Message- From: Tom Drake [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:32 AM To: Tomcat Users List Subject: Re: Request Dispatcher JSP provides an easier way

RE: Tomcat 3.2.3 and struts 1.1 - fixed!

2001-11-14 Thread Marko Sarunac
I have deleted the jaxp.jar and parser.jar and replaced it with parser.jar and crimson.jar from jaxp 1.1 implementation and it seems to work now Thanks Larry! -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 5:57 AM To: 'Tomcat Users

Xerces Parser Security and Path Problems

2001-11-14 Thread Frank Lawlor
I encountered a couple of problems trying to use xerces and security in my application. BUG 1: I have xerces.jar in myapp/WEB-INF/lib. This works fine until I turn on security (-security switch) which uses conf/catalina.policy. I added a permission for my application to do anything:

Re: Cp1252

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

Re: Xerces Parser Security and Path Problems

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Frank Lawlor wrote: Date: Wed, 14 Nov 2001 12:51:37 -0600 From: Frank Lawlor [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat (E-mail) [EMAIL PROTECTED] Subject: Xerces Parser Security and Path Problems I encountered

Re: STARTUP.SH DOESN'T WORKS FINE

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

Why am I getting a Javascript file request instead of my servlet ?

2001-11-14 Thread James Adams
I have a page (JSP) which contains a form with a servlet as the action of the form. However whenever I submit the form I am getting a Not Found 404 error telling me that a Javascript file which is used for Javascript on the page is not found. I am perplexed as to why this is happening,

RE: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Randy Layman
-Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:07 PM To: Tomcat Users List Subject: Re: STARTUP.SH DOESN'T WORKS FINE Every well written daemon and server process SHOULD do that (among other things). But you

Re: Java and double

2001-11-14 Thread phillipmastroianni
try putting a 1000d (I think you have to tell the vm that this is a double value or it may try an compute a float! - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] Date: Wednesday, November 14, 2001 9:41 am Subject: Re: Java and double Not sure what your point

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
- Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 11:07 AM Subject: Re: STARTUP.SH DOESN'T WORKS FINE | Tom Drake wrote: | | This has nothing to do with tomcat. It is standard unix behavior. |

Re: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Tom Drake
Carl: encodeURL() and encodeRedirectURL() do not do what you think they do. These methods may add a 'jsessioniid=...' entry to url. They will not URL encode the url string itself. However, I think that I was wrong about the '@' anyway. You could still have a problem with invalid characters in

Byte Serving PDF's

2001-11-14 Thread MacDonald, Todd
Anyone know how (or better yet, have some code to) byte serve PDF's through Tomcat 4? -T -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Carl Boudreau
Hey Tom, Another java developer has sugested another avenue of attack I have replace that last code snippet with ; if(TxtCheck1.equals(User_Name)) { // User join1 data has been added to Database String Redirect_String =

FW: Xerces Parser Security and Path Problems

2001-11-14 Thread Frank Lawlor
There seems to be a problem related to security when loading jars from WEB-INF/lib. This was reported earlier by Sergey V. Udaltsov in the post titled policy for classes in WEB-INF/lib/my.jar. It's not clear to me that this is a bug. The exception goes away because the default

RE: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tanner, Don
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nancy, Try the following; If you DO NOT want the output from tomcat.sh to go to the file nohup.out nohup tomcat.sh start /dev/null 21 Later! DT The opinions expressed above are probably mine but not necessarily the opinions of my employers. In

RE: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-14 Thread Maureen Fisher
We are currently experiencing heavy load using ajpv13. We had set those parameters as Henri specified as 100, 50 and 20 and still she died. We went back to 12 and experienced same problems. My questions are: 1) Like apache has the built-in monitor (server-status) where you can watch the

Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread James Adams
I have a page (JSP) which contains a form with a servlet as the action of the form. However whenever I submit the form I am getting a Not Found 404 error telling me that a Javascript file which is used for Javascript on the page is not found. I am perplexed as to why this is happening,

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
First suggestion: Eliminate the JavaScript. Our developers (myself included) have had plenty of problems with variables named action resetting the URL that the form posts to. Also, try posting to different things - a non-existent HTML file to start with and check what URL is

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
First suggestion: Eliminate the JavaScript. Our developers (myself included) have had plenty of problems with variables named action resetting the URL that the form posts to. JavaScript itself isn't too bad. It's very useful to add interaction to a page. Just don't try having a

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
-Original Message- From: D. Jay Newman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 4:03 PM To: [EMAIL PROTECTED] Subject: Re: Why am I getting a Javascript file instead of my servlet ? First suggestion: Eliminate the JavaScript. Our developers

Class not found in import

2001-11-14 Thread Geoffrey J Bourne
When my JSPs compile, they can't find imported classes (for example javax.ejb.CreateException). The above example is in the j2ee.jar file and I've included it in my CLASSPATH. In fact, I've run javap javax.ejb.CreateException just to make sure. Is there so where in Tomcat (on NT) that you

Re: Why am I getting a Javascript file request instead of my servlet ?

2001-11-14 Thread James Adams
As a test I have set the action of the form equal to alert(1) as well as to a test JSP which prints the form parameters, both of these work well. However when the action is my form handler servlet that's when I get the bad voodoo - it tells me that it can't find the .js file when I submit, and

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
I wasn't saying JavaScript was bad or should be gotten rid of - I was suggesting dumping all of the JavaScript as a first step to figuring out where the problem is (division of one large problem into areas to limit the amount of code to be examined). Very true. -- D. Jay Newman

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Janek Bogucki
Hi Nancy, This is what happens under Linux: 1. Switch to a virtual console and login 2. execute startup.sh (Tomcat is running) 3. exit from shell 4. Login and Tomcat is still running. So I have daemon behaviour under Linux. -Janek --- Nancy Crisostomo Martinez [EMAIL PROTECTED] wrote:

Dynamic Email

2001-11-14 Thread Timothy Shadel
Hi, I'd like to generate dynamic e-mail content, typically based on some parameters stored in the current HttpSession. JSP seems like a great tool for this. I can easily edit the static portion of the e-mail, and have non-technical personnel work with it. I'd get all the advantages JSP

problem loading JSP on start up (tomcat 3.2.3)

2001-11-14 Thread david chan
Hi, I have a JSP need to load on tomcat startup, so I specify it in the web.xml: servlet servlet-name TestStartup /servlet-name jsp-file /jsp/TestStartup.jsp /jsp-file load-on-startup 1 /load-on-startup

RE: Byte Serving PDF's

2001-11-14 Thread Jim Urban
Do you want to dynamically generate the PDF on the fly and return it directly to the browser or to simply serve PDF files? If you want to do the first, check out the FOP website and have a look at the FOPServlet source code. This assumes you can make the contents of the PDF available in XML

Loading class files

2001-11-14 Thread Yiu Wing
Hello All, I'm writing an applet that uses JDBC to connect to MySQL server , and the applet is embedded in a jsp. I'm new to this, so I went on and read the docs that come with Tomcat. I'm also using CVS and ant for the development. The source code layout of my project is as suggested in the

  1   2   >