[jboss-user] [JBossCache] - JBoss cache + Mobicents. I cant start the cache

cmaluend do-not-reply at jboss.com
Thu Feb 21 23:07:28 EST 2008


Hi,
I am newbie in JBoss Cache and I'm trying to use JBoss Cache and Mobicents.

I have this problem, and I haven't solve yet


  | 2008-02-22 16:51:00,355 ERROR [STDERR] java.lang.NoClassDefFoundError: Could not initialize class org.jboss.aop.instrument.MethodExecutionTransformer
  | 2008-02-22 16:51:00,355 ERROR [STDERR] 	at org.jboss.aop.ClassAdvisor.initializeMethodChain(ClassAdvisor.java:462)
  | 2008-02-22 16:51:00,355 ERROR [STDERR] 	at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:594)
  | 2008-02-22 16:51:00,355 ERROR [STDERR] 	at org.jboss.aop.ClassAdvisor.access$300(ClassAdvisor.java:82)
  | 2008-02-22 16:51:00,355 ERROR [STDERR] 	at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:299)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.security.AccessController.doPrivileged(Native Method)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:591)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:579)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.jboss.cache.pojo.impl.PojoCacheImpl.<clinit>(PojoCacheImpl.java)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:42)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbb.<init>(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbbImpl.<init>(HttpServletRAExampleSbbImpl.java)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.lang.Class.newInstance0(Class.java:355)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.lang.Class.newInstance(Class.java:308)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.SbbObject.createConcreteClass(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.SbbObject.<init>(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.SbbObjectPoolFactory.makeObject(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.sbbentity.SbbEntity.assignAndCreateSbbObject(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.EventRouterImpl.processInitialEvents(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.EventRouterImpl.access$000(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run(Unknown Source)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  | 2008-02-22 16:51:00,371 ERROR [STDERR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | 
  | 

My code looks like:

  | PojoCache cache = PojoCacheFactory.createCache("replSync-service.xml",false);
  | cache.start();
  | 

and the config file is: replSync-service.xml (from the example).

could anybody help me?.

Cheers,
Cristian.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131263



More information about the jboss-user mailing list