This worked :) thank you very much man! :) >JkMount works with respect to URLs, not file system pathes: > >Use > > JkMount /jsp-examples/* damnjk > >instead of > > JkMount /usr/local/tomcat5.5/webapps/jsp-examples/* damnjk > >There might be further config bugs after fixing this one :) > >Regards, > >Rainer > >Mario Pavlov wrote: >> Hello guys >> I'm trying to set up apache to redirect requests to tomcat on my >> FreeBSD-6.2-STABLE >> but I can't get this to work >> please help me :) >> here is what I do: >> so first I've installed the latest ports >> apache-2.2.4 >> mod_jk-ap2-1.2.21,1 >> tomcat-5.5.20 >> >> and I've edited the config files to look like this: >> for apache httpd and mod_jk >> /usr/local/etc/apache22/httpd.conf >> [CODE] >> ServerRoot "/usr/local" >> >> Listen 80 >> >> LoadModule authn_file_module libexec/apache22/mod_authn_file.so >> LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so >> LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so >> LoadModule authn_default_module libexec/apache22/mod_authn_default.so >> LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so >> LoadModule authz_host_module libexec/apache22/mod_authz_host.so >> LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so >> LoadModule authz_user_module libexec/apache22/mod_authz_user.so >> LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so >> LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so >> LoadModule authz_default_module libexec/apache22/mod_authz_default.so >> LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so >> LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so >> LoadModule file_cache_module libexec/apache22/mod_file_cache.so >> LoadModule cache_module libexec/apache22/mod_cache.so >> LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so >> LoadModule include_module libexec/apache22/mod_include.so >> LoadModule filter_module libexec/apache22/mod_filter.so >> LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so >> LoadModule deflate_module libexec/apache22/mod_deflate.so >> LoadModule log_config_module libexec/apache22/mod_log_config.so >> LoadModule logio_module libexec/apache22/mod_logio.so >> LoadModule env_module libexec/apache22/mod_env.so >> LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so >> LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so >> LoadModule expires_module libexec/apache22/mod_expires.so >> LoadModule headers_module libexec/apache22/mod_headers.so >> LoadModule usertrack_module libexec/apache22/mod_usertrack.so >> LoadModule unique_id_module libexec/apache22/mod_unique_id.so >> LoadModule setenvif_module libexec/apache22/mod_setenvif.so >> LoadModule version_module libexec/apache22/mod_version.so >> LoadModule ssl_module libexec/apache22/mod_ssl.so >> LoadModule mime_module libexec/apache22/mod_mime.so >> LoadModule dav_module libexec/apache22/mod_dav.so >> LoadModule status_module libexec/apache22/mod_status.so >> LoadModule autoindex_module libexec/apache22/mod_autoindex.so >> LoadModule asis_module libexec/apache22/mod_asis.so >> LoadModule info_module libexec/apache22/mod_info.so >> LoadModule cgi_module libexec/apache22/mod_cgi.so >> LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so >> LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so >> LoadModule negotiation_module libexec/apache22/mod_negotiation.so >> LoadModule dir_module libexec/apache22/mod_dir.so >> LoadModule imagemap_module libexec/apache22/mod_imagemap.so >> LoadModule actions_module libexec/apache22/mod_actions.so >> LoadModule speling_module libexec/apache22/mod_speling.so >> LoadModule userdir_module libexec/apache22/mod_userdir.so >> LoadModule alias_module libexec/apache22/mod_alias.so >> LoadModule rewrite_module libexec/apache22/mod_rewrite.so >> LoadModule php5_module libexec/apache22/libphp5.so >> LoadModule jk_module libexec/apache22/mod_jk.so >> >> <IfModule !mpm_netware_module> >> User www >> Group www >> </IfModule> >> >> ServerAdmin [EMAIL PROTECTED] >> >> ServerName 85.11.148.165:80 >> >> DocumentRoot "/usr/local/www/apache22/data" >> >> <Directory /> >> AllowOverride None >> Order deny,allow >> Deny from all >> </Directory> >> >> <Directory "/usr/local/www/apache22/data"> >> Options Indexes FollowSymLinks >> >> AllowOverride None >> >> Order allow,deny >> Allow from all >> >> </Directory> >> >> <IfModule dir_module> >> DirectoryIndex index.html index.php >> </IfModule> >> >> <FilesMatch "^\.ht"> >> Order allow,deny >> Deny from all >> Satisfy All >> </FilesMatch> >> >> ErrorLog /var/log/httpd-error.log >> >> LogLevel warn >> >> <IfModule log_config_module> >> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" >> \"%{User-Agent}i\"" combined >> LogFormat "%h %l %u %t \"%r\" %>s %b" common >> >> <IfModule logio_module> >> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" >> \"%{User-Agent}i\" %I %O" combinedio >> </IfModule> >> >> CustomLog /var/log/httpd-access.log combined >> </IfModule> >> >> <IfModule alias_module> >> ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/" >> </IfModule> >> >> <IfModule cgid_module> >> </IfModule> >> >> <Directory "/usr/local/www/apache22/cgi-bin"> >> AllowOverride None >> Options None >> Order allow,deny >> Allow from all >> </Directory> >> >> DefaultType text/plain >> >> <IfModule mime_module> >> TypesConfig etc/apache22/mime.types >> AddType application/x-compress .Z >> AddType application/x-gzip .gz .tgz >> </IfModule> >> >> Include etc/apache22/extra/httpd-autoindex.conf >> Include etc/apache22/extra/httpd-userdir.conf >> Include etc/apache22/extra/mod_jk.conf >> >> <IfModule ssl_module> >> SSLRandomSeed startup builtin >> SSLRandomSeed connect builtin >> </IfModule> >> Include etc/apache22/Includes/*.conf >> [/CODE] >> >> /usr/local/www/apache22/workers.properties >> [CODE] >> worker.list=damnjk >> worker.damnjk.port=8009 >> worker.damnjk.host=localhost >> worker.damnjk.type=ajp13 >> [/CODE] >> >> /usr/local/etc/apache22/extra/mod_jk.conf >> [CODE] >> <IfModule mod_jk.c> >> JkWorkersFile /usr/local/etc/apache22/workers.properties >> JkLogFile /var/log/jk.log >> JkShmFile /var/log/jk-runtime-status >> JkLogLevel debug >> >> JkMount /usr/local/tomcat5.5/webapps/jsp-examples/* damnjk >> >> </IfModule> >> [/CODE] >> >> for tomcat >> /usr/local/tomcat5.5/conf/server.xml >> [CODE] >> <Server port="8005" shutdown="SHUTDOWN"> >> >> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> >> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" >> /> >> <Listener >> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> >> <Listener >> className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> >> >> <GlobalNamingResources> >> >> <Environment name="simpleValue" type="java.lang.Integer" value="30"/> >> >> <Resource name="UserDatabase" auth="Container" >> type="org.apache.catalina.UserDatabase" >> description="User database that can be updated and saved" >> factory="org.apache.catalina.users.MemoryUserDatabaseFactory" >> pathname="conf/tomcat-users.xml" /> >> >> </GlobalNamingResources> >> >> <Service name="Catalina"> >> >> <!-- Define an AJP 1.3 Connector --> >> <Connector port="8009" >> enableLookups="false" redirectPort="8443" protocol="AJP/1.3" >> /> >> >> <Engine name="Catalina" defaultHost="localhost"> >> >> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" >> resourceName="UserDatabase"/> >> >> <Host name="localhost" appBase="webapps" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> >> >> </Host> >> >> </Engine> >> >> </Service> >> >> </Server> >> [/CODE] >> >> all other config files are the default >> >> so I start tomcat and apache >> and I can see that they are running and listening >> >> [CODE] >> e-soul# sockstat -l >> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS >> .... >> www httpd 41558 3 tcp4 *:80 *:* >> www httpd 41557 3 tcp4 *:80 *:* >> www httpd 41556 3 tcp4 *:80 *:* >> www httpd 41555 3 tcp4 *:80 *:* >> www httpd 41554 3 tcp4 *:80 *:* >> www httpd 41553 3 tcp4 *:80 *:* >> root httpd 41552 3 tcp4 *:80 *:* >> www java 40878 16 tcp4 *:8009 *:* >> www java 40878 19 tcp4 127.0.0.1:8005 *:* >> .... >> [/CODE] >> >> and I type in my browser >> [url]http://85.11.148.165/jsp-examples/[/url] >> and I get 404 not found >> and I can see this in the log files: >> >> /var/log/httpd-error.log >> [CODE] >> [Wed Mar 07 23:56:25 2007] [warn] Init: Session Cache is not configured >> [hint: SSLSessionCache] >> [Wed Mar 07 23:56:27 2007] [notice] Digest: generating secret for digest >> authentication ... >> [Wed Mar 07 23:56:27 2007] [notice] Digest: done >> [Wed Mar 07 23:56:28 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 >> OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch mod_jk/1.2.21 >> configured -- resuming normal operations >> [Wed Mar 07 23:57:04 2007] [error] [client 85.11.148.165] File does not >> exist: /usr/local/www/apache22/data/jsp-examples >> [Wed Mar 07 23:57:10 2007] [error] [client 85.11.148.165] File does not >> exist: /usr/local/www/apache22/data/jsp-examples >> [/CODE] >> >> /var/log/jk.log >> [CODE] >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 1 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' was >> added >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] do_shm_open::jk_shm.c >> (327): Truncated shared memory to 28800 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] do_shm_open::jk_shm.c >> (360): Initialized shared memory size=28800 free=28672 addr=0x489a0000 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] do_shm_open_lock::jk_shm.c >> (266): Opened shared memory lock /var/log/jk-runtime-status.lock >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] init_jk::mod_jk.c (2632): >> Initialized shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> jk_map_resolve_references::jk_map.c (644): Checking for references with >> prefix worker. with wildcard (recursion 1) >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> build_worker_map::jk_worker.c (239): creating worker damnjk >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> wc_create_worker::jk_worker.c (144): about to create instance damnjk of >> ajp13 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> wc_create_worker::jk_worker.c (157): about to validate and init damnjk >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> ajp_validate::jk_ajp_common.c (1985): worker damnjk contact is >> 'localhost:8009' >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2112): setting endpoint options: >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2115): keepalive: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2119): timeout: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2123): buffer size: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2127): pool timeout: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2131): connect timeout: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2135): reply timeout: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2139): prepost timeout: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2143): recovery options: 0 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2147): retries: 2 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] ajp_init::jk_ajp_common.c >> (2151): max packet size: 8192 >> [Wed Mar 07 23:56:25 2007] [41817:0000] [debug] >> ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool >> size to 1 with min 1 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 1 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' was >> added >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] do_shm_open::jk_shm.c >> (327): Truncated shared memory to 28800 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] do_shm_open::jk_shm.c >> (360): Initialized shared memory size=28800 free=28672 addr=0x48a4b000 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] do_shm_open_lock::jk_shm.c >> (266): Opened shared memory lock /var/log/jk-runtime-status.lock >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] init_jk::mod_jk.c (2632): >> Initialized shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> jk_map_resolve_references::jk_map.c (644): Checking for references with >> prefix worker. with wildcard (recursion 1) >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> build_worker_map::jk_worker.c (239): creating worker damnjk >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> wc_create_worker::jk_worker.c (144): about to create instance damnjk of >> ajp13 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> wc_create_worker::jk_worker.c (157): about to validate and init damnjk >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> ajp_validate::jk_ajp_common.c (1985): worker damnjk contact is >> 'localhost:8009' >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2112): setting endpoint options: >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2115): keepalive: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2119): timeout: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2123): buffer size: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2127): pool timeout: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2131): connect timeout: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2135): reply timeout: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2139): prepost timeout: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2143): recovery options: 0 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2147): retries: 2 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] ajp_init::jk_ajp_common.c >> (2151): max packet size: 8192 >> [Wed Mar 07 23:56:27 2007] [41818:0000] [debug] >> ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool >> size to 1 with min 1 >> [Wed Mar 07 23:56:28 2007] [41820:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:56:28 2007] [41820:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:28 2007] [41820:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:56:28 2007] [41819:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:56:28 2007] [41819:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:28 2007] [41819:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:56:28 2007] [41823:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:56:28 2007] [41823:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:28 2007] [41822:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:56:28 2007] [41822:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:28 2007] [41822:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:56:28 2007] [41821:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:56:28 2007] [41821:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:56:28 2007] [41821:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:56:28 2007] [41823:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:57:04 2007] [41820:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI >> '/jsp-examples' from 1 maps >> [Wed Mar 07 23:57:04 2007] [41820:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' >> [Wed Mar 07 23:57:04 2007] [41820:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI >> '/jsp-examples' from 1 maps >> [Wed Mar 07 23:57:04 2007] [41820:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' >> [Wed Mar 07 23:57:05 2007] [41824:0000] [debug] do_shm_open::jk_shm.c >> (284): Shared memory is already open >> [Wed Mar 07 23:57:05 2007] [41824:0000] [debug] jk_child_init::mod_jk.c >> (2588): Attached shm:/var/log/jk-runtime-status >> [Wed Mar 07 23:57:05 2007] [41824:0000] [debug] jk_child_init::mod_jk.c >> (2598): Initialized mod_jk/1.2.21 >> [Wed Mar 07 23:57:10 2007] [41819:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI >> '/jsp-examples/' from 1 maps >> [Wed Mar 07 23:57:10 2007] [41819:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' >> [Wed Mar 07 23:57:10 2007] [41819:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI >> '/jsp-examples/' from 1 maps >> [Wed Mar 07 23:57:10 2007] [41819:0000] [debug] >> map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI >> '/usr/local/tomcat5.5/webapps/jsp-examples/*=damnjk' source 'JkMount' >> [/CODE] >> >> and this /usr/local/tomcat5.5/logs/stdoput.log when starting tomcat >> [CODE] >> Mar 8, 2007 12:02:09 AM org.apache.catalina.core.AprLifecycleListener >> lifecycleEvent >> INFO: The Apache Tomcat Native library which allows optimal performance in >> production environments was not found on the java.library.path: >> /usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:/usr/lib:/usr/local/lib >> Mar 8, 2007 12:02:09 AM org.apache.catalina.startup.Catalina load >> INFO: Initialization processed in 1717 ms >> Mar 8, 2007 12:02:10 AM org.apache.catalina.core.StandardService start >> INFO: Starting service Catalina >> Mar 8, 2007 12:02:10 AM org.apache.catalina.core.StandardEngine start >> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20 >> Mar 8, 2007 12:02:10 AM org.apache.catalina.core.StandardHost start >> INFO: XML validation disabled >> Mar 8, 2007 12:02:11 AM org.apache.catalina.startup.HostConfig deployWAR >> INFO: Deploying web application archive sample.war >> Mar 8, 2007 12:02:11 AM org.apache.catalina.startup.ContextConfig init >> SEVERE: Exception fixing docBase: {0} >> java.io.FileNotFoundException: >> /usr/local/tomcat5.5/webapps/sample/META-INF/MANIFEST.MF (No such file or >> directory) >> at java.io.FileOutputStream.open(Native Method) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:179) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:131) >> at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:311) >> at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:157) >> at >> org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:869) >> at >> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:987) >> at >> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:278) >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> at >> org.apache.catalina.core.StandardContext.init(StandardContext.java:5066) >> at >> org.apache.catalina.core.StandardContext.start(StandardContext.java:3979) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) >> at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) >> at >> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) >> at >> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) >> at >> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) >> at >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) >> at >> org.apache.catalina.core.StandardHost.start(StandardHost.java:718) >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) >> at >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) >> at >> org.apache.catalina.core.StandardService.start(StandardService.java:450) >> at >> org.apache.catalina.core.StandardServer.start(StandardServer.java:709) >> at org.apache.catalina.startup.Catalina.start(Catalina.java:551) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) >> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) >> Mar 8, 2007 12:02:12 AM org.apache.catalina.core.ApplicationContext log >> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: >> [org.apache.webapp.balancer.RuleChain: >> [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / >> Redirect URL: http://www.cnn.com], >> [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: >> paramName / Target param value: paramValue / Redirect URL: >> http://www.yahoo.com], >> [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: >> http://jakarta.apache.org]] >> Mar 8, 2007 12:02:12 AM org.apache.catalina.core.ApplicationContext log >> INFO: ContextListener: contextInitialized() >> Mar 8, 2007 12:02:12 AM org.apache.catalina.core.ApplicationContext log >> INFO: SessionListener: contextInitialized() >> Mar 8, 2007 12:02:12 AM org.apache.catalina.core.ApplicationContext log >> INFO: ContextListener: contextInitialized() >> Mar 8, 2007 12:02:12 AM org.apache.catalina.core.ApplicationContext log >> INFO: SessionListener: contextInitialized() >> Mar 8, 2007 12:02:13 AM org.apache.jk.common.ChannelSocket init >> INFO: JK: ajp13 listening on /0.0.0.0:8009 >> Mar 8, 2007 12:02:13 AM org.apache.jk.server.JkMain start >> INFO: Jk running ID=0 time=0/153 config=null >> Mar 8, 2007 12:02:13 AM org.apache.catalina.storeconfig.StoreLoader load >> INFO: Find registry server-registry.xml at classpath resource >> Mar 8, 2007 12:02:13 AM org.apache.catalina.startup.Catalina start >> INFO: Server startup in 4024 ms >> [/CODE] >> >> I can't understand why this is not working >> can anyone help me please? :) >> thank you > >--------------------------------------------------------------------- >To start a new topic, e-mail: users@tomcat.apache.org >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >
----------------------------------------------------------------- http://auto-motor-und-sport.bg/ С бензин в кръвта --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]