[英]Can Apache OfBiz be installed with an existing version of Tomcat
I installed Tomcat last year with mod_jk for Dashbuilder. 我去年用Dashbuilder的mod_jk安装了Tomcat。 I'd like to install OfBiz which also uses Tomcat but it appears that Tomcat is included in the OfBiz files.
我想安装也使用Tomcat的OfBiz,但似乎Tomcat包含在OfBiz文件中。
How can I run Tomcat with mod_jk for a reverse proxy and multiple applications such as OfBiz and Dashbuilder? 如何使用mod_jk为反向代理和多个应用程序(例如OfBiz和Dashbuilder)运行Tomcat?
Configurations: 配置:
apache conf file apache conf文件
JkMount /dashbuilder* worker1
JkMount /someapp2r* worker2
JkMount /someapp3* worker3
JkMount /ofbiz* worker4
workers.properties workers.properties
worker.list=worker1, worker2, worker3, worker4,status
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=127.0.0.1
worker.worker1.port=8009
worker.list=worker2
worker.worker2.type=ajp13
worker.worker2.host=127.0.0.1
worker.worker2.port=8009
worker.list=worker3
worker.worker3.type=ajp13
worker.worker3.host=127.0.0.1
worker.worker3.port=8009
worker.list=worker4
worker.worker3.type=ajp13
worker.worker3.host=127.0.0.1
worker.worker3.port=8009
# Status worker for managing load balancer
worker.status.type=status
Error With an existing Tomcat 8.5 running with mod_jk for other applications 使用mod_jk为其他应用程序运行的现有Tomcat 8.5出错
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Oct 22, 2018 10:51:06 AM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["ajp-nio-8009"]
java.net.BindException: Address already in use
Error after turning off the exiting version of Tomcat 8.5 and tried to run ofbiz. 关闭现有的Tomcat 8.5版本并尝试运行ofbiz后发生错误。
INFO: No global web.xml found
I searched for worker and found this but it might or might not be relevant. 我搜索了工人,发现了这一点,但它可能相关,也可能不相关。
runtime/logs/ofbiz-2018-10-22-1.log:3218:2018-10-22 02:59:49,428 |kJoinPool-1-worker-1 |ModelServiceReader |W| Service deleteWorkEffortInventoryProduced is defined more than once, most recent will over-write previous definition(s)
grep -rsn kJoinPool * grep -rsn kJoinPool *
framework/base/src/main/java/org/apache/ofbiz/base/concurrent/ExecutionPool.java:45: public static final ForkJoinPool GLOBAL_FORK_JOIN = new ForkJoinPool();
grep -rsn GLOBAL_FORK_JOIN * grep -rsn GLOBAL_FORK_JOIN *
framework/base/src/main/java/org/apache/ofbiz/base/concurrent/ExecutionPool.java:45: public static final ForkJoinPool GLOBAL_FORK_JOIN = new ForkJoinPool();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.