Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 915780 Details for
Bug 1018605
Resources::Candlepin::OwnerInfo: 500 Internal Server Error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Comment
comment_6412100.txt (text/plain), 93.40 KB, created by
jmagen@redhat.com
on 2013-10-13 18:34:42 UTC
(
hide
)
Description:
Comment
Filename:
MIME Type:
Creator:
jmagen@redhat.com
Created:
2013-10-13 18:34:42 UTC
Size:
93.40 KB
patch
obsolete
>I installed Sat6-MDP2 following these instructions https://engineering.redhat.com/trac/satellite6/wiki/Sat6-MDP2-Snap5-compose2 > >All worked fine two days ago. I tried today and got this error without changing any configuration > >Resources::Candlepin::OwnerInfo: 500 Internal Server Error {"displayMessage":"Runtime Error Guice provision errors:\n\n1) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 1 at org.candlepin.policy.js.entitlement.EntitlementRules.<init>(EntitlementRules.java:47)\n while locating org.candlepin.policy.js.entitlement.EntitlementRules\n while locating org.candlepin.policy.js.entitlement.Enforcer\n for parameter 7 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 7 at org.candlepin.sync.Importer.<init>(Importer.java:136)\n while locating org.candlepin.sync.Importer\n for parameter 10 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 66 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 75 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 83 more\n\n2) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.compliance.ComplianceRules.<init>(ComplianceRules.java:47)\n while locating org.candlepin.policy.js.compliance.ComplianceRules\n for parameter 12 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 7 at org.candlepin.sync.Importer.<init>(Importer.java:136)\n while locating org.candlepin.sync.Importer\n for parameter 10 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 65 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 74 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 82 more\n\n3) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.autobind.AutobindRules.<init>(AutobindRules.java:58)\n while locating org.candlepin.policy.js.autobind.AutobindRules\n for parameter 14 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 7 at org.candlepin.sync.Importer.<init>(Importer.java:136)\n while locating org.candlepin.sync.Importer\n for parameter 10 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 65 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 74 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 82 more\n\n4) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 1 at org.candlepin.policy.js.entitlement.EntitlementRules.<init>(EntitlementRules.java:47)\n while locating org.candlepin.policy.js.entitlement.EntitlementRules\n while locating org.candlepin.policy.js.entitlement.Enforcer\n for parameter 7 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 11 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 62 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 71 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 79 more\n\n5) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.compliance.ComplianceRules.<init>(ComplianceRules.java:47)\n while locating org.candlepin.policy.js.compliance.ComplianceRules\n for parameter 12 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 11 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 61 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 70 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 78 more\n\n6) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.autobind.AutobindRules.<init>(AutobindRules.java:58)\n while locating org.candlepin.policy.js.autobind.AutobindRules\n for parameter 14 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 11 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 61 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 70 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 78 more\n\n7) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 1 at org.candlepin.policy.js.entitlement.EntitlementRules.<init>(EntitlementRules.java:47)\n while locating org.candlepin.policy.js.entitlement.EntitlementRules\n while locating org.candlepin.policy.js.entitlement.Enforcer\n for parameter 7 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 0 at org.candlepin.model.UeberCertificateGenerator.<init>(UeberCertificateGenerator.java:56)\n while locating org.candlepin.model.UeberCertificateGenerator\n for parameter 20 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 66 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 75 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 83 more\n\n8) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.compliance.ComplianceRules.<init>(ComplianceRules.java:47)\n while locating org.candlepin.policy.js.compliance.ComplianceRules\n for parameter 12 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 0 at org.candlepin.model.UeberCertificateGenerator.<init>(UeberCertificateGenerator.java:56)\n while locating org.candlepin.model.UeberCertificateGenerator\n for parameter 20 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 65 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 74 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 82 more\n\n9) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.autobind.AutobindRules.<init>(AutobindRules.java:58)\n while locating org.candlepin.policy.js.autobind.AutobindRules\n for parameter 14 at org.candlepin.controller.CandlepinPoolManager.<init>(CandlepinPoolManager.java:110)\n while locating org.candlepin.controller.CandlepinPoolManager\n while locating org.candlepin.controller.PoolManager\n for parameter 0 at org.candlepin.model.UeberCertificateGenerator.<init>(UeberCertificateGenerator.java:56)\n while locating org.candlepin.model.UeberCertificateGenerator\n for parameter 20 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 65 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 74 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 82 more\n\n10) Error in custom provider, javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n while locating org.candlepin.policy.js.JsRunnerProvider\n while locating org.candlepin.policy.js.JsRunner\n for parameter 0 at org.candlepin.policy.js.quantity.QuantityRules.<init>(QuantityRules.java:42)\n while locating org.candlepin.policy.js.quantity.QuantityRules\n for parameter 0 at org.candlepin.resource.util.CalculatedAttributesUtil.<init>(CalculatedAttributesUtil.java:34)\n while locating org.candlepin.resource.util.CalculatedAttributesUtil\n for parameter 22 at org.candlepin.resource.OwnerResource.<init>(OwnerResource.java:164)\n while locating org.candlepin.resource.OwnerResource\nCaused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:103)\n\tat org.candlepin.model.RulesCurator.getUpdatedFromDB(RulesCurator.java:101)\n\tat org.candlepin.model.RulesCurator.getUpdated(RulesCurator.java:118)\n\tat org.candlepin.policy.js.JsRunnerProvider.compileRules(JsRunnerProvider.java:97)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:129)\n\tat org.candlepin.policy.js.JsRunnerProvider.get(JsRunnerProvider.java:41)\n\tat com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)\n\tat com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)\n\tat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)\n\tat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)\n\tat com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)\n\tat com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)\n\tat org.jboss.resteasy.plugins.guice.GuiceResourceFactory.createResource(GuiceResourceFactory.java:31)\n\tat org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:210)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)\n\tat org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)\n\tat org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)\n\tat org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)\n\tat org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:60)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:57)\n\tat com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: org.hibernate.exception.JDBCConnectionException: could not execute query\n\tat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)\n\tat org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2458)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2440)\n\tat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2316)\n\tat org.hibernate.loader.Loader.list(Loader.java:2311)\n\tat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:414)\n\tat org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:364)\n\tat org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)\n\tat org.hibernate.impl.SessionImpl.list(SessionImpl.java:1192)\n\tat org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)\n\tat org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:94)\n\t... 60 more\nCaused by: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)\n\tat org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)\n\tat org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:1997)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:840)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:298)\n\tat org.hibernate.loader.Loader.doList(Loader.java:2455)\n\t... 69 more\nCaused by: java.net.SocketException: Broken pipe\n\tat java.net.SocketOutputStream.socketWrite0(Native Method)\n\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)\n\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)\n\tat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\n\tat java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)\n\tat org.postgresql.core.PGStream.SendChar(PGStream.java:174)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1191)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1473)\n\tat org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1062)\n\tat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)\n\t... 77 more\n\n10 errors at com.google.inject.internal.InjectorImpl$4.get:987"} (GET /candlepin/owners/ACME_Corporation/info)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1018605
:
811777
| 915780