pride
Member
Не могу добавить сертификат через Вэб интерфейс.
Вижу вот эту ошибку:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Sep 05 08:56:13 CEST 2017
There was an unexpected error (type=Internal Server Error, status=500).
org.hibernate.exception.SQLGrammarException: could not prepare statement
Как быть ?
Вижу вот эту ошибку:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Sep 05 08:56:13 CEST 2017
There was an unexpected error (type=Internal Server Error, status=500).
org.hibernate.exception.SQLGrammarException: could not prepare statement
08:51:51,251 WARN SqlExceptionHelper - http-nio-8888-exec-7 SQL Error: 42122, SQLState: 42S22
08:51:51,251 ERROR SqlExceptionHelper - http-nio-8888-exec-7 Column "CERT0_.PRIVATE_KEY" not found; SQL statement:
select cert0_.certificate_id as certific1_4_, cert0_.cert as cert2_4_, cert0_.domain as domain3_4_, cert0_.private_key as private_4_4_, cert0_.key_pass as key_pass5_4_ from cert cert0_ [42122-184]
08:51:51,251 ERROR application - http-nio-8888-exec-7 Error Rendering View[/dashboard.xhtml]
javax.el.ELException: /file:/usr/local/FlashphonerWebCallServer-5.0.2432/lib/wcs_manager-1.0.jar!/META-INF/resources/certificates.xhtml @35,96 rendered="#{not empty certificateController.certModel.cert}": javax.persistence.PersistenceExce
<------>at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
<------>at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
<------>at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:458)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1850)
<------>at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
<------>at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
<------>at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:85)
<------>at org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:72)
<------>at org.primefaces.component.layout.LayoutUnitRenderer.encodeEnd(LayoutUnitRenderer.java:49)
<------>at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859).....
08:51:51,251 ERROR SqlExceptionHelper - http-nio-8888-exec-7 Column "CERT0_.PRIVATE_KEY" not found; SQL statement:
select cert0_.certificate_id as certific1_4_, cert0_.cert as cert2_4_, cert0_.domain as domain3_4_, cert0_.private_key as private_4_4_, cert0_.key_pass as key_pass5_4_ from cert cert0_ [42122-184]
08:51:51,251 ERROR application - http-nio-8888-exec-7 Error Rendering View[/dashboard.xhtml]
javax.el.ELException: /file:/usr/local/FlashphonerWebCallServer-5.0.2432/lib/wcs_manager-1.0.jar!/META-INF/resources/certificates.xhtml @35,96 rendered="#{not empty certificateController.certModel.cert}": javax.persistence.PersistenceExce
<------>at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
<------>at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
<------>at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:458)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1850)
<------>at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
<------>at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
<------>at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
<------>at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
<------>at org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:85)
<------>at org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:72)
<------>at org.primefaces.component.layout.LayoutUnitRenderer.encodeEnd(LayoutUnitRenderer.java:49)
<------>at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
<------>at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859).....
Как быть ?