|
|
|
WebSphere + Commons Logging
|
|||
|---|---|---|---|
|
#18+
Кто-нибудь сталкивался с такой проблемой на сфере: The chosen LogFactory implementation does not extend LogFactory. Please check your configuration. (Caused by java.lang.ClassCastException: The application has specified that a custom LogFactory implementation should be used but Class 'com.ibm.ws.commons.logging.TrLogFactory' cannot be converted to 'org.apache.commons.logging.LogFactory'. The conflict is caused by the presence of multiple LogFactory classes in incompatible classloaders. Background can be found in http://jakarta.apache.org/commons/logging/tech.html. If you have not explicitly specified a custom LogFactory then it is likely that the container has set one without your knowledge. In this case, consider using the commons-logging-adapters.jar file or specifying the standard LogFactory from the command line. Help can be found @http://jakarta.apache.org/commons/logging. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.10.2006, 12:43:00 |
|
||
|
WebSphere + Commons Logging
|
|||
|---|---|---|---|
|
#18+
Для решения этой проблемы на apache.org предлагается: # Replace the commons-logging jar in the application with the commons-logging-adapters jar. This will ensure that application classloader will delegate to it's parent when loading LogFactory. не понимаю как это можно сделать, ведь в commons-logging-adapters jar не реализуются все классы, в том числе и LogFactory.... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.10.2006, 13:25:47 |
|
||
|
WebSphere + Commons Logging
|
|||
|---|---|---|---|
|
#18+
Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.10.2006, 13:52:55 |
|
||
|
WebSphere + Commons Logging
|
|||
|---|---|---|---|
|
#18+
где это указать в сфере? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.10.2006, 14:24:50 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=34069620&tid=2147750]: |
0ms |
get settings: |
7ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
418ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 704ms |

| 0 / 0 |
