Permalink
Commits on Apr 26, 2013
Commits on Apr 25, 2013
  1. Return a derefable instead of waiting on a promise in msg/listen [IMM…

    tobias committed Apr 25, 2013
    …UTANT-217]
    
    This makes listen asynchronous, but allows a user to synchronize on it
    by derefing the result.
Commits on Apr 24, 2013
  1. Allow jobs to be unscheduled immediately after scheduling [IMMUTANT-243]

    tobias committed Apr 24, 2013
    This issue was caused by the job being created asynchronously, and
    stop checking to see if the job was started before trying to stop. It
    will now check to see if the job is pending (thanks to
    projectodd/jboss-polyglot@526dd85),
    and wait for the job to reach the started state before actually
    stopping it. Depending on the schedule for the job, it may actually
    fire before being stopped.
  2. Activate [:dev :base :user] profiles by default [IMMUTANT-270]

    tobias committed Apr 24, 2013
    We're doing this to make development easier - it brings in checkout
    deps, and allows you do to things like:
    
        :user {:immutant {:nrepl-port 0}}
    
    in profiles.clj to get an nrepl automatically for every app you
    deploy.
    
    This also includes a notice in the docs about *not* using the default
    profile set in production.
    
    Let us never speak of this again.
  3. Bump to a newer fntest that allows overriding the profiles used in th…

    tobias committed Apr 24, 2013
    …e descriptor for test-in-container.
Commits on Apr 23, 2013
  1. Prevent duplicate session cookies if possible [IMMUTANT-272]

    tobias committed Apr 23, 2013
    If ring and the servlet container are using the same session cookie
    name, we can detect that and remove ring's version of the cookie from
    the response.
  2. Remove unused require that is breaking the test.

    tobias committed Apr 23, 2013
    I really should run the tests before pushing.
  3. Added functions for setting session timeout and cookie options [IMMUT…

    tobias committed Apr 22, 2013
    …ANT-267]
    
    This adds set-session-timeout! for overriding the internal session
    timeout, and set-session-cookie-attributes! to override the settings
    for the session cookie.
    
    We need to do it this way instead of by interpreting the ring session
    arguments, since changing the session settings is per-deployment, not
    per-endpoint, and expecting the per-endpoint session options to work
    consistently would lead to hard to debug issues for the app developer.
    
    Since you can now change the session cookie name, I'd like to look at
    overriding the ring-session cookie completely.
Commits on Apr 22, 2013
Commits on Apr 19, 2013
  1. Log any error occurring in immutant.init, fixes [IMMUTANT-259]

    jcrossley3 committed Apr 19, 2013
    Something was eating the exception, possibly because the app is
    initialized asynchronously? I now log the exception at deploy,
    hopefully indicating to the user that the problem is somewhere in
    immutant.init.
Commits on Apr 18, 2013
  1. Mostly kinda sorta fixing IMMUTANT-197

    jcrossley3 committed Apr 18, 2013
    Not all XA drivers support connection creation via URL, postgres in
    particular (its non-xa driver does). I considered parsing the URL
    myself and extracting the host, port, db, user, and password from the
    postgres URL, but because the URL supports so many other options that
    wouldn't be used, I felt it might lead to confusion from unmet
    expectations.
    
    Pretty much all the other Immutant-supported adapters do support
    connection URL's, though most Oracle drivers appear not to include the
    user/password.
Commits on Apr 17, 2013
  1. Various refactorings in support of [IMMUTANT-143]

    tobias committed Apr 17, 2013
    Including:
    
    * JobScheduler is now an MSC service instead of being created ad hoc
    * application initialization now happens asynchronously, but in an MSC
      service so it will still complete before the deployment is
      considered complete
Commits on Apr 12, 2013
  1. Use the classloader for decoding that was active when the listener wa…

    tobias committed Apr 12, 2013
    …s created [IMMUTANT-266]
    
    Without this, the decode will use the top-level ImmutantClassLoader,
    which won't be able to load any dynamically created classes that are
    visible at listen time.
Commits on Apr 11, 2013
  1. Forgot to document :sync

    jcrossley3 committed Apr 11, 2013
Commits on Apr 10, 2013