[JBoss Cache: Core Edition] - JDBCCacheLoader problem
by jorgemoralespou_2
I have seen a strange behaviour in my app that I have traced down to the JDBCCacheLoader not working as I should have expected. Propably can be missused, so I post it here to see if anybody can help me.
I have a cache with a JDBCCacheLoader configured (JBC 1.4.1.SP8).
1- I put a new value in cache. New value is stored in DB.
2- I modify this object in cache, with same method (cache.put()) and the new value is not persisted in DB.
I have traced down through the code, and I see that ni JDBCCacheLoader ln:938 where it says:
| if(!override && oldNode != NULL_NODE_IN_ROW && attrs != null)
| {
| attrs.putAll(oldNode);
| }
|
My put is, I don't know how, calling this method with override set to false, so the original attribute map, is set to the attrs, overriding my new attributes, so they never get stored into database.
How can I call my put operation so override is true?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161844#4161844
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161844
17 years, 3 months
[Installation, Configuration & DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
by Arakasi69
Hi PeterJ,
"PeterJ" wrote :
| Why is mine compiling 260 classes while yours is compiling only 168 classes? It would appear that the untargzing of the file did not work correctly.
Yes, i wrote in my last post, that the untargzing went wrong. After a new try untaring it with another tool the build was fine:
======================================================================
| == Executing 'most' in module 'j2se'...
| ==
|
| _buildmagic:init:
|
| configure:
| Overriding previous definition of reference to jboss.test.classpath
|
| _default:task-init:
|
| init:
|
| _buildmagic:build-bypass-checker:
|
| _buildmagic:build-bypass-notice:
|
| _buildmagic:build-bypass-check:
|
| jars:
|
| _buildmagic:init:
|
| init:
|
| compile-classes:
| [mkdir] Created dir: /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/classes
| [mkdir] Created dir: /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/gen-src
| [javac] Compiling 260 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/output/classes
|
Now i'm still working at a build error with the embedded module (see embedded jboss forum)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161842#4161842
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161842
17 years, 3 months
Delivery Failure
by Postmaster
---------------------------------------------------------------------------------
The message you sent to commerceturkey.com/info was rejected because it would exceed the quota for the mailbox.
The subject of the message follows:
Subject: =?windows-1251?B?8fDu9+3u5SDo5+Pu8u7i6+Xt6OUg8eDr/O3o6u7i?=
---------------------------------------------------------------------------------
17 years, 3 months
[Installation, Configuration & DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
by PeterJ
I pulled the source from subversion yesterday just after they tagged CR1, and except for a minor maven glitch (had to run "mvn -U -up" to update various stuff, oh and make sure you have maven 2.0.9), it compiled just fine. Hold on while I compile the 'official' source. OK, it built for me. I used WinXP SP2, JDK 1.5.0_15.
I compared my build.log with yours. Right before the errors, your build log shows:
compile-classes:
| [javac] Compiling 168 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/ou
| tput/classes
but mine shows:
======================================================================
| == Executing 'most' in module 'j2se'...
| ==
|
| _buildmagic:init:
|
| configure:
| Overriding previous definition of reference to jboss.test.classpath
|
| _default:task-init:
|
| init:
|
| _buildmagic:build-bypass-checker:
|
| _buildmagic:build-bypass-notice:
|
| _buildmagic:build-bypass-check:
|
| jars:
|
| _buildmagic:init:
|
| init:
|
| compile-classes:
| [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes
| [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\gen-src
| [javac] Compiling 260 source files to F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes
Why is mine compiling 260 classes while yours is compiling only 168 classes? It would appear that the untargzing of the file did not work correctly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161839#4161839
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161839
17 years, 3 months