[jboss-user] [EJB 3.0 Users] - EJB3 entity cache in default configuration

2009-10-06 Thread usubhash
Hi,
I am using JBoss 4.2.3 and "Default" configuration. 

Now I have a need to do entity caching. I can see lot of documentation for 
caching the entities with "All" configuration or clustered environment.


Is there a way to achieve entity caching for non-clustered environment? Or 
Default configuration of JBoss?

 Any pointers will be greatly appreciated.

Thanks,
Subhash

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258973#4258973

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: JMS Persistence Manager Exception

2009-04-28 Thread usubhash
Hi,
 Thank you for your reply. What I understand to do is to edit the 
mysql-jdbc2-service file to reflect the correct JMS Messages and transactions 
table.
 
  In my case, I have two instances of JBoss running in the same environment 
and pointing to the same DB. 
 What is the solution in this kind of situation? 
  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227279#4227279

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227279
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: JMS Persistence Manager Exception

2009-04-27 Thread usubhash
Hi Adrian,
 I ran into the same situation where I have load balancer environment 
and both instances are trying to create entry into JMS_MESSAGES table with the 
same primary key. The exception that I am getting is :
org.jboss.mq.SpyJMSException: Could not store message: 4276 msg=4275 hard 
NOT_STORED PERSISTENT queue=QUEUE.DLQ priority=4 lateClone=false 
hashCode=10168191; - nested throwable: 
(com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '4275-QUEUE.DLQ' for key 'PRIMARY')
  | Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '4275-QUEUE.DLQ' for key 'PRIMARY'
  | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
  | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)

  I am using JBoss 4.2.3 and MySql to store JMS messages. I could not 
understand about creating multiple persistence managers. I am also wondering as 
this is a thread of 5 years old, you might have come across a better solution.
   Please let me know.

Thanks,
Subhash


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226686#4226686

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user