从源代码为 PHP Java Bridge 安装 Tomcat 5.5

从源代码为 PHP Java Bridge 安装 Tomcat 5.5

我想安装 PHP/Java Bridge。我为其安装了 Tomcat 7,但失败了:

sudo dpkg -i /home/asif/jbridge/php-java-bridge-j2ee_5.4.4.2-3_all.deb
Selecting previously unselected package php-java-bridge-j2ee.
(Reading database ... 190386 files and directories currently installed.)
Unpacking php-java-bridge-j2ee (from .../php-java-bridge-j2ee_5.4.4.2-3_all.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/tomcat5.5 not found.
dpkg: error processing /home/asif/jbridge/php-java-bridge-j2ee_5.4.4.2-3_all.deb (--install):
 subprocess new pre-installation script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/tomcat5.5 not found.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 100
Errors were encountered while processing:
 /home/asif/jbridge/php-java-bridge-j2ee_5.4.4.2-3_all.deb

看到它说:/etc/init.d/tomcat5.5 not found.所以我想安装 Tomcat5.5,但 Jakarta 不再活跃。所以我从Apache 档案。我已经下载了Apache-tomcat-5.5.12-src.zip现在我不知道如何安装它。我该怎么做?

答案1

我也尝试过安装。它在 Tomcat7 上有效。你可以试试...

相关内容