[JBoss JIRA] (AS7-2236) A resource-env-ref without injection targets must be bindable
by Carlo de Wolf (Created) (JIRA)
A resource-env-ref without injection targets must be bindable
-------------------------------------------------------------
Key: AS7-2236
URL: https://issues.jboss.org/browse/AS7-2236
Project: Application Server 7
Issue Type: Bug
Components: EE
Reporter: Carlo de Wolf
Assignee: Carlo de Wolf
Priority: Critical
{noformat}
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Could not determine type for resource-env-ref java:comp/env/dog
at org.jboss.as.ee.component.deployers.ResourceReferenceProcessor.getResourceEnvRefEntries(ResourceReferenceProcessor.java:86)
at org.jboss.as.ee.component.deployers.ResourceReferenceProcessor.processDescriptorEntries(ResourceReferenceProcessor.java:55)
at org.jboss.as.ee.component.deployers.AbstractDeploymentDescriptorBindingsProcessor.deploy(AbstractDeploymentDescriptorBindingsProcessor.java:103)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 5 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (AS7-1782) Provide management use cases and operations for the transaction subsystem
by Heiko Braun (JIRA)
Provide management use cases and operations for the transaction subsystem
-------------------------------------------------------------------------
Key: AS7-1782
URL: https://issues.jboss.org/browse/AS7-1782
Project: Application Server 7
Issue Type: Feature Request
Components: Transactions
Reporter: Heiko Braun
Assignee: Jonathan Halliday
Fix For: 7.1.0.Beta1
I cannot identify the use cases not the operation when looking at the current management exposure:
{noformat}
[standalone@localhost:9999 /] /subsystem=transactions:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"coordinator-environment" => {
"enable-statistics" => undefined,
"enable-tsm-status" => undefined,
"default-timeout" => 300
},
"core-environment" => {
"process-id" => {"uuid" => "uuid"},
"node-identifier" => undefined,
"relative-to" => undefined,
"path" => undefined
},
"object-store" => {
"relative-to" => undefined,
"path" => undefined
},
"recovery-environment" => {
"socket-binding" => "txn-recovery-environment",
"status-socket-binding" => "txn-status-manager",
"recovery-listener" => undefined
}
}
}
[standalone@localhost:9999 /] /subsystem=transactions:read-operation-
read-operation-description read-operation-names
[standalone@localhost:9999 /] /subsystem=transactions:read-operation-names
{
"outcome" => "success",
"result" => [
"add",
"read-attribute",
"read-children-names",
"read-children-resources",
"read-children-types",
"read-operation-description",
"read-operation-names",
"read-resource",
"read-resource-description",
"validate-address",
"write-attribute"
]
}
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (AS7-2224) restart-required value only gets transformed for read-write attributes
by David Bosschaert (Created) (JIRA)
restart-required value only gets transformed for read-write attributes
----------------------------------------------------------------------
Key: AS7-2224
URL: https://issues.jboss.org/browse/AS7-2224
Project: Application Server 7
Issue Type: Bug
Components: Server
Reporter: David Bosschaert
Assignee: Jason Greene
Looking at the output from read-resource-description I noticed that the value of restart-required sometimes is capitalized and in other cases it's not. E.g. take the following subsystem:
{code}[standalone@localhost:9999 subsystem=osgi] :read-resource-description(recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The OSGi subsystem configuration.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:osgi:1.0",
"attributes" => {
"activation" => {
"description" => "Activation flag for the OSGi subsystem. Possible values: lazy, eager.",
"type" => STRING,
"default" => "LAZY",
"access-type" => "read-write",
"restart-required" => "no-services",
"storage" => "configuration"
},
"startlevel" => {
"description" => "The current Start Level of the OSGi Framework. Changing this value will change the start level of the Framework accordingly. ",
"type" => INT,
"access-type" => "read-write",
"restart-required" => "no-services",
"storage" => "runtime"
}
},
"children" => {
"configuration" => {
"description" => "A Configuration Admin Service entry. The identity of the entry defines the PID (Persistent Identifier) that the entry is associated with.",
"model-description" => {"*" => {
"description" => "A Configuration Admin Service entry. The identity of the entry defines the PID (Persistent Identifier) that the entry is associated with.",
"attributes" => {"entries" => {
"description" => "The list of configuration entries.",
"required" => true,
"type" => LIST,
"value-type" => UNDEFINED,
"access-type" => "read-only",
"restart-required" => "RESTART_NONE",
"storage" => "configuration"
}}
}}
},
...{code}
You can see that for the same AttributeAccess.Flag.RESTART_NONE value in some cases it's transformed into 'no-services' and in other cases it's left the way it is.
I isolated this issue to org.jboss.as.controller.operations.global.GlobalOperationHandlers (~line 830) and noticed that only in the case of a read-write attribute this transformation is applied. That seems incorrect... I'm wondering why do we do this translation at all and not simply return the Flag.toString()?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (AS7-2165) Thread context ClassLoader set to unexpected value
by Tim Pesce (Created) (JIRA)
Thread context ClassLoader set to unexpected value
--------------------------------------------------
Key: AS7-2165
URL: https://issues.jboss.org/browse/AS7-2165
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.0.2.Final
Environment: Java 1.6.0_26, Mac OS 10.6.8
Reporter: Tim Pesce
Assignee: Thomas Diesler
I am using library code in a BundleActivator that tries to load resources via ClassLoader. The logic in the library looks something like this:
# if thread context ClassLoader exists use it
# else use ClassLoader for this class
The thread context ClassLoader differs from the class ClassLoader. The resources packaged in my bundle are not available to the thread context ClassLoader, but they are available to the class ClassLoader. In 7.0.1 there was no thread context ClassLoader, so the library code used the class ClassLoader and correctly loaded the resources.
Here's what toString on the thread context ClassLoader shows:
{quote}
ModuleClassLoader for Module "org.jboss.as.osgi:main" from local module loader @67d225a7 (roots: /Users/tpesce/Developer/jboss-as-7.0.2.Final/modules)
{quote}
Here's the toString ont he class ClassLoader:
{quote}
HostBundleClassLoader for Module "deployment.jboss.osgi.bug:1.0.0" from Service Module Loader
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months