[JBoss JIRA] Created: (JBMETA-330) @Startup annotation and init-on-startup element in ejb-jar.xml aren't merged into metadata correctly
by jaikiran pai (JIRA)
@Startup annotation and init-on-startup element in ejb-jar.xml aren't merged into metadata correctly
----------------------------------------------------------------------------------------------------
Key: JBMETA-330
URL: https://issues.jboss.org/browse/JBMETA-330
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ejb
Affects Versions: jboss-metadata-ejb-2.0.0-alpha-28
Environment: JBoss AS 6.0.0.Final
Reporter: jaikiran pai
Assignee: jaikiran pai
Consider the following bean:
{code}
@Singleton
@Startup
public class StartupBean
{
...
}
{code}
and the corresponding ejb-jar.xml:
{code:xml}
...
<session>
<ejb-name>StartupBean</ejb-name>
<session-type>Singleton</session-type>
<ejb-local-ref>
...
</ejb-local-ref>
</session>
{code}
Notice that the ejb-jar.xml is used to configure some other aspects of the EJB, but it *doesn't* set/override the init-on-startup attribute of the bean. Effectively, the StartupBean should still be considered as a init-on-startup bean.
However, this isn't the case currently. During merging of this annotation and xml metadata, the merged metadata turns up the StartupBean as a normal non init-on-startup bean. See the referenced forum thread for the complete details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-1848) java.lang.IllegalStateException: There is already a delivery set for auto ack
by philippe pinheiro (JIRA)
java.lang.IllegalStateException: There is already a delivery set for auto ack
-----------------------------------------------------------------------------
Key: JBMESSAGING-1848
URL: https://issues.jboss.org/browse/JBMESSAGING-1848
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.3.GA
Reporter: philippe pinheiro
If I run mutiple Threads (30) inside JBoss sharing a common QueueSession created in Session.AUTO_ACKNOWLEDGE mode
for sending and receiving messages from a Queue, after a while I get this exception :
java.lang.IllegalStateException: There is already a delivery set for auto ack 23964772 xa: false
2011-02-18 11:52:02,501 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.state.SessionState.setAutoAckInfo(SessionState.java:408)
2011-02-18 11:52:02,501 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.container.SessionAspect.handlePreDeliver(SessionAspect.java:268)
2011-02-18 11:52:02,501 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handlePreDeliver_4634459.invoke(SessionAspect_z_handlePreDeliver_4634459.java)
2011-02-18 11:52:02,501 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,501 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
2011-02-18 11:52:02,502 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
2011-02-18 11:52:02,502 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,502 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.delegate.ClientSessionDelegate.preDeliver(ClientSessionDelegate.java)
2011-02-18 11:52:02,502 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.container.ClientConsumer.receive(ClientConsumer.java:550)
2011-02-18 11:52:02,502 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.container.ConsumerAspect.handleReceive(ConsumerAspect.java:194)
2011-02-18 11:52:02,503 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleReceive_4634459.invoke(ConsumerAspect_z_handleReceive_4634459.java)
2011-02-18 11:52:02,503 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,503 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
2011-02-18 11:52:02,503 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
2011-02-18 11:52:02,504 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,504 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.delegate.ClientConsumerDelegate.receive(ClientConsumerDelegate.java)
2011-02-18 11:52:02,504 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.jms.client.JBossMessageConsumer.receive(JBossMessageConsumer.java:81)
2011-02-18 11:52:02,504 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at integra.jms.reportfactory.ReportFactoryJMSSoapClient.getResult(ReportFactoryJMSSoapClient.java:80)
2011-02-18 11:52:02,504 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at integra.jms.reportfactory.ReportFactoryJMSRestClient.execute(ReportFactoryJMSRestClient.java:175)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at integra.jms.reportfactory.ReportFactoryJMSCommonClient.execute(ReportFactoryJMSCommonClient.java:22)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at integra.test.ClientSingleton.executeReport(ClientSingleton.java:40)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at integra.test.TestCallBean.test(TestCallBean.java:20)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2011-02-18 11:52:02,505 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at java.lang.reflect.Method.invoke(Unknown Source)
2011-02-18 11:52:02,506 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
2011-02-18 11:52:02,506 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
2011-02-18 11:52:02,506 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
2011-02-18 11:52:02,506 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
2011-02-18 11:52:02,506 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at java.lang.reflect.Method.invoke(Unknown Source)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,507 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
2011-02-18 11:52:02,508 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_4634459.invoke(InvocationContextInterceptor_z_fillMethod_4634459.java)
2011-02-18 11:52:02,508 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,508 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
2011-02-18 11:52:02,508 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_4634459.invoke(InvocationContextInterceptor_z_setup_4634459.java)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,509 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
2011-02-18 11:52:02,510 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,510 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
2011-02-18 11:52:02,510 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,510 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
2011-02-18 11:52:02,510 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,511 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
2011-02-18 11:52:02,511 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
2011-02-18 11:52:02,511 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,511 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
2011-02-18 11:52:02,511 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
2011-02-18 11:52:02,512 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,513 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
2011-02-18 11:52:02,513 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,513 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
2011-02-18 11:52:02,513 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-02-18 11:52:02,513 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:421)
2011-02-18 11:52:02,514 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
2011-02-18 11:52:02,514 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
2011-02-18 11:52:02,514 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
2011-02-18 11:52:02,514 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
2011-02-18 11:52:02,514 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
2011-02-18 11:52:02,515 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
2011-02-18 11:52:02,515 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:551)
2011-02-18 11:52:02,515 ERROR [STDERR] (WorkerThread#24[10.20.0.75:50388]) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
It seems to be a problem of aspect in SessionAspect.handlePreDeliver and SessionAspect.handlePostDeliver
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (EJBTHREE-1429) SFSB replication soak testing
by Brian Stansberry (JIRA)
SFSB replication soak testing
-----------------------------
Key: EJBTHREE-1429
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1429
Project: EJB 3.0
Issue Type: Task
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: AS 5.0.0.CR2
Long running tests of SFSB replication under heavy load.
Should include:
1) Letting a significant percentage of sessions passivate and later activate.
2) Letting a significant percentage of sessions expire due to time out.
3) Invalidating remaining sessions after a while (i.e. don't use any sessions for the life of test; all get used and replaced after a while).
4) Perhaps, a low (say 1/1000) probability of failover.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBAS-8894) Resource adapter deployment fails when an authentication-mechanism-type is defined
by Shelly McGowan (JIRA)
Resource adapter deployment fails when an authentication-mechanism-type is defined
----------------------------------------------------------------------------------
Key: JBAS-8894
URL: https://issues.jboss.org/browse/JBAS-8894
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Shelly McGowan
The the authentication-mechanism element of the ra.xml is used to specify the authentication mechanism supported by the resource adapter. If the authentication-mechanism-type is defined the deployment fails to PARSE
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
</authentication-mechanism>
19:10:19,387 ERROR [org.jboss.msc] (pool-2-thread-3) MSC-00001: Failed to start service jboss.deployment.unit.jbosstestadapter.rar.PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit.jbosstestadapter.rar.PARSE: Failed to process phase PARSE of deployment "jbosstestadapter.rar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:112)
at org.jboss.msc.service.ServiceInstanceImpl$StartTask.run(ServiceInstanceImpl.java:1163)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse service xml ["/content/jbosstestadapter.rar/META-INF/ra.xml"]
at org.jboss.as.connector.deployers.processors.RaDeploymentParsingProcessor.deploy(RaDeploymentParsingProcessor.java:92)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
... 4 more
Caused by: java.lang.IllegalArgumentException: fullQualifiedName should be one of javax.resource.spi.security.PasswordCredential; org.ietf.jgss.GSSCredential;javax.resource.spi.security.GenericCredential
at org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum.forName(CredentialInterfaceEnum.java:89)
at org.jboss.jca.common.metadata.ra.RaParser.parseAuthenticationMechanism(RaParser.java:1129)
at org.jboss.jca.common.metadata.ra.RaParser.parseResourceAdapter10(RaParser.java:631)
at org.jboss.jca.common.metadata.ra.RaParser.parseConnector10(RaParser.java:245)
at org.jboss.jca.common.metadata.ra.RaParser.parse(RaParser.java:160)
at org.jboss.jca.common.metadata.ra.RaParser.parse(RaParser.java:102)
at org.jboss.as.connector.deployers.processors.RaDeploymentParsingProcessor.deploy(RaDeploymentParsingProcessor.java:81)
The deployment does succeed if the authentication-mechanism element is empty.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months