[JBoss JIRA] (AS7-2873) EJB not defining an EJB 2 view method should not deploy
by Carlo de Wolf (Created) (JIRA)
EJB not defining an EJB 2 view method should not deploy
-------------------------------------------------------
Key: AS7-2873
URL: https://issues.jboss.org/browse/AS7-2873
Project: Application Server 7
Issue Type: Bug
Components: EJB
Reporter: Carlo de Wolf
Assignee: Stuart Douglas
A bean which does not implement the sayHello method of the following EJB 2 remote view:
{code:title=HelloRemote.java}
public interface HelloRemote extends EJBObject {
String sayHello(String name) throws RemoteException;
}
{code}
gets the following exception during invocation:
{noformat}
Caused by: javax.ejb.EJBException: org.jboss.invocation.CannotProceedException: INV-00002:Invocation cannot proceed (end of interceptor chain has been hit)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:241)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:316)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:201)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropogatingInterceptor.processInvocation(EJBRemoteTransactionPropogatingInterceptor.java:86)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:70)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$1.processInvocation(EjbExceptionTransformingInterceptorFactories.java:56)
... 126 more
{noformat}
Instead the EJB should not have deployed properly and throw a DeploymentException.
--
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, 10 months
[JBoss JIRA] (LOGTOOL-52) Remove string concatenation during message construction
by David Lloyd (JIRA)
David Lloyd created LOGTOOL-52:
----------------------------------
Summary: Remove string concatenation during message construction
Key: LOGTOOL-52
URL: https://issues.jboss.org/browse/LOGTOOL-52
Project: Log Tool
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Bill Burke
Assignee: David Lloyd
Fix For: 1.0.3.Final, 1.1.0.Beta1
I have noticed a small deficiency in your otherwise completely excellent software! As it turns out, the source code generation produces superfluous string concatenations. It would be more efficient if the string concatenation were to happen either during processing, or within the right-hand side of the static field assignment expression in the generated classes.
Keep up the top-notch work on the definitely not over-engineered project! Excelsior!!
--
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, 10 months
[JBoss JIRA] (LOGTOOL-44) Make configurable whether @Override annotation shall be added
by Gunnar Morling (JIRA)
Gunnar Morling created LOGTOOL-44:
-------------------------------------
Summary: Make configurable whether @Override annotation shall be added
Key: LOGTOOL-44
URL: https://issues.jboss.org/browse/LOGTOOL-44
Project: Log Tool
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 1.0.1.Final
Reporter: Gunnar Morling
Assignee: David Lloyd
The annotation processor adds the {{(a)java.lang.Override}} annotation to the methods of generated log or message bundle classes. For methods implementing interface methods this is allowed only in Java 6 and above, while in Java 5 {{@Override}} is only allowed for methods overriding methods from superclasses.
Therefore compilation of the generated classes fails using Java 5. To address this issue, the annotation should be added conditionally based on the current source level.
--
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, 10 months