innocuous Servlet kills Tomcat

2003-09-24 Thread Paul Wallace
Hi All, After implementing my simple Servlet under Tomcat thus: OpenResource com.ia.mapping.servlets.OpenResource where the Servlet OpenResource has been compiled in the correct directory, containing no functionality (below), I start up Tomcat and get the less-than-plea

Tomcat not showing the pages ----

2003-09-24 Thread kgsat
Hi friends, (B (BI have been developing a video download application to run in (Bapache2.0.46+Tomcat4.1.24 on windows 2000Server environment. (B (BSuddenly i had the problem of tomcat not showing the pages after it started (Boff successfully without any error at the console. (BEven after req

Configuring IIS 5.0-Tomcat 4.1.24

2003-09-24 Thread N.B.Bopanna
Hi All, Can any one tell me how to configure tomcat with IIS web server? Any documentation would be useful. Thanks Bopanna Sr. Software Engineer, RCS Technologies, Bangalore - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: SSL Connector attributes

2003-09-24 Thread Bill Barker
That's largely because they depend on your JSSE provider. I believe that most providers will also support 'SSL3' and 'SSL2' as protocol attributes (but I don't recommend either of them, so I won't actually try it :). I know that if you are using IBM's 1.4.x JVM, that you need to set the protocol

Re: Tomcat 4.1.24 logs

2003-09-24 Thread Support
I believe that's is a 5.0 feature it's not in 4.1 release The attribute is called "rotatable" http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html -Alan - Original Message - From: "Sarika N Inamdar" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wedn

Tomcat 4.1.24 logs

2003-09-24 Thread Sarika N Inamdar
Hi, With tomcat 4.1.24 , everyday one log file is created. Is there any configuration we can do to cleanup/remove the previous log files ? Out application runs for many days and each of these log files is about 400MB. This would really eat up a lot of memory. Would really appreciate any help on

Re: EOFException Servlet Exception?

2003-09-24 Thread Support
Lastly! Whatever you do DO NOT call con.getContentLength in jdk 1.1.7+ it will cause you a lot of headaches! con = url.openConnection(); con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); con.setRequestProperty("Content-Type", "application/x-java-s

Re: EOFException Servlet Exception?

2003-09-24 Thread Support
One other small important note: If you compile your applet using 1.1.7+ jdk with Tomcat 4.1.27 or better you will get an EOFException in your log, however your object will still package and unpackage alright for the server and the client. I detect the java client version and based on that I make a

Re: EOFException Servlet Exception?

2003-09-24 Thread Support
I figured it out ... For those lost souls searching the web for the answer to this question: First "rebuild" the servlet - THEN "rebuild" the applet. Presto! It works again. Not exactly sure why this is - probably something to do with 'serialization' process. Hope it helps someone else ... -Alan

Re: Threads and tomcat

2003-09-24 Thread Tim Funk
Ok. I don't know and wish not to know. (Prefer to see what the spec says with respect to threads and obey that) At a minimum, tomcat obeys the spec with respect to thread usage. Tomcat will create the number of threads needed to serve the requests concurrently up to the configured limit. (minPr

Re: Threads and tomcat

2003-09-24 Thread Josh G
Tim Funk wrote: The lifespan of a thread or request? -Tim A thread. Like when does tomcat decide to create them, and when they're done servicing a request are they killed or simply put on hold back in the pool to wait for the next request? And if they're kept alive, how long before thet're cle

Bug JSTL

2003-09-24 Thread Julien Martin
Thanks for your reply Yann, It turned out to be a bug. I downloaded the latest standard.jar archive and it is now working fine. Julien.

RE: JDBC Realm problems

2003-09-24 Thread Madere, Colin
I think your problem is that /* does not match on the end of the URL you are requesting. I know this is kind of screwy, I've had LOTS of fun with Tomcat Realms :) "/*" will match for "/test/*" (since you are within the "test" application) not the root of the server. Try just "*" in the auth conf

RE: Can't Setup!

2003-09-24 Thread Matthew Hall-Smith
We had this issue when applying JDK 1.4.2 over a previous JDK 1.4.0. We did 3 things to correct the JDK install, which made it work : 1) Uninstalled the old JDK 2) Removed two registry entry at HK Local machine\ software\ Microsoft\ code store database\ distribution units\{GUID}\java runtime env

SSL Connector attributes

2003-09-24 Thread Ian Elverson
I am trying to find out what all of the possible values are for the 'algorithm' and 'protocol' attributes of the Factory element in the HTTPS connector. I have looked all over the web and have only found a reference to the existence of the 'algorithm' attribute, but no usage examples. Also, the o

RE: Can't Setup!

2003-09-24 Thread Tam, Michael
Make sure you have set the environment variable JAVA_HOME & CATALINA_HOME. -Original Message- From: Rodrigo Poblanno Balp [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:31 PM To: Tomcat Users List Subject: Can't Setup! Hi, I've just installed Tomcat 4.1.24-LE-jdk14 for W

Re: Mutual and Basic Authentication switched on for the same web application

2003-09-24 Thread Tim Funk
What is mutual authentication? In web.xml you can define security contraints on servlets or URLS. Each constraint can have its own login requirements. (FORM vs BASIC ...) -Tim Rudolf Castelino wrote: Hi all Is there a way to switch on Mutual and Basic Authentication switched on for the same

Re: can't setup

2003-09-24 Thread Larry Meadors
I have a friend named google who can help you. www.google.com :-D >>> [EMAIL PROTECTED] 09/24/03 2:34 PM >>> Hi, I've just installed Tomcat 4.1.24-LE-jdk14 for Windows and I have Sun's J2SDK1.4.2. The installation seems to go on perfect, but when I try to see http://localhost:8080 on my brows

Re: Stop Tomcat Remotely

2003-09-24 Thread Filip Hanik
I was under the impression, and this has maybe already been answered, that because of security issues, 8005 only accepts connections from the same host Filip - Original Message - From: "Allen Hadden" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September

EOFException Servlet Exception?

2003-09-24 Thread Support
Has anyone had to upgrade FROM Tomcat 4.0.x TO Tomcat 4.1.27 or 5.0.x ONLY to get an EOFException when transferring a serialized object between an Applet running (MSJVM) 1.1.8 OR Plugin 1.4.2 AND servlet (JVM 1.4.2). Tomcat 4.1.24 does works fine! It's just when I upgrade to 4.1.27 or 5.0.x then

can't setup

2003-09-24 Thread Rodrigo Poblanno Balp
Hi, I've just installed Tomcat 4.1.24-LE-jdk14 for Windows and I have Sun's J2SDK1.4.2. The installation seems to go on perfect, but when I try to see http://localhost:8080 on my browser I get this message (I exclude the exceptions): org.apache.jasper.JasperException: Unable to compile class for J

RE: Runtime.getRuntime().addShutdownHook()

2003-09-24 Thread Robert Priest
Thanks Yoav. I would like just to add that functionality in contextDestroyed(), but that does not seem to get called when my JVM shutsdown. I am using a version of TC 4.1.7 running as a service, and the service calls has: Stop Class"="org.apache.catalina.startup.BootstrapService" "Stop Method"="

Re: Acces to processing information

2003-09-24 Thread Tony Thompson
You could look at using a filter in your web app. I don't know how that would fit in with the rest of your app but, that would always give you access to the request. Tony >>> [EMAIL PROTECTED] 09/24/03 03:19PM >>> Hello all, Are there any facilities in tomcat for getting the sesssion id

RE: Stop Tomcat Remotely

2003-09-24 Thread Allen Hadden
If it's running as a Windows service, do this: (note that these instructions are for Windows 2000): 1. Right click on My Computer and select Manage. The Computer Management window opens. 2. Right click on Computer Management and select the "Connect to another computer..." 3. Select the comp

RE: Stop Tomcat Remotely

2003-09-24 Thread srinath narasimhan
I tried that, one 8005 is not even open ( I don't know if this is because tomcat runs as a windows service ) The documentation says that that can be done only from the local computer. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 15:2

Can't Setup!

2003-09-24 Thread Rodrigo Poblanno Balp
Hi, I've just installed Tomcat 4.1.24-LE-jdk14 for Windows and I have Sun's J2SDK1.4.2. The installation seems to go on perfect, but when I try to see http://localhost:8080 on my browser I get this message (I exclude the exceptions): org.apache.jasper.JasperException: Unable to compile class for J

How to make Dispatcher send the right resource?

2003-09-24 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi TomCat guys, my jsp generates a PDF file, which should be send to the browser. However, this pdf file is created under Tomcat's bin directory (outside my context path) instead of my app context (WEB-INF\guia). So, how can my jsp catch this file or better, how can i change TomCat configuration? T

Acces to processing information

2003-09-24 Thread Jared Walker
Hello all, Are there any facilities in tomcat for getting the sesssion id using a static method of some sort? I would like to add the session id to a logger I'm creating for our application, but I can't find any easy way to do it without requiring that the request be a parameter of the log

RE: Runtime.getRuntime().addShutdownHook()

2003-09-24 Thread Shapira, Yoav
Howdy, Yes, it can be used. I've used it without a problem. You just want to be careful: most things you'd put as a shutdown hook in a normal program should go in a ServletContextListener's contextDestroyed() event in a servlet container. Yoav Shapira Millennium ChemInformatics >-Original

Runtime.getRuntime().addShutdownHook()

2003-09-24 Thread Robert Priest
Has anyone ever attempted to use this in a servlet in Tomcat? I assume it can be used, correct? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SSL Encryption buffer size

2003-09-24 Thread William Bondy
I have SSL clients that can process maximum 4Kb of encrypted data per chunk. Is there a way to configure the Coyote SSL factory to produce SSL sockets that will not use an encrypt buffer greater than 4Kb? Thank you. Bill.

RE: Stop Tomcat Remotely

2003-09-24 Thread Shapira, Yoav
Howdy, And what happens if you telnet to the host where tomcat is running, to the port specified as the server port (not the connectors) in tomcat's server.xml, and type SHUTDOWN? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: srinath narasimhan [mailto:[EMAIL PROTEC

RE: Stop Tomcat Remotely

2003-09-24 Thread Prabhat Kumar (IT)
I believe you can do that. Telnet to port 8005 and issue a SHUTDOWN. -Original Message- From: srinath narasimhan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:14 PM To: Tomcat Users List Subject: RE: Stop Tomcat Remotely Well sometimes you have no choice or its not in

PHP

2003-09-24 Thread MPacheco
Srs, How can I configure to use ApacheTomcat/4.1.27 with PHP pages? Regardas, Mauricio Pacheco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Stop Tomcat Remotely

2003-09-24 Thread srinath narasimhan
Well sometimes you have no choice or its not in your hands to decide. I know it can be done in unix. It can be done in windows as well if you enable telnet or using WMI scripts ( those involve other security rights issues same as in unix). What I was expecting is somehow make a socket ( telnet ) co

RE: Tomcat heap memory allocation in Linux

2003-09-24 Thread Shapira, Yoav
Howdy, So the same tomcat version and same JDK version on different platforms yield different results? ;) That's a shocker... There have been discussions on this list in the past regarding the unreliability (is that a noun??) of the top command on linux. You can search the archives for more det

Re: Stop Tomcat Remotely

2003-09-24 Thread Greg Ward
On 24 September 2003, srinath narasimhan said: > Is there any way to stop tomcat from remote computer ? > Tomcat is run as windows service. Well, how do you normally run commands remotely with Windows? If the server is a Unix box, you could do this: ssh [EMAIL PROTECTED] "$CATALINA_HOME/bin/cat

Tomcat heap memory allocation in Linux

2003-09-24 Thread sqdang
Hi, I am using tomcat 4.1.27 running on Red Hat Linux 9 and Sun's JDK 1.4.1_01. Here is my issue. I wanted to allocate more heap space to run tomcat. So, I placed the following line in the file catalina.sh: JAVA_OPTS="-Xms256m -Xmx400m" I shut down tomcat, reboot linux, and started tomcat

mapping a servlet to multiple urls

2003-09-24 Thread Marion McKelvie
I think I may be misunderstanding how to map multiple urls to a servlet. I have a very simple servlet which when I use the following mapping (for context prj) myServlet /servlet/fred everything works fine and I can see my servlet output at /prj/servlet/fred. If I try myServlet /servlet/*

RE: Tomcat 4 appears to ignore web.xml after upgrade

2003-09-24 Thread Shapira, Yoav
Howdy, ;( This is a FAQ... Let me guess: you have errors in your tomcat server log telling you your web.xml is not valid according to the Servlet Specification v2.3 DTD. You either didn't see or chose to ignore those errors. Well, you can't. Ensure your web.xml is valid according to the above

Tomcat 4 appears to ignore web.xml after upgrade

2003-09-24 Thread Gabe
I upgraded a Tomcat installation from 3.2.3 to 4.1.24, with a virtual host configuration using apache. Everything works fine, except that nothing in the web.xml file seems to be registering. This same web.xml file worked in Tomcat 3.2.3. That is: - taglibs are only able to be referenced using th

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Phillip Qin
CVSNT + Eclipse -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: September 24, 2003 11:50 AM To: Tomcat Users List Subject: RE: [OFF TOPIC] Version Control The Client as well as a cvs server. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTE

Re: Possible bug in Tomcat JSTL

2003-09-24 Thread Yann Cébron
Julien, if I remember right there were some problems with earlier releases of JSTL regarding TagPooling and not re-setting the Locale, try the latest one (I think it's 1.0.3) to see if problems disappear. Cheers, Yann ** I am struggling to get the fmt:message tag working in Tomcat 5.0

Possible bug in Tomcat JSTL

2003-09-24 Thread Julien Martin
Hello, I am struggling to get the fmt:message tag working in Tomcat 5.05. Here is what I do and the result I get: 1. I set the locale using a el expressions as follows: 2. I then choose a resource bundle as follows: 3. I finally display a message as follows: I have to retranslate and reco

Enabling error reports

2003-09-24 Thread Giovanni P. Tirloni
Hi, I have Tomcat 4.1.27 installed and it isn't showing to the user the error report when it can't compile. Before upgrading from version 4.1.24 it was generating such reports (line with error, what happened, etc) and debugging was easier. Now it only logs to catalina.out and even there the

RE: Urgent plz...modjk2, Tomcat 4.1.27, apache 1.3.24 integration

2003-09-24 Thread Goehring, Chuck Mr., RCI - San Diego
Mohan, I believe this "Address already in use" message always means something else is already listening on the port/LAN card/IP address. Could be another Tomcat or another web server. Doc at www.johnturner.com/howto is best instruction on modjk2/Tomcat/apache. If on Windows, check services a

Re: IIS5+tomcat4.1 configuration problem

2003-09-24 Thread Kareem Mahgoub
you mean you have something to prevent files of type reg?? Best regards, Kareem Mahgoub Senior System Administrator Wayout Phone: +2023017153 Fax: +2023017130 45 El Batal Ahmed Abdel Aziz st. 14th Floor, Mohandeseen Cairo, Egypt - Original Message - From: "Mats Andersson" <[EMAIL PROTECTED

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
It is A... The machine this is on is a Sun with the 2.8 OS. The java directory was /usr/java1.2 and I add the current J2EE to it (at the time j2sdkee1.3.1) and I did not add a JDK. But this should be taken care of by adding Java 2 SDK, Standard Edition 1.4.2_01. I will try that and see what happe

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Mike Curwen
It's probably called /usr/java1.2. because it : a) had j2ee1.2 in it? b) it had jdk 1.2 in it? If it's a), you don't even have a JDK. If it's b), then then JDK is too old. Either way, you don't have what you need. "putting it in the classpath". That really is only important if you're compili

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
JAVA_HOME points to /usr/java1.2. In that directory I have the j2ee and it information. I am currently downloading the Java 2 SDK, Standard Edition 1.4.2_01. If I install this and put the information in the class path..will it provide me with what I need. Allen -Original Message- From: M

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Robert Priest
WinCvs and TortoiseCvs are clients. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:48 AM To: 'Tomcat Users List' Subject: RE: [OFF TOPIC] Version Control I think what he really needs is a CVS client. Eclipse and NetBeans both integra

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Pitre, Russell
The Client as well as a cvs server. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:48 AM To: 'Tomcat Users List' Subject: RE: [OFF TOPIC] Version Control I think what he really needs is a CVS client. Eclipse and NetBeans both

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Phillip Qin
I think what he really needs is a CVS client. Eclipse and NetBeans both integrate the CVS client. -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent: September 24, 2003 11:16 AM To: 'Tomcat Users List' Subject: RE: [OFF TOPIC] Version Control I would try WinCvs for a b

Mutual and Basic Authentication switched on for the same web application

2003-09-24 Thread Rudolf Castelino
Hi all Is there a way to switch on Mutual and Basic Authentication switched on for the same web application, such that certain URLs need Basic Authentication and Certain URLs use Mutual Authentication for the same web application. Regards Rudolf _

Re: IIS5+tomcat4.1 configuration problem

2003-09-24 Thread Mats Andersson
Sorry, but I didn't get the attached file :-( Mats kareem wrote: Hi list Thanks for the reply Please find attached my registry file. To Rober Priest : I don't have those files at all, could you please guide me where I can get them. Best Regards, Kareem Mahgoub -

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Mike Curwen
> -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 9:54 AM > To: Tomcat Users List > Subject: RE: Configuring and using cgi scripts in Tomcat > > > I have the j2ee.jar file in the classpath...should that not > provide the current

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Robert Priest
I would try WinCvs for a beginner. Yes tortoise intergrates with explorer, but I find that WinCvs is more flexible. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:14 AM To: Tomcat Users List Subject: RE: [OFF TOPIC] Version Control

RE: Running multiple instances of one webapp

2003-09-24 Thread Shapira, Yoav
Howdy, Web.xml is part of the webapp, so no. But you can do something similar: define env-entry references in web.xml for those settings that are different for each copy of the webapp. Then define the values for these env entries different in server.xml. Each webapp's web.xml will be exactly th

Re: JSP Compulation problem

2003-09-24 Thread Peter Lin
well the easiest way is to remove just the .java and .class files and leave the directory structure. that's worked for me in the past. peter "Pooleery, Manoj" <[EMAIL PROTECTED]> wrote: Hi, I have Tomcat 4.1.18 running on Unix. As part of the application, I have a JSP file which shows the m

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Ralph Einfeldt
CVS has a gui interface. (Even more than one) http://www.wincvs.org/ http://www-csr.bessy.de/control/Soft/tkCVS/ http://www.tortoisecvs.org/ For a more complete overview see: http://www.cvshome.org/dev/addons.html > -Original Message- > From: Pitre, Russell [mailto:[EMAIL PROTECTED] > S

JSP Compulation problem

2003-09-24 Thread Pooleery, Manoj
Hi, I have Tomcat 4.1.18 running on Unix. As part of the application, I have a JSP file which shows the main page. I had problems with Tomcat caching it, so, I added a script to remove the localhost folder before tomcat starts up. But right now, whenever I start Tomcat and access the app, it is

Re: [OFF TOPIC] Version Control

2003-09-24 Thread Jurjan-Paul Medema
Subversion (cross platform) can be used nicely with GUI TurtoiseSVN (Windows only). Pitre, Russell wrote: Sorry for the Off topic question I'm looking for suggestions for a free version control system. I've tried cvs before.but, the learning curve is really steep for me...i'd rathe

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Jeremy Nix
Cvs does have "many" GUI interfaces. WinCVS being just one of these. _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 621-6699 ext 1158 -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September

[OFF TOPIC] Version Control

2003-09-24 Thread Pitre, Russell
Sorry for the Off topic question I'm looking for suggestions for a free version control system. I've tried cvs before.but, the learning curve is really steep for me...i'd rather go with something that has a gui interface. Thanx in advance --

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Shapira, Yoav
Howdy, All j2ee.jar provides in the tomcat classpath is a headache. J2ee.jar contains the servlet classes, which is bad (http://jakarta.apache.org/tomcat/faq/classnotfound.html#filter). Also search the list archives on this... Yoav Shapira Millennium ChemInformatics >-Original Message

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
I have the j2ee.jar file in the classpath...should that not provide the current jdk. Allen -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 6:12 PM To: 'Tomcat Users List' Subject: RE: Configuring and using cgi scripts in Tomcat In the st

Running multiple instances of one webapp

2003-09-24 Thread Jonathan A. Chase
On our instance of Tomcat 4.1.27 we have a webapp which we make available to a number of different clients, where the configuration variables (web.xml) are slightly different for each client. Currently, if we have three clients who wish to use the app, we make three copies of it and updated we

Re: Jasper compile errors and IE

2003-09-24 Thread Tony Thompson
>From the traces I have already done, I am getting back a valid HTTP response (it works with Mozilla as well). So, it looks like it is probably an IE issue. However, I don't know that there is a good reason for Jasper to shove the entire error message in the status line. Am I correct in assuming

Re: Tomcat 4.1.24 (or 27) with Log4j 1.2.8 - Tomcat does not start

2003-09-24 Thread Mahesh Joshi
Hi , If you read my post completely, you will see that I have already done that but then I get a similar exception with Struts 1.1 thanks! Mahesh - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 200

RE: IIS5+tomcat4.1 configuration problem

2003-09-24 Thread Robert Priest
Either from here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32 / or download the latest apache and get them out of there. You definitely need those with isapi_redirector2.dll.

AW: How to configure Tomcat to acceppt PUT requests for servlets?

2003-09-24 Thread Jürgen Schwarz
Hi, I use a Java client to send the PUT request: <-- cut here --> connection.setDoOutput(true); connection.setRequestMethod("PUT"); connection.setUseCaches(false); connection.setRequestProperty("Content-Type","text/xml"); os=connection.getOutputStream() os.write(myXmlData); os.flush(); os.close()

HTTP method POST is not supported by this URL

2003-09-24 Thread Andrew Willemsen
Dear List, As a new subscriber (and user of Tomcat), please forgive me if this subject has been raised before. The company I work for has been supplied with a Java toolkit by an external contractor that allows us to access our database software through JSP pages. It uses the normal combination of

Re: character encoding, JAAS, servlet filter vs. valve

2003-09-24 Thread Adam Hardy
Well post a message if you manage to sort it out. I now wasting time trying to get emacs to work with unicode, but when I've done that, I'll should be able to try out the same thing as you. The way I see it, as long as the html login page going out to the browser has character-encoding set to U

Re:IIS5+tomcat4.1 configuration problem

2003-09-24 Thread kareem
Hi list Thanks for the reply Please find attached my registry file. To Rober Priest : I don't have those files at all, could you please guide me where I can get them. Best Regards, Kareem Mahgoub - To unsubscribe, e-mail: [EM

Re: Configuring a JDBC Data Source

2003-09-24 Thread Paul
you should be able to find all the packages given below on the Tomcat website somewhere. Just browse around. Don't forget to unzip the packages, because they contain .jar's within the compressed download. DBCP uses the Jakarta-Commons Database Connection Pool packages: Jakarta-Commons DBCP 1.0

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-24 Thread Adam Hardy
You know I think Sarika must have got thrown in the deep end. Perhaps he can demand they train him up, or at least pay for a few books! On 09/24/2003 02:51 PM Shapira, Yoav wrote: Howdy, Dude, get a servlets book. If you have "no idea on how to use the web.xml" you need some more serious guidanc

RE: How to configure Tomcat to acceppt PUT requests for servlets?

2003-09-24 Thread Shapira, Yoav
Howdy, Please ignore my earlier response, WebDAV has nothing to do with it. I just verified PUT requests work fine in tomcat 4.1.27. I'm attaching a WAR with a servlet and a test class to show this is true. I'm also concurring with Mark Thomas in verifying bug 12938 (http://nagoya.apache.org/b

Re: Configuring a JDBC Data Source

2003-09-24 Thread Adam Hardy
at jakarta.apache.org from their binary downloads page. On 09/24/2003 01:05 PM Renda, Michael wrote: I've got the commons-dbcp.jar file in the common/lib directory. Where do I find the commons-pool.jar file? Mike -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednes

(tomcat 4) absolute links in dir listing

2003-09-24 Thread P . van Kemenade
Hi I'm building an 'agent' in front of our http filesystem. it checks every request, does some smart things and dispatches to the file requested in DefaultServlet. if I dispatch to a directory, the DefaultServlet returns a dirlisting. I like this a lot. but the links in it are abolute links, so th

Re: quick question

2003-09-24 Thread Atreya Basu
Hi Steven, You should be able to if your URI directive is something like, [uri:localhost/*.jsp]. The other thing that you need to do is set up the proper context for the JSP, so if you want to place them in /home/apache, you'll need to add the proper context directive in your server.xml file.

AW: destroy() is not called when Context is reloaded

2003-09-24 Thread Philipp Leusmann
Yes I am only talking about context-reloading. and I already thought about setting a Context.Attribute in the ServletContextListener, but the ServletContextListener is not called if there are still any service-methods working. So it would of no use for me. also I just have experimented with destroy

Stop Tomcat Remotely

2003-09-24 Thread srinath narasimhan
Is there any way to stop tomcat from remote computer ? Tomcat is run as windows service. I know that it can be done through the windows UI ( if you have rights ), can it be somehow done through scripts ? Thanks. - To unsubscribe,

RE: How to configure Tomcat to acceppt PUT requests for servlets?

2003-09-24 Thread Shapira, Yoav
Howdy, Hey I just stumbled on this post which may help: http://dotnetguy.techieswithcats.com/archives/003089.shtml By the way, how do you simulate a PUT request for testing? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jürgen Schwarz [mailto:[EMAIL PROTECTED] >Sen

Re: peer not authenticated

2003-09-24 Thread Kleber
Hi... It is truth, I had installed 4.1.24 version and it haven't occured any error. It seems that 4.1.27 version is quite unstable yet. I´m thankful for your help, []'s Kleber - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September

RE: IIS5+Tomcat4.1 integration problem

2003-09-24 Thread Robert Priest
Do you have the libapr.dll and libaprutil.dll files in the same directory as the isapi_redirector2.dll? -Original Message- From: Mats Andersson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:50 AM To: Tomcat Users List Subject: Re: IIS5+Tomcat4.1 integration problem What

RE: destroy() is not called when Context is reloaded

2003-09-24 Thread Robert Priest
If I were to add a jar in that webapp's WEB-INF lib dir during tomcat execution, I have seen the Servlet destroy() method get called. however, I think when you shutdown tomcat (even properly, meaning with the "catalina stop"), that the destroy() method does not get called. I guess another solutio

AW: destroy() is not called when Context is reloaded

2003-09-24 Thread Philipp Leusmann
even if the service-method is still "running"? Maybe I´ll have to try another tomcat-version... > -Ursprüngliche Nachricht- > Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 24. September 2003 15:47 > An: Tomcat Users List > Betreff: RE: destroy() is not called when Cont

Re: IIS5+Tomcat4.1 integration problem

2003-09-24 Thread Mats Andersson
What do you have in your registry? Can you make an export and send it to the list? Mats Kareem Mahgoub wrote: Hi all, Sorry for the repeated question. I've seached the archive and read many howtos and my problem still persists. The problem is that the isapi filter is not working i.e. red arrow

RE: destroy() is not called when Context is reloaded

2003-09-24 Thread Shapira, Yoav
Howdy, Then I don't know why destroy() is not being called. I certainly can't reproduce it, as I have many servlet in many webapps whose destroy method properly gets called on context reload, in both tomcat 4.1.x and 5.0.x. Sorry... Yoav Shapira Millennium ChemInformatics >-Original Mes

AW: destroy() is not called when Context is reloaded

2003-09-24 Thread Philipp Leusmann
yes http://www.servlets.com/cos/javadoc/com/oreilly/servlet/RemoteDaemonHttpServ let.html > -Ursprüngliche Nachricht- > Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 24. September 2003 15:34 > An: Tomcat Users List > Betreff: RE: destroy() is not called when Context is

RE : Broken pipe in Servlet.sercice()

2003-09-24 Thread Saint-Martin Cécile
Code for ApplicationObjectServlet : private void recupererListe( HttpServletRequest request, HttpServletResponse response, String nomObjet) throws IOException { try { List listeDonnee = (List) UtilsCom.litSurFluxZipp

RE: destroy() is not called when Context is reloaded

2003-09-24 Thread Shapira, Yoav
Howdy, Does RemoteDaemonHttpServlet extend HttpServlet? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Philipp Leusmann [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 24, 2003 9:29 AM >To: Tomcat Users List >Subject: AW: destroy() is not called when Context is

quick question

2003-09-24 Thread Steven Garrett
Hi, Can I envoke jsp from outside of the application directory. For example, I have /var/tomcat4/webapps/application/some.jsp. Can I put some.jsp in /home/apache/ (my apache docroot) and have it still work? Thanks, Steve - To

AW: destroy() is not called when Context is reloaded

2003-09-24 Thread Philipp Leusmann
You can find the source here: http://www.servlets.com/jservlet/examples/ch10/ChatServlet.java The only thing I added is: public void destroy() { log("This servlet should be closed"); } And I replaced one or two deprecated method-calls as described in sun's javadocs. These replacements sho

Re: Jasper compile errors and IE

2003-09-24 Thread Tim Funk
Try this: substituting the appropriate parameters telnet myserver 80 GET /mypage HTTP/1.1 Connection: close Host: myserver User-Agent: IE UA ID And see what the response is. If the repsonse looks like a valid HTTP Response - then its an IE bug. -Tim Tony Thompson wrote: I have

Jasper compile errors and IE

2003-09-24 Thread Tony Thompson
I have an issue with JSP compile errors not being displayed in the browser when I am using IE. The situation only seems to happen when I try to compile a JSP that has lots of errors. If I have a large JSP (50+ lines or so) and create one error (like leaving a ; off the end of a line early in the

RE: Broken pipe in Servlet.sercice()

2003-09-24 Thread Shapira, Yoav
Howdy, >We use a servlet to send serialized data to a java client. It always append Post the relevant servlet code. >Is there a limitation to the size of data that we can send by a socket? No. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, an

Broken pipe in Servlet.sercice()

2003-09-24 Thread Saint-Martin Cécile
Hi, We have an error that occured several times each day. We use a servlet to send serialized data to a java client. It always append when the servlet sent a big list of objects : 2003-09-15 12:35:56 StandardWrapperValve[ApplicationObjectServlet]: Servlet.service() for servlet ApplicationObjectSe

RE: Tomcat 4.1.24 (or 27) with Log4j 1.2.8 - Tomcat does not start

2003-09-24 Thread Shapira, Yoav
Howdy, I just answered this question on log4j-user. Thanks for cross-posting Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mahesh Joshi [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 24, 2003 2:25 AM >To: [EMAIL PROTECTED] >Subject: Tomcat 4.1.24 (or 27) with

RE: Not getting the webpages shown in tomcat 4.1.24

2003-09-24 Thread Shapira, Yoav
Howdy, Post the errors from your server log. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: kgsat [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 24, 2003 3:18 AM >To: Tomcat Users List >Subject: Not getting the webpages shown in tomcat 4.1.24 > >hi friends, >

  1   2   >