From: <ben...@jb...> - 2005-05-11 00:00:09
|
Yeah, you were looking at the wrong code. That marshalling/unmarshalling code works. This is the code that failed: | public Object getPojo(String sessionId, String key) | { | String realId = stripJvmRoute(sessionId); | if(log_.isDebugEnabled()) | { | log_.debug("getPojo(): session id: " +sessionId + " key: " +key); | } | // Construct the fqn. | Fqn fqn = getFieldFqn(realId, key); | try { | return proxy_.getObject(fqn); | } catch (CacheException e) { | e.printStackTrace(); | throw new RuntimeException("JBossCacheService: exception occurred in cache getPojo ... ", e); | } | } | And this code will call JBossCacheAop (you will have to check out JBossCache module though. :-) But you maybe right. Solution is then I will need to set tcl before calling getPojo regardless what. Let me try. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877269#3877269 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877269 |