I can connect to the w2k machine easily with samba.
I have included the config files below and attached for w2k. If you require any more information please just ask. Config files: access_log on linux/apache 192.168.1.115 - - [31/Oct/2002:16:59:53 -0200] "GET /webcomm1.5 HTTP/1.1" 404 291 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)" tomcat logs on w2k unfortunately there is no change in either servlet jk.log or jasper ( no new servlet or jasper has been created with today date either ) The config files of the w2k/tomcat pc is attached. The config files for the apache/Linux pc. Start of the httpd.conf ----------------------------------------------------------- ServerType standalone ServerRoot "/etc/httpd" LockFile /var/run/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile logs/apache_runtime_status Timeout 300 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 20 StartServers 8 MaxClients 150 MaxRequestsPerChild 1000 LoadModule vhost_alias_module modules/mod_vhost_alias.so <IfDefine HAVE_BANDWIDTH> LoadModule bandwidth_module modules/mod_bandwidth.so </IfDefine> <IfDefine HAVE_THROTTLE> LoadModule throttle_module modules/mod_throttle.so </IfDefine> LoadModule env_module modules/mod_env.so LoadModule config_log_module modules/mod_log_config.so LoadModule agent_log_module modules/mod_log_agent.so LoadModule referer_log_module modules/mod_log_referer.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule status_module modules/mod_status.so LoadModule info_module modules/mod_info.so LoadModule includes_module modules/mod_include.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule dir_module modules/mod_dir.so LoadModule cgi_module modules/mod_cgi.so LoadModule asis_module modules/mod_asis.so LoadModule imap_module modules/mod_imap.so LoadModule action_module modules/mod_actions.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule jk_module modules/mod_jk.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule access_module modules/mod_access.so LoadModule auth_module modules/mod_auth.so LoadModule anon_auth_module modules/mod_auth_anon.so LoadModule db_auth_module modules/mod_auth_db.so LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so LoadModule setenvif_module modules/mod_setenvif.so <IfDefine HAVE_PERL> LoadModule perl_module modules/libperl.so </IfDefine> <IfDefine HAVE_PHP> LoadModule php_module modules/mod_php.so </IfDefine> <IfDefine HAVE_PHP3> LoadModule php3_module modules/libphp3.so </IfDefine> <IfDefine HAVE_PHP4> LoadModule php4_module modules/libphp4.so </IfDefine> <IfDefine HAVE_DAV> LoadModule dav_module modules/libdav.so </IfDefine> <IfDefine HAVE_ROAMING> LoadModule roaming_module modules/mod_roaming.so </IfDefine> <IfDefine HAVE_SSL> LoadModule ssl_module modules/libssl.so </IfDefine> <IfDefine HAVE_PUT> LoadModule put_module modules/mod_put.so </IfDefine> <IfDefine HAVE_PYTHON> LoadModule python_module modules/mod_python.so </IfDefine> ClearModuleList AddModule mod_vhost_alias.c <IfDefine HAVE_BANDWIDTH> AddModule mod_bandwidth.c </IfDefine> <IfDefine HAVE_THROTTLE> AddModule mod_throttle.c </IfDefine> AddModule mod_env.c AddModule mod_log_config.c AddModule mod_log_agent.c AddModule mod_log_referer.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_jk.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_so.c AddModule mod_setenvif.c <IfDefine HAVE_PERL> AddModule mod_perl.c </IfDefine> <IfDefine HAVE_PHP> AddModule mod_php.c </IfDefine> <IfDefine HAVE_PHP3> AddModule mod_php3.c </IfDefine> <IfDefine HAVE_PHP4> AddModule mod_php4.c </IfDefine> <IfDefine HAVE_DAV> AddModule mod_dav.c </IfDefine> <IfDefine HAVE_ROAMING> AddModule mod_roaming.c </IfDefine> <IfDefine HAVE_SSL> AddModule mod_ssl.c </IfDefine> <IfDefine HAVE_PUT> AddModule mod_put.c </IfDefine> <IfDefine HAVE_PYTHON> AddModule mod_python.c </IfDefine> Port 80 <IfDefine HAVE_SSL> Listen 80 Listen 443 </IfDefine> User apache Group apache ServerAdmin root@localhost DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir public_html </IfModule> <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi </IfModule> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On <IfModule mod_mime.c> TypesConfig /etc/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off ErrorLog logs/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access_log combined ServerSignature On <IfModule mod_alias.c> Alias /icons/ "/var/www/icons/" <Directory "/var/www/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing NameWidth=* AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER </IfModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 <IfModule mod_negotiation.c> LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw </IfModule> <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps </IfModule> <IfModule mod_php4.c> AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps </IfModule> <IfModule mod_php.c> AddType application/x-httpd-php .phtml </IfModule> AddType application/x-tar .tgz AddType text/html .shtml AddHandler server-parsed .shtml AddHandler imap-file map </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> Alias /doc/ /usr/share/doc/ <Directory /usr/share/doc> order deny,allow deny from all allow from localhost .localdomain Options Indexes FollowSymLinks </Directory> <IfDefine HAVE_SSL> AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl </IfDefine> <IfModule mod_ssl.c> SSLPassPhraseDialog builtin SSLSessionCache shm:logs/ssl_scache(512000) SSLSessionCacheTimeout 300 SSLMutex file:logs/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog logs/ssl_engine_log SSLLogLevel error </IfModule> <IfDefine HAVE_SSL> <VirtualHost _default_:443> ErrorLog logs/error_log TransferLog logs/access_log SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key <Files ~ "\.(cgi|shtml|phtml|php3?)$"> SSLOptions +StdEnvVars </Files> <Directory "/var/www/cgi-bin"> SSLOptions +StdEnvVars </Directory> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> </IfDefine> <IfModule mod_jk.c> Include /etc/httpd/conf/mod_jk.conf </IfModule> End of the httpd.conf ----------------------------------------------------------- Start of the workers.properties --------------------------------------------------------- -- workers.tomcat_home=/var/tomcat workers.java_home=/opt/IBMJava2-13 ps=/ worker.list=ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)xml.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar worker.inprocess.cmd_line=-config worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml worker.inprocess.cmd_line=-home worker.inprocess.cmd_line=$(workers.tomcat_home) worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p s)jvm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) End of the workers.properties --------------------------------------------------------- -- Start of Mod_jk.conf ------------------------------------------------------------ JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLevel error JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 Alias /examples "/var/tomcat/webapps/examples" <Directory "/var/tomcat/webapps/examples"> Options Indexes FollowSymLinks </Directory> JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 <Location "/examples/WEB-INF/"> AllowOverride None deny from all </Location> Alias /admin "/var/tomcat/webapps/admin" <Directory "/var/tomcat/webapps/admin"> Options Indexes FollowSymLinks </Directory> JkMount /admin/servlet/* ajp12 JkMount /admin/*.jsp ajp12 <Location "/admin/WEB-INF/"> AllowOverride None deny from all </Location> Alias /test "/var/tomcat/webapps/test" <Directory "/var/tomcat/webapps/test"> Options Indexes FollowSymLinks </Directory> JkMount /test/servlet/* ajp12 JkMount /test/*.jsp ajp12 <Location "/test/WEB-INF/"> AllowOverride None deny from all </Location> Alias /webcomm1.5/ "/webcomm1.5" <Directory "/webcomm1.5"> Options Indexes FollowSymLinks </Directory> JkMount /webcomm1.5/* ajp13 End of Mod_jk.conf ------------------------------------------------------------ -----Original Message----- From: Turner, John [mailto:JTurner@;AAS.com] Sent: 31 October 2002 04:51 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) If you don't supply the config files, the answer to your question is "don't use Red Hat". If that is a sufficient answer, then read no further. At the very least, workers.properties. If you are guaranteeing that workers.properties on the Win2K boxes are identical to the workers.properties file on the Red Hat server, then the problem is either: 1. Apache on the Red Hat server has a problem, in which case the Apache access logs would be very helpful. Not all of them, just the 5-10 lines around the time of the failed request or 2. There is a network problem that is preventing mod_jk on the Red Hat server from resolving the Win2K/Tomcat server name or preventing it from reaching the Win2K/Tomcat server, perhaps a route, a missing default gateway, a bad cable, or whatever. John > -----Original Message----- > From: Bertus Keyser [mailto:bertus.keyser@;impress.co.za] > Sent: Thursday, October 31, 2002 9:48 AM > To: Tomcat Users List > Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk > ajp13 ) > > > Sorry, I am new to this list and don't yet understand the information > required. > > Thanks for the reply. > > The logs does not show anything. Its as If the message never > reaches the w2k > pc. > > The real issue as I can see it is: > > why can w2k connect to w2k but no matter how I try I can't > get Linux to > connect to w2k. > > I have tested this now with about 4 pc's in total. > > I have done and redone the settings about 10 times now and > still nothing > with the same result every time. > > If I shutdown the Tomcat on the w2k pc the apache instantly > notifies me with > an error but if Tomcat is running it just waits for infinite. > > If you think the logs and config will really help please ask, > again. :) > > > > > -----Original Message----- > From: Turner, John [mailto:JTurner@;AAS.com] > Sent: 31 October 2002 03:39 > To: 'Tomcat Users List' > Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk > ajp13 ) > > > > The best way for someone to help you is for you to post > relevant snippets > of your config files, and any pertinent information from log > files. Just > saying "it doesn't work" doesn't help us help you. > > Off the top of my head, I would guess that the Red Hat server > can't resolve > a domain name for the Win2K/Tomcat server, but without > getting more specific > information from you, there's really no way to tell. > > John > > > > -----Original Message----- > > From: Bertus Keyser [mailto:bertus.keyser@;impress.co.za] > > Sent: Thursday, October 31, 2002 3:21 AM > > To: Tomcat Users List > > Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk > > ajp13 ) > > > > > > Can anybody please help > > > > > > The situation: > > > > I a running Apache 1.3.20-16 (rpm version number) with > > tomcat-mod 3.2.1-1 > > (rpm version number) on a Red Hat 7.1. > > > > Also running Jakarta Tomcat 3.3.1 with the mod_jk.dll on a > > win2k (bad,I > > know). > > > > I am trying to make a connection from the Apache to the > Tomcat through > > mod_jk with the ajp13 protocol. > > > > Problem: > > > > When I connect to the Apache on Redhat 7.1 with say > > http://192.168.1.1/test > > it is supposed to call this page from the Tomcat on the win2k > > machine but it > > just keeps on loading into infinity and never shows nothing. > > > > > > The config of Tomcat and Apache is not that important. I'll > > explain why. > > > > I have set up a second Apache on a seperate win2k box with > > the same config > > settings as the Red Hat one but when i connect to the win2k > > box with say > > http://192.168.1.2/test it connect just fine. > > > > Anybody have any clue why this might be happening between > > Linux --> w2k and > > not with w2k --> w2k? > > > > Any help please. (desperate). I have spent about 48hours in > > total on it. I > > have Google'd read manuals but still nothing. > > > > Bertus Keyser > > > > > > -----Original Message----- > > From: Bertus Keyser [mailto:bertus.keyser@;impress.co.za] > > Sent: 29 October 2002 06:18 > > To: [EMAIL PROTECTED] > > Subject: Compatibility between Windows and Linux tomcat > > > > > > Hallo > > > > I would like to know if there are any compatibility issues > > between running > > Linux Apache with mod_jk and running Tomcat on Windows with > the ajp13 > > protocol. > > > > Bertus Keyser > > > > IMPRESS SOFTWARE (SA) > > Peter Place Park > > Bryanston, Johannesburg > > > > Phone +27 11 706-0339 > > Fax +27 11 706-8753 > > Mobile +27 83 459-5624 > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > > For additional commands, e-mail: > > <mailto:tomcat-user-help@;jakarta.apache.org> > > > > > > -- > > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
mod_jk.conf
Description: Binary data
<?xml version="1.0" encoding="ISO-8859-1"?> <Server> <!-- You can add a "home" attribute to represent the "base" for all relative paths. If none is set, the TOMCAT_HOME property will be used, and if not set "." will be used. webapps/, work/ and log/ will be relative to this ( unless set explicitely to absolute paths ). --> <ContextManager workDir="work" > <!-- ==================== Global modules ==================== --> <LoaderInterceptor11 useApplicationLoader="true" /> <TrustedLoader /> <LogSetter name="tc_log" timestamps="true" verbosityLevel="INFORMATION" /> <LogEvents enabled="false" /> <!-- Backward compat: read the Context declarations from server.xml--> <ContextXmlReader config="conf/server.xml" /> <!-- Separated Context --> <ContextXmlReader config="conf/apps.xml" /> <AutoDeploy source="modules" target="modules" redeploy="true" /> <AutoWebApp dir="modules" host="DEFAULT" trusted="true"/> <AutoDeploy source="webapps" target="webapps" /> <AutoWebApp dir="webapps" host="DEFAULT" /> <PolicyLoader securityManagerClass="java.lang.SecurityManager" policyFile="conf/tomcat.policy" /> <SimpleMapper1 /> <SessionExpirer checkInterval="60" /> <!-- For development you can use randomClass="java.util.Random" --> <SessionIdGenerator randomClass="java.security.SecureRandom" randomFile="/dev/urandom" /> <!-- ========== context processing modules ========== --> <!-- This will be the "default" profile ( all except the "global" modules can be set per context ) --> <LogSetter name="servlet_log" timestamps="true" verbosityLevel = "INFORMATION" path="logs/servlet-${yyyyMMdd}.log" /> <LogSetter name="JASPER_LOG" timestamps="true" path="logs/jasper-${yyyyMMdd}.log" verbosityLevel = "INFORMATION" /> <WebXmlReader validate="true" /> <ErrorHandler showDebugInfo="true" /> <WorkDirSetup cleanWorkDir="false" /> <Jdk12Interceptor /> <!-- Non-standard invoker, for backward compat. ( /servlet/* ) --> <InvokerInterceptor /> <!-- you can add javaCompiler="jikes" --> <JspInterceptor keepGenerated="true" largeFile="false" useJspServlet="false" /> <StaticInterceptor listings="true" useAcceptLanguage="true" useCharset="locale" /> <ReloadInterceptor fullReload="true" /> <SimpleSessionStore maxActiveSessions="-1" /> <AccessInterceptor /> <CredentialsInterceptor /> <SimpleRealm filename="conf/users/global-users.xml" /> <!-- UnComment the following and comment out the above to get a JDBC realm. Other options for driverName: driverName="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL" connectionName="scott" connectionPassword="tiger" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://localhost/authority" connectionName="test" connectionPassword="test" "connectionName" and "connectionPassword" are optional. --> <!-- <JDBCRealm debug="99" driverName="sun.jdbc.odbc.JdbcOdbcDriver" connectionURL="jdbc:odbc:TOMCAT" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" /> --> <LoadOnStartupInterceptor /> <Servlet22Interceptor /> <!-- Tag pooling support. To enable the reuse of tag handlers as described in the JSP spec, uncomment the following. If your pages use a lot of custom tags, you should see a nice performance gain. Note that placing the interceptor here will enable Tag pooling for all of the web applicatitions loaded - this may be a bad thing if all tags are not coded to handle reuse. To enable pooling only for specific web applications i.e. Contexts, place the interceptor inside of the Context's definition. To view information about tag usage uncomment the tag LogSetter. Set verbosityLevel to DEBUG to see everytime a tag is obtained and released. --> <!-- <LogSetter name="tag_pool_log" timestamps="true" path="logs/tagpool-${yyyyMMdd}.log" verbosityLevel="INFORMATION" /> <TagPoolManagerInterceptor /> --> <!-- Request processing --> <DecodeInterceptor /> <!-- If you are running SSL and wish to verify Tomcat sessions against SSL sessions, use checkSSLSessionId="true" Default is checkSSLSessionId="false" --> <SessionId cookiesFirst="true" noCookies="false" /> <!-- Automatic config generation Set noRoot="false" if you wish to have Tomcat try to take control of the external web server's root context. Additonal configuration of the external web server may be required for this to be successful. Note: Configuration files are not written as part of the default startup behvior. Append "jkconf" to the startup command to have Tomcat initialize, write the config files, then exit. This may be done while Tomcat is running. --> <ApacheConfig noRoot="true" /> <IISConfig noRoot="true" /> <NSConfig noRoot="true" /> <!-- Uncoment for apache-style logs Attributes: logFile, flush, format <AccessLogInterceptor/> --> <!-- ==================== Connectors ==================== --> <!-- new http adapter. Attributes: secure - use SSL ( https ) keystore, keypass - certs for SSL port reportedname - Server name to send back to browser by default report Tomcat Web Server ... set an empty string to avoid sending server header --> <Http10Connector port="8080" secure="false" maxThreads="100" maxSpareThreads="50" minSpareThreads="10" /> <!-- Uncomment this for SSL support. You _need_ to set up a server certificate if you want this to work, and you need JSSE. See tomcat-ssl-howto.html for more detailed instructions. 1. Make the JSSE jars available to Tomcat, either by making them an installed extension or by adding them to the Tomcat CLASSPATH. 2. Do: keytool -genkey -alias tomcat -keyalg RSA RSA is essential to work with Netscape and IIS. Use "changeit" as password. ( or add keypass attribute ) You don't need to sign the certificate. --> <!-- <Http10Connector port="8443" secure="true" /> --> <!-- JNI connector. It assumes the library is located in TOMCAT_HOME/bin/native/jni_connect.[dll, nlm, so]. or in LD_LIBRARY_PATH. For different paths set "nativeLibrary" parameter. The JniConnector will be self-enable only if JNI mode is detected. --> <JniConnector /> <!-- Apache AJP12 support. This is also used to shut down tomcat. Parameter "address" defines network interface this Interceptor "binds" to. Add it if you want to "bind" to just "127.0.0.1". address="127.0.0.1" Parameter "tomcatAuthentication", controls if Tomcat honors ( and uses ) auth done in HTTP Server or not, when true Tomcat does not use in any way auth information provided by the HTTP Server. true is the default. tomcatAuthentication="false" --> <Ajp12Connector port="8008" /> <!-- Apache AJP13 support (mod_jk) Parameter "address" defines network interface this Interceptor "binds" to. Add it if you want to "bind" to just "127.0.0.1". address="127.0.0.1" Parameter "tomcatAuthentication", controls if Tomcat honors ( and uses ) auth done in HTTP Server or not, when true Tomcat does not use in any way auth information provided by the HTTP Server. true is the default. tomcatAuthentication="false" --> <Ajp13Connector port="8009" /> <!-- Context definitions can be placed here ( not recommended ) or in separate files. The ContextXmlReader will read all context definitions ( you can customize the "base" filename ). The default is conf/apps-[name].xml. See conf/apps-examples.xml and conf/apps-admin.xml --> </ContextManager> </Server>
workers.properties
Description: Binary data
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>