[JBoss JIRA] Created: (JBCACHE-754) RPC return values to use a marshaller as well
by Manik Surtani (JIRA)
RPC return values to use a marshaller as well
---------------------------------------------
Key: JBCACHE-754
URL: http://jira.jboss.com/jira/browse/JBCACHE-754
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 1.4.0, 2.0.0
Reporter: Manik Surtani
Assigned To: Manik Surtani
Fix For: 2.1.0
Currently, all RPC calls go through the VersionAwareMarshaller which is responsible for efficiently marshalling JBC internal objects as well as user objects using JBoss Serialization.
Return values and exceptions, on the other hand, are marshalled/unmarshalled using JGroups' Util.{to|from}ByteBuffer() which uses standard object serialization.
The problems here are twofold:
1) Relatively inefficient (in speed as well as byte array size) marshalling/unmarshalling for return values
2) Potential class loader problems
Most RPC calls in JBoss Cache do not have return values so this is not a problem that comes up often, but certain features (clustered cache loader, data gravitation in buddy replication) rely on return values.
The solution to this problem is to be able to register a marshaller with the JGroups RPCDispatcher for return values (and exceptions) as well as for the RPC calls themselves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 4 months
[JBoss JIRA] Created: (JBCACHE-788) Optimistic locking should not REQUIRE transactions!
by Manik Surtani (JIRA)
Optimistic locking should not REQUIRE transactions!
---------------------------------------------------
Key: JBCACHE-788
URL: http://jira.jboss.com/jira/browse/JBCACHE-788
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 1.4.0, 1.3.0, 2.0.0
Reporter: Manik Surtani
Assigned To: Manik Surtani
Fix For: 2.1.0
Makes things simpler.
TXs are only used so transaction workspaces can be stored in a transaction entry. This workspace can just as easily be stored in ThreadLocal for non-tx calls (that just have the lifespan of a single invocation).
This will:
1) Make things a LOT quicker since we don't need 2PC for all calls.
2) Make the TxInterceptor a lot simpler
3) Allow the use of Opt Locking without a TM
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 4 months
[JBoss JIRA] Created: (JBAS-4148) Replace Gjt code used in the ejb 2.x validation phase
by Fernando Nasser (JIRA)
Replace Gjt code used in the ejb 2.x validation phase
-----------------------------------------------------
Key: JBAS-4148
URL: http://jira.jboss.com/jira/browse/JBAS-4148
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Fernando Nasser
Fix For: JBossAS-4.2.1.CR1
The JBossAS thirdpart-build.xml grabs a
<componentref name="gjt-jpl-util" version="1.0"/>
from repository.jboss.com
However, the Gjt project has never released a 1.0 version, only a 0.6 version for the Linffors utils and the jpl_util_0_6 is the only tag in their CVS.
So, what is the meaning for version 1.0? The CVS tip?
Also, what is marked as gjt-jpl-util also contains gjt-jpl-pattern, and the latest CVS tag for that is:
jpl-pattern_0_3_b (0.3 beta perhaps)
Besides, there is a warning in the pattern source directory:
"Untagged files may be (and probably are) in an unstable state and might not
compile. If you want something that works, checkout with tags. You have been
warned. :) -- Juha"
Here, for the record, is Scott's opinion:
Scott M Stark wrote:
> This is some ancient code used only in the ejb 2.x validation phase. It
> has not been touched in something like 5 years. Either we need to
> replace it or pull together some code that makes up a usable release.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 4 months
[JBoss JIRA] Created: (JBBUILD-324) Build.xml in testsuite directory doesn't support multiple JVM argument
by Sunny Chan (JIRA)
Build.xml in testsuite directory doesn't support multiple JVM argument
----------------------------------------------------------------------
Key: JBBUILD-324
URL: http://jira.jboss.com/jira/browse/JBBUILD-324
Project: JBoss Build System
Issue Type: Feature Request
Components: Targets and Tasks
Affects Versions: Repository Build head, Repsository Build Branch_4_0
Environment: Any
Reporter: Sunny Chan
Priority: Minor
We are using the JBoss unit test as part of our JVM verification testsuite. We wanted to be able to invoke tests with multiple JVM options, but it didn't work. If you set parameters via build.sh -Djunit.vm.options with multiple paramters (e.g. -Djunit.vm.options="-d64 -verbose:gc"), it will fail with unrecongized option error.
The problem is that in testsuite/build.xml, the junit.vm.options is passed onto junit ant task via <jvmarg value> tag rather then <jvmarg line> tag. The jvmarg line allows multiple JVM options exist in one line. Once I replace all instance of <jvmarg value="${junit.jvm.options}"/> with <jvmarg line="${junit.jvm.options}"/> then the problem goes away.
I can provide a patch for this if you want - but I don't know the rules on patches (whether I need to be cleared for contribution) so let me know if you want that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 4 months