ITeye博客

解决Websphere6.1版本过期问题

peahen · 2009-09-16 10:15 · Markdown

最近测试使用的WAS6.1 Linux基础版的60天试用期就要到了,但测试还需要一段时间,必须设法延长试用期。研究并测试了一下,解决该问题一般有两种方法:

    1、向前调整系统时间,例如向前调整一个月。不过如果这台服务器同时也安装了DB2,就不能使用该方法,因为安装在WAS上的Web应用访问数据库时可能会产生以下错误。

com.ibm.db2.jcc.a.SqlException: An error occurred during implicit system action
type "2".  Information returned for the error includes SQLCODE "-440", SQLSTATE
"42884" and message tokens "ROWNUMBER|FUNCTION"

    2、删除was.license文件。WAS在重启时会检查该文件是否存在,如果不存在就重新创建,再给60天试用期,启动时打印信息如下。

WSVR0025I: Creating temporary product license
WSVR0027I: The product will expire in 60 days.
ADMU0116I: Tool information is being logged in file
           /usr/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/start
Server.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 13756

评论(2)

  1. #2 楼 · iwlk · 2017-12-04 16:58

    :idea:

    之前我是重新这装。。。 :cry:

  2. #1 楼 · java_frog · 2010-10-11 13:09

    是啊,把那个C:\IBM\WebSphere\AppServer\properties目录下的was.license干掉,重启server1,这目录下会自动生成一个license,呵呵. C:\IBM\WebSphere\AppServer\bin>startServer.bat server1 WSVR0028I: 产品已经到期。 请重新安装或购买该产品。

    C:\IBM\WebSphere\AppServer\bin>startServer.bat server1 WSVR0025I: 正在创建临时产品许可证 WSVR0027I: 该产品将在 60 天内到期。 ADMU0116I: 正在文件 C:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer .log 中记录工具信息 ADMU7701I: 由于 server1 注册成作为 Windows 服务运行,因此启动该服务器的请求将由启动关联的 Windows 服务完成。 ADMU0116I: 正在文件 C:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer .log 中记录工具信息 ADMU0128I: 正在启动具有 AppSrv01 概要文件的工具 ADMU3100I: 正在从服务器读取配置:server1 ADMU3200I: 服务器已启动。等待初始化状态。 ADMU3000I: 为电子商务开放服务器 server1;进程标识为 1044

    C:\IBM\WebSphere\AppServer\bin>

评论功能维护中,当前仅展示历史评论。