Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    897

    JMS for shared hosting...

    Hi all,
    I'm looking for a embedded jms which I would be able to use in
    shared hosting. All I need is just jdbc persistence.
    Is there something like that?
    thanks.
    Alex.
  2. Replies
    2
    Views
    590

    and my persistence.xml: ...

    and my persistence.xml:




    <persistence-unit name="test1" >

    <class>myclass</class>
  3. Replies
    2
    Views
    590

    looking at...

    looking at http://jencks.codehaus.org/Outbound+JDBC
    I was trying to use this config:




    <beans>

    <!-- ###### Transaction manager ###### -->
  4. Replies
    2
    Views
    590

    openjpa + jencks...

    how do I configure jencks + openjpa ? I'm going to use jta outside of container...
    is there an example somewhere?
    thanks,
  5. here is 1 more post describing the same problem....

    here is 1 more post describing the same problem.
    http://forum.springsource.org/showthread.php?t=72565
  6. lazy loading doesnt work with AbstractJpaTests...

    Hi All,
    using spring 2.5.4,openjpa 1..2.1
    I'm trying to run simple test :



    //check lazy loading
    User user2 = userDao.select(user.getId());
    endTransaction();
    List<Role> list =...
  7. Replies
    0
    Views
    1,066

    "The context has been closed." error

    hi all,
    I'm trying to test lazy loading (EAGER is working) and I'm getting this error:
    <openjpa-1.2.1-r752877:753278 fatal user error> org.apache.openjpa.util.InvalidStateException: The context has...
  8. Replies
    1
    Views
    872

    debug messages...

    hi all,
    I'm getting this messages like every second:
    2008-10-16 16:52:06,062 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer] - Consumer [ActiveMQMessageConsumer {...
  9. Replies
    0
    Views
    746

    about xml schema...

    hi all,
    I use this file for activemq configuration, but every time I start
    web project in eclipse it's trying to access http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd. I have local...
  10. DefaultMessageListenerContainer and transactions...

    hi all,
    is sessionTransacted property required if I need to make onmessage
    transactional?

    <bean id="listenerContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer">...
  11. Replies
    1
    Views
    853

    simple queue provider?

    hi all,
    is there a simple jms library which would give me basic jms functionality
    based on jdbc only.
    I'm writing a small app and I need to include db and jms in 1 transaction, but
    I'm going to...
  12. Replies
    0
    Views
    721

    jndi datasource configuration ...

    hi all,
    I'm trying to get geronimo jndi datasorce to use in testing like:



    ...
    protected DataSource dataSource;

    public UserDAOTest() {
    ...
  13. Replies
    5
    Views
    1,361

    inside UserDAO: public void deleteUser(User...

    inside UserDAO:
    public void deleteUser(User user) throws Exception {
    try {
    sqlMapClient.delete("deleteUser", user);
    jms.send();
    }

    }

    the goal...
  14. Replies
    5
    Views
    1,361

    even if I'm going to use only 1 database?...

    even if I'm going to use only 1 database? actually , that's what I need currently.
    I'm trying to use same mysql db as a datasource for ibatis and activemq persistence.
  15. Replies
    5
    Views
    1,361

    ibatis + jms in the same transaction...

    hi all,
    is it possible to use jms and SqlMapClient in the same transaction if they use same datasource?
    will it be just enough to set same datasource to jdbcPersistenceAdapter on jms side ?
    ...
  16. Replies
    1
    Views
    989

    where is SimpleSqlParameterSource?

    Hi all,
    does it exist in spring2.o?

    thanks.
  17. Replies
    2
    Views
    1,071

    formBackingObject and null

    Hi All,
    in this code if obj doesn't exist I'd get an error(because of null). I'd like to show an error "Id doesnt exist" same way as using Validator. how can I do that?
    thank.



    protected...
  18. Thread: db indexing...

    by aaaaa
    Replies
    1
    Views
    1,618

    db indexing...

    Hi all,
    where can I find working examples how to index data from db using lucene module?

    thanks.
  19. Replies
    1
    Views
    890

    case 1: if I make 1st visit to web site - log in ...

    case 1: if I make 1st visit to web site - log in and say "remember me"- then I'll be able to log out without any problems.

    case 2: I make 1st visit to web site - log in and say "remember me" and...
  20. Replies
    1
    Views
    890

    logout doesn't work...

    Hi All,
    could somebody explain me why logout doesn't work?
    when I go to /logout.html. I'm sent to main.html, so it looks like filter works, but I'm still logged in...
    is it because of "remember...
  21. that's funny. - if I do this in jsp page:...

    that's funny.
    - if I do this in jsp page:
    SecurityContext context = SecurityContextHolder.getContext();
    Authentication auth = context.getAuthentication();
    if (auth.getPrincipal() instanceof...
  22. doesn't work

    Hi all,
    - if I'm not logged on, this code in jsp page "USER: <authz:authentication operation="fullName"/>" printed as "USER:".
    System.out.println(request.isUserInRole("ROLE_ADMIN")); - prints false...
  23. Replies
    3
    Views
    1,212

    thanks! I've added...

    thanks! I've added SecurityContextHolderAwareRequestFilter and ... sometimes it works! the problem is - sometimes it doesn't .
    sometimes request.isUserInRole returns false and I get...
  24. Replies
    3
    Views
    1,212

    ifAllGranted in servlet?

    Hi All,
    in jsp I use "<authz:authorize ifAllGranted="ROLE_ADMIN">"
    could somebody tell me how can I do same check in servlet?

    thanks.
Results 1 to 24 of 24