Re: [jboss-as7-dev] Multiple HQ servers on the same AS instance
by Brian Stansberry
On 9/1/11 9:45 AM, Andy Taylor wrote:
> On 09/01/2011 03:23 PM, Brian Stansberry wrote:
>> Just an FYI for those interested in the HornetQ integration into the
>> AS. I recalled this morning a call I was on a couple years back where
>> an HA architecture was discussed based on two or more AS's w/ 2 HQ
>> servers on each, one on each AS acting as backup to one on another.
>> From chatting with Clebert today, it seems that architecture was
>> implemented.
> We have also discussed adding functionality to allow a single hornetq
> instance to cope with multiple journals, meaning a server could also be
> a backup as well as a live. If we did this you would only ever need a
> single instance. Depending on time frames this could be a better
> solution although we didnt have any plans to do it right away.
The time frame is within three months, as in 7.1 we need to preserve any
critical HQ functionality that exists in EAP 5.1.
>>
>> This has implications for the HQ integration in AS 7.1. Two support
>> this kind of architecture, we'd need to:
>>
>> 1) Add a high level element in the jboss-as-messaging.xsd schema that
>> encapsulates all the existing element and represents an HQ server.
>>
>> 2) Add a level to the messaging subsystem management resource tree for
>> same.
>>
>> 3) Rework any HQ-related MSC service names to account for the
>> possibility of multiple HQ servers.
>>
>> 4) Figure out an other issues this introduces as far as integrating
>> with other services that depend on the messaging services.
>>
>
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
13 years, 3 months
jaxb usage
by Scott Stark
The switchyard team was looking to get something running on top of the
as7 openshift cartridge, but had an issue with the webservices layer
such that it needed to be replaced until a bug was fixed, but the
replacement requires an update of the jaxb impl. Is anything other than
webservices actually using the jaxb impl? I'm not worried about jaxb
annotations.
13 years, 4 months
How to fast-forward a pull request in github?
by David Bosschaert
Hi all,
When applying a pull request in Github (using the Big Green Button that
says 'Merge Pull Request') this always creates a merge commit which is
something that we generally don't like (I think ;)
How people generally apply pull requests with a fast-forward for a
cleaner commit history? Is there some handy command that people use for
this?
Cheers,
David
13 years, 4 months
ssl-service.xml for EJB encryption
by Francesco Marchioni
Dear devs,
I was just wondering if the earlier ssl-service.xml (for encrypting EJB
communication) will be available in next AS 7 releases. Just tried with
7.0.1, however
the scanner seems to ignore it.
Thanks
Francesco
13 years, 4 months
Re: [jboss-as7-dev] jaxb usage
by Magesh Kumar Bojan
> Nothing in AS should be importing the JDK JAX-WS impl. If it is it's a bug.
Nothing in AS7 is importing. At SwitchYard we had to resort using that on a temporary basis, due to a few bugs in JBossWS-CXF JAXWS impl. Besides OpenShift Express does not have Web Services enabled.
Magesh
13 years, 4 months
Re: [jboss-as7-dev] jaxb usage
by Magesh Kumar Bojan
> BTW, anybody know the relationship between the JDK and the JAXB project?
JDK provides built-in support (implementation) for both JAXWS and JAXB. The JDK's JAXWS uses this JAXB by default. Having to use JAXWS runtime provided by JDK and also including another JAXB in AS7 ends in conflicts.
Magesh
13 years, 4 months
depending on jackson-mapper-asl
by Sanne Grinovero
Hi all,
we're working on Hibernate Search 4, which sports besides many other
changes a revamped serialization framework which uses Apache Avro;
this is an important component towards a better integration with
Infinispan and unlocking all potential of Hibernate OGM.
Avro depends on:
org.codehaus.jackson:jackson-core-asl (using 1.7.3)
org.codehaus.jackson:jackson-mapper-asl (using 1.7.3)
com.thoughtworks.paranamer:paranamer (using 2.3)
org.xerial.snappy:snappy-java (using 1.0.1-rc3)
While Hibernate Search is not part of the Application Server
distribution, we noticed that the AS depends on jackson-mapper-asl too
and some early adopters reported version conflicts.
Even forcing Search to use the same version as AS 7.0.1 (1.6.3) all
our tests are fine, but we would rather not bind our project to depend
to AS7's specific versions, if you can suggest better alternatives.
Please consider I'm not familiar with the AS7 classloader isolation
details, but since we're not living under a stone our expectation was
that application code should be isolated from this; is this something
that should be enabled, or is Jackson "special" ?
Possibly the users reporting these issues are doing something wrong? I
have no forum links as this started from IRC but I can ask for more
details if you could suggest what to look for.
Regards,
Sanne
https://hibernate.onjira.com/browse/HSEARCH-887
13 years, 4 months
Subsystem Test Framework
by Anil Saldhana
Kabir,
I tried the AbstractSubsystemTest framework to test the domain 1.1
changes I am planning to make. But it seems like the test framework was
exclusively written for subsystems integrating into the domain model and
not to test the domain itself.
I am wondering if there are possibilities to test the domain schema
changes via this test framework.
Regards,
Anil
13 years, 4 months
AS 7 testsuite proposal - request for feedback
by Richard Achmatowicz
Hello
Over the past month, there have been discussions going on between Dev
(Shelly, Andrew, Ondra, Richard) and QA concerning the AS 7 testsuite
and the final form it should take moving forward. Several options for
how to organize the testsuite, both in terms of its maven modularization
and the organization within each maven module, were considered. We
wanted to come up with a proposal which was scalable and maintainable,
while at the same time satisfying our all of our testing requirements.
We came up with a proposal, and a description of it can be found here:
https://docspace.corp.redhat.com/docs/DOC-74146. The document outlines
initial requirements for the testsuite, and then describes the proposed
organization of the maven-based testsuite. A prototype version of the
testsuite (still under some development) exists at git(a)github.com
<mailto:git@github.com>:rachmatowicz/jboss-as-testsuite-proposal.git
One of the key differentiators between proposed models is the purpose
for and the degree to which the testsuite is decomposed into maven
modules. The proposal presented here uses modules to decompose the
testsuite into different types of tests (functional vs various types of
non-functional, tests such as benchmark, stress, soak), but not for
collecting the same logical collections of tests (e.g. clustering
functional tests vs domain management functional tests) into different
logical groups. That separation is achieved within a module through the
use of maven build profiles. This is a "few modules, large poms"
solution, as opposed to a "many modules, small poms" solution.
The proposal attempts to be clear about how to achieve many of the most
common requirements, but there may be omissions. Also, there are still
certain fundamental questions that need to be dealt with, such as:
* whether or not we support both JUnit and testNG as testing frameworks
* the optimal approach for constructing server configurations of those
outlined
* is the modularization proposed a good compromise between scalability
and maintainability
Considered feedback on these issues in particular and on the model as a
whole would be very helpful. The feedback can be posted as comments to
the document itself, to facilitate sharing.
With your feedback, we can come up with a model which satisfies our
requirements and serve us well in future.
Richard
13 years, 4 months
A simple timed cache?
by Darran Lofthouse
I have a couple of tasks that are going to need some form of cache with
items to be removed after after a specified timeout, for the API I just
need something that implements the Map interface or similar.
I don't really want to be bringing in additional dependencies but wanted
to check do we have anything similar already in AS7 so I am not
re-inventing this for the sake of it.
Regards,
Darran Lofthouse.
13 years, 4 months