-->
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: when clustering JBoss
PostPosted: Mon Sep 15, 2008 5:31 am 
Newbie

Joined: Mon Sep 15, 2008 5:23 am
Posts: 1
Hi all,

I am trying to cluster an application of which all the database TX's are managed by means of Hibernate configuration. And the application is running very well on a single jboss instance. But, when the clustering support is given to it, its generating a NPE


17:57:05,742 ERROR [STDERR] Exception in thread "Timer-10"
17:57:05,742 ERROR [STDERR] java.lang.NullPointerException
17:57:05,742 ERROR [STDERR] at com.casper.db.hibernate.DataConnect.getCurrentSession(DataConnect.java:91)
17:57:05,742 ERROR [STDERR] at com.casper.db.query.customer.ConversationsRecipientQuery.getAllUnreadedMails(ConversationsRecipientQuery.java:94)
17:57:05,742 ERROR [STDERR] at com.casper.db.services.ConversationsService.getAllUnreadedMails(ConversationsService.java:452)
17:57:05,742 ERROR [STDERR] at com.casper.web.portal.ui.CasperPortalHeader$4.run(CasperPortalHeader.java:347)
17:57:05,742 ERROR [STDERR] at com.casper.web.portal.ui.CasperPortalHeader$5.run(CasperPortalHeader.java:378)
17:57:05,742 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
17:57:05,743 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)



Please let me know If I need to take any care about the hibernate code, when clustering an application.



- Hoping to listen from you at the earliest with your suggestions and making a healthy discussion.


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.