Hello, thx for your answer ;)

Oka, this is the complete stack trace. Its a bit long. As you can see there is 
Warning about the cacheable object. I am using right now the class "Person" 
from the examples. I have used the same code, so I don't understand the warning 
message. 


  | /**
  |  * @author Ben Wang
  |  */
  | @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable
  | public class Person {
  |    protected String name;
  |    protected Address address;
  | 
  |    ...
  | 
  | 

This is what I am trying to do:

1. A PojoCache running as a MBean under JBoss AS "desaladora-cache-service.xml" 
(the code is in the original post)

2. This is the code that I am using (I am using EJB3 specs, and this code is 
inside a function of a Stateless Session Bean "DataReadingsTimerBean.class"). I 
am calling that function form inside a STRUTS ACTION called 
"ReadingSensorTimerAction.class":

  |             // JBoss CACHE functionality
  |             server = MBeanServerLocator.locateJBoss();
  | 
  |             try {
  |                     cache = (PojoCacheMBean) 
MBeanProxyExt.create(PojoCacheMBean.class,
  |                                                                   
"jboss.cache:service=DesaladoraPojoCache", 
  |                                                                   server);
  |             }
  |             catch (MalformedObjectNameException e) {
  |                     // TODO Auto-generated catch block
  |                     e.printStackTrace();
  |             }
  |             
  |             Person joe = new Person(); // instantiate a Person object named 
joe
  |             joe.setName("Joe Black");
  |             Address addr = new Address(); // instantiate a Address object 
named addr
  |             addr.setCity("Sunnyvale");
  |             addr.setStreet("123 Albert Ave");
  |             addr.setZip(94086);
  |             joe.setAddress(addr); // set the address reference
  | 
  |             try {
  | //This is line 97 from "DataReadingsTimerBean"
  |                     cache.putObject("/aop/joe", joe); 
  |             }
  |             catch (CacheException e) {
  |                     // TODO Auto-generated catch block
  |                     e.printStackTrace();
  |             } // add aop sanctioned object (and sub-objects) into cache.
  | 
  | 

3. This is the complete stack trace:


  | 12:45:28,093 WARN  [TreeCache] putObject(): exception occurred: 
java.lang.IllegalArgumentException: PojoCache.putObject(): Object type is 
neither  aspectized nor Serializable nor an array of pri
  | mitives. Object class name is stpd.component.sensors.reads.Person
  | 12:45:28,093 INFO  [TreeCache] PojoCache.endTransaction(): rolling back tx 
for fqn: /aop/joe
  | 12:45:28,093 INFO  [STDOUT] PREDESTROY ***DataReadingsTimerBean
  | 12:45:28,093 WARN  [AbstractExceptionHandler] Unhandled exception
  | javax.ejb.EJBException: java.lang.RuntimeException: PojoCache.putObject(): 
fqn: /aop/joe
  |         at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  |         at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  |         at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
  |         at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  |         at $Proxy160.scheduleDataAdquisitionTimer(Unknown Source)
  |         at 
  | //This is the STRUTS ACTION
  | 
stpd.web.struts.sensors.action.ReadingSensorTimerAction.execute(ReadingSensorTimerAction.java:70)
  |         at 
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
  |         at 
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:64)
  |         at 
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
  |         at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
  |         at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Unknown Source)
  | Caused by: java.lang.RuntimeException: PojoCache.putObject(): fqn: /aop/joe
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:481)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:426)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy167.putObject(Unknown Source)
  |         at 
  | //This is the Stateless Session Bean (EJB3)
  | 
stpd.component.adquisition.DataReadingsTimerBean.scheduleDataAdquisitionTimer(DataReadingsTimerBean.java:97)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  |         at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  |         at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  |         ... 47 more
  | Caused by: java.lang.IllegalArgumentException: PojoCache.putObject(): 
Object type is neither  aspectized nor Serializable nor an array of primitives. 
Object class name is stpd.component.sensors.
  | reads.Person
  |         at 
org.jboss.cache.aop.util.AopUtil.checkObjectType(AopUtil.java:112)
  |         at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:169)
  |         at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:734)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:465)
  |         ... 73 more
  | 12:45:28,406 WARN  [ExceptionCatcher] Exception from exceptionCommand 
'servlet-exception'
  | javax.ejb.EJBException: java.lang.RuntimeException: PojoCache.putObject(): 
fqn: /aop/joe
  |         at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  |         at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  |         at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
  |         at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  |         at $Proxy160.scheduleDataAdquisitionTimer(Unknown Source)
  |         at 
stpd.web.struts.sensors.action.ReadingSensorTimerAction.execute(ReadingSensorTimerAction.java:70)
  |         at 
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
  |         at 
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:64)
  |         at 
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
  |         at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
  |         at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Unknown Source)
  | Caused by: java.lang.RuntimeException: PojoCache.putObject(): fqn: /aop/joe
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:481)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:426)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy167.putObject(Unknown Source)
  |         at 
stpd.component.adquisition.DataReadingsTimerBean.scheduleDataAdquisitionTimer(DataReadingsTimerBean.java:97)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  |         at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  |         at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  |         ... 47 more
  | Caused by: java.lang.IllegalArgumentException: PojoCache.putObject(): 
Object type is neither  aspectized nor Serializable nor an array of primitives. 
Object class name is stpd.component.sensors.
  | reads.Person
  |         at 
org.jboss.cache.aop.util.AopUtil.checkObjectType(AopUtil.java:112)
  |         at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:169)
  |         at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:734)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:465)
  |         ... 73 more
  | 12:45:28,859 ERROR [[action]] Servlet.service() for servlet action threw 
exception
  | javax.ejb.EJBException: java.lang.RuntimeException: PojoCache.putObject(): 
fqn: /aop/joe
  |         at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  |         at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  |         at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
  |         at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
  |         at $Proxy160.scheduleDataAdquisitionTimer(Unknown Source)
  |         at 
stpd.web.struts.sensors.action.ReadingSensorTimerAction.execute(ReadingSensorTimerAction.java:70)
  |         at 
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
  |         at 
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:64)
  |         at 
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
  |         at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  |         at 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
  |         at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
  |         at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Unknown Source)
  | Caused by: java.lang.RuntimeException: PojoCache.putObject(): fqn: /aop/joe
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:481)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:426)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy167.putObject(Unknown Source)
  |         at 
stpd.component.adquisition.DataReadingsTimerBean.scheduleDataAdquisitionTimer(DataReadingsTimerBean.java:97)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  |         at java.lang.reflect.Method.invoke(Unknown Source)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  |         at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  |         at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  |         at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  |         ... 47 more
  | Caused by: java.lang.IllegalArgumentException: PojoCache.putObject(): 
Object type is neither  aspectized nor Serializable nor an array of primitives. 
Object class name is stpd.component.sensors.
  | reads.Person
  |         at 
org.jboss.cache.aop.util.AopUtil.checkObjectType(AopUtil.java:112)
  |         at 
org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:169)
  |         at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:734)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:465)
  |         ... 73 more
  | 

Thx again for your time, and I hope you can help me (or anybody else). I am a 
newbie, so I know that I am doing something wrong, but right now I don't know 
what... This is the first time that I use a MBean, and the first time that I 
use JBoss Cache. There are some additional questions that i put in my original 
post, so if you could try to answer it I would be greatful... ;)

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

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

Reply via email to