resin无法启动

来源:互联网 发布:php socket 长连接 编辑:程序博客网 时间:2024/05/01 04:12

resin无法启动的常见问题是:8080端口被占用,只需把resin.conf文件里的端口更改就行了.

下面是resin的怪现象:

原本用的是jdk1.5,resin正常.

又安装了jdk1.4,resin就无法启动.

dos下运行httpd.exe:

D:/resin-3.1.0/resin-3.1.0>httpd.exe

Can't find java executable in C:/jdk;

.....

以下是resin的官方帖子给出的解决方案:

Can't find Java executable in...

If you have moved JDK or Resin manually, you get the error from Resin
because the data Resin once get from the registry and the real location
of the executables doesn't match. Reinstall jdk and, then, reinstall
Resin. That will solve this problem.

我的解决方法:

将jdk全部卸载,重新安装最新版本jdk1.6,配置环境变量.resin就正常了

(一开始重装的是jdk1.5,可是resin还是老问题,最后改装jdk1.6才ok)

 
原创粉丝点击