javax.faces.FacesException: Expression Error: Named Object: org.omnifaces.component.output.ConditionalComment not found - jsf

I have upgraded from JSF 2.2.7 to 2.2.15 and I am now receiving the following error when running Jetty:
javax.faces.FacesException: Expression Error: Named Object:
org.omnifaces.component.output.ConditionalComment not found.

Related

Puppet facter - How to fix Error: Could not retrieve fact='os', resolution='<anonymous>'

On my windows server machine, just facter command gives the following error-
[stdout][0;36mDebug: Loading facts from C:/ProgramData/.../facter/windows_version.rb[0m
[stderr]Could not retrieve fact='os', resolution='<anonymous>': failed to parse display name of moniker `winmgmts:{impersonationLevel=impersonate}!//./root/cimv2'
[stderr] HRESULT error code:0x80010114
[stderr] The requested object does not exist.
[stderr]Could not retrieve fact='os', resolution='<anonymous>': failed to parse display name of moniker `winmgmts:{impersonationLevel=impersonate}!//./root/cimv2'
[stderr] HRESULT error code:0x80010114
[stderr] The requested object does not exist.
[stderr]Could not retrieve fact='os', resolution='<anonymous>': failed to parse display name of moniker `winmgmts:{impersonationLevel=impersonate}!//./root/cimv2'
[stderr] HRESULT error code:0x80010114
[stderr] The requested object does not exist.
[stderr]Could not retrieve fact='virtual', resolution='<anonymous>': failed to parse display name of moniker `winmgmts:{impersonationLevel=impersonate}!//./root/cimv2'
[stderr] HRESULT error code:0x80010108
This is happening suddenly, 2 weeks ago it was working fine.
Any idea how to fix this and what is causing these errors? Due to this, some Ruby scripts are failing.

Named Object: net.bootsfaces.component.container.Container not found

when I try to run BootsFaces-OSP-1.4.1 in weblogic 12.3.2 I am getting the following error.
<Mar 5, 2019 3:40:53,887 PM GMT> <javax.enterprise.resource.webcontainer.jsf.application> <jsf.cannot_instantiate_component_error> <JSF1068: ******Cannot instantiate component with component-type net.bootsfaces.component.container.Container>******
Mar 05, 2019 3:40:53 PM org.primefaces.application.exceptionhandler.PrimeExceptionHandler logException
<Mar 5, 2019 3:40:53,890 PM GMT> <org.primefaces.application.exceptionhandler.PrimeExceptionHandler> <Expression Error: Named Object: net.bootsfaces.component.container.Container not found.
SEVERE: Expression Error: Named Object: net.bootsfaces.component.container.Container not found.
javax.faces.FacesException: Expression Error: Named Object: net.bootsfaces.component.container.Container not found.
javax.faces.FacesException: Expression Error: Named Object: net.bootsfaces.component.container.Container not found.
at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1912)
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1166)
at javax.faces.application.ApplicationWrapper.createComponent(ApplicationWrapper.java:637)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:602)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:175)
Truncated. see log file for complete stacktrace
I am using the following frameworks
JSF Version : 2.2.17
Primefaces : 6.1
NetBeans :8.2
None of the components are working in weblogic 12.3.2. The same code works perfectly fine with glassfish 4.1 server.
Thanks and Regards
JEBA J****

CDIIntegrationService errors were found when Weblogic upgrade from 12.1.2 to 12.1.3

I have upgraded Weblogic version in linux server by changing the wl_home path in the setDomainEnv.sh for 12.1.2 to 12.1.3 and restart. when restarting it gives below errors.
Appreciate if anyone can give idea about this.
java.lang.IllegalAccessError: tried to access method com.bea.logging.LogBufferHandler.bufferLogObject(Ljava/lang/Object;)V from class weblogic.logging.log4j.WLLog4jMemoryBufferAppender
java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.diagnostics.lifecycle.LoggingServerService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.diagnostics.lifecycle.DiagnosticFoundationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.diagnostics.lifecycle.DiagnosticFoundationService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.oracle.injection.integration.CDIIntegrationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on com.oracle.injection.integration.CDIIntegrationService
Use the wllog4j.jar which is part of WLS 12.1.3 build. The one part of WLS_HOME/server/lib diretory.
If your domains-home/lib folder holds older wllog4.jar which was part of 12.1.2 then you will face this issue

Exception occurred while calling driver.quit(): Unable to load configuration from class 'class GebConfig' (with environment: )

I am running Groovy automation script, but i am getting the following error,
Exception occurred while calling driver.quit(): Unable to load configuration from class 'class GebConfig' (with environment: )

Liferay 7 Login Fragment error

I have created login fragment for login.jsp which is working perfectly fine.
Now I need to add some code to fetch some data from custom tables so I have added XYZLocalServiceUtil call using scriptlet.
Now service call is working but problem is when I deploy fragment hook it gives following error and portlet becomes unavailable, but only for first time after deployment.
When I refresh page, next time it works properly without any error. I am not sure why it is not able to get following dependency for first time.
07:17:00,237 ERROR [http-nio-9080-exec-9][PortletRequestDispatcherImpl:265] Unable to dispatch request: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
07:17:00,242 ERROR [http-nio-9080-exec-9][PortletServlet:111] javax.portlet.PortletException: org.apache.jasper.JasperException: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
javax.portlet.PortletException: org.apache.jasper.JasperException: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:267)
at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:102)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:594)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:610)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doView(MVCPortlet.java:160)
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:303)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:497)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:317)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:530)
at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:605)
at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:265)
at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1580)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.portlet.PortletContainerImpl._render(PortletContainerImpl.java:707)
at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:162)
at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:133)
at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:133)
...
I have tried by adding following dependency in gradle file but no luck.
compile group: 'org.glassfish', name: 'javax.el', version: '3.0.0'
I am using "liferay-ce-portal-7.0-ga4", If anyone faced similar issue please suggest the way to resolve it.
Thanks

Resources