Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    327

    bug in StaxEventsItemReader

    some type of malformed xml, such as
    <imagepath>0001920.tif/imagepath> // missing opening < at end tag

    causes a ArrayIndexOutOfBoundsException, which is mishandled by the retry/skip...
  2. Replies
    3
    Views
    387

    ok. just wanted confirmation.

    ok. just wanted confirmation.
  3. Replies
    4
    Views
    944

    I get you. so the reason the two concepts are...

    I get you. so the reason the two concepts are linked is because the state is there to set the restart counter.

    btw, is the execution context persistent?
  4. Replies
    3
    Views
    387

    I am referring to Partitioning Sample...

    I am referring to

    Partitioning Sample (partition)

    The purpose of this sample is to show multi-threaded step execution using the PartitionHandler SPI. The example uses a...
  5. Replies
    4
    Views
    944

    I am referring to statements like Most of the...

    I am referring to statements like

    Most of the out-of-the-box ItemReader and ItemWriter implementations are not designed to work in this scenario because they need to be restartable and they are...
  6. Replies
    4
    Views
    944

    restart vs. thread safety

    I am really confused why every time the documentation covers thread safety, is pulls in restart. How is restart related to statefulness of the reader and writers?

    If I understand correctly, the...
  7. Replies
    3
    Views
    387

    partitioning and thread safety

    I want to make sure I understand this.

    a partitioned step using partitioner and splitter are multi-threaded (as supposed to multi-processed), but each thread has its own instance of the step, and...
  8. Replies
    3
    Views
    662

    I found the answer...

    I found the answer
    http://stackoverflow.com/questions/3230608/spring-3-annotations-hibernatedaosupport-repository-requires-session-factory

    The trick is to add
    @Autowired(required=true)
    public...
  9. Replies
    3
    Views
    662

    I added the autowire annotation, but it does not...

    I added the autowire annotation, but it does not fix the code.

    The problem from what I can see is that the second constructor

    @Autowired(required=true)
    public...
  10. Replies
    3
    Views
    662

    second data source

    I could not resolve this issue. here is a second try to explain my case.

    I am using DAO's that extends HibernateDaoSupport.

    I need to get data from two different data sources in one...
  11. Replies
    2
    Views
    903

    that worked, yes!

    that worked, yes!
  12. Replies
    2
    Views
    903

    call transaction.begin programmatically

    I posted this once before it disappeared.

    I am using Spring OpenSessionInViewFilter to commit hibernate transactions. My DAO's extends HibernateDaoSupport.

    whenever I request a database...
  13. Replies
    4
    Views
    596

    after stepping thru the code, I don't think it...

    after stepping thru the code, I don't think it has to do with the tx declaration. the second set of dao's are not getting the right sessionFactory.

    I found this posting
    "You have to create...
  14. Replies
    4
    Views
    596

    so, what should i do instead?

    so, what should i do instead?
  15. Replies
    4
    Views
    596

    can't find second sessionFactory

    my application needs to access two data sources, so I declared two versions of transactionmanager, sessionfactory, and datasource. the first works, as it always did when I had only one data source....
  16. Replies
    1
    Views
    665

    second log in bump out first log in

    I am using acegi concurrent-session-control to limit one user to one session.

    <concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="true" expired-url="/home.html" />

    this...
  17. Replies
    5
    Views
    1,957

    now I added the @SqlResultSetMapping ...

    now I added the @SqlResultSetMapping

    @NamedNativeQuery(
    name = "getLeadSourceStats",
    callable = true,
    query = "call lead_src_prop()",
    resultSetMapping = "statmapping",
    readOnly =...
  18. Replies
    5
    Views
    1,957

    I got much further. @NamedNativeQuery( name...

    I got much further.

    @NamedNativeQuery(
    name = "getLeadSourceStats",
    callable = true,
    query = "call lead_src_prop(:userid)",
    readOnly = true,
    resultClass = LeadSourceStat.class
    )
  19. Replies
    5
    Views
    1,957

    did all the preliminaries. commented out the...

    did all the preliminaries. commented out the attributes, did not help.

    applicationContext.xml is all right, because commenting out the entire @NamedQuery worked.
  20. Replies
    5
    Views
    1,957

    @NamedQuery fails

    I insert a @NamedQuery into an entity class, now the app does not start

    @NamedQuery(
    name = "LeadSourceStats",
    // callable = true,
    query = "call lead_src_prop(:userid)",
    readOnly =...
  21. thank you very much. the problems you pointed out...

    thank you very much. the problems you pointed out were the cause. now working.
  22. spring security 2.0.4 session control ignored

    I add max sessions into applicationContext-security.xml, and there is no error or any thing. But when I logged in as the same user twice, both succeeded. No error at all.


    <?xml version="1.0"...
  23. thank you every for all the help. here is where...

    thank you every for all the help. here is where it stands.

    I already removed AuthenticationProvider implementation. so that can not be the source of the problem.

    org.acegisecurity classes were...
  24. I added a alias to authentication-manager, now it...

    I added a alias to authentication-manager, now it gets past this step. I have no idea why a fictitious alias referring to nothing real would work.

    now I get a
    No AuthenticationProvider found for...
  25. I use a completely different type of browser,...

    I use a completely different type of browser, like switch from FF to IE when I test the second login.

    thanks a lot for the link. I used material from there. now something that worked start to...
Results 1 to 25 of 49
Page 1 of 2 1 2