Search:

Type: Posts; User: srinivas_nandula; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    25
    Views
    3,530

    Transaction Configuration.

    This is my configuration for transactions..


    <bean id="userDetailsService"
    class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
    <property...
  2. Replies
    25
    Views
    3,530

    logs

    Thanks again..I appreciate it. Just to be able to discount hibernate, i changed my DAO to extend JDBCDAOSupport and used JDBC to connect to the database. The results are attached in a zip file. The...
  3. Replies
    25
    Views
    3,530

    Zipped Log Files

    Sorry about that long post. I zipped the entire logs and send them out to you.. You could search by the string ''Start of getting user''. At the bottom, you will find the code as well.
  4. Replies
    25
    Views
    3,530

    Application Logic

    The main application logic that gets called..


    log.info("Inside loadUserByUsername ---" + userName);
    // first get the User..
    boolean isSuperAdmin = false;
    log.info("Start of getting user...
  5. Replies
    25
    Views
    3,530

    Hibernate Logs

    2008-02-05 09:41:12,765 [http-8080-Processor24] DEBUG org.springframework.transaction.interceptor.TransactionInterceptor - Invoking commit for transaction on...
  6. Replies
    25
    Views
    3,530

    Hibernate Logs

    2008-02-05 09:40:52,765 [http-8080-Processor24] INFO com.ebizformedia.dao.impl.AuthenticationDAO - Start of getting user roles20080205:094052
    2008-02-05 09:40:52,765 [http-8080-Processor24] DEBUG...
  7. Replies
    25
    Views
    3,530

    Hibernate Logs

    2008-02-05 09:40:46,859 [http-8080-Processor24] DEBUG org.hibernate.jdbc.AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
    2008-02-05 09:40:46,859 [http-8080-Processor24]...
  8. Replies
    25
    Views
    3,530

    Hibernate Logs

    I am adding logs as subsequent posts as they are too long

    2008-02-05 09:40:27,937 [http-8080-Processor24] INFO com.ebizformedia.dao.impl.AuthenticationDAO - Inside loadUserByUsername...
  9. Replies
    25
    Views
    3,530

    Hibernate Logs

    This is the logic..


    String queryString = "from " + EbizForMedia.HbntEntities.ENTITY_NAME_APP_USER + " where userName = ?";
    Query query =...
  10. Replies
    25
    Views
    3,530

    Hibernate Logs

    Thanks again for the help.. As requested, please find some hibernate logs. I narrowed it down to the area where it is taking time.

    2008-02-04 17:35:52,921 DEBUG [org.hibernate.type.StringType] -...
  11. Replies
    25
    Views
    3,530

    Data Access Slow

    As suggested by everyone here i set the logger to debug level on spring. Please find the times marked in red. there is a 30 second gap on getting the session holder assigned to a given thread. I...
  12. Replies
    25
    Views
    3,530

    Initial Data Access slow

    Thanks for the response

    we do have hibernate mapping with lazy loading set to false. I tried to capture a scenario when this is happening.

    First time i login, it takes a minute. Susbequent...
  13. Replies
    25
    Views
    3,530

    Initial Data Access Slow

    My application uses spring with Hibernate and deployed on a tomcat server. I initially used commons dbcp for connection pooling. The first time i login to the application, it takes about a minute for...
  14. Replies
    2
    Views
    856

    I found out the issue.. It has nothing to do...

    I found out the issue..

    It has nothing to do with Spring transactions. My bad. I was not doing a flush and a clear on the hibernate session for each insert. That was the problem.

    Flush and...
  15. Replies
    2
    Views
    856

    Any Ideas? I look at the memory usage.. when i...

    Any Ideas? I look at the memory usage.. when i loop inside the transaction. It takes up about 80% of the memory and CPU is 100%. If i take out the loop from inside the transaction boundary and loop...
  16. Replies
    2
    Views
    856

    Trasactions and Performance

    Our Project requires a bulk upload of data into the database on a trasactional basis. We are using Spring's TransactionProxyFactoryBean to provide declarative transactions in our method. I was doing...
  17. Replies
    2
    Views
    1,200

    Anonymous Authentication

    I found out why the NullPointerException is occurring in the RoleVoter. Its the grantedAuthorities which was returning null on the UserDetailsObject which was returning null.

    I wrote a custom DAO...
  18. Replies
    2
    Views
    1,200

    Anonymous Login not working

    I am trying to do an anonymous login for a user who does not have any roles. My application context file is as below. When i try to login i get a Null Pointer Exception. I am not sure what is wrong....
  19. Replies
    3
    Views
    909

    Affirmitive vs Unanimous

    Thanks for the reply..I made the change to use Affirmitive based access decision and it works now.

    I was under the impression , that Unanimous or Affirmitve is based on the list of rolevoters i...
  20. Replies
    3
    Views
    909

    ACEGI Help

    I am trying to provide anonymous authentication for my application. I provided the required anonymousProcessingFilter in my applicationContext. But in my object source defintion, when i provide...
Results 1 to 20 of 21