First of all, to generate thread dumps and see where threads holding write locks might be stuck, see generating thread dumps wiki: http://www.jboss.org/community/wiki/StackTrace
I must say that 100ms for lock timeout is pretty small. Something around 10-20 seconds is more usual. Rather than increasing the lock timeout to insane numbers, use thread dumps to figure out what's holding up the progress or if there're any deadlocks...etc There're even tools like TDA or Samurai that can help analyze them.
WRT "Caused by: java.lang.IllegalStateException: Cache not in STARTED state!" message, that looks strange, did you check whether stop/destroy was called at some point?
Finally, when you say that your cache usage is very write heavy, do you mean that you call attach() loads of times? Or that once you've attached a Pojo to the cache, you modify it via its set methods very often?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239697#4239697
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239697
Hi,
While using Jboss MQ ,my application used to specify a set of in memory queue as follows
| <mbean code="org.jboss.mq.server.jmx.Queue"
| name="jboss.mq.destination:service=Queue,name=nonpersistentQueue">
| <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
| <attribute name="InMemory">true</attribute>
| </mbean>
|
I am unable to figure out how to achieve an 'in memory' functionality using Jboss Messaging since the attribute is no longer supported.
Any pointers in this regard will be highly appreciated.
Thanks
P.S >
I can use a null persistence manager but that would change the behavior for all my queues, its just this one queue which should be in memory, the others should use the configured persistence manager
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239690#4239690
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239690
Hi Wolfgang,
I removed the JSF libraries from the WEB-INF\lib folder. Now I am getting the following exception:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.lang.IllegalArgumentException
Cant create Lifecycle for id: com.sun.faces.lifecycle.PARTIAL.
Possible Source of Error:
Class Name: com.sun.faces.lifecycle.LifecycleFactoryImpl
File Name: LifecycleFactoryImpl.java
Method Name: getLifecycle
Line Number: 136
Thanks,
Allen
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239688#4239688
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239688