<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
    主站蜘蛛池模板: 免费无遮挡无码永久视频| 一级特黄录像免费播放肥| 国产又粗又长又硬免费视频| 免费观看四虎精品成人| 亚洲免费观看视频| 成人免费视频77777| 国产精品亚洲一区二区三区在线观看| 久久久久亚洲AV成人网| 久久狠狠躁免费观看2020| 亚洲人成无码网站在线观看 | 久久99免费视频| 77777午夜亚洲| 在线观看亚洲精品福利片| 综合在线免费视频| 久久免费99精品国产自在现线| 亚洲中文字幕在线无码一区二区| 亚洲国产精品无码久久久久久曰| 8090在线观看免费观看| 一级毛片免费播放视频| 亚洲欧洲日产v特级毛片| 亚洲色偷偷狠狠综合网| 国产成人无码免费看视频软件| jizz18免费视频| 亚洲欧美日韩综合久久久| 亚洲日本va午夜中文字幕一区| 国产精品久久香蕉免费播放| 4399影视免费观看高清直播| 国产福利在线观看永久免费| 亚洲色大成网站www尤物| 亚洲国产人成网站在线电影动漫| 男人的天堂亚洲一区二区三区 | 四虎1515hh永久久免费| a高清免费毛片久久| 亚洲AV日韩AV一区二区三曲| 久久亚洲AV无码精品色午夜麻豆| 久久久久久A亚洲欧洲AV冫| 日本黄色免费观看| 亚洲成年人免费网站| 国产精品视频白浆免费视频| japanese色国产在线看免费| 亚洲乱码国产乱码精华|