Announcement Announcement Module
Collapse
No announcement yet.
Spring AMQP, Spring and Euraka Streams Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring AMQP, Spring and Euraka Streams

    Hi All,

    I am using Eureka Streams and want to replace ActiveMQ to RabbitMQ. So I have upgrade it from Spring 2.5 to 3.0. After upgrading, I got error:
    HTTP ERROR 500

    Problem accessing /. Reason:
    org.hibernate.SessionException: Session is closed!

    Caused by:
    javax.persistence.PersistenceException:
    org.hibernate.SessionException: Session is closed!
    at
    org.hibernate.ejb.AbstractEntityManagerImpl.throwP ersistenceException(AbstractEntityManagerImpl.java :
    614)
    at org.hibernate.ejb.QueryImpl.getResultList(QueryImp l.java:
    76)
    at
    org.eurekastreams.server.persistence.mappers.GetRo otOrganizationIdAndShortName.fetchRootOrg(GetRootO rganizationIdAndShortName.java:
    82)
    at
    org.eurekastreams.server.persistence.mappers.GetRo otOrganizationIdAndShortName.getRootOrganizationId (GetRootOrganizationIdAndShortName.java:
    54)
    at
    org.eurekastreams.server.service.filters.RootOrgCh eckFilter.doFilter(RootOrgCheckFilter.java:
    64)
    at org.mortbay.jetty.servlet.ServletHandler
    $CachedChain.doFilter(ServletHandler.java:1212)
    at
    org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:
    399)
    at
    org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:
    216)
    at
    org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:
    182)
    at
    org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:
    766)
    at
    org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:
    450)
    at
    org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:
    230)
    at
    org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:
    114)
    at
    org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:
    152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at
    org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:
    542)
    at org.mortbay.jetty.HttpConnection
    $RequestHandler.headerComplete(HttpConnection.java :928)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:549)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:
    212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:
    404)
    at
    org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:
    410)
    at org.mortbay.thread.QueuedThreadPool
    $PoolThread.run(QueuedThreadPool.java:582)
    Caused by: org.hibernate.SessionException: Session is closed!
    at
    org.hibernate.impl.AbstractSessionImpl.errorIfClos ed(AbstractSessionImpl.java:
    72)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.ja va:1137)
    at org.hibernate.impl.QueryImpl.list(QueryImpl.java:1 02)
    at org.hibernate.ejb.QueryImpl.getResultList(QueryImp l.java:
    67)
    ... 20 more

    Could you help me out this problem?

    Thanks,
    +++
    thomas kant

  • #2
    It doesn't look much like a Spring AMQP problem. You might get more responses from the Data Access or main Spring forums. My guess is that you might need to upgrade Hibernate as well, but I wouldn't know from just the stack trace.

    Comment

    Working...
    X