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.medicalworks.gui.DatasourceGUIProxy.init(DatasourceGUIProxy.java:256)
| at
com.tite.medicalworks.gui.DatasourceGUIProxy.(DatasourceGUIProxy.java:170)
| at
com.tite.medicalworks.gui.DatasourceGUIProxy.getInstance(DatasourceGUIProxy.java:275)
| at com.tite.medicalworks.MedicalWorks$2.run(MedicalWorks.java:66)
| at
com.tite.medicalworks.gui.MyProgressBar.showDialog(MyProgressBar.java:166)
| at
com.tite.medicalworks.MedicalWorks.createAndShowSplashScreen(MedicalWorks.java:122)
| at com.tite.medicalworks.MedicalWorks.main(MedicalWorks.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=3963364#3963364
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963364
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user