动网论坛,站长建站首选,国内使用量最多的论坛软件 动网论坛官方技术讨论区 站长工具 申请属于您自己的免费论坛
首页 | 新闻资讯 | 网站运营 | 网络编程 | 数据库 | 服务器 | 网页设计 | 图像媒体 | 网络应用 | 搜索优化 | 资源下载 | 动网主机 | DVBOX
    本站内  互联网 ASP论坛  ASP.Net论坛  PHP论坛
   PHP → 阅读文章

 Linux 下的 Apache+JServ+ojsp+SSL+PHP(IMAP+LDAP+MYSQL) 的安装(转四)

作者来源: 
阅读 数 151 人次 , 2006-4-18 17:23:00 


   #  cat  zone.properties   
######################################################################   
#########   
#                                                Servlet  Zone  Configuration  File                               
               #   
######################################################################   
#########   


#  List  of  Repositories   
#######################   

#  The  list  of  servlet  repositories  controlled  by  this  servlet  zone   
#  Syntax:  repositories=[repository],[repository]...   
#  Default:  NONE   
#  Note:  The  classes  you  want  to  be  reloaded  upon  modification  should  b   
e  put   
#              here.   

repositories=/usr/local/apache/jserv/servlets   

repositories=/usr/local/apache/jserv/libexec/ApacheJServ.jar   
repositories=/usr/local/apache/jserv/libexec/ApacheJSSI.jar   

#  Classloader  parameters   
#########################   

#  Enable  servlet  class  autoreloading.   
#  Syntax:  autoreload.classes=[true,false]  (boolean)   
#  Default:  true   
autoreload.classes=true   

#  Enable  servlet  resourced  autoreloading  (properties  and  other  loaded     
resources)   
#  Syntax:  autoreload.file=[true,false]  (boolean)   
#  Default:  true   
autoreload.file=true   

#  Set  the  number  of  millisecond  to  wait  before  giving  up  on  initializi   
ng  a  servlet.   
#  (a  timeout  of  zero  means  no  timeout)   
#  Syntax:  init.timeout=(long)>0   
#  Default:  10000  (10  secs)   
init.timeout=10000   

#  Set  the  number  of  millisecond  to  wait  before  giving  up  on  destroying   
a  servlet.   
#  (a  timeout  of  zero  means  no  timeout)   
#  Syntax:  destroy.timeout=(long)>0   
#  Default:  10000  (10  secs)   
destroy.timeout=10000   

#  Session  Cookie  Parameters   
############################   

#  Syntax:  session.useCookies=[true,false]  (boolean)   
#  Default:  true   
session.useCookies=true   


#  Set  the  number  of  millisecond  to  wait  before  invalidating  an  unused     
session.   
#  Syntax:  session.timeout=(long)>0   
#  Default:  1800000  (30  mins)   
session.timeout=1800000   

#  Set  how  frequently  (milliseconds)  to  check  for  timed-out  sessions.   
#  Syntax:  session.checkFrequency=(long)>0   
#  Default:  30000  (30  secs)   
session.checkFrequency=30000   

#  Set  the  domain=  header  that  gets  sent  with  the  cookie.  This  is   
#  entirely  optional   
#  Default:  null   
#session.topleveldomain=.foo.com   

#  SingleThreadModel  Servlets  parameters   
########################################   

#  Set  the  initial  capacity  of  the  STM  servlets  pool.   
#  Syntax:  singleThreadModelServlet.initialCapacity=(int)>1   
#  Default:  5   
singleThreadModelServlet.initialCapacity=5   

#  Set  the  number  of  servlet  instances  should  be  added  to  the  pool  if  f   
ound  empty.   
#  Syntax:  singleThreadModelServlet.incrementCapacity=(int)>1   
#  Default:  5   
singleThreadModelServlet.incrementCapacity=5   

#  Set  the  maximum  capacity  of  the  STM  pool   
#  Syntax:  singleThreadModelServlet.maximumCapacity=(int)>1   
#  Default:  10   
singleThreadModelServlet.maximumCapacity=10   

###################  S  E  R  V  L  E  T        P  A  R  A  M  E  T  E  R  S  #############   
#########   

#  Oracle  jsr  Servlet  initArgs   
#################################   
servlet.oracle.jsp.JspServlet.initArgs=developer_mode=false   
servlet.oracle.jsp.JspServlet.initArgs=translate_params=true   
servlet.oracle.jsp.JspServlet.initArgs=page_repository_root=/var/apach   
e/jsp   
servlet.oracle.jsp.JspServlet.initArgs=classpath=/usr/local/jdk/lib/dt   
.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jsdk/lib/jsdk.jar:/usr/lo   
cal/jswdk/lib/servlet.jar   
servlet.oracle.jsp.JspServlet.initArgs=scratchdir=/var/apache/jsp   
servlet.oracle.jsp.JspServlet.initArgs=compiler=builtin-javac  -classpa   
th  %classpath%:%scratchdir%:/usr   
servlet.oracle.jsp.JspServlet.initArgs=jserv=true   

scratchdir  的模式我是  777.没有试验其他的值   

至此应该全部安装完毕,/usr/local/apache/bin/apachectl  startssl  应该可以   
正常运行   
接着可以测试servlet和jsp应用   

另外:注意在url里面最好不要有"~"符号,否则可能有java编译问题   

如果有什么问题可以互相探讨。   


本文章来自于ASP中华网(http://www.aspcn.com)如要转载请务必注明出处,谢谢   
 本文Tagsmysql  数据库  linux  Apache  
 收藏本文  打印本文  论坛讨论  关闭窗口
· 上一篇:Linux 下的 Apache+JServ+ojsp+SSL+PHP(IMAP+LDAP+MYSQL) 的安装(转二)
· 下一篇:Linux 下的 Apache+JServ+ojsp+SSL+PHP(IMAP+LDAP+MYSQL) 的安装(转三)
· PHP4实际应用经验篇(3)
· PHP的面向对象编程:开发大型PHP项目的方法(五)
· 无限分类&树型论坛的实现
· 小软件项目开发的管理
· 一个广告轮播系统的例子(内含文件上传的方法)


关于本站 | 联系我们 | 业务合作 | 客户案例 | 诚聘英才 | 广告合作 | 收藏本站
海口动网先锋网络科技有限公司版权所有
Copyright © 2000 - 2006 Cndw.Com
中华人民共和国电信与信息服务业务经营许可证编号 琼 ICP 020077