免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2545 | 回复: 2
打印 上一主题 下一主题

Linux环境下iPlanetWebServer6SP5支持JSP问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-23 15:11 |只看该作者 |倒序浏览
RedHatLinux7.1\iPlanetWebServer6SP5\Mysql现在要支持JSP,在iPlanet的管理页面下按照Sun的文档配置了相应的DocumentRoot\JVMClasspath,编辑了Web-app.xml。系统的环境变量。写了一个test.jsp里面system.out("hello"可以正常解析并显示。把整个论坛系统放到目录下面,输入相应URL后显示“无法显示网页”错误。查看WebServer的Logs显示如下:
  1. //****************************************************************************//
  2. [23/Sep/2003:14:47:21] info ( 7872):  Installing a new configuration  [23/Sep/2003:14:47:21] info ( 7872):  [LS ls1] http://web.neusoft.com, port 7700 ready to accept requests  
  3. [23/Sep/2003:14:47:21] info ( 7872):  A new configuration was successfully installed  
  4. [23/Sep/2003:14:47:22] info ( 7872):  Using the Java HotSpot(TM) Server VM v1.3.1_01 from Sun Microsystems Inc.  
  5. [23/Sep/2003:14:47:22] info ( 7872):  Java VM classpath: /usr/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/usr/java/jdk1.3.1_01/lib/tools.jar:/usr/java/jdk1.3.1_01/lib/dt.jar:/usr/iplanet/servers/bin/https/jar/NSServletLayer.jar:/usr/iplanet/servers/bin/https/jar/NSJavaUtil.jar:/usr/iplanet/servers/bin/https/jar/AdminNativeUtil.jar:/usr/iplanet/servers/bin/https/jar/NSJavaMiscUtil.jar:/usr/iplanet/servers/bin/https/jar/servlet.jar:/usr/iplanet/servers/bin/https/jar/servlet-2.3-filters-api.jar:/usr/iplanet/servers/bin/https/jar/jsp092.jar:/usr/iplanet/servers/bin/https/jar/jaxp.jar:/usr/iplanet/servers/bin/https/jar/crimson.jar:/usr/iplanet/servers/bin/https/jar/xalan.jar:/usr/iplanet/servers/bin/https/jar/jspengine.jar:[23/Sep/2003:14:47:22] info ( 7872):  Loading IWSSessionManager by default.  [23/Sep/2003:14:47:22] info ( 7872):  IWSSessionManager: Maximum number of sessions is 1000  [23/Sep/2003:14:47:22] info ( 7872):  Adding default web application at (/usr/iplanet/servers/forum)  
  6. [23/Sep/2003:14:47:29] info ( 7872):  Loading IWSSessionManager by default.  
  7. [23/Sep/2003:14:47:29] info ( 7872):  IWSSessionManager: Maximum number of sessions is 1000  
  8. [23/Sep/2003:14:47:29] info ( 7872):  Successfully initialized web application environment (web-apps.xml) for virtual server (https-web)
复制代码
请注意下面的:
  1. [23/Sep/2003:14:47:29] warning ( 7872):  The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.  
  2. [23/Sep/2003:14:47:37] info ( 7895):  vs(https-web)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/'  
  3. [23/Sep/2003:14:47:37] info ( 7895):  jsp: init  [23/Sep/2003:14:47:37] info ( 7895):  jsp: init  
  4. [23/Sep/2003:14:47:38] failure ( 7896):  Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.ExceptionInInitializerError: java.lang.NullPointerException   at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:326)   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:382)   at net.myvietnam.mvnplugin.mvnforum.user.ForumUserServlet.<clinit>;(ForumUserServlet.java:58)   at java.lang.Class.newInstance0(Native Method)   at java.lang.Class.newInstance(Class.java:237)   at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:71)   at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1041)   at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)  
  5. //**************************************************************************//
复制代码
后来又把tools.jar加入到JVMClasspath中。还是不行。上Sun的网站看了相关的文档、管理员手册,根据上面说的作。问了几个作开发的朋友,还是没能成功。
谁有什么好主意看看我下一步应该怎么做!
谢谢!

论坛徽章:
0
2 [报告]
发表于 2003-09-23 17:45 |只看该作者

Linux环境下iPlanetWebServer6SP5支持JSP问题

看看这一段
The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf.

论坛徽章:
0
3 [报告]
发表于 2003-09-24 10:34 |只看该作者

Linux环境下iPlanetWebServer6SP5支持JSP问题

这段我昨天注意到了,可是看了几遍。我能理解到的就是怀疑缺少相应的类文件。当时又不知道具体缺少哪个。也不知道自己想的方向对不对。请大侠指教!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP