JBoss Cache SVN: r4642 - in support/tags: 1.1 and 2 other directories.
by jbosscache-commits@lists.jboss.org
Author: jason.greene(a)jboss.com
Date: 2007-10-18 11:49:15 -0400 (Thu, 18 Oct 2007)
New Revision: 4642
Added:
support/tags/1.1/
Modified:
support/tags/1.1/common/pom.xml
support/tags/1.1/pom.xml
support/tags/1.1/xslt/pom.xml
Log:
Release 1.1
Copied: support/tags/1.1 (from rev 4641, support/trunk)
Modified: support/tags/1.1/common/pom.xml
===================================================================
--- support/trunk/common/pom.xml 2007-10-18 14:22:30 UTC (rev 4641)
+++ support/tags/1.1/common/pom.xml 2007-10-18 15:49:15 UTC (rev 4642)
@@ -7,7 +7,7 @@
<parent>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-support</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.jboss.cache</groupId>
@@ -339,6 +339,15 @@
<!-- Profiles, used for test permutations -->
<profiles>
<profile>
+ <id>testme</id>
+ <properties>
+ <java.vm.vendor>Blah</java.vm.vendor>
+ </properties>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ </profile>
+ <profile>
<id>jgroups-tcp</id>
<build>
<plugins>
Modified: support/tags/1.1/pom.xml
===================================================================
--- support/trunk/pom.xml 2007-10-18 14:22:30 UTC (rev 4641)
+++ support/tags/1.1/pom.xml 2007-10-18 15:49:15 UTC (rev 4642)
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-support</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>JBoss Cache Support Modules</name>
<description>Grouping of JBoss Cache support modules</description>
Modified: support/tags/1.1/xslt/pom.xml
===================================================================
--- support/trunk/xslt/pom.xml 2007-10-18 14:22:30 UTC (rev 4641)
+++ support/tags/1.1/xslt/pom.xml 2007-10-18 15:49:15 UTC (rev 4642)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-support</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.jboss.cache</groupId>
17 years, 3 months
JBoss Cache SVN: r4641 - pojo/trunk.
by jbosscache-commits@lists.jboss.org
Author: jason.greene(a)jboss.com
Date: 2007-10-18 10:22:30 -0400 (Thu, 18 Oct 2007)
New Revision: 4641
Modified:
pojo/trunk/pom.xml
Log:
Depend on Beta1
Modified: pojo/trunk/pom.xml
===================================================================
--- pojo/trunk/pom.xml 2007-10-18 11:13:21 UTC (rev 4640)
+++ pojo/trunk/pom.xml 2007-10-18 14:22:30 UTC (rev 4641)
@@ -27,12 +27,12 @@
<dependency>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-core</artifactId>
- <version>2.1.0-SNAPSHOT</version>
+ <version>2.1.0.BETA1</version>
</dependency>
<dependency>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-core</artifactId>
- <version>2.1.0-SNAPSHOT</version>
+ <version>2.1.0.BETA1</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
17 years, 3 months
JBoss Cache SVN: r4640 - in core/trunk/src/main/docbook: tutorial/en and 1 other directory.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-10-18 07:13:21 -0400 (Thu, 18 Oct 2007)
New Revision: 4640
Modified:
core/trunk/src/main/docbook/faq/en/master.xml
core/trunk/src/main/docbook/tutorial/en/master.xml
Log:
Updated release info
Modified: core/trunk/src/main/docbook/faq/en/master.xml
===================================================================
--- core/trunk/src/main/docbook/faq/en/master.xml 2007-10-18 01:55:47 UTC (rev 4639)
+++ core/trunk/src/main/docbook/faq/en/master.xml 2007-10-18 11:13:21 UTC (rev 4640)
@@ -5,8 +5,9 @@
<book lang="en">
<bookinfo>
<title>Frequently Asked Questions about JBoss Cache</title>
- <releaseinfo>Release 2.0.0</releaseinfo>
- <pubdate>June 2007</pubdate>
+ <!-- Release version and date -->
+ <releaseinfo>Release 2.1.0 Alegrias</releaseinfo>
+ <pubdate>October 2007</pubdate>
<author>
<firstname>Manik</firstname>
Modified: core/trunk/src/main/docbook/tutorial/en/master.xml
===================================================================
--- core/trunk/src/main/docbook/tutorial/en/master.xml 2007-10-18 01:55:47 UTC (rev 4639)
+++ core/trunk/src/main/docbook/tutorial/en/master.xml 2007-10-18 11:13:21 UTC (rev 4640)
@@ -2,8 +2,9 @@
<article lang="en">
<articleinfo>
<title>JBoss Cache core Cache Tutorial</title>
- <releaseinfo>Release 2.0.0</releaseinfo>
- <pubdate>June 2007</pubdate>
+ <!-- Release version and date -->
+ <releaseinfo>Release 2.1.0 Alegrias</releaseinfo>
+ <pubdate>October 2007</pubdate>
<author>
<firstname>Manik</firstname>
17 years, 3 months
Build failed in Hudson: jboss-cache-core-jdk1.5 » JBoss Cache - Core Edition #114
by jboss-qa-internal@redhat.com
See http://hudson.qa.jboss.com/hudson/job/jboss-cache-core-jdk1.5/org.jboss.c...
Changes:
[genman] Fix bug with iteration
[bstansberry(a)jboss.com] [JBCACHE-1201] Add test of SyncCommitPhase=false
[bstansberry(a)jboss.com] [JBCACHE-1201] Add test of SyncCommitPhase=false
[bstansberry(a)jboss.com] [JBCACHE-1200] Modify test to show the issue
------------------------------------------
[...truncated 15035 lines...]
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:255)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLCallTemplate.process(XSLCallTemplate.java:187)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLWhen.process(XSLWhen.java:72)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:255)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.Controller.defaultAction(Controller.java:271)
at com.icl.saxon.Controller.applyTemplates(Controller.java:236)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLIf.process(XSLIf.java:78)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.Controller.run(Controller.java:178)
at com.icl.saxon.Controller.transformDocument(Controller.java:1086)
at com.icl.saxon.Controller.transform(Controller.java:953)
at org.jboss.maven.plugins.jdocbook.gen.format.BasicFormatHandler.render(BasicFormatHandler.java:130)
at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:95)
at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:207)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:132)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:97)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:109)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:45)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:178)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[HUDSON] Archiving /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./pom.xml
[HUDSON] Archiving /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./target/jbosscache-core.jar
[HUDSON] Archiving /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./target/jbosscache-core-tests.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] PNGImageDecoder1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: PNGImageDecoder1
at org.apache.xmlgraphics.image.codec.png.PNGRed.<init>(PNGRed.java:387)
at org.apache.fop.image.PNGImage.decodeImage(PNGImage.java:55)
at org.apache.fop.image.XmlGraphicsCommonsImage.loadDimensions(XmlGraphicsCommonsImage.java:78)
at org.apache.fop.image.AbstractFopImage.load(AbstractFopImage.java:160)
at org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:73)
at org.apache.fop.fo.FObj.processNode(FObj.java:118)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:321)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
at com.icl.saxon.output.ContentHandlerProxy.startElement(ContentHandlerProxy.java:119)
at com.icl.saxon.output.ProxyEmitter.startElement(ProxyEmitter.java:81)
at com.icl.saxon.output.NamespaceEmitter.startElement(NamespaceEmitter.java:95)
at com.icl.saxon.output.GeneralOutputter.flushStartTag(GeneralOutputter.java:728)
at com.icl.saxon.output.GeneralOutputter.writeEndTag(GeneralOutputter.java:677)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:293)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLCallTemplate.process(XSLCallTemplate.java:187)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLWhen.process(XSLWhen.java:72)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:255)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:255)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLCallTemplate.process(XSLCallTemplate.java:187)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLWhen.process(XSLWhen.java:72)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:255)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.LiteralResultElement.process(LiteralResultElement.java:289)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.Controller.defaultAction(Controller.java:271)
at com.icl.saxon.Controller.applyTemplates(Controller.java:236)
at com.icl.saxon.style.XSLApplyTemplates.process(XSLApplyTemplates.java:135)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLIf.process(XSLIf.java:78)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLOtherwise.process(XSLOtherwise.java:48)
at com.icl.saxon.style.XSLChoose.process(XSLChoose.java:96)
at com.icl.saxon.style.StyleElement.processChildren(StyleElement.java:634)
at com.icl.saxon.style.XSLTemplate.expand(XSLTemplate.java:225)
at com.icl.saxon.style.XSLTemplate.start(XSLTemplate.java:198)
at com.icl.saxon.Controller.applyTemplates(Controller.java:246)
at com.icl.saxon.Controller.run(Controller.java:178)
at com.icl.saxon.Controller.transformDocument(Controller.java:1086)
at com.icl.saxon.Controller.transform(Controller.java:953)
at org.jboss.maven.plugins.jdocbook.gen.format.BasicFormatHandler.render(BasicFormatHandler.java:130)
at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:95)
at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:207)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:132)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:97)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:109)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:45)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:178)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 83 minutes 49 seconds
[INFO] Finished at: Thu Oct 18 01:59:23 EDT 2007
[INFO] Final Memory: 20M/71M
[INFO] ------------------------------------------------------------------------
17 years, 3 months
JBoss Cache SVN: r4639 - in core/trunk/src: test/java/org/jboss/cache/util and 1 other directory.
by jbosscache-commits@lists.jboss.org
Author: genman
Date: 2007-10-17 21:55:47 -0400 (Wed, 17 Oct 2007)
New Revision: 4639
Modified:
core/trunk/src/main/java/org/jboss/cache/util/DeltaMap.java
core/trunk/src/test/java/org/jboss/cache/util/DeltaMapTest.java
Log:
Fix bug with iteration
Modified: core/trunk/src/main/java/org/jboss/cache/util/DeltaMap.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/util/DeltaMap.java 2007-10-17 19:18:52 UTC (rev 4638)
+++ core/trunk/src/main/java/org/jboss/cache/util/DeltaMap.java 2007-10-18 01:55:47 UTC (rev 4639)
@@ -192,6 +192,14 @@
exclude.clear();
changed.clear();
}
+
+ /**
+ * Returns true if the internal map was modified.
+ */
+ public boolean isModified()
+ {
+ return !changed.isEmpty() || !exclude.isEmpty();
+ }
/**
* Iterator that skips over removed entries.
@@ -217,23 +225,24 @@
return true;
if (orig)
{
- while (i.hasNext() && redef(next = i.next()));
- nextSet = true;
- if (!i.hasNext())
- {
- orig = false;
- i = changed.entrySet().iterator();
+ while (true) {
+ if (!i.hasNext()) {
+ orig = false;
+ i = changed.entrySet().iterator();
+ return hasNext();
+ }
+ next = i.next();
+ if (!redef(next)) {
+ nextSet = true;
+ return true;
+ }
}
}
- else
- {
- if (!i.hasNext())
- return false;
- next = i.next();
- nextSet = true;
- return true;
- }
- return i.hasNext();
+ if (!i.hasNext())
+ return false;
+ next = i.next();
+ nextSet = true;
+ return true;
}
public java.util.Map.Entry<K, V> next()
@@ -271,4 +280,20 @@
changed.clear();
}
+ /**
+ * Returns a Map of the entries changed, not including those removed.
+ */
+ public Map<K, V> getChanged()
+ {
+ return changed;
+ }
+
+ /**
+ * Returns the entries removed, including entries excluded by the constructor.
+ */
+ public Set<K> getRemoved()
+ {
+ return exclude;
+ }
+
}
Modified: core/trunk/src/test/java/org/jboss/cache/util/DeltaMapTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/util/DeltaMapTest.java 2007-10-17 19:18:52 UTC (rev 4638)
+++ core/trunk/src/test/java/org/jboss/cache/util/DeltaMapTest.java 2007-10-18 01:55:47 UTC (rev 4639)
@@ -7,6 +7,7 @@
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Map.Entry;
+import java.util.concurrent.ConcurrentHashMap;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -36,12 +37,25 @@
hm.put(K, Y);
backup = new HashMap<String, String>(hm);
dm = DeltaMap.create(hm);
+ assertEquals(false, dm.isModified());
+ assertEquals(hm, dm);
}
+ public void testConcurrent() throws Exception
+ {
+ ConcurrentHashMap<Object, String> m = new ConcurrentHashMap<Object, String>();
+ m.put(new Object(), Z);
+ m.put(new Object(), Y);
+ DeltaMap<Object, String> dm = DeltaMap.create(m);
+ assertEquals(m, dm);
+ assertEquals(m.toString(), dm.toString());
+ }
+
public void testChanges() throws Exception
{
assertEquals("" + dm.toDebugString(), backup, dm);
assertEquals(Z, dm.remove(Y));
+ assertEquals(true, dm.isModified());
assertEquals(null, dm.remove(Y));
assertEquals("changes not made to underlying map", backup, hm);
assertEquals(false, dm.containsKey(Y));
@@ -75,6 +89,7 @@
public void testExclude2() throws Exception
{
dm = DeltaMap.excludeKeys(hm, hm.keySet());
+ assertEquals(true, dm.isModified());
assertEquals(0, dm.size());
}
17 years, 3 months
JBoss Cache SVN: r4638 - core/trunk/src/test/java/org/jboss/cache/optimistic.
by jbosscache-commits@lists.jboss.org
Author: bstansberry(a)jboss.com
Date: 2007-10-17 15:18:52 -0400 (Wed, 17 Oct 2007)
New Revision: 4638
Modified:
core/trunk/src/test/java/org/jboss/cache/optimistic/AbstractOptimisticTestCase.java
Log:
[JBCACHE-1201] Add test of SyncCommitPhase=false
Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/AbstractOptimisticTestCase.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/AbstractOptimisticTestCase.java 2007-10-17 18:55:32 UTC (rev 4637)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/AbstractOptimisticTestCase.java 2007-10-17 19:18:52 UTC (rev 4638)
@@ -203,6 +203,11 @@
protected CacheImpl<Object, Object> createReplicatedCache(String name, Configuration.CacheMode mode) throws Exception
{
+ return createReplicatedCache(name, mode, true);
+ }
+
+ protected CacheImpl<Object, Object> createReplicatedCache(String name, Configuration.CacheMode mode, boolean start) throws Exception
+ {
CacheImpl<Object, Object> cache = (CacheImpl<Object, Object>) DefaultCacheFactory.getInstance().createCache(false);
Configuration c = new Configuration();
cache.setConfiguration(c);
@@ -219,8 +224,12 @@
}
c.setNodeLockingScheme("OPTIMISTIC");
c.setTransactionManagerLookupClass(TransactionSetup.getManagerLookup());
- cache.create();
- cache.start();
+
+ if (start)
+ {
+ cache.create();
+ cache.start();
+ }
return cache;
}
17 years, 3 months
JBoss Cache SVN: r4637 - core/trunk/src/test/java/org/jboss/cache/optimistic.
by jbosscache-commits@lists.jboss.org
Author: bstansberry(a)jboss.com
Date: 2007-10-17 14:55:32 -0400 (Wed, 17 Oct 2007)
New Revision: 4637
Modified:
core/trunk/src/test/java/org/jboss/cache/optimistic/FullStackInterceptorTest.java
Log:
[JBCACHE-1201] Add test of SyncCommitPhase=false
Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/FullStackInterceptorTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/FullStackInterceptorTest.java 2007-10-17 16:32:01 UTC (rev 4636)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/FullStackInterceptorTest.java 2007-10-17 18:55:32 UTC (rev 4637)
@@ -12,6 +12,7 @@
import javax.transaction.TransactionManager;
import junit.framework.Assert;
+import junit.framework.AssertionFailedError;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -653,6 +654,16 @@
{
return createReplicatedCache("temp" + groupIncreaser, Configuration.CacheMode.REPL_SYNC);
}
+
+ protected CacheImpl<Object, Object> createSyncReplicatedCacheAsyncCommit() throws Exception
+ {
+ CacheImpl<Object, Object> cache = createReplicatedCache("temp" + groupIncreaser, Configuration.CacheMode.REPL_SYNC, false);
+ cache.getConfiguration().setSyncCommitPhase(false);
+ cache.getConfiguration().setSyncRollbackPhase(false);
+ cache.create();
+ cache.start();
+ return cache;
+ }
public void testPuts() throws Exception
{
@@ -773,5 +784,59 @@
throw e;
}
}
+
+ /**
+ * Tests that if synchronous commit messages are not used, the proper
+ * data is returned from remote nodes after a tx that does a local
+ * put returns.
+ *
+ * @throws Exception
+ */
+ public void testAsynchronousCommit() throws Exception
+ {
+ CacheImpl<Object, Object> cache1 = createSyncReplicatedCacheAsyncCommit();
+ CacheImpl<Object, Object> cache2 = createSyncReplicatedCacheAsyncCommit();
+ // Test will pass if we set up the caches with SyncCommitPhaseTrue
+// CacheImpl<Object, Object> cache1 = createSyncReplicatedCache();
+// CacheImpl<Object, Object> cache2 = createSyncReplicatedCache();
+
+ TransactionManager tm1 = cache1.getConfiguration().getRuntimeConfig().getTransactionManager();
+
+ Fqn<String> fqn = Fqn.fromString("/test/node");
+ String KEY = "key";
+ String VALUE1 = "value1";
+
+ tm1.begin();
+ cache1.put(fqn, KEY, VALUE1);
+ tm1.commit();
+
+ // A simple sleep will also make this test pass
+// try { Thread.sleep(100); } catch (InterruptedException e) {}
+
+ assertEquals("Known issue JBCACHE-1201: Correct node2 value", VALUE1, cache2.get(fqn, KEY));
+ assertEquals("Correct node1 value", VALUE1, cache1.get(fqn, KEY));
+
+ destroyCache(cache1);
+ destroyCache(cache2);
+ }
+
+ private void rollback(TransactionManager tm) {
+ try {
+ tm.rollback();
+ }
+ catch (Exception e) {
+ log.error(e.getMessage(), e);
+ }
+
+ }
+
+ private class ExceptionHolder
+ {
+ Exception node1Exception;
+ Exception node2Exception;
+
+ AssertionFailedError node1Failure;
+ AssertionFailedError node2Failure;
+ }
}
17 years, 3 months