[JBoss JIRA] (AS7-4437) Pls add a dmr handler to add and remove a single environment variable
by Michael Voegele (JIRA)
Michael Voegele created AS7-4437:
------------------------------------
Summary: Pls add a dmr handler to add and remove a single environment variable
Key: AS7-4437
URL: https://issues.jboss.org/browse/AS7-4437
Project: Application Server 7
Issue Type: Feature Request
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Michael Voegele
Assignee: Brian Stansberry
For adding a single jvm-option, operations exist for convenience:
add-jvm-option
remove-jvm-option
The same would be good for environment variables:
add-environment-variable
remove-environment-variable
At the moment, the same can only be achieved by writing the whole attribute environment-variables, which does not allow to add a *single* variable (if some already exist, the existing ones have to be included when writing the attribute):
{code:xml}
{
"operation" => "write-attribute",
"address" => [
("host" => "master"),
("server-config" => "server-1"),
("jvm" => "default")
],
"name" => "environment-variables",
"value" => [
{"foo1" => "bar1"},
{"foo2" => "bar2"}
]
}
{code}
Operations write-attribute and undefine-attribute have to be used.
--
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
13 years, 8 months
[JBoss JIRA] (AS7-5432) TransactionRolledbackLocalException doesn't reference the originating exception
by Barnabas Bodnar (JIRA)
Barnabas Bodnar created AS7-5432:
------------------------------------
Summary: TransactionRolledbackLocalException doesn't reference the originating exception
Key: AS7-5432
URL: https://issues.jboss.org/browse/AS7-5432
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.1.Final
Reporter: Barnabas Bodnar
Assignee: jaikiran pai
Priority: Minor
If a runtime-exception thrown by an EJB v.2x application leads to javax.ejb.TransactionRolledbackLocalException (s. org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(...)), the TransactionRolledbackLocalException doesn't reference the originating exception (either as getCause() or as getCausedByException()).
The originating exception gets in org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories.LOCAL_INSTANCE lost: the javax.ejb.EJBTransactionRolledbackException catched here does still contain it, it will, however, not be propagated to the javax.ejb.TransactionRolledbackLocalException created here.
This behavior also deviates from that in the case of a locally started transaction: the wrapping javax.ejb.EJBException (s. org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(...)) is thrown unchanged to the caller (s. org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories.LOCAL_INSTANCE) and it references the originating exception both as getCause() and as getCausedByException().
--
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
13 years, 8 months
[JBoss JIRA] Created: (AS7-1459) Add a commandline flag to the startup script to enable debugging
by Dan Allen (JIRA)
Add a commandline flag to the startup script to enable debugging
----------------------------------------------------------------
Key: AS7-1459
URL: https://issues.jboss.org/browse/AS7-1459
Project: Application Server 7
Issue Type: Feature Request
Components: CLI
Affects Versions: 7.0.0.Final
Reporter: Dan Allen
Assignee: Alexey Loubyansky
The startup script (standalone.sh & standalone.bat) should honor a commandline option that can be used to start the server with debugging enabled. Currently, the developer has to uncomment the JAVA_OPTS line in the standalone.conf file manually.
Proposal for starting the server with debugging enabled:
./bin/standalone.sh --debug
If necessary, the optional flag could accept the port as an optional argument.
./bin/standalone.sh --debug 8787
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months