-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Illegal load factor: 0.75 during asynchronise processing
PostPosted: Fri Sep 01, 2006 4:22 am 
Newbie

Joined: Thu Jul 28, 2005 6:17 am
Posts: 14
Hi,

We have an application that uses JMS/MDB to send messages, processes these messages and persists derived (from messages) Hibernate-objects. Running a heavy load synchronise works fine but now that we use JMS/MDB on JBoss 4.0.2 and we get the following errors which occurs now and again:

Hibernate version: 3.0.5

java.lang.IllegalArgumentException: Illegal load factor: 0.75
at java.util.HashMap.<init>(HashMap.java:168)
at java.util.HashMap.<init>(HashMap.java:190)
at org.hibernate.engine.PersistenceContext.<init>(PersistenceContext.java:171)
at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:225)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:462)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:486)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:494)
at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean$TransactionAwareInvocationHandler.invoke(LocalSessionFactoryBean.java:988)
at $Proxy64.openSession(Unknown Source)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:395)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:281)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:217)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy68.findBerichtByActiviteitId(Unknown Source)
at nl.ictu.spg.service.lo3.gbanetwork.LO3BerichtUtil.locateLO3Bericht(LO3BerichtUtil.java:421)
at nl.ictu.spg.service.lo3.gbanetwork.LO3BerichtActiviteit.<init>(LO3BerichtActiviteit.java:129)
at nl.ictu.spg.domain.activityflow.ActivityflowFactory.initializeWorkFlowActiviteit(ActivityflowFactory.java:160)
at nl.ictu.spg.domain.activityflow.ActivityflowFactory.loadWorkFlowActiviteit(ActivityflowFactory.java:136)
at nl.ictu.spg.service.lo3.gbanetwork.LO3BerichtDispatcher.dispatch(LO3BerichtDispatcher.java:37)
at nl.ictu.spg.integration.idvmessageprocessing.ejb.SpGBerichtDispatcherMDB.dispatchIndividualId(SpGBerichtDispatcherMDB.java:98)
at nl.ictu.spg.integration.idvmessageprocessing.ejb.SpGBerichtDispatcherMDB.dispatchArrayOfIds(SpGBerichtDispatcherMDB.java:108)
at nl.ictu.spg.integration.idvmessageprocessing.ejb.SpGBerichtDispatcherMDB.onMessage(SpGBerichtDispatcherMDB.java:79)
at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:153)
at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:32)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:87)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1090)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
at org.jboss.mq.SpySession.run(SpySession.java:333)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:534)
b]

[b]Name and version of the database you are using: Postgres 8.0.3

Spring 1.2.3
JBoss 4.0.2
JDK 1.4.2_08

Hope someone can help.

Thanks.
Maarten


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.