Results 1 to 3 of 3

Thread: need help making spring and iBatis work in JBoss 5.1 - getting exception

  1. #1
    Join Date
    Sep 2012
    Posts
    3

    Default need help making spring and iBatis work in JBoss 5.1 - getting exception

    hello all,



    i am converting older webshere, spring and ibatis services to jboss 5.1.



    i have my web services deployed but when i fire my test calls (using soapUI) at the service, i get the following error


    Code:
    12:55:58,156 INFO  [STDOUT] 12:55:58,155 ERROR [MembershipService] Caught Throwable while processing lookupMemberships, request: com.sears.hs.subscription.service.request.LookupRequest@13428df StackTrace:                                                                  
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)                                                                                                                                                                         
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
            at $Proxy355.getConnection(Unknown Source)
            at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:200)
            at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
            at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
            at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
            at $Proxy357.lookupMemberships(Unknown Source)
            at com.sears.hs.subscription.service.MembershipService.lookupMemberships(MembershipService.java:95)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    Hello

    That is the complete error stack trace?.

    Something is wrong with

    at $Proxy355.getConnection(Unknown Source)
    ...
    at $Proxy357.lookupMemberships(Unknown Source)
    at com.sears.hs.subscription.service.MembershipService.lookupMemberships(MembershipService.java:95)


    BTW Spring 3 should work with MyBatis now, Ibatis has moved to be Mybatis
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #3
    Join Date
    Sep 2012
    Posts
    3

    Default

    hello,

    thank you for the reply - much appreciated. i am an newbie with Spring and have never posted to this forum.

    no - this is not the complete stack trace.

    when i CnP'd the entire stack trace - i received an error message that i had exceeded the maximum amount of characters for the posting.

    i did manage to figure out what the issue was and wanted to share it.

    the original code had all of the db2 libs packaged in the war file.

    when i converted the code for deployment to jboss - i used the standard practice of deploying all of the libs to the $JBOSS_HOME/server/default/lib directory.

    when i removed these libs from the .war file - the error went away.

    thx again for replying to my post

    mark



    Quote Originally Posted by dr_pompeii View Post
    Hello

    That is the complete error stack trace?.

    Something is wrong with

    at $Proxy355.getConnection(Unknown Source)
    ...
    at $Proxy357.lookupMemberships(Unknown Source)
    at com.sears.hs.subscription.service.MembershipService.lookupMemberships(MembershipService.java:95)


    BTW Spring 3 should work with MyBatis now, Ibatis has moved to be Mybatis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •