Re: jk_nt_service and NT error 2140
Was this email addressed to me or the tomcat users group? In any case, I've never tried tomcat 3.3 yet, so I don't know. Have you looked at any log files? Betty - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 11:38 AM Subject: jk_nt_service and NT error 2140 Hi, I'm trying to start tomcat as a Windows NT service and get an error when I try to start the service. The steps, I did: - install tomcat 3.3m4 to x:\jakarta-tomcat-3.3m4 (drive x: is my harddisk) - install jk_nt_service.exe in the x:\jakarta-tomcat-3.3m4\bin directory - edit the the file x:\jakarta-tomcat-3.3m4\conf\jk\wrapper.properties and change TOMCAT_HOME and JAVA_HOME: wrapper.tomcat_home=x:\jakarta-tomcat-3.3-m4 (i also triedtomcat-3.3-m3) wrapper.java_home=x:\jdk1.2.2 (i also tried jdk 1.3.0) - install the service with: jk_nt_service.exe -I tomcat-3.3m4 x:\jakarta-tomcat-3.3-m4\conf\jk\wrapper.properties (NT says ok) - TRY TO start the service in the control panel/services dialog: --- NT says: Error 2140 Did I forgot something or did I misunderstood something or is there a real problem with jk_nt_service.exe? Thanks in advance, juergen
jaxp.jar/parser.jar xalan.jar/xerces.jar Redhat 7 tomcat 3.2.1
Hi -- I'm using tomcat 3.2.1 on redhat7. I need xalan.jar and xerces.jar to handle XML/XSL: stuff in my servlets. I realize that to do this, I must rename or remove jaxp.jar and parser.jar from my tomcat lib directory, or else I will get a missing method. I've done this with an NT system, as well as a redhat 6.x, and it works. However, with this latest system, if I remove jaxp.jar and parser.jar from the tomcat lib, tomcat WILL NOT START. It seems like it needs to have those jar files. If I include them, then I get a noSuchMethodError with the method 'Node:getNamespaceOfNode()' when I run my servlet. What's wierd is that with my other systems, if jaxp.jar and parser.jar are there, the noSuchMethodError happens for getNamespaceURI(), which is a different method. Something is different with this system, but I don't know what. Has anyone seen this problem? Thanks Betty
conflict between jaxp.jar, parser.jar (tomcat lib) and xalan.jar,xerces.jar?
Hi -- I'm running a servlet application that uses the apache-XML xalan.jar and xerces.jar files for handling XML/XSL stuff. With tomcat 3.2.1, when I run my servlet, I get NoSuchMethodError on getNamespaceURI(), called by org.apache.xpath.DOM2Helper.getNamespaceOfNode(). I solved this problem by removing the jaxp.jar and parser.jar files that come with the tomcat installation and sit under the lib directory. The servlet still runs without those jar files, so the xalan.jar and xerces.jar must do the trick. Is there some kind of version conflict that causes the NoSuchMethodError? Thanks Betty
wierd problems --tomcat and servlets and multiple processor NT server
Hi -- I'm having some strange problems running some load testing simulating many concurrent users hitting a servlet. With a single-processor NT box, things seem to work for quite a few "users", but with a multiple-processor NT server, things die quickly, and it dies to the point that some servlets will come up, but other servlets that try to do something as simple as get a java.util.Date and format it will hang on those calls. Has anyone seen this behavior before? I'm running tomcat3.2.1 standalone. Thanks Betty Portal Wave, Inc.Catalyst for Collaborative Commercewww.portalwave.com
basic authentication -- where is there a simple example?
Hi -- Can someone point me to a simple example of how to setup tomcat for basic HTTP authentication? Thanks Betty Portal Wave, Inc.Catalyst for Collaborative Commercewww.portalwave.com
Re: question about uploading files and multipart/form-data FORMS
HI Andreas -- Thanks for your reply. I also have no problem with tomcat. It's Apache with JServ that causes me problems. So I was wondering if there is a problem just with Jserv. Ibelieve another Email on this read said that it is a known problem with an earlier JServ Betty - Original Message - From: Andreas Mecky To: [EMAIL PROTECTED] Sent: Wednesday, April 04, 2001 2:17 AM Subject: AW: question about uploading files and multipart/form-data FORMS Hi Betty, I am using the perfect class from O'Reilly (MultiPartReuqest) for uploading files. This classes works fine for me. I never had any problems with Tomcat and uploading any kind of file. OK, I haven't tested all types of files to be honest but so far everything is fine. Try this classes. WBR Andreas -Ursprüngliche Nachricht-Von: Betty Chang [mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 4. April 2001 02:56An: [EMAIL PROTECTED]Betreff: question about uploading files and multipart/form-data FORMS Hi All -- With Tomcat, I have no problems submitting forms with ENCTYPE="multipart/form-data" and uploading files into my server. However, when I was using Apache/JServ, certain files will not upload because the code that reads the uploaded data dies on a read()call somewhere with an application null error. I cannot determine what causes the problem -- it's not the type of file, or anything, such certain files, and .doc files seem to be the most troublesome. Has anyone else seen this problem with apache/Jserv, but not with Tomcat? Thanks Betty Portal Wave, Inc.Catalyst for Collaborative Commercewww.portalwave.com
question about uploading files and multipart/form-data FORMS
Hi All -- With Tomcat, I have no problems submitting forms with ENCTYPE="multipart/form-data" and uploading files into my server. However, when I was using Apache/JServ, certain files will not upload because the code that reads the uploaded data dies on a read()call somewhere with an application null error. I cannot determine what causes the problem -- it's not the type of file, or anything, such certain files, and .doc files seem to be the most troublesome. Has anyone else seen this problem with apache/Jserv, but not with Tomcat? Thanks Betty Portal Wave, Inc.Catalyst for Collaborative Commercewww.portalwave.com
How to handle a user clicking very fast repeatedly on a web page
Hi -- This is a sort of a strange question. If a user clicks very fast repeatedly on a web page on links that go back to tomcat for a new page generated by a servlet, we can get problems where suddenly the servlet does not respond. How do others handle this scenario? Is it supposed to be okay for a user to do this? Does the webserver queue up all these clicks? Does the browser? I know that all sounded kind of lame, but I'm not sure I understand what is going on and what is failing. Betty
where does one find instructions on configuring IIS with tomcat as aservlet runner?
Hi all -- I'm seeking documentation on configuring IIS with tomcat Betty
Re: Problem with Tomcat as NT service
Does your wrapper.properties include the jar or zip file of your JDBC driver? Betty - Original Message - From: Vinod [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 03, 2001 3:47 AM Subject: Problem with Tomcat as NT service Hi, I have jakarta-tomcat-3.2 running on Win NT4 and IIS. I have used jk_nt_service.exe to make tomcat as NT service and followed the steps as it is in the documentation. After that I have started the service, when I run a small jdbc example I got the sql exception 'No suitable jdbc driver found'. The same program runs fine when I start tomcat manually. Please provide solution. Thanx n Regards, Vinod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
wierd problem reading remote mapped files in servlets
Hi all -- has anyone seen this problem? I running a servlet on Windows 2000, or NT, and it's trying to read a file that is mapped from a remote machine (e.g.: m:\junk.txt, where m: is mapped to something on the network). On Windows 2000, the drive will actually disconnect on me (when I run "net use", I see that) and the program cannot read the file. If I run the program as a main(), things work fine. Any clues?? Thanks Betty Portal Wave, Inc.The Fastest Track to Integrated e-Businesswww.portalwave.com
documentation for jk_nt_service.exe
Hi -- where in the apache.org site is the documentation for how to use jk_nt_service.exe? Thanks
Is there a way to configure the maximum number of session that a tomcat servlet runner can allow?
Hi all -- I'm looking for a way for my servlet to detect when the number of connections is too high, in order to limit the load. What's the best way to do this? Thanks Betty Portal Wave, Inc.The Fastest Track to Integrated e-Businesswww.portalwave.com
servlets and the refer link
Hi all -- which call do I make to obtain the "refer link" when my servlet is accessed via a doGet()? I want to obtain the last URL that user visited before getting to my servlet. Is that possible? Thanks Betty