<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 431,  comments - 344,  trackbacks - 0
    Hi I am facing a problem with accessing the JBOSS.

    according to the exception it seems to me --- log related exception.

    when I call the following code

    Code:
    Hashtable env = new Hashtable();
                env.put(Context.INITIAL_CONTEXT_FACTORY, initCtxFac);
                env.put(Context.PROVIDER_URL, providerUrl);
                try {
                ctx = new InitialContext(env);
                conFactory = (QueueConnectionFactory) ctx.lookup
                (queueConFacLookupName);
                -----
                -----	


    exception details

    Code:
    Exception in thread "main" Java.lang.NoSuchFieldError: TRACE
                at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
                at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:622)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
                at javax.naming.InitialContext.lookup(InitialContext.java:351)
                at com.cognizant.util.ServiceHelper.initQueueService(ServiceHelper.java:153)
                at com.cognizant.main.StartUp.<init>(StartUp.java:28)
                at com.cognizant.main.StartUp.main(StartUp.java:46)	



    I use jboss-4.2.1.GA version with JDK jdk141_05 version.

    I added jboss.jar,jbossall-client.jar,jboss-client.jar,jboss-system.jar,log4j-1.2.9.jar,log4j-boot.jar in my project library.

    Strange thing is that I run this same code with all other 3/4 windows XP system. OK

    But in another system with the same configuration I got the above mentioned exception.


    Can any body help me?

    -----------------------------------------------------------------------------------------
    Quote:
    Exception in thread "main" Java.lang.NoSuchFieldError: TRACE


    You will require log4j jar of version 1.2.12 or higher in your classpath. Also, make sure that you do not maintain more than one version of jar file of log4j (or for that matter any other utility) in the classpath. So remove the log4j-1.2.9.jar and log4j-boot.jar from your client's classpath and include a log4j jar of version 1.2.12 or higher.

    posted on 2008-04-17 19:05 周銳 閱讀(7648) 評論(6)  編輯  收藏 所屬分類: Ant 、Apache 、Java
    主站蜘蛛池模板: 国产在线不卡免费播放| 97公开免费视频| 亚洲AⅤ无码一区二区三区在线 | 亚洲人成人网毛片在线播放| 久久久久久AV无码免费网站下载| 国产亚洲成人在线播放va| 一级做a爰片久久毛片免费陪 | 99久热只有精品视频免费看| 精品国产_亚洲人成在线高清| 中文字幕手机在线免费看电影| 一本色道久久综合亚洲精品高清| 一级做a爱片特黄在线观看免费看 一级做a爱过程免费视 | 91免费播放人人爽人人快乐| 亚洲狠狠狠一区二区三区| 最近最新高清免费中文字幕 | 黄色毛片免费在线观看| 免费人成在线观看网站视频| 免费播放国产性色生活片| 亚洲欧洲日本在线| 中文字幕在线免费视频| 亚洲av日韩av无码| 999国内精品永久免费观看| 亚洲中文字幕乱码AV波多JI| 国产精品高清全国免费观看| 人妻仑刮八A级毛片免费看| 国产成人亚洲精品狼色在线| 免费看搞黄视频网站| 亚洲福利一区二区| 免费毛片在线播放| 污视频网站在线免费看| 中文字幕亚洲综合久久男男| 国内精品一级毛片免费看| 亚洲AV无码久久久久网站蜜桃| 久久精品a一国产成人免费网站| 亚洲国产成人无码AV在线影院 | 国产av无码专区亚洲av桃花庵 | 美女露隐私全部免费直播| 亚洲午夜未满十八勿入网站2| 777爽死你无码免费看一二区| 亚洲天堂2016| 亚洲国产婷婷综合在线精品|