<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 周銳 閱讀(7646) 評論(6)  編輯  收藏 所屬分類: AntApacheJava
    主站蜘蛛池模板: 亚洲免费网站观看视频| 人人狠狠综合久久亚洲88| 在线观看免费为成年视频| 国产大片免费网站不卡美女| 激情综合亚洲色婷婷五月| 亚洲国产成人久久精品app| 亚洲另类春色国产精品| 亚洲不卡在线观看| 亚洲伊人久久大香线蕉苏妲己| 五月天网站亚洲小说| 亚洲爱情岛论坛永久| 亚洲精品一区二区三区四区乱码 | 野花高清在线电影观看免费视频| 永久免费AV无码网站国产| 国产免费AV片在线观看 | 亚洲精品无码专区| 亚洲爆乳成av人在线视菜奈实| 99亚洲男女激情在线观看| 亚洲国产成人综合| 亚洲熟妇AV乱码在线观看| 亚洲精品无码人妻无码| 免费国产黄网站在线看| 中文字幕无线码中文字幕免费| 国产好大好硬好爽免费不卡| 毛片免费全部播放无码| 成人在线视频免费| 亚洲国产V高清在线观看| 亚洲精品高清无码视频| 亚洲精品成人图区| 亚洲精品无码中文久久字幕| 一级做α爱过程免费视频| 嫩草在线视频www免费观看| 免费精品国产日韩热久久| 2020因为爱你带字幕免费观看全集 | 亚洲一级毛片在线播放| 亚洲色成人WWW永久在线观看| 午夜亚洲WWW湿好爽| 亚洲日韩精品无码专区| 欧亚一级毛片免费看| 一级毛片不卡片免费观看| 成人毛片18岁女人毛片免费看|