"iudoka" wrote : Hey guys, Im new to JBoss Cache, im simply trying to configure 
and kick start a cache instance and it keeps giving me a 
java.lang.NoSuchFieldError and I'm not quite sure why.  
  | 
  | Here is the full exception:
  | 
  | anonymous wrote : Exception in thread "main" java.lang.NoSuchFieldError: log
  |   |         at org.jboss.cache.aop.PojoCache.parseConfig(PojoCache.java:107)
  |   |         at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:95)
  |   |         at 
com.tite.test.gui.DatasourceGUIProxy.init(DatasourceGUIProxy.java:256)
  |   |         at 
com.tite.test.gui.DatasourceGUIProxy.(DatasourceGUIProxy.java:170)
  |   |         at 
com.tite.test.gui.DatasourceGUIProxy.getInstance(DatasourceGUIProxy.java:275)
  |   |         at com.tite.test.test$2.run(test.java:66)
  |   |         at 
com.tite.test.gui.MyProgressBar.showDialog(MyProgressBar.java:166)
  |   |         at com.tite.test.test.createAndShowSplashScreen(test.java:122)
  |   |         at com.tite.test.test.main(test.java:107)
  | 
  | 
  | Here is my code to start the Cache:
  | 
  | "Code" wrote : try
  |   |                 {
  |   |                         // Create Cache
  |   |                         m_cache = new PojoCache();
  |   |                     PropertyConfigurator config = new 
PropertyConfigurator();   
  |   |                     
  |   |                     // configure the cache through injection
  |   |                     config.configure(m_cache, 
"META-INF/cache-service2.xml");
  |   |                     m_cache.setClusterName("My-Cluster"); 
  |   |                     // kick start the cache
  |   |                     m_cache.startService();
  |   |                 }
  |   |                 catch(Exception ex)
  |   |                 {
  |   |                         // Unable to start Cache
  |   |                         s_theLogger.log(Level.SEVERE, "Unable to start 
cache", ex);
  |   |                         m_cache = null;
  |   |                 }
  | 
  | I'm not sure exactly what it could be, if anyone could give me some 
pointers i'd appreciate it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963365#3963365

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963365
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to