1. Downloaded 1.3.0CR1
2. cd examples\PojoCache\annotated50
3. build run.aop.example
Buildfile: build.xml
|
| init:
|
| compile:
| [copy] Copying 1 file to C:\Program
Files\Java\JBossCache-1.3.0.CR1\example
| s\PojoCache\annotated50\output\etc\META-INF
|
| run.aop.example:
| [java] log4j:WARN No appenders could be found for logger
(org.jboss.cache.PropertyConfigurator).
| [java] log4j:WARN Please initialize the log4j system properly.
|
| [java] -------------------------------------------------------
| [java] GMS: address is 137.161.130.71:1627
| [java] -------------------------------------------------------
|
| [java] -------------------------------------------------------
| [java] GMS: address is 137.161.130.71:1632
| [java] -------------------------------------------------------
| [java] ---------------------------------------------
| [java] Initial state for Mary
| [java] ---------------------------------------------
| [java] {Name = Mary Smith, School = null, Address = 456 Oak Drive
Pleasantville, CA 94555}
| [java] Courses:
| [java] {Title = Intro to Foo, Instructor = Jones, Room = null}
|
| [java] ---------------------------------------------
| [java] Exception in thread "main" java.lang.NullPointerException
| [java] at
test.examples.StudentMaintTest.printStatus(StudentMaintTest.java:135)
| [java] at
test.examples.StudentMaintTest.testPropagation(StudentMaintTest.java:113)
| [java] at
test.examples.StudentMaintTest.main(StudentMaintTest.java:141)
| [java] Initial state for Joe
| [java] ---------------------------------------------
| [java] {Name = Joe Smith, School = Engineering, Address = 456 Oak
Drive Pleasantville, CA 94555}
| [java] Courses:
| [java] {Title = Intro to Foo, Instructor = Jones, Room = null}
|
| [java] ---------------------------------------------
| [java] Modified on Server #1
| [java] ---------------------------------------------
| [java] Course Update: id: 401 room: null->101 Alvarez (retrieved from
cache #2)
| [java] ---------------------------------------------
| [java] Java Result: 1
|
| BUILD SUCCESSFUL
| Total time: 11 seconds
StudentMaintTest.java:
Course foo2 = (Course) cache2_.getObject("/courses/101");
|
foo2 is null (ie. not getting propagated form cache1 to cache2).
Do I have to do something other than download and run the example to get it to
work?
Thanks,
Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931971#3931971
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931971
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user