0 Replies Latest reply on Sep 26, 2001 3:48 PM by Rogelio Triviño

    problem with findAll when accesing from internet (timeout)

    Rogelio Triviño Newbie

      Hi: I'm accessing session beans from client applets. Everything it's ok when I access from the local net.
      Trying to access from internet I get a 10 minutes delay, and I see the following in the console, that show an exception in findAll (looking for entity beans to collect data for the client). Sometimes got into the applet without data, sometimes got correctly after 1 minutes. I have open in my firewall the 1099, the 1100 (I have fixed here the rmi), the 4444 and 8083 and 8080, and I don't see any log on it.
      Any ideas?
      Thanks
      [Default] 25/09/01 22:24:53 va a por: /es/jsp/appletMantClientes.jsp
      [JBossSecurityMgrRealm] preService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [JBossSecurityMgrRealm] postService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [JBossSecurityMgrRealm] postService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [Bean Cache] Resized cache for bean Cliente: old capacity = 1000, new capacity = 50
      [EmbeddedTomcatSX] 2001-09-25 22:27:42 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /null + null) null
      [EmbeddedTomcatSX] 2001-09-25 22:27:51 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /org/jboss/security/SecurityAssociation.class + null) null
      [EmbeddedTomcatSX] 2001-09-25 22:27:52 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /org/jboss/security/SecurityAssociation$RunAsThreadLocalStack.class + null) null
      [Bean Cache] Resized cache for bean Negociacion: old capacity = 1000, new capacity = 50
      [Bean Cache] Resized cache for bean Campanha: old capacity = 1000, new capacity = 50
      [Bean Cache] Resized cache for bean Datos: old capacity = 1000, new capacity = 50
      [CadenaManager] Transaction XidImpl [FormatId=257, GlobalId=www.easychangeweb.com//1, BranchQual=] timed out. status=STATUS_ACTIVE
      [Default] 25/09/01 22:41:03 encontrado el EJB Cadena
      [JAWS] java.lang.RuntimeException: Unable to register with TransactionManager: javax.transaction.RollbackException: Already marked for rollback
      [JAWS] at org.jboss.pool.jdbc.xa.XAConnectionFactory.prepareObject(XAConnectionFactory.java:300)
      [JAWS] at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:566)
      [JAWS] at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:538)
      [JAWS] at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:680)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:152)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.java:87)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:153)
      [JAWS] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersistenceManager.java:144)
      [JAWS] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:305)
      [JAWS] at org.jboss.ejb.EntityContainer.find(EntityContainer.java:567)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:843)
      [JAWS] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:231)
      [JAWS] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:154)
      [JAWS] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:108)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
      [JAWS] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:103)
      [JAWS] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
      [JAWS] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:420)
      [JAWS] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:437)
      [JAWS] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
      [JAWS] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
      [JAWS] at $Proxy20.findAll(Unknown Source)
      [JAWS] at com.mediaadbox.ejb.cadena.CadenaManagerBean.refrescarCadenas(CadenaManagerBean.java:397)
      [JAWS] at com.mediaadbox.ejb.cadena.CadenaManagerBean.getCadenasContactos(CadenaManagerBean.java:205)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543)
      [JAWS] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      [JAWS] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      [JAWS] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      [JAWS] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [JAWS] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:393)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      [JAWS] at sun.rmi.transport.Transport$1.run(Transport.java:142)
      [JAWS] at java.security.AccessController.doPrivileged(Native Method)
      [JAWS] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
      [JAWS] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
      [JAWS] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
      [JAWS] at java.lang.Thread.run(Thread.java:484)
      [Default] 25/09/01 22:41:03 encontrado el EJB Cadena
      [JBossSecurityMgrRealm] Authenticating access, username: null R( /mediaadboxtv + /es/jsp/menu.jsp + null)
      [JBossSecurityMgrRealm] ClassLoader: AdaptiveClassLoader( ):8032804
      [JBossSecurityMgrRealm] Servlet ClassLoader: AdaptiveClassLoader( ):8032804
      [JBossSecurityMgrRealm] Username: null is authenticated
      [JBossSecurityMgrRealm] preService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/menu.jsp + null)
      [JBossSecurityMgrRealm] postService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/menu.jsp + null)
      [JBossSecurityMgrRealm] Authenticating access, username: null R( /mediaadboxtv + /servlet/GestorMenus + null)
      [JBossSecurityMgrRealm] ClassLoader: AdaptiveClassLoader( ):8032804
      [JBossSecurityMgrRealm] Servlet ClassLoader: AdaptiveClassLoader( ):8032804
      [JBossSecurityMgrRealm] Username: null is authenticated
      [JBossSecurityMgrRealm] preService, user=null, SA.principal=null, request=R( /mediaadboxtv + /servlet/GestorMenus + null)
      [Default] entra a processRequest
      [Default] pone locale por defecto
      [Default] va a por los erroresbundle
      [Default] busca la accion
      [Default] la accion es: menu
      [Default] 25/09/01 22:42:48 va a por: /es/jsp/appletMantClientes.jsp
      [JBossSecurityMgrRealm] preService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [JBossSecurityMgrRealm] postService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [JBossSecurityMgrRealm] postService, user=null, SA.principal=null, request=R( /mediaadboxtv + /es/jsp/appletMantClientes.jsp + null)
      [EmbeddedTomcatSX] 2001-09-25 22:45:36 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /null + null) null
      [EmbeddedTomcatSX] 2001-09-25 22:45:43 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /org/jboss/security/SecurityAssociation.class + null) null
      [EmbeddedTomcatSX] 2001-09-25 22:45:44 - Ctx( /mediaadboxtv ): 404 R( /mediaadboxtv + /org/jboss/security/SecurityAssociation$RunAsThreadLocalStack.class + null) null
      [Cadena] Activated bean Cadena with id = TVE1
      [Cadena] Activated bean Cadena with id = A3(A)
      [Default] 25/09/01 22:45:46 devolviendo lista cadenas contactos al cliente
      [Default] 25/09/01 22:45:46 encontrado el EJB Cadena
      [CadenaManager] Transaction XidImpl [FormatId=257, GlobalId=www.easychangeweb.com//3, BranchQual=] timed out. status=STATUS_ACTIVE
      [CadenaManager] Transaction XidImpl [FormatId=257, GlobalId=www.easychangeweb.com//7, BranchQual=] timed out. status=STATUS_ACTIVE
      [Default] 25/09/01 22:54:13 encontrado el EJB Cliente
      [JAWS] java.lang.RuntimeException: Unable to register with TransactionManager: javax.transaction.RollbackException: Already marked for rollback
      [JAWS] at org.jboss.pool.jdbc.xa.XAConnectionFactory.prepareObject(XAConnectionFactory.java:300)
      [JAWS] at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:566)
      [JAWS] at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:538)
      [JAWS] at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:680)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:152)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.java:87)
      [JAWS] at org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:153)
      [JAWS] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersistenceManager.java:144)
      [JAWS] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:305)
      [JAWS] at org.jboss.ejb.EntityContainer.find(EntityContainer.java:567)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:843)
      [JAWS] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:231)
      [JAWS] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:154)
      [JAWS] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:108)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
      [JAWS] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:103)
      [JAWS] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
      [JAWS] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:420)
      [JAWS] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:437)
      [JAWS] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
      [JAWS] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
      [JAWS] at $Proxy21.findAll(Unknown Source)
      [JAWS] at com.mediaadbox.ejb.cliente.ClienteManagerBean.refrescarClientes(ClienteManagerBean.java:230)
      [JAWS] at com.mediaadbox.ejb.cliente.ClienteManagerBean.getClientes(ClienteManagerBean.java:44)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543)
      [JAWS] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [JAWS] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      [JAWS] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      [JAWS] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      [JAWS] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [JAWS] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:393)
      [JAWS] at java.lang.reflect.Method.invoke(Native Method)
      [JAWS] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      [JAWS] at sun.rmi.transport.Transport$1.run(Transport.java:142)
      [JAWS] at java.security.AccessController.doPrivileged(Native Method)
      [JAWS] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
      [JAWS] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
      [JAWS] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
      [JAWS] at java.lang.Thread.run(Thread.java:484)
      [Default] 25/09/01 22:54:13 encontrado el EJB Cliente
      [JAWS] java.lang.RuntimeException: Unable to register with TransactionManager: javax.transaction.RollbackException: Already marked for rollback