Re: why can log4j2 not print on console in command window

2013-09-09 Thread Jacob Kjome
As I stated before, you need to place a period (".") in the manifest.mf Class-Path in order to load resources outside the current jar or jars referenced in the Class-Path.  For instance... Class-Path: . lib/antlr-2.7.6.jar lib/other.jar That period will place the current directory (the one c

回复: 回复:why can log4j2 not print on console in command window

2013-09-09 Thread 流子℡
anybody know why? ---原始邮件--- 在 2013年09月09日 20:55:40 "41157121"<41157...@qq.com> 写道: hi,the attachement is mytest project. can you help me to have a look the issue? thesource.jar is the source code , and product.rar is therelease version . you can double click start.bat to run. source.jar http

Best practices for web apps with log4j2 + SLF4J + JBoss 7

2013-09-09 Thread Xavier Outhier
Hi all, I'm currently working on a multiple web apps product. This product used to be deployed under Tomcat 7 and has to be deployed under JBoss 7. Is there any incompatibility issues (a lot of incompatibilities has been found so far with our prototype for other part like log4j-contrib for inst

?????? ??????why can log4j2 not print on console in command window

2013-09-09 Thread ?????Y
hi,the attachement is my test project. can you help me to have a look the issue? the source.jar is the source code , and product.rar is the release version . you can double click start.bat to run. source.jar http://url.cn/WX6MH2 product.rar http://url.cn/JURine when I run my project ,it wo

Re: ?????? ??????why can log4j2 not print on console in command window

2013-09-09 Thread ?????Y
the file's content inclued in global.jar named manifest.mf is as following?? Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.2 Created-By: 1.7.0_25-b17 (Oracle Corporation) Main-Class: com.u9.global.GlobalServer Built-By: Administrator Built-Date: 2013-09-09 20:03:56 Implementation-Version: $

?????? why can log4j2 not print on console in command window

2013-09-09 Thread ?????Y
when i remove log4j-over-slf4j-1.7.5.jar .the command line print the third party log,e.g. 09, 2013 6:50:39 org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@535e27: startup