Re: JAASRealm Configuration
Continuing on my quest to get JAAS Realms working.. I understand that I need to set the following attributes in the Realm element: - appName - roleClassNames - userClassNames Is the appName to be the same as the web app name? Again, if someone has a working configuration that they'd like to share... I'd be most grateful. /s --- Sam Ewing [EMAIL PROTECTED] wrote: Any help appreciated! Can't find any documentation :-( --- Sam Ewing [EMAIL PROTECTED] wrote: Has anyone got a successfully working JAASRealm configuration? Would like to see the Realm configurations.. any help appreciated. Thanks! /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: REPOST: Tomcat 4.1.18: Digest authentication not working?
I might be wrong.. but there is a difference between using Digest for authentication and storing the passwords as digest version in the user tomcat-users.xml file. The former is what Pankaj is tying to do.. this causes the passwords to be transmitted as digests version of themselves from the users browser to Tomcat. Tomcat then un-digests them and calls the Realm call to do it work. In the latter, we set the digest attribute to sha or md5 in the Realm directive in server.xml. This does not affect how the passwords are transmitted from the users browser to Tomcat. The Realm implementation computes the digest of the password and compares it with the digested version.. Am I on the right track here? /s --- PELOQUIN,JEFFREY (HP-Boise,ex1) [EMAIL PROTECTED] wrote: When you switched to Digest mode did you convert the original clear text passwords to the digest format you wish to use? -Original Message- From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 11:13 AM To: '[EMAIL PROTECTED]' Subject: REPOST: Tomcat 4.1.18: Digest authentication not working? Hi, I am resposting this message as I did not get any answer/comment/advice. Has anyone ever got Digest authentication working with Tomcat? -Original Message- From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]] Subject: Tomcat 4.1.18: Digest authentication not working? Hi, I am a relative newbiw to Tomcat. The manager application works with BASIC authentication (default configuration), after making appropriate user and role entries in conf/tomcat-users.xml file. However, when I change BASIC to DIGEST as shown below: Default web.xml for manager: ... login-config auth-methodBASIC/auth-method realm-nameTomcat Manager Application/realm-name /login-config ... Modified web.xml for manager: ... login-config auth-methodDIGEST/auth-method realm-nameTomcat Manager Application/realm-name /login-config ... It doesn't work. I get the login prompt in my browser ( I tried both IE6.0 and Netscape 7.0 ) with the right realm string, but after entering the user name and the password, the prompt appers again. I am appending the HTTP dump (captured using a home grown interceptor tool ): = [HTTP] C -- S (370 bytes) GET /manager/html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms- powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav e-flash, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: localhost:8079 Connection: Keep-Alive [HTTP] C -- S (412 bytes) HTTP/1.1 401 Unauthorized Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT WWW-Authenticate: Digest realm=Tomcat Manager Application, qop=auth, nonce= bf3c8fa05f1260f6a9d4299d3b882339, opaque=03758823e3b14892bb4dc34ef834fa13 Content-Type: text/html Content-Language: en-US Transfer-Encoding: chunked Date: Sun, 05 Jan 2003 08:49:24 GMT Server: Apache Coyote/1.0 [HTTP] C -- S (5 bytes) 2ad [HTTP] C -- S (685 bytes) htmlheadtitleApache Tomcat/4.1.18-LE-jdk14 - Error report/titleSTYLE! --H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #008 6b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-co lor : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE /headbodyh1HTTP Status 401 - /h1HR size=1 noshadepbt ype/b Status report/ppbmessage/b u/u/ppbdescription/b uT his request requires HTTP authentication ()./u/pHR size=1 noshadeh3Apa che Tomcat/4.1.18-LE-jdk14/h3/body/html [HTTP] C -- S (2 bytes) [HTTP] C -- S (5 bytes) 0 [HTTP] C -- S (683 bytes) GET /manager/html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms- powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav e-flash, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: localhost:8079 Connection: Keep-Alive Authorization: Digest username=pankaj, realm=Tomcat Manager Application, qop =auth, algorithm=MD5, uri=/manager/html, nonce=bf3c8fa05f1260f6a9d4299d3b 882339, nc=0001, cnonce=f7710dc1f6683517f0dd8dfd957a50bc, opaque=0375882 3e3b14892bb4dc34ef834fa13, response=8d3c122778ae3d95564f61a2238c8f51 [HTTP] C -- S (412 bytes) HTTP/1.1 401 Unauthorized Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT WWW-Authenticate: Digest realm=Tomcat Manager Application, qop=auth, nonce= d13c9c9d094919b14030f3bff72edc6b, opaque=bd29cf774ee39e6a3cc1c396293be208 Content-Type:
REPOST: JAASRealm Configuration
Any help appreciated! Can't find any documentation :-( --- Sam Ewing [EMAIL PROTECTED] wrote: Has anyone got a successfully working JAASRealm configuration? Would like to see the Realm configurations.. any help appreciated. Thanks! /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: REPOST: Tomcat 4.1.18: Digest authentication not working?
On the same issue... does using DIGEST Authentication work when the password itself is stored in digest form? I wasnt able to get it to work... /s --- Sam Ewing [EMAIL PROTECTED] wrote: I might be wrong.. but there is a difference between using Digest for authentication and storing the passwords as digest version in the user tomcat-users.xml file. The former is what Pankaj is tying to do.. this causes the passwords to be transmitted as digests version of themselves from the users browser to Tomcat. Tomcat then un-digests them and calls the Realm call to do it work. In the latter, we set the digest attribute to sha or md5 in the Realm directive in server.xml. This does not affect how the passwords are transmitted from the users browser to Tomcat. The Realm implementation computes the digest of the password and compares it with the digested version.. Am I on the right track here? /s --- PELOQUIN,JEFFREY (HP-Boise,ex1) [EMAIL PROTECTED] wrote: When you switched to Digest mode did you convert the original clear text passwords to the digest format you wish to use? -Original Message- From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 11:13 AM To: '[EMAIL PROTECTED]' Subject: REPOST: Tomcat 4.1.18: Digest authentication not working? Hi, I am resposting this message as I did not get any answer/comment/advice. Has anyone ever got Digest authentication working with Tomcat? -Original Message- From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]] Subject: Tomcat 4.1.18: Digest authentication not working? Hi, I am a relative newbiw to Tomcat. The manager application works with BASIC authentication (default configuration), after making appropriate user and role entries in conf/tomcat-users.xml file. However, when I change BASIC to DIGEST as shown below: Default web.xml for manager: ... login-config auth-methodBASIC/auth-method realm-nameTomcat Manager Application/realm-name /login-config ... Modified web.xml for manager: ... login-config auth-methodDIGEST/auth-method realm-nameTomcat Manager Application/realm-name /login-config ... It doesn't work. I get the login prompt in my browser ( I tried both IE6.0 and Netscape 7.0 ) with the right realm string, but after entering the user name and the password, the prompt appers again. I am appending the HTTP dump (captured using a home grown interceptor tool ): = [HTTP] C -- S (370 bytes) GET /manager/html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms- powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav e-flash, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: localhost:8079 Connection: Keep-Alive [HTTP] C -- S (412 bytes) HTTP/1.1 401 Unauthorized Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT WWW-Authenticate: Digest realm=Tomcat Manager Application, qop=auth, nonce= bf3c8fa05f1260f6a9d4299d3b882339, opaque=03758823e3b14892bb4dc34ef834fa13 Content-Type: text/html Content-Language: en-US Transfer-Encoding: chunked Date: Sun, 05 Jan 2003 08:49:24 GMT Server: Apache Coyote/1.0 [HTTP] C -- S (5 bytes) 2ad [HTTP] C -- S (685 bytes) htmlheadtitleApache Tomcat/4.1.18-LE-jdk14 - Error report/titleSTYLE! --H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #008 6b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-co lor : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE /headbodyh1HTTP Status 401 - /h1HR size=1 noshadepbt ype/b Status report/ppbmessage/b u/u/ppbdescription/b uT his request requires HTTP authentication ()./u/pHR size=1 noshadeh3Apa che Tomcat/4.1.18-LE-jdk14/h3/body/html [HTTP] C -- S (2 bytes) [HTTP] C -- S (5 bytes) 0 [HTTP] C -- S (683 bytes) GET /manager/html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms- powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav e-flash, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: localhost:8079 Connection: Keep-Alive Authorization: Digest username=pankaj, realm=Tomcat Manager Application, qop =auth, algorithm=MD5, uri=/manager/html, nonce=bf3c8fa05f1260f6a9d4299d3b 882339, nc=0001, cnonce=f7710dc1f6683517f0dd8dfd957a50bc, opaque=0375882
Bug with digest attribute/UserDatabase Realm?
I set the digest attribute to sha in UserDatabaseRealm, and tried adding a new user using the admin application. It did add a user, but the password was saved in cleartext in tomcat-users.xml and not in its digested form. Is this a bug or am I doing something wrong? Any help appreciated. /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JAASRealm Configuration
Has anyone got a successfully working JAASRealm configuration? Would like to see the Realm configurations.. any help appreciated. Thanks! /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Bug with digest attribute/UserDatabaseRealm?
I set the digest attribute to sha in UserDatabaseRealm, and tried adding a new user using the admin application. It did add a user, but the password was saved in cleartext in tomcat-users.xml and not in its digested form. Is this a bug or am I doing something wrong? Any help appreciated. /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.x/PureTLS
It works with Tomcat 3.x.. however the 4.x documentation is silent on this. Anyone with experience with PureTLS/Tomcat 4.x? Thanks! __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
A bunch of webapp questions!
More Webapp questions.. Pier ? :-) 1. I have the following directive in my httpd.conf WebAppDeploy examples conn /examples I find that if I start Tomcat and then Apache, for a little while Apache cannot even serve up content outside the web application path (eg. http://localhost/) *until* Tomcat finishes coming up. If Tomcat is shut down, or completely up things work fine. So the question is, who is serving up the static content *outside* the web application path? If Tomcat then why? (its outside the web app path!!) If not Tomcat, then why cant I get at http://localhost?? 2. SSL scenarios: a) Apache handles SSL and not Tomcat In httpd.conf, I put a the following inside my virtual host: SSLEngine on WebAppDeploy examples conn /examples Now, if in the Connector in server.xml, if I *PUT* secure=true, scheme=https, is the connection between Apache and Tomcat secure? If I *DONT* put secure=true, scheme=https, is the connection between Apache and Tomcat insecure? b) Tomcat handles SSL Couldn't get this too work! Did a secure=true, scheme=https in server.xml and used keytool to get me keystore etc.. but NEITHER of the URLs worked https://localhost/examples http://localhost/examples (SSLEngine not set in httpd.conf) 3. If I have JSPs scattered all over my web site, can I in some way redirect only the JSPs to Tomcat? Thanks! __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Re: deploy manager task in ant
Hi Clay, Sorry for the lack of clarity. What I'm trying to do is deploy a web application, and I get the following execption. I checked file:D:/sam/build.xml:79: java.net.UnknownHostException: D My deploy task looks like this: target name=deploy description=Deploy web application depends=build echo message=URL is ${url}/ deploy url=${url} username=${username} password=${password} path=${path} war=file://${build}/hello.war/ /target I checked the URL- it is fine (http://localhost:8080/manager)- even tried 127.0.0.1, still no luck. Interestingly, all other tasks (install, list, remove) work just fine- surely if it was a name/IP lookup problem, it would have occured there too. tx, Sam --- Clay Graham [EMAIL PROTECTED] wrote: ok, it was hard to follow what you were asking but let me just attach my ant directives... !-- Configure the context path for this application -- property name=projname value=test / property name=project_dir value=/home/clay/projects/${projname} / property name=path value=/${projname}/ property name=username value=tomcat/ property name=password value=password/ property name=build value=${project_dir}/build / property name=weblib value=${project_dir}/web/WEB-INF/lib / property name=tomcat_home value=/home/tomcat/jakarta-tomcat-4.1.3 / !-- Configure properties to access the Manager application -- property name=url value=http://localhost:8080/manager/ property file=build.properties/ property file=${user.home}/build.properties/ !-- Configure the custom Ant tasks for the Manager application -- path id=classpath fileset dir=${tomcat_home}/common/lib include name=*.jar/ /fileset fileset dir=${weblib} include name=*.jar/ /fileset /path taskdef name=install classname=org.apache.catalina.ant.InstallTask/ !-- Executable Targets -- target name=install description=Install web application depends=build install url=${url} username=${username} password=${password} path=${path} war=file:${build}/ /target -Original Message- From: Sam Ewing [SMTP:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 5:25 PM To: [EMAIL PROTECTED] Subject: Fwd: Re: deploy manager task in ant I check the URL.. plus all other tasks (install/uninstall) work fine. Note: forwarded message attached. __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fwd: Re: deploy manager task in ant
I check the URL.. plus all other tasks (install/uninstall) work fine. Note: forwarded message attached. __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com ---BeginMessage--- This kind of question is better addressed to the TOMCAT-USER mailing list. On Sat, 13 Jul 2002, Sam Ewing wrote: Date: Sat, 13 Jul 2002 15:45:45 -0700 (PDT) From: Sam Ewing [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Subject: deploy manager task in ant I have my deploy target in build.xml as: !-- build target results in a myapp.jar file -- target name=deploy depends=build deploy url=${url} username=${username} password=${password} path=${path} war=file://${build}/myapp.war/ /target I get back an error from the ant script: file:C:/users/sam/build.xml:78: java.net.UnknownHostException: D It's likely that the URL you are passing in as the ${url} parameter includes a name not recognized by your DNS server. Another common possibility is that you've forgotten to actually specify an Ant property replacement value for it -- you can check for that by sticking something like: echo message=URL is ${url}/ immediately before the deploy task. The value should be the URL of the manager webapp, typically something like http://localhost:8080/manager;. (Line #78 is the line that has the path= and war= lines) Any help appreciated! Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ---End Message--- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
webapp + apache (1.3/2.0) + ssl
Anyone with experiences to share? From what I could figure out, I need to do a 'SSLEngine on' in the virtualhost in httpd.conf. Do I need to have two WARP connectors defined? On for the SSL and one for non-SSL servlets? __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Two Tomcat 3.3.1 issues; SSL and Coyote
I had a couple of problems with Tomcat 3.3.1. Any help appreciated!! 1. I was trying to use PureTLS with the standand HTTP/1.0 Tomcat connector. I copied over the three jar file - cryptix32.jar, cryptix-asn1.jar and puretls.jar into %JAVA_HOME%\jre\lib\ext I get the exception- org.apache.tomcat.core.TomcatException: Error loading SSLImplementation I copies the jsse jar files here and SSL works fine... 2. Next, I tried the Coyote connector, and following the instructions given at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-rc2/ to a 'T'. Result: I found that module name=CoyoteConnector javaClass=org.apache.coyote.tomcat3.CoyoteInterceptor/ needs to be module name=CoyoteConnector javaClass=org.apache.coyote.tomcat3.CoyoteInterceptor2/ (note the '2'). I make the change, and Tomcat starts up fine- however, the browser cant access http://localhost:8081 (the port I configured this connector at). No errors too.. Help!! Tx __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1/4.0 manager application
I'm facing a few problems with the Tomcat manager application.. 1. In 4.0.4, the install command copies the web app into the appBase directory.. in 4.1.3, the install does not do this; however the installed application is availble for use. After restarting Tomcat 4.1, the newly installed application is not visible. Am I doing something wrong here? or is it a bug in 4.1? 2. How do you pass the war file to the 4.1 deploy command? The documentation says - Upload the web application archive (WAR) file that is specified as the request data in this HTTP PUT . Umm.. how do I do this via a browser? On another train..what is the difference between what the install and deploy commands do? AFAIK, both seem to be installing and starting the app.. Thanks!!! __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.1/4.0 manager application
Thanks for all the help Craig. A couple of other doubts :-) 1. In Tomcat 4.1, when a install command is run, how is the web application 'installed'. I mean, the application is neither copied into webapps, nor a Context entry added to server.xml; so how does the requests for /new_app (if that is the context path) sent to the new application? Is everything manipulated in the in memory representation of server.xml? 2. In Tomcat 4.0, the remove command doesnt remove the installed app from application base.. is that ok since the remove in 4.0 is actually an undeploy? 3. In Tomcat 4.0, the install copies the web app into the application base.. yet when I restart Tomcat, the 'manager list' doesnt show this new webapp, nor does is this application accessible. Why is this when the application has been unpacked into application base? Sorry for all the questions! --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 14 Jun 2002, Sam Ewing wrote: Date: Fri, 14 Jun 2002 13:00:25 -0700 (PDT) From: Sam Ewing [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 4.1/4.0 manager application I'm facing a few problems with the Tomcat manager application.. 1. In 4.0.4, the install command copies the web app into the appBase directory.. in 4.1.3, the install does not do this; however the installed application is availble for use. This is the correct behavior for the future -- it takes advantage of the fact that the docBase property of a context can be an absolute pathname. I use this feature for rapid development (coupled with the custom Ant tasks that talk to the Manager webapp, by installing the output directory of my build process. So, now my development cycle is: (1) ant compile (2) ant install (3) test things (4) fix something (5) ant compile reload (6) goto (3) until its time for a beer (7) ant remove and never have to shut down Tomcat for anything. (The only time you need to do a remove and install again is if you change web.xml - reload only pays attention to updated classes so that it can run faster.) The Application Developer's Guide that comes with 4.1.x explains this, and includes a nice build.xml file to start with. Besides supporting the Ant tasks described above, it automatically sets up your compile classpath to reflect the environment that will be present at runtime (for example, it adds all the JAR files in common/lib and the other shared directories). After restarting Tomcat 4.1, the newly installed application is not visible. Am I doing something wrong here? or is it a bug in 4.1? Saving the updated state (into server.xml) is a feature that is currently still being added -- I think you'll see that finished by 4.1.5. 2. How do you pass the war file to the 4.1 deploy command? The documentation says - Upload the web application archive (WAR) file that is specified as the request data in this HTTP PUT . Umm.. how do I do this via a browser? You don't -- it requires a client program. Simplest way, again, is to use the custom Ant deploy task which does all the nitty gritty for you. You can easily incorporate the execution of this into a shell script. On another train..what is the difference between what the install and deploy commands do? AFAIK, both seem to be installing and starting the app.. Install connects an unpacked directory, or a WAR file, directly to a running Tomcat installation. Because nothing has to be copied, this runs pretty quickly, and is ideal for development. However, the directory or WAR file has to be on the same machine that Tomcat is running on. Deploy lets you run a tool (or Ant script) on a separate computer. It takes longer because of the need to upload the WAR, but you can run it from anywhere, not just the same server. Over time, I expect to see management tools and IDEs incorporate support for using the deploy and undeploy features behind the scenes for you -- it makes for very easy Tomcat application management. Thanks!!! Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Mod_jk v/s mod_webapp
I was not able to locate any information on the differences between mod_webapp and mod_jk for Tomcat 4.0.. could anyone point me in the right direction? What about the respective protocols? APJ v/s WARP? Also, where could I find instructions on configuring apache to use mod_webapp? Any reply would be appreciated! Thanks, Sam __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]