Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: build.bat Additional Information: none Hi ! See the attached files. Edit the build.xml and change this line: Set the value to your application's directory name, and run the batch. Thats it. - Original Message - From: "Anshul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 10:51 AM Subject: How to make a war file > I have got all the file structure ready to make this archive. But how do we > create one? I didn't find it being demonstrated at any place. > I studied that it's similar to jar. So what do I do? jar cvf xyz.jar abc? > And rename xyz.jar to xyz.war? > > build.bat
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: jakarta.reg Additional Information: none Just right click on this file and say merge. provided the directory structure has not been changed. If you have then edit the attachment and change the path as relevant. Most often this problem is caused by a typo in the registry entries. thanks sax - Original Message - From: Robert, Betts <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 23, 2001 6:48 PM Subject: problem with /jakarta/isapi_redirect.dll on win2k > Howdy > > I have looked at the docs, faq and gone throught the list archive, but not > found a solution to my particular problem. > > I have installed tc 3.2.1 on a win2k prof machine with iis 5, running tomcat > out of process. > > I can run tomcat with no problems as a service or as a stand alone > executable. > > I can also load isapi_redirect.dll as a ISAPI filter and it shows the green > light. > > I have tripple checked that the right permissions have been setup on the > virtual directory /jakarta, and that it includes execute permissions. > > Can anyone please help me or point me in the right direction. > > I get an file not found error when run the examples, BUT I get NO ERROR when > I run http://localhost:8080/examples/jsp/index.html. > > Thanks > > Rob > > Now for the problem details: > > When from my browser I call "http://localhost/examples/jsp/index.html";, I > get the followinf out put: > > Not Found (404) > Original request: /jakarta/isapi_redirect.dll > > Not found request: /jakarta/isapi_redirect.dll > > Web Logfile has the following: > > 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 401 > 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 200 > > The output from tomcat: > > 2001-05-23 03:05:41 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll > + null) null > > > jakarta.reg
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: tomcat.reg Additional Information: none Hi, I thought you wouldn´t mind to include a link to a .REG file in http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html, to make the installation simpler. So here it is. Bruno GazzeraDepartamento de SistemasPaginar.netArenales 1239, Puerta 1, Piso1(CA1061AR) Capital Federal, ArgentinaTel/Fax (54 11) 4815 1212[EMAIL PROTECTED]http://www.paginar.net tomcat.reg
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: tomcatv1.bat Additional Information: none Hi, This is the modified batch file of tomcat 3.2 .1 I was successfull, in modifying the tomcat batch file, so that tomcat uses "xerces.jar" instead of "xml.jar" . I would request the Apache development team to distribute this batch file instead of the "tomcat.bat" batch file supplied. This will save a lot of time , especially , for newbies. Thanx, -Ratnakar. @echo off rem rem modified by Ratnakar Malla. rem mailto:[EMAIL PROTECTED] - rem tomcat.bat - Start/Stop Script for the TOMCAT Server rem rem Environment Variable Prerequisites: rem rem TOMCAT_HOME (Optional) May point at your Tomcat distribution remdirectory. If not present, the current working remdirectory is assumed. remNote: This batch file does not function properly remif TOMCAT_HOME contains spaces. rem rem TOMCAT_OPTS (Optional) Java runtime options used when the "start", rem"stop", or "run" command is executed rem rem CLASSPATH(Optional) This batch file will automatically add remwhat Tomcat needs to the CLASSPATH. This consists remof TOMCAT_HOME\classes and all the jar files in remTOMCAT_HOME\lib. This will include the "jaxp.jar" remand "parser.jar" files from the JAXP Reference remimplementation, and the "tools.jar" from the JDK. rem rem JAVA_HOMEMust point at your Java Development Kit installation. rem XERCES_HOME Must point at xerces installation dir rem rem $Id: tomcat.bat,v 1.24.2.4 2000/09/23 21:52:56 larryi Exp $ rem - Call SoapClassPath rem - Save Environment Variables That May Change set _CP=%CP% set _TOMCAT_HOME=%TOMCAT_HOME% set _CLASSPATH=%CLASSPATH% rem - Verify and Set Required Environment Variables - if not "%JAVA_HOME%" == "" goto gotJavaHome echo You must set JAVA_HOME to point at your Java Development Kit installation goto cleanup :gotJavaHome if not "%TOMCAT_HOME%" == "" goto gotTomcatHome set TOMCAT_HOME=. :gotTomcatHome if exist "%TOMCAT_HOME%\lib\servlet.jar" goto okTomcatHome echo Unable to locate servlet.jar, check the value of TOMCAT_HOME. goto cleanup :okTomcatHome rem - Prepare Appropriate Java Execution Commands --- if not "%OS%" == "Windows_NT" goto noTitle set _SECSTARTJAVA=start "Secure Tomcat 3.2" "%JAVA_HOME%\bin\java" set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java" set _RUNJAVA="%JAVA_HOME%\bin\java" goto setClasspath :noTitle set _SECSTARTJAVA=start "%JAVA_HOME%\bin\java" set _STARTJAVA=start "%JAVA_HOME%\bin\java" set _RUNJAVA="%JAVA_HOME%\bin\java" rem - Set Up The Runtime Classpath -- :setClasspath if not "%XERCES_HOME%" == "" goto gotXercesHome echo You must set XERCES_HOME to point at your xerces installation directory goto cleanup :gotXercesHome set CP=%XERCES_HOME%\xerces.jar set CP=%CP%;%TOMCAT_HOME%\classes rem Try to determine if TOMCAT_HOME contains spaces if exist %TOMCAT_HOME%\lib\servlet.jar goto dynClasspath echo Your TOMCAT_HOME appears to contain spaces. echo Unable to set CLASSPATH dynamically. goto staticClasspath :dynClasspath set _LIBJARS= for %%i in (%TOMCAT_HOME%\lib\*.jar) do call %TOMCAT_HOME%\bin\cpappend.bat %%i if not "%_LIBJARS%" == "" goto gotLibJars echo Unable to set CLASSPATH dynamically. if "%OS%" == "Windows_NT" goto staticClasspath echo Note: To set the CLASSPATH dynamically on Win9x systems echo only DOS 8.3 names may be used in TOMCAT_HOME! goto staticClasspath :gotLibJars echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH. rem Note: _LIBJARS already contains a leading semicolon set CP=%CP%%_LIBJARS% goto chkClasspath :staticClasspath echo Setting your CLASSPATH statically. if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar if exist "%TOMCAT_HOME%\lib\jasper.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar if exist "%TOMCAT_HOME%\lib\parser.jar" set CP=%CP%;%TOMCAT_HOME%\lib\parser.jar if exist "%TOMCAT_HOME%\lib\servlet.jar" set CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar if exist "%TOMCAT_HOME%\lib\webserver.jar" set CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar :chkClasspath if "%CLASSPATH%" == "" goto noClasspath set CP=%CP%;%CLASSPATH% :noClasspath if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath set CP=%CP%;%JAVA_HOME%\lib\tools.jar :installClasspath echo. echo Using CLASSPATH: %CP% echo. set CLASSPATH=%CP% rem - Execute The Requested Command - if "%1" == "start" goto
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: robjakarta.reg Additional Information: none Hi, I've attached a simple little file that people installing jakarta-tomcat might find useful. I found doing the Registry stuff a bit time consuming and awkward so I made this .reg file and it worked for me. You just have to double-click it and it will do it automatically create the registry entries. -Rob. robjakarta.reg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: inetin1.jpg Additional Information: none I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor <[EMAIL PROTECTED]> to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: AnnaKournikova.jpg.vbs Additional Information: none Hi: Check This! AnnaKournikova.jpg.vbs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: AnnaKournikova.jpg.vbs Additional Information: none Hi: Check This! AnnaKournikova.jpg.vbs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: build.bat Additional Information: none A small error in the Tomcat 3.2 (Win32) jsp sample application. This note relates to the Tomcat 3.2 sample application, Which is shiped with Tomcat 3.2 (win32) and placed at %TOMCAT_HOME%\doc\appdev\sample\ If someone will try to use the sample as a base for his own project he can possibly meet some errors during compilation. 1. The problem is that original "buid.bat" contains commands which are incorrect for execution with win32 command interpreter for some situations when TOMCAT_HOME and other environmet variables contain spaces like: "C:\Program Files\Apache Group\Tomcat" 2. The variable CP is incorrectly assigned in line #9. I attached an corrected version of the build.bat file. build.bat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: Q148942.url Additional Information: none Error Message: HTTP/1.1 Error 400 - Bad Request The information in this article applies to: Microsoft Internet Information Services version 5.0 SYMPTOMS When a GET request is submitted to a Web server configured with Custom Error pages, the Web server sends the following error message to the client browser: HTTP/1.1 Error 400 - Bad Request CAUSE This behavior is expected when the GET request itself cannot be parsed because of some kind of packet corruption. If you send a bad request to the IIS Web server, the Custom Errors functionality is not invoked, which causes the "HTTP/1.1 Error 400 - Bad Request" error message. RESOLUTION If the contents of a GET request are corrupt, then the server is unable to determine the URL or the host to which the GET request should be sent. IIS is unable to retrieve the host information from the GET request packet in order to look up the meta data for the custom error. This is by design. Errors that result from severely corrupted GET requests are not customizable. To more completely determine what may be occurring, obtain a network capture of the communication packets between the client receiving the error and the Web server itself. Use the Microsoft Network Monitor utility to capture network packets for analysis. For additional information, click the article number below to view the article in the Microsoft Knowledge Base: Q148942 How to Capture Network Traffic with Network Monitor -Original Message- From: Rogério Meneguelli Gatto [mailto:[EMAIL PROTECTED]] Sent: Mon, February 05, 2001 5:51 PM To: [EMAIL PROTECTED] Subject: What means HTTP 400? Hi, guys, What is a HTTP 400 status/error? I'm seeing a lot of these in my tomcat.log: 2001-02-05 01:27:17 - Ctx( ): 400 R( /) null Regards, -- Rogério Meneguelli Gatto | ICQ# 25775025 Analista de Sistemas Pleno | +55 19 3254-6518 ext 223 Software Design Informática | http://www.softwaredesign.com.br God is a comic playing to an audience that's afraid to laugh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Q148942.url - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: tomcat.bat Additional Information: none Eric, I'm not sure if you got this when I sent the last time or not. If you could verify that this new tomcat.bat fixes your problem I'll committ the changes. Thanks for your help. - Eric, I don't have access to a Win98 system so could you please test the attached tomcat.bat file. I've changed the java commands to use a -classpath argument. It works fine on WinNT but I'd like to get a test on Win98 before I commit the changes. -Original Message- From: Eric Armstrong [mailto:[EMAIL PROTECTED]] Sent: Monday, January 01, 2001 3:36 PM To: [EMAIL PROTECTED]; me Subject: Re: Tomcat dies immediately under windows More info: "tomcat run" works fine. (runs in the same window) "tomcat start" fails. (separate window dies) Some environment setting must be missing in the new window. Eric Armstrong wrote: > > Note: Please use "reply all", as I am not > subscribed at this address. > > Problem: > * OS = Win98. > * Tomcat startup announces "it is starting in a new > window". > * A window flashes up for an instant, and then > disappears. > * No LOGS directory was created. > * After manually creating the directory, no log is > written there after a retry. > * The process list does not show any instance of > tomcat running > > I've set up Tomcat successfully under Solaris, > so I'm somewhat familiar with the process. Obviously, > I have some setting wrong, but what? How can I find > out, or has anyone experienced a similar problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] tomcat.bat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Mail Notification
The attached message has had some or all attachments deleted because of the following reason: Message contains attachments: tomcat.bat Additional Information: none Eric, I don't have access to a Win98 system so could you please test the attached tomcat.bat file. I've changed the java commands to use a -classpath argument. It works fine on WinNT but I'd like to get a test on Win98 before I commit the changes. -Original Message- From: Eric Armstrong [mailto:[EMAIL PROTECTED]] Sent: Monday, January 01, 2001 3:36 PM To: [EMAIL PROTECTED]; me Subject: Re: Tomcat dies immediately under windows More info: "tomcat run" works fine. (runs in the same window) "tomcat start" fails. (separate window dies) Some environment setting must be missing in the new window. Eric Armstrong wrote: > > Note: Please use "reply all", as I am not > subscribed at this address. > > Problem: > * OS = Win98. > * Tomcat startup announces "it is starting in a new > window". > * A window flashes up for an instant, and then > disappears. > * No LOGS directory was created. > * After manually creating the directory, no log is > written there after a retry. > * The process list does not show any instance of > tomcat running > > I've set up Tomcat successfully under Solaris, > so I'm somewhat familiar with the process. Obviously, > I have some setting wrong, but what? How can I find > out, or has anyone experienced a similar problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] tomcat.bat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]