[Design of POJO Server] - Re: Is profile-service.xml misnamed?
by scott.stark@jboss.org
"PeterJ" wrote : Ales hinted that he doesn't have enough to do and that I should post this here. ;-)
|
| Are there any plans to provide a system property that can be used to decide whether to use bootstrap.xml or boostrap-repo.xml? Right now bootstrap.xml is hard-coded and I had to rename the files to use bootstrap-repo.xml. (Also, is it expected that when using boostrap-repo.xml that hot deployment does not work?)
|
Yes, we should have something, http://jira.jboss.org/jira/browse/JBAS-5760. Note that there already is a ServerConfig.BOOTSTRAP_URL = jboss.bootstrap.url that should be used.
"PeterJ" wrote :
| On a related note, why is profile-service.xml not called simply profile.xml? The extension -service.xml is usually associated with JMX, but in this case the file is used with the microcontainer. I know that file naming conventions (e.g., *-service.xml) apply only in the deploy directory, and not in conf, but it can be initially confusing.
|
Fair enough. The conventions apply to any deployments processed by the deployers, so its the deployers, deploy directories. We might as well be consistent in naming conventions. http://jira.jboss.org/jira/browse/JBAS-5761
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163941#4163941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163941
17 years, 9 months
[Design of POJO Server] - Re: Scoping of war/jar file embedded in sar service archives
by adinn
anonymous wrote :
| At this point I just want to reproduce the issue in a unit test. If I can't tweak my current example I'll need to get your deployment to see what exactly is happening.
|
Ok, well I think you should be able to reproduce the behaviour I saw if you modify the example you cited earlier as follows:
add a manifest file to staticarray-web1.war which refers to staticarray1.jar via a classpath entry
add a manifest file to staticarray-web2.war which refers to staticarray2.jar via a classpath entry
add a manifest file to staticarray2.jar which mentions staticarray1.jar via a classpath entry
it may be possible to do it with a shorter route
add a manifest file to staticarray-web1.war which refers to staticarray1.jar via a classpath entry
add a manifest file to staticarray-web2.war which refers to staticarray2.jar and staticarray1.jar via a classpath entry
if this fails to err . . . fail . . . and you need my code let me know
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163938#4163938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163938
17 years, 9 months
[Design of JBossCache] - Re: Custom data versions
by manik.surtani@jboss.com
Yup that pretty much sums it up. Concurrent updates will be dealt with exactly as they are dealt with right now.
Regarding releasing, it is easier than you think: DataVersions were a strictly Optimistic-Locking feature. With MVCC, we never made any promises that DataVersions would apply. Just as we ignore custom data versions with Pessimistic Locking, I expect to do the same with MVCC.
The problem with leaving versioning logic in MVCC is that it is pretty central. (Use VersionedNode instead of UnversionedNode, different write-skew check, different ways of handing custom data versions which may be unnecessary). I'd rather we leave this out (if the logic makes sense) and move on from a fragile and broken API. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163933#4163933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163933
17 years, 9 months