JSP 在weblogic 上不能运行.

ahaw 2003-02-15 10:50:20
运行环境如下:
1)Professioal 2K + Jbuilder 7 + Weblogic 7 + SQL Server 2000
2)Jbuilder中连接数据库没有问题;Weblogic Server 启动也没有问题.

问题:
1)JSP 在Jbuilder 7 中运行出现如下错误:

$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$


Unable to start WebLogic Server!!

WebLogic: license signature validation error!


$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$

2)将jsp copy到weblogic中也不能运行,同时在weblogic Sever(dos command)中出现异常,可能是没有找到jdbc的driver:com.microsoft.jdbc.sqlserver.SQLServerDriver

请问个位大虾,有什么好建议....

附上代码:
--------------------------------------------------------------------
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import = "java.sql.*"%>
<html>
<head>
<title>
Jsp1
</title>
</head>
<body>
<h1>
JBuilder Generated JSP
</h1>
<%
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
String url = "jdbc:microsoft.sqldriver://localhost:1433;DatabaseName=Northwind";
String userId = "sa";
String password = "sa";

Connection con = DriverManager.getConnection(url,userId,password);
Statement smt = con.createStatement();

String sql = "Select ShipCity From Orders";
ResultSet rs = smt.executeQuery(sql);
while (rs.next()) {
%>
<%=rs.getString(1) %>
<%
}
rs.close();
smt.close();
con.close();
%>
</body>
</html>
----------------------------------------------------------------------


...全文
42 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
GaoLun 2003-03-22
  • 打赏
  • 举报
回复
问题是你的Weblogic 7 是不是用过破解文件
你的 license坏了 建议 你 重新安装!
你看你的 Weblogic 根本就没有启动 怎么可能运行呢?!
zxhong 2003-02-15
  • 打赏
  • 举报
回复
http://www.csdn.net/Develop/Read_Article.asp?Id=15371
http://www.csdn.net/develop/Read_Article.asp?Id=16101

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧