[JBoss-user] Sar deployment order question
Hi all I've packager my application's jar and war into a sar archive and at the first startup of jboss I receive many deployment errors. I know that this is because the datasources used by my application are deployed and bounded to jndi after the sar deployment, but I don't know hot to tell jboss that my application has to be deployed at the end of the startup process. Any suggestions? Thanks Davide signature.asc Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
[JBoss-user] Little question about transaction attributes
Hi all I have a little question about the transaction attributes that an ejb method can have; I know that if my BeanA has a method getA() with RequiresNew attribute and my beanB invokes it (acting as a client for BeanA), a new transaction starts for the duration of the getA() execution. But does the same thingh happen if the same BeanA calls getA() from another method calculateA()? Can an EJB act as a client of itself ? Thanks in advance Davide signature.asc Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Re: Re[2]: [JBoss-user] Application deadlock detected: Two or moretransactions contention.
Hi Alexey, On the previous post you say: Some threads are accessing the same set of beans in different order. Many times reading other posts or the JBoss documentation, I've found this phrase, but I can't understand it very well... What's the meaning of the entity beans ordered access (see JBoss Administration and Development 2nd ed. pag 208) ? Thanks in advance Davide signature.asc Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
[JBoss-user] javax.naming.NameNotFoundException after some redeploys
As the subject says, it happens that after some redeploys, a javax.naming.NameNotFoundException is thrown when on my web client I try to lookup the first Stateless session bean remote interface. At this point to have my app. working, I have to to restart jboss. Any suggestion? Thanks Davide signature.asc Description: PGP signature
[JBoss-user] Random NullPointerException on finders
On my jboss 3.2.1 sometimes I get the following exception: [.] 2003-06-19 09:53:47,949 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Food] Executing SQL: SELECT sAliCodice, sAliDescr, sAliDescrEst, sAliCodiceIso, iUmiId FROM TALI_ALIMENTI WHERE (iAliId=?) 2003-06-19 09:53:48,176 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy: java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.getFieldState(JDBCCMP2xFieldBridge.java:124) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue(JDBCCMP2xFieldBridge.java:221) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue(JDBCCMP2xFieldBridge.java:159) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadInstanceResults(JDBCAbstractCMPFieldBridge.java:325) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:190) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:83) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:632) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:565) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:508) at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:124) at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59) at com.axios.entity.IngredientCMP$Proxy.getFood(generated) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1044) at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:301) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:82) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:174) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:483) at org.jboss.ejb.Container.invoke(Container.java:674) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38) at $Proxy201.getFood(Unknown Source) at com.axios.session.RecipeBookBean.calculateCalories(RecipeBookBean.java:1651) at com.axios.session.RecipeBookBean.listRecipeIngredients(RecipeBookBean.java:603) at com.axios.session.RecipeBookBean.calculateRecipeCalories(RecipeBookBean.java:515) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
Re: Re[2]: [JBoss-user] Random NullPointerException on finders
On my application, last time, it has happened just some minutes after a startup (first deploy) Bye Hello, Simone. Thursday, June 19, 2003, 3:39:16 PM, Simone Milani wrote: SM Hi Davide, SM I posted a bug on the issue, but still got no reply yet. SM http://sourceforge.net/tracker/index.php?func=detailaid=738166group_id=22866atid=376685 The stacktraces are just different I wouldn't be sure they have the same cause. SM According to my investigation the bug manifest itself after having done SM some redeployments. I believe it is due to a memory leak in the SM redeployment process. So, you don't have the problem at first deploy? It is really important and could help in fixing it. Could you please check it? Thank you, alex SM Regards SM Simone --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user signature.asc Description: PGP signature
[JBoss-user] Unable to passivate due to ctx lock
Can anyone tell me the meaning of this messages? [...] 17:04:38,714 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock, id=[.4228.] 17:04:39,020 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock, id=[.46.] 17:04:39,727 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock, id=[.937.] [...] Thanks! Davide signature.asc Description: PGP signature
[JBoss-user] [JBoss-user]
Hi, Can anyone tell me how to increase the transaction timeout on Jboss 3.0.6 and on Jboss 3.2.1? Thanks Davide signature.asc Description: PGP signature
Re: [JBoss-user] CMR Error under load
Hi, On my application (under JBOSS 3.2RC5) I have the same problem and I've found that happens only when the CMR getter methods (from which I obtain the iterators...) are set as read-only on jboss.xml. So, in my opinion, the main question is: Is it legal to set a CMR getter method as read-only ? Or is it a bug? Davide Pozza signature.asc Description: PGP signature