Reading attribute with CLI fails
by ChrisRamsdale
Hi everyone,
I'm trying to read the "development" attribute of the web subsystem
using the command line interface.
Since the attribute is part of a group (jsp-configuration), I cannot
read it using the standard syntax.
"jsp-configuration" => {
"development" => false,
. . . .. . .
}
[standalone@localhost:9999 subsystem=web]
:read-attribute(name="development")
{
"outcome" => "failed",
"failure-description" => "No known attribute development",
"rolled-back" => true
}
or
[standalone@localhost:9999 subsystem=web]
:read-attribute(name="jsp-configuration/development")
{
"outcome" => "failed",
"failure-description" => "No known attribute development",
"rolled-back" => true
}
Anyone can enlight me how to read this attribute successfully ?
Thank you very much!
Chris
--
http://www.fastmail.fm - Send your email first class
13 years, 4 months
AS7.1.0 Alpha1 - Datasoure configuration
by Vimal Kansal
Hi,
I am using console version 1.0.0 Beta15 and find that datasource
configuration is pretty basic. I believe ultimately we will be able to
configure everything about datasource through GUI that we can do through
CLI?
Thx
Vimal
13 years, 4 months
7.0.1 wish list
by Jason Greene
Features I would love to see in 7.0.1:
- MDB support in preview/everything
- JPA plugability (easily plug in hib 3)
Anyone have anything else they think is critical?
13 years, 4 months
AS7 testsuite extension
by Rostislav Svoboda
Hi.
I would like to discuss how to extend AS7 testsuite, my suggestion is to create 2 new modules:
-- management
Tests for management APIs, probably separate submodules for cli, http api and java api tests.
-- multi-node
Tests with several instances (managed by DC or several standalone servers) on one machine.
Cluster, failover, session replication tests should be present in this module.
ARQ with DC support is needed, start/stop/kill support for instances managed by DC is needed too (ARQ-336 is designed for standalone), maybe start/stop/kill for DC will be required too.
Module structure should be similar to DOC-69049 [1] with submodules to share tests, prepare servers and to execute tests.
What do you think about suggested changes?
Rosta
[1] https://docspace.corp.redhat.com/docs/DOC-69049
13 years, 4 months
How to prevent the server from adding implicit dependencies
by Mylos
Hi !
I'd like to port my EAR application which a different version of
Hibernate than JBoss AS 7.
I've added to my WEB-INF/lib my Hibernate libraries, however the
application server chooses to use
its own libraries (under modules) as it finds @PersistenceContext
annotation in the Web application.
Reading up the docs, I've come up to jboss-deployment-structure.xml and
tried:
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="org.hibernate" />
</exclusions>
</deployment>
</jboss-deployment-structure>
However the app server still picks up the Hibernate libs from the
modules. How can I prevent it doing it and use those provided by the
application ?
Thank you very much for your help,
Mylos
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
13 years, 4 months
AbstractAddStepHandler handling
by David Bosschaert
Hi all,
While I'm writing a bunch of AbstractAddStepHandler subclasses for the
parsing of my subsystem I was thinking the following...
Typically these have the following methods:
protected void populateModel(ModelNode operation, ModelNode model) {
// parse data out of operation and put into model
}
protected void performRuntime(OperationContext context, ModelNode
operation, ModelNode model,...) {
// take action, which typically means:
// read data out of model and do something with it
}
This typically means that I have to parse the stuff in performRuntime
again (from ModelNode->native objects), either out of model or reparse
the operation. It would be nice if the result of the parsing in
populateModel could be cached somehow so that you could re-use it in
performRuntime?
Any ideas here? Is this already possible? Or should I be doing things
differently?
Cheers,
David
13 years, 4 months
DMR: treating key/value pairs right
by Heiko Braun
We got a lot of places where key/value pairs are used as part of the configuration:
- system properties
- xa data source properties
- resource adapter config properties
- (put your subsystem here)
The most reasonable way to represent these properties within the model
is to make them sub resources which can be addressed on their own, i.e:
[standalone@localhost:9999 /] /system-property=hostType:read-resource
{
"outcome" => "success",
"result" => {"value" => "staging"}
}
why? because if they are represented like sub resources,
the implicit add/remove operations automatically apply:
[standalone@localhost:9999 /] /system-property=newProperty:add(value=someValue)
{"outcome" => "success"}
The same is true for querying their value as shown above.
This is request to unify the usage key/value pair configuration options like described above.
I'll go ahead and create JIRA's for the cases that I encounter and ask you kindly to change all occurrences
to the sub resource model representation.
Ike
13 years, 4 months
Re: [jboss-as7-dev] AS7 testsuite extension
by Rostislav Svoboda
----- Original Message -----
> On 07/21/2011 10:08 AM, Rostislav Svoboda wrote:
> > Hi Brian, thank you for your reply, comments are inline.
> >> IMO management tests of standalone servers should be segregated
> >> from
> >> tests of a managed domain.
> >
> > Agree, submodules should be named domain-http, domain-cli,
> > domain-java, standalone-http, standalone-cli and standalone-java.
> > Maybe one submodules for shared tests and resources.
>
> One set of tests that I need to write is to exercise different
> security
> realm configurations for the management interfaces.
>
> Initially this would be in the form of one realm definition and a set
> of
> tests against each entry point to verify the correct behaviour - does
> this make sense to be repeated across each submodule or should
> something
> like this have it's own submodule?
Good question. I would personally introduce new module for management security tests.
This question implies another question. What about AS7 security testing?
CCing AS7 mailing list for more ideas.
>
> Regards,
> Darran Lofthouse.
13 years, 4 months
Invoking an MSC service from AbstractAddStepHandler.performRuntime()
by David Bosschaert
Hi all,
I have an AbstractAddStepHandler subclass where I would like to invoke
on a service in the performRuntime(). Is there an easy way to do this?
More context: What I'm trying to do this this...
I have a number of configuration items that are editable by themselves
(e.g. via CLI). They're all represented a common model that I'm thinking
of representing as an MSC service, so that when the populateModule()
callback comes in for each one in my AddHandler I can push the updates
in the common model.
If there is another more convenient way to do the same, I'd be interested :)
Cheers,
David
13 years, 4 months