cvs commit: jakarta-tomcat-4.0/catalina/src/conf server-noexamples.xml.config server.xml
craigmcc01/12/15 13:46:51 Modified:catalina/src/conf server-noexamples.xml.config server.xml Log: Correct JDBCRealm examples for the proper way to send username and password to the database. Revision ChangesPath 1.8 +4 -2 jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config Index: server-noexamples.xml.config === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- server-noexamples.xml.config 2001/11/06 08:46:44 1.7 +++ server-noexamples.xml.config 2001/12/15 21:46:51 1.8 @@ -143,7 +143,8 @@ !-- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver - connectionURL=jdbc:mysql://localhost/authority?user=test;password=test + connectionURL=jdbc:mysql://localhost/authority + connectionName=test connectionPassword=test userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name / -- @@ -151,7 +152,8 @@ !-- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=oracle.jdbc.driver.OracleDriver - connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger + connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL + connectionName=scott connectionPassword=tiger userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name / -- 1.46 +4 -2 jakarta-tomcat-4.0/catalina/src/conf/server.xml Index: server.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- server.xml2001/11/09 19:32:59 1.45 +++ server.xml2001/12/15 21:46:51 1.46 @@ -147,7 +147,8 @@ !-- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver - connectionURL=jdbc:mysql://localhost/authority?user=test;password=test + connectionURL=jdbc:mysql://localhost/authority + connectionName=test connectionPassword=test userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name / -- @@ -155,7 +156,8 @@ !-- Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=oracle.jdbc.driver.OracleDriver - connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger + connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL + connectionName=scott connectionPassword=tiger userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name / -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server-noexamples.xml.config server.xml
ccain 01/09/25 09:35:15 Modified:catalina/src/conf server-noexamples.xml.config server.xml Log: Update the commented instructions for SSL (primarily to remove a now-extraneous step). Revision ChangesPath 1.4 +5 -4 jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config Index: server-noexamples.xml.config === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- server-noexamples.xml.config 2001/09/23 21:03:10 1.3 +++ server-noexamples.xml.config 2001/09/25 16:35:15 1.4 @@ -32,15 +32,16 @@ By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector - entry. SSL support requires the following steps: + entry. SSL support requires the following steps (see the SSL Config + HOWTO in the Tomcat 4.0 documentation bundle for more detailed + instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. - * Edit $JAVA_HOME/jre/lib/security/java.security and add - security.provider.2=com.sun.net.ssl.internal.ssl.Provider * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) - with a password value of changeit. + with a password value of changeit for both the certificate and + the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on 1.32 +5 -4 jakarta-tomcat-4.0/catalina/src/conf/server.xml Index: server.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- server.xml2001/09/23 21:03:10 1.31 +++ server.xml2001/09/25 16:35:15 1.32 @@ -32,15 +32,16 @@ By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector - entry. SSL support requires the following steps: + entry. SSL support requires the following steps (see the SSL Config + HOWTO in the Tomcat 4.0 documentation bundle for more detailed + instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. - * Edit $JAVA_HOME/jre/lib/security/java.security and add - security.provider.2=com.sun.net.ssl.internal.ssl.Provider * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) - with a password value of changeit. + with a password value of changeit for both the certificate and + the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server-noexamples.xml.config server.xml
ccain 01/09/25 17:52:35 Modified:catalina/src/conf Tag: tomcat_40_branch server-noexamples.xml.config server.xml Log: Fix the commented SSL examples in the 4.0 final branch as well. Revision ChangesPath No revision No revision 1.2.2.2 +5 -4 jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config Index: server-noexamples.xml.config === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -r1.2.2.1 -r1.2.2.2 --- server-noexamples.xml.config 2001/09/24 18:30:05 1.2.2.1 +++ server-noexamples.xml.config 2001/09/26 00:52:34 1.2.2.2 @@ -32,15 +32,16 @@ By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector - entry. SSL support requires the following steps: + entry. SSL support requires the following steps (see the SSL Config + HOWTO in the Tomcat 4.0 documentation bundle for more detailed + instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. - * Edit $JAVA_HOME/jre/lib/security/java.security and add - security.provider.2=com.sun.net.ssl.internal.ssl.Provider * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) - with a password value of changeit. + with a password value of changeit for both the certificate and + the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on 1.29.2.2 +5 -4 jakarta-tomcat-4.0/catalina/src/conf/server.xml Index: server.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v retrieving revision 1.29.2.1 retrieving revision 1.29.2.2 diff -u -r1.29.2.1 -r1.29.2.2 --- server.xml2001/09/24 18:30:05 1.29.2.1 +++ server.xml2001/09/26 00:52:34 1.29.2.2 @@ -32,15 +32,16 @@ By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector - entry. SSL support requires the following steps: + entry. SSL support requires the following steps (see the SSL Config + HOWTO in the Tomcat 4.0 documentation bundle for more detailed + instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. - * Edit $JAVA_HOME/jre/lib/security/java.security and add - security.provider.2=com.sun.net.ssl.internal.ssl.Provider * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) - with a password value of changeit. + with a password value of changeit for both the certificate and + the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server-noexamples.xml.config server.xml
ccain 01/09/23 14:03:11 Modified:catalina/src/conf server-noexamples.xml.config server.xml Log: Specify that the keytool in the $JAVA_HOME JDK (where JSSE should have been installed) should be used when generating self-signed certs. Submitted by: Patrick Luby [EMAIL PROTECTED] Revision ChangesPath 1.3 +3 -1 jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config Index: server-noexamples.xml.config === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- server-noexamples.xml.config 2001/08/10 14:14:15 1.2 +++ server-noexamples.xml.config 2001/09/23 21:03:10 1.3 @@ -37,7 +37,9 @@ into $JAVA_HOME/jre/lib/ext. * Edit $JAVA_HOME/jre/lib/security/java.security and add security.provider.2=com.sun.net.ssl.internal.ssl.Provider - * Execute: keytool -genkey -alias tomcat -keyalg RSA + * Execute: + %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) + $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit. By default, DNS lookups are enabled when a web application calls 1.31 +3 -1 jakarta-tomcat-4.0/catalina/src/conf/server.xml Index: server.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- server.xml2001/09/23 00:12:34 1.30 +++ server.xml2001/09/23 21:03:10 1.31 @@ -37,7 +37,9 @@ into $JAVA_HOME/jre/lib/ext. * Edit $JAVA_HOME/jre/lib/security/java.security and add security.provider.2=com.sun.net.ssl.internal.ssl.Provider - * Execute: keytool -genkey -alias tomcat -keyalg RSA + * Execute: + %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) + $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit. By default, DNS lookups are enabled when a web application calls
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server-noexamples.xml.config server.xml
pier01/08/10 07:14:16 Modified:.RELEASE-NOTES-4.0-B7.txt RELEASE-NOTES-4.0-B8.txt catalina/src/conf server-noexamples.xml.config server.xml Log: You always find those after a release. WebAppMount doesn't exist since we moved the WebApp connector to jakarta-tomcat-connectors/webapp Revision ChangesPath 1.4 +2 -2 jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B7.txt Index: RELEASE-NOTES-4.0-B7.txt === RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B7.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RELEASE-NOTES-4.0-B7.txt 2001/08/10 05:01:34 1.3 +++ RELEASE-NOTES-4.0-B7.txt 2001/08/10 14:14:15 1.4 @@ -3,7 +3,7 @@ Release Notes = -$Id: RELEASE-NOTES-4.0-B7.txt,v 1.3 2001/08/10 05:01:34 craigmcc Exp $ +$Id: RELEASE-NOTES-4.0-B7.txt,v 1.4 2001/08/10 14:14:15 pier Exp $ @@ -292,7 +292,7 @@ configuration information in your Apache 1.3 httpd.conf file is something like this: -WebAppMount examples warpConnection /examples/ +WebAppDeploy examples warpConnection /examples/ which causes mod_webapp to automatically recognize all of your servlet mappings, security constraints, and other configuration elements. 1.2 +2 -2 jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B8.txt Index: RELEASE-NOTES-4.0-B8.txt === RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B8.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RELEASE-NOTES-4.0-B8.txt 2001/08/10 05:40:43 1.1 +++ RELEASE-NOTES-4.0-B8.txt 2001/08/10 14:14:15 1.2 @@ -3,7 +3,7 @@ Release Notes = -$Id: RELEASE-NOTES-4.0-B8.txt,v 1.1 2001/08/10 05:40:43 craigmcc Exp $ +$Id: RELEASE-NOTES-4.0-B8.txt,v 1.2 2001/08/10 14:14:15 pier Exp $ @@ -143,7 +143,7 @@ configuration information in your Apache 1.3 httpd.conf file is something like this: -WebAppMount examples warpConnection /examples/ +WebAppDeploy examples warpConnection /examples/ which causes mod_webapp to automatically recognize all of your servlet mappings, security constraints, and other configuration elements. 1.2 +10 -19 jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config Index: server-noexamples.xml.config === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server-noexamples.xml.config,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- server-noexamples.xml.config 2001/07/15 07:51:25 1.1 +++ server-noexamples.xml.config 2001/08/10 14:14:15 1.2 @@ -198,31 +198,22 @@ /Service !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0 - as its servlet container. This is built by following these steps: + as its servlet container. Please read the README.txt file coming with + the WebApp Module distribution on how to build it. + (Or check out the jakarta-tomcat-connectors/webapp CVS repository) - - cd {TOMCAT-SRC-HOME}/connectors - - make - - (Edit Makedefs as needed for your installation) - - make - - su root - - cp connectors/apache-1.3/mod_webapp.so {APACHE_HOME}/libexec - - exit + To configure the Apache side, you must ensure that you have the + ServerName and Port directives defined in httpd.conf. Then, + lines like these to the bottom of your httpd.conf file: - To configure the Apache side, you must ensure that you have a - ServerName directive defined in httpd.conf. Then, lines like - these to the bottom of your httpd.conf file: - LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp localhost:8008 - WebAppMount examples warpConnection /examples/ + WebAppDeploy examples warpConnection /examples/ - Finally, modify the defaultHost attribute in the Engine directive - below to match the ServerName setting defined in https.conf. The - next time you restart Apache (after restarting Tomcat, if needed) + The next time you restart Apache (after restarting Tomcat, if needed) the connection will be established, and all applications you make - visible via WebAppMount directives can be accessed through Apache. - -- - + visible via WebAppDeploy directives can be accessed through Apache. + -- !--