- 论坛徽章:
- 0
|
最近查了文档,想测试在ASE12.5里面应用java类,根据文档的说明,将enable java的值改成了1(sp_configure "enable java",1),重启后查询状态也为1,但是在执行安装java包时,ASE还是报错:
“Server Message: - Msg 10734, Level 16, State 1:
Cannot run this command because Java services are not enabled. A user with Syste
m Administrator (SA) role must reconfigure the system to enable Java.”
这是怎么一回事?有哪位高手有在ASE上作过java应用的碰到过这种情况吗?静候各位的佳音,谢谢了。
PS:在linux下和NT下都试验过,结果如下(enable java值已经为1):
[sybase@zdserver sybase-12.5]$ installjava -f "/opt/sybase-12.5/TestSQL.jar" -new -j -S zdserver -U sa -P -D zdposht
Server Message: - Msg 10734, Level 16, State 1:
Cannot run this command because Java services are not enabled. A user with Syste
m Administrator (SA) role must reconfigure the system to enable Java.
C:\>;instjava -f "c:\TestSQL.jar" -new -jTestSQL -SLXRNOTE -Usa -P -Dzdposht
Server Message: - Msg 10734, Level 16, State 1:
Cannot run this command because Java services are not enabled. A user with Syste
m Administrator (SA) role must reconfigure the system to enable Java. |
|