tomcat问题解决

Failed creating java D:\jre6\bin\client\jvm.dll的解决
启动tomcat服务时出现错误Failed creating java D:\jre6\bin\client\jvm.dll的解决办法
把jdk\bin目录下的msvcr71.dll复制到tomcat安装目录的\bin下即可


tomcat下配置一个服务:
 <Service name="Catalina">
  <Connector port="9223" redirectPort="7443" minSpareThreads="25" connectionTimeout="20000" maxSpareThreads="75" maxThreads="150" URIEncoding="UTF-8"></Connector>

  <Connector port="8099" redirectPort="7443" protocol="AJP/1.3"></Connector>

  <Engine defaultHost="localhost" name="Catalina">
   <Realm className="org.apache.catalina.realm.UserDatabaseRealm" />
   <Host appBase="webapps" name="localhost">
    <Context path="" docBase="D:\我的路径" privileged="true" debug="0" reloadable="true"></Context>
   </Host>
  </Engine>
 </Service>

你可能感兴趣的:(java,apache,jvm,jdk,tomcat)