欢迎来到天天文库
浏览记录
ID:16495111
大小:2.90 MB
页数:11页
时间:2018-08-10
《2008 iis动态web网站之jsp网站的搭建》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、WindowsServer2008IIS动态Web网站之JSP网站的搭建在windowsserver2008搭建JSP网站,其实也是很简单的。1、安装Java的程序(JDK)安装:配置环境变量:Path:C:ProgramFilesJavajdk1.7.0_21bin;C:ProgramFilesJavajdk1.7.0_21jrebinCLASSPATH:C:ProgramFilesJavajdk1.7.0_21libdt.jar;C:ProgramFilesJavajdk
2、1.7.0_21libtools.jar;C:ProgramFilesJavajre7librt.jarJAVA_HOME:C:ProgramFilesJavajdk1.7.0_21环境配置成功!2、搭建JSP网站在保证了安装好java的环境后,还要安装Tomcat服务器来支持JSP,建议使用安装版(apache-tomcat-7.0.27.exe)①:向注册表添加记录(即如下文件运行起来自动注入)//创建一个isapi_askar.reg文件,内容如下(去掉注释!)[HKEY_LOCAL
3、_MACHINESOFTWAREApacheSoftwareFoundationJakartaIsapiRedirector1.0]"extension_uri"="/jakarta/isapi_redirect.dll"//对应IISjakarta虚拟目录的路径"log_file"="D:\Tomcat6.0\logs\iis_redirect.log"//日志文件路径,用于除错"log_level"="info""worker_file"="D:\Tomcat6.0\conf\work
4、ers.properties"//workers.properties配置文件路径"worker_mount_file"="D:\Tomcat6.0\conf\uriworkermap.properties"//uriworkermap.properties配置文件路径检测注册表是否正常注入:②:在tomcat安装目录下conf文件夹下建立两个文件文件1:workers.propertiesworkers.tomcat_home=C:ProgramFilesApacheSoftwareFoundat
5、ionTomcat7.0workers.java_home=C:ProgramFilesJavajdk1.7.0_21worker.list=my_tomcatworker.s1.type=ajp13worker.s1.host=127.0.0.1worker.s1.port=8009worker.s1.lbfactor=1worker.my_tomcat.type=lbworker.my_tomcat.balance_workers=s1worker.my_tomcat.sticky_session
6、=Trueworker.inprocess.class_path=$(workers.tomcat_home)$(ps)classesworker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jarworker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jarworker.inprocess.class_path=$(workers.tomca
7、t_home)$(ps)lib$(ps)webserver.jarworker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jarworker.inprocess.cmd_line=-configworker.inprocess.cmd_line=$(workers.tomcat_home)/conf/server.xmlworker.inprocess.cmd_line=-homeworker.inprocess.cmd_line=
8、$(workers.tomcat_home)worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dllworker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdoutworker.inprocess.stderr=$(w
此文档下载收益归作者所有