3 Replies Latest reply on Nov 10, 2010 3:31 AM by wdfink

    Issue in JBoss:application not updating data

    saradakrishna

      Dear All,

       

      I have deployed an application on Jboss-4.2.0.

      When I login to the application as a user and do something like adding some data, and its reflecting in the database.

      but when a different user logs in to the application, the change or updation made by other user is not reflecting in his page.

       

      I  guess some problem in JBoss cache or need to change in some configuration.

      Please help me out.

        • 1. Re: Issue in JBoss:application not updating data
          wdfink

          How do you see the changes in database? By SQL client (different transaction) or only in you app?

           

          How do you persist? EJB2, EJB3, plain SQL?

          Do you use transactions?

          • 2. Re: Issue in JBoss:application not updating data
            saradakrishna

            Dear Wolf,

            I used MySQL QueryBrowser for viewing changes in the database.

             

            I have not used any EJB.But for persistance layer,i have used iBatis.

            yes, I use transactions.

             

            Please tell me where is the problem.....

            • 3. Re: Issue in JBoss:application not updating data
              wdfink

              Dear Sarada,

              I can't tell you where the problem is ...

              that is your job, but the community will help you with tips and ideas.

               

              So you talk about 'JBoss cache' what you mean by this?

              Do you use JB Cache explicit? Or you mean ... some cached data ...?

               

              How does the app work?

              web-app session store data

              other web-app (other session or browser) try to read this, direct from DB or by iBatis?

               

              I don't know iBatis, but do you have persistence caching here?