在开发con的时候,用了jacob.jar包和jacob.dll。 将jacob.jar放在tomcat的web-inf\lib下。因为我工程就在root下。然后将jacob.dll放到system32 下。接着在环境变量里添加了jacob.jar的路径。我本地应该成功运行。现在部署到服务器上(本机和服务器都是2003系统).出了以下异常。
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /wms.jsp:10
7: <%
8: String str = (String)session.getAttribute("interest");
9: IWSServiceLogic objService = new IWSServiceLogic();
10: objService.Init(IWSServiceLogic.createWMS(), "luoming");
11: List list = objService.getPlayProgramList();
12: %>
13:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
com.jacob.com.ComFailException: Can't map name to dispid: Type
com.jacob.com.Dispatch.invokev(Native Method)
com.jacob.com.Dispatch.get(Dispatch.java)
wms.IWSServiceLogic.getBroadcastPublishPointByName(IWSServiceLogic.java:71)
wms.IWSServiceLogic.Init(IWSServiceLogic.java:45)
org.apache.jsp.wms_jsp._jspService(wms_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
请问那位朋友知道该怎么解决这问题。已经困扰我好几天。麻烦各位朋友多多帮忙。谢谢