[jboss-jira] [JBoss JIRA] (AS7-5291) JBOSS7 server calls getPrimaryKey() on Home interface business method on second call in same transaction

Mayank Gupta (JIRA) jira-events at lists.jboss.org
Fri Aug 3 04:05:06 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709632#comment-12709632 ] 

Mayank Gupta edited comment on AS7-5291 at 8/3/12 4:04 AM:
-----------------------------------------------------------

Build is failing in Arquillian Container Manager with following error:

Tests in error: 
  org.jboss.as.arquillian.container.managed.ManagedAsClientEnterpriseArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.ManagedAsClientWebArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.InjectManagementClientTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.IntegrationTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.InjectJndiContextTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined


Update: Resolved by killing the service running on port 8080
                
      was (Author: ion_mayank):
    Build is failing in Arquillian Container Manager with following error:

Tests in error: 
  org.jboss.as.arquillian.container.managed.ManagedAsClientEnterpriseArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.ManagedAsClientWebArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.InjectManagementClientTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.IntegrationTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
  org.jboss.as.arquillian.container.managed.InjectJndiContextTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
                  
> JBOSS7 server calls getPrimaryKey() on Home interface business method on second call in same transaction
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-5291
>                 URL: https://issues.jboss.org/browse/AS7-5291
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.1.Final
>            Reporter: Mayank Gupta
>            Assignee: jaikiran pai
>
> If any ejbHome business method is called more then once in same EJB transaction JBOSS7.1.1 server calls getPrimaryKey() on entity home interface. Following exception is thrown by JBOSS server.
> (java.lang.String): javax.ejb.EJBTransactionRolledbackException: JBAS014527: Cannot call getPrimaryKey() when state is entity bean home method
> 	at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:139)
> 	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:204)
> 	at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:306)
> 	at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
> 	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> 	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

--
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

        


More information about the jboss-jira mailing list