[JBoss JIRA] (WFLY-4316) InvalidBytecodeException when an EJB local interface declares static method
by Jozef Hartinger (JIRA)
Jozef Hartinger created WFLY-4316:
-------------------------------------
Summary: InvalidBytecodeException when an EJB local interface declares static method
Key: WFLY-4316
URL: https://issues.jboss.org/browse/WFLY-4316
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 9.0.0.Alpha1
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Fix For: 9.0.0.Beta1
{noformat}
Caused by: org.jboss.classfilewriter.InvalidBytecodeException: Cannot load variable at 1. Local Variables: Local Variables: [StackEntry [descriptor=Ljava/lang/String;, type=OBJECT]]
at org.jboss.classfilewriter.code.CodeAttribute.aload(CodeAttribute.java:185)
at org.jboss.invocation.proxy.ProxyFactory$ProxyMethodBodyCreator.overrideMethod(ProxyFactory.java:150)
at org.jboss.invocation.proxy.AbstractSubclassFactory.overrideMethod(AbstractSubclassFactory.java:106)
at org.jboss.invocation.proxy.AbstractSubclassFactory.addInterface(AbstractSubclassFactory.java:363)
at org.jboss.invocation.proxy.ProxyFactory.generateClass(ProxyFactory.java:286)
at org.jboss.invocation.proxy.AbstractClassFactory.buildClassDefinition(AbstractClassFactory.java:207)
at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:160)
at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:150)
at org.jboss.as.ejb3.component.stateless.StatelessComponentDescription$3.configure(StatelessComponentDescription.java:150)
at org.jboss.as.ee.component.DefaultComponentViewConfigurator.configure(DefaultComponentViewConfigurator.java:68)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
... 6 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 5 months
[JBoss JIRA] (WFLY-4314) Add blocking option to reload command for standalone server
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-4314?page=com.atlassian.jira.plugin.... ]
Brian Stansberry commented on WFLY-4314:
----------------------------------------
Does this work?
{code}
if (outcome == failed) of /subsystem=resource-adapters/resource-adapter=activemq-ra:read-resource
/subsystem=resource-adapters/resource-adapter=activemq-ra:add(archive=activemq-ra.rar)
reload
end-if
{code}
No ":" before "reload".
The behavior you are looking for is not possible with a low level operation, i.e. ":reload". It is possible with the high level CLI command "reload".
A low-level operation that triggers a reload can support a blocking parameter if it is targeted at a Host Controller. The blocking behavior is implemented in the HC process, which isn't being reloaded. The blocking behavior can't be implemented in the server process because the reload requires stopping all the services, including those that would block. The high level CLI "reload" command does the blocking on the client side.
> Add blocking option to reload command for standalone server
> -----------------------------------------------------------
>
> Key: WFLY-4314
> URL: https://issues.jboss.org/browse/WFLY-4314
> Project: WildFly
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: JBoss AS7 7.2.0.Final, 8.2.0.Final
> Reporter: Tomas Rohovsky
> Assignee: Brian Stansberry
>
> reload command is non-blocking which causes problems in CLI scripts. Let's take this as an example:
> {code}
> if (outcome == failed) of /subsystem=resource-adapters/resource-adapter=activemq-ra:read-resource
> /subsystem=resource-adapters/resource-adapter=activemq-ra:add(archive=activemq-ra.rar)
> :reload
> end-if
> {code}
> I use jboss-as-maven-plugin for its execution and sometimes I get: {Command execution failed for command 'end-if'. if request failed: java.util.concurrent.ExecutionException: Operation failed: Channel closed}
> This functionality has already been asked in WFLY-208, but for some reason it was implemented only for domain-related commands but not standalone-related (reload and shutdown).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 5 months
[JBoss JIRA] (WFLY-4315) Allow Individual servers in a server group to be restarted
by Carlton Zachary (JIRA)
Carlton Zachary created WFLY-4315:
-------------------------------------
Summary: Allow Individual servers in a server group to be restarted
Key: WFLY-4315
URL: https://issues.jboss.org/browse/WFLY-4315
Project: WildFly
Issue Type: Feature Request
Reporter: Carlton Zachary
Assignee: Jason Greene
Currently, in domain mode you can only do a restart on a server group. Could the feature be added to have the option to do a restart on an individual server in the server group. Seems to only be there when a configuration change has been made and requires a restart.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 5 months
[JBoss JIRA] (WFLY-4314) Add blocking option to reload command for standalone server
by Tomas Rohovsky (JIRA)
Tomas Rohovsky created WFLY-4314:
------------------------------------
Summary: Add blocking option to reload command for standalone server
Key: WFLY-4314
URL: https://issues.jboss.org/browse/WFLY-4314
Project: WildFly
Issue Type: Bug
Components: Domain Management
Affects Versions: 8.2.0.Final, JBoss AS7 7.2.0.Final
Reporter: Tomas Rohovsky
Assignee: Brian Stansberry
reload command is non-blocking which causes problems in CLI scripts. Let's take this as an example:
{code}
if (outcome == failed) of /subsystem=resource-adapters/resource-adapter=activemq-ra:read-resource
/subsystem=resource-adapters/resource-adapter=activemq-ra:add(archive=activemq-ra.rar)
:reload
end-if
{code}
I use jboss-as-maven-plugin for its execution and sometimes I get: {Command execution failed for command 'end-if'. if request failed: java.util.concurrent.ExecutionException: Operation failed: Channel closed}
This functionality has already been asked in WFLY-208, but for some reason it was implemented only for domain-related commands but not standalone-related (reload and shutdown).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 5 months
[JBoss JIRA] (WFLY-4314) Add blocking option to reload command for standalone server
by Tomas Rohovsky (JIRA)
[ https://issues.jboss.org/browse/WFLY-4314?page=com.atlassian.jira.plugin.... ]
Tomas Rohovsky updated WFLY-4314:
---------------------------------
Issue Type: Enhancement (was: Bug)
> Add blocking option to reload command for standalone server
> -----------------------------------------------------------
>
> Key: WFLY-4314
> URL: https://issues.jboss.org/browse/WFLY-4314
> Project: WildFly
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: JBoss AS7 7.2.0.Final, 8.2.0.Final
> Reporter: Tomas Rohovsky
> Assignee: Brian Stansberry
>
> reload command is non-blocking which causes problems in CLI scripts. Let's take this as an example:
> {code}
> if (outcome == failed) of /subsystem=resource-adapters/resource-adapter=activemq-ra:read-resource
> /subsystem=resource-adapters/resource-adapter=activemq-ra:add(archive=activemq-ra.rar)
> :reload
> end-if
> {code}
> I use jboss-as-maven-plugin for its execution and sometimes I get: {Command execution failed for command 'end-if'. if request failed: java.util.concurrent.ExecutionException: Operation failed: Channel closed}
> This functionality has already been asked in WFLY-208, but for some reason it was implemented only for domain-related commands but not standalone-related (reload and shutdown).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 5 months