On 17-Mar-2010 16:01, Stargazer wrote:
On 05-Aug-2009 00:14, Jeff Schnitzer wrote:
Resin 4.0.1 doesn't seem to work with Hibernate anymore
Related: If you follow this http://wiki.caucho.com/Hibernate with Resin
4.0.4 and Hibernate 3.3.2, you get the "unknown @PersistenceContext"
error you mention.



_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

The Amber demo doesn't look that healthy either!
http://www.caucho.com/resin/examples/amber-basic/basic

Gives:


 500 Servlet Exception

||

[show]  <javascript:show();>  example.CourseServlet._manager 
@PersistenceContext cannot find any persistence
contexts.  No JPA persistence-units have been deployed

com.caucho.config.ConfigException: example.CourseServlet._manager 
@PersistenceContext
cannot find any persistence contexts.  No JPA persistence-units have been
deployed
        at 
com.caucho.config.j2ee.PersistenceContextHandler.generateTransactionContext(PersistenceContextHandler.java:126)
        at 
com.caucho.config.j2ee.PersistenceContextHandler.introspectField(PersistenceContextHandler.java:86)
        at 
com.caucho.config.inject.InjectionTargetImpl$FieldHandlerProgram.bind(InjectionTargetImpl.java:863)
        at 
com.caucho.config.inject.InjectionTargetImpl$FieldHandlerProgram.inject(InjectionTargetImpl.java:856)
        at 
com.caucho.config.inject.InjectionTargetImpl.inject(InjectionTargetImpl.java:266)
        at 
com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:1260)
        at 
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:1142)
        at 
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:98)
        at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
        at 
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:207)
        at 
com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
        at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286)
        at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:780)
        at 
com.caucho.server.connection.TcpConnection.dispatchRequest(TcpConnection.java:600)
        at 
com.caucho.server.connection.TcpConnection.handleRequestsImpl(TcpConnection.java:566)
        at 
com.caucho.server.connection.TcpConnection.handleRequests(TcpConnection.java:519)
        at 
com.caucho.server.connection.TcpConnection$AcceptTask.doTask(TcpConnection.java:1097)
        at 
com.caucho.server.connection.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1034)
        at 
com.caucho.server.connection.TcpConnection$AcceptTask.run(TcpConnection.java:1065)
        at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
        at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

------------------------------------------------------------------------
Resin/4.0.s100214 Server: ''
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to