java.lang.Exception: ManagedBean is not found with Ajp13Connector
        at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224
这个文件有问题,贴出代码来

解决方案 »

  1.   

    行了,我给你一个Tomcat和Apache整合的方案!你用的那个方案似乎在我的Windows Advance Server2000上也出现过和你一样的问题,下面这个方案,至少我一下就成功了,希望你和我一样!!1. 下载mod_jk2-2.0.43.dll,并将它复制到APACHE安装目录下的modules子目录下。 2. 编辑APACHE2的配置文件httpd.conf,在文件的最后加上以下几行。 LoadModule jk2_module modules/mod_jk2-2.0.43.dll 
    <VirtualHost *> 
    ServerAdmin [email protected] 
    DocumentRoot "D:/jakarta-tomcat-4.1.12/webapps" 
    ServerName dummy-host.example.com 
    DirectoryIndex index.htm index.html index.jsp 
    ErrorLog logs/dummy-host.example.com-error_log 
    CustomLog logs/dummy-host.example.com-access_log common 
    </VirtualHost> 其中DocumentRoot一行要与自己的TOMCAT安装目录一致。 
    DirectoryIndex一行是为了自动解释JSP类型的文件。 3. 在APACHE2安装目录的conf子目录下加入文件workers2.properties,其内容如下:[shm] 
    file=${serverRoot}/logs/shm.file 
    size=1048576 # Example socket channel, override port and host. 
    [channel.socket:localhost:8009] 
    port=8009 
    host=127.0.0.1# define the worker 
    [ajp13:localhost:8009] 
    channel=channel.socket:localhost:8009 # Uri mapping 
    [uri:/*] 
    worker=ajp13:localhost:8009这样就可以了!!
    祝好运!!呵呵!!