0

我已经从官方网站下载了二进制企业移动管理器。但是,当我尝试运行 ./wso2server.sh 时出现错误,例如:

“log4j:错误无法实例化类 [org.wso2.carbon.utils.logging.TenantAwarePatternLayout]。”

但是,在 lib/ 目录上有org.wso2.carbon.utils.logging-4.2.0.jar文件。

请参阅下面的列表。

$ls -alh lib/
total 1016K
drwxr-xr-x.  4 root root 4.0K Feb 18 00:57 .
drwxr-xr-x. 10 root root 4.0K Feb 25 14:48 ..
-rw-r--r--.  1 root root 220K Sep  4 16:29 ant-contrib-1.0b3.jar
-rw-r--r--.  1 root root 274K Sep  4 15:35 commons-lang-2.6.0.wso2v1.jar
drwxr-xr-x.  2 root root 4.0K Sep  4 12:25 endorsed
-rw-r--r--.  1 root root 410K Sep  4 14:53 org.wso2.carbon.logging-4.2.0.jar
-rw-r--r--.  1 root root  67K Sep  4 15:32 org.wso2.carbon.server-4.2.0.jar
-rw-r--r--.  1 root root  19K Sep  4 16:29 org.wso2.ciphertool-1.0.0-wso2v2.jar
drwxr-xr-x.  3 root root 4.0K Sep  4 12:25 tomcat
-rw-r--r--.  1 root root  425 Sep  4 12:25 transactions.properties
4

1 回答 1

1

设置产品根目录的读/写权限(通常是 wso2mobileserver-1.0.0 )。如果您仍然收到相同的错误,请发布完整的日志。

于 2014-03-03T18:09:37.360 回答