Foren

Liferay Faces ResourceHandler MissingResourceImpl errors

thumbnail
Rushikesh S Thakkar, geändert vor 10 Jahren.

Liferay Faces ResourceHandler MissingResourceImpl errors

New Member Beiträge: 9 Beitrittsdatum: 14.05.10 Neueste Beiträge
Also posted on http://stackoverflow.com/questions/23097452/liferay-faces-resourcehandler-missingresourceimpl-errors

I am trying to fix number of MissingResourceImpl ERRORs in my Liferay 6.1 logs (deployed on WAS 8). My portlet uses Mojarra JSF 2.1.x implementation, and also depends on Tomahawk for many tags.

SystemOut     O 2014-04-13 08:48:39,166 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[inputText.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,174 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[selectOneRadio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,184 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,191 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[radio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,199 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,206 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[radio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,215 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]
SystemOut     O 2014-04-13 08:48:39,226 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl  - Resource handler=[com.liferay.faces.bridge.application.ResourceHandlerOuterImpl@a3763d8a] was unable to create a resource for resourceName=[inputText.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null]

...

In my pom.xml

<dependency>
    <groupid>org.glassfish</groupid>
    <artifactid>javax.faces</artifactid>
    <version>2.1.23</version>
    <scope>provided</scope>
</dependency>
...
<dependency>
  <groupid>com.liferay.faces</groupid>
  <artifactid>liferay-faces-bridge-impl</artifactid>
  <version>3.1.2-ga3</version>
  <exclusions>
    <exclusion>
      <groupid>com.sun.faces</groupid>
      <artifactid>jsf-impl</artifactid>
    </exclusion>
    <exclusion>
      <groupid>com.sun.faces</groupid>
      <artifactid>jsf-api</artifactid>
    </exclusion>
  </exclusions>
</dependency>
<dependency>
  <groupid>com.liferay.faces</groupid>
  <artifactid>liferay-faces-portal</artifactid>
  <version>3.1.2-ga3</version>
  <exclusions>
    <exclusion>
      <groupid>com.sun.faces</groupid>
      <artifactid>jsf-impl</artifactid>
    </exclusion>
    <exclusion>
      <groupid>com.sun.faces</groupid>
      <artifactid>jsf-api</artifactid>
    </exclusion>
  </exclusions>
</dependency>
...
<dependency>
  <groupid>org.apache.myfaces.tomahawk</groupid>
  <artifactid>tomahawk20</artifactid>
  <version>1.1.10</version>
</dependency>


I tried a lot to find the root cause and fix for these errors, but with no luck so far. Any help/direction would be appreciated!

Thanks in advance!
thumbnail
Kyle Joseph Stiemann, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
Hi Rushikesh,
Since you are using JSF 1.2 and Liferay 6.1, you need to use Liferay Faces 2.1.4-ga5. Check out the Liferay Faces Version Scheme for more info. Please change each Liferay Faces dependency in your pom.xml to use version 2.1.4-ga5, and see if that fixes your issue.

- Kyle
thumbnail
Rushikesh S Thakkar, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

New Member Beiträge: 9 Beitrittsdatum: 14.05.10 Neueste Beiträge
Hi Kyle,
Thanks for you response. My bad about the version info. We are using Mojarra JSF version 2.1.23, not 1.2. I have corrected the forum post with proper version # and dependency definition. Please help!

- Rushi
thumbnail
Neil Griffin, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
Hi Rushikesh,

Unfortunately we don't support Apache MyFaces Tomahawk with Liferay Faces. The main reason is because historically, Tomahawk has had portlet incompatibilities and other component suites like ICEfaces/PrimeFaces/RichFaces have provided better portlet compatibility.

Is there a particular component offered by Tomahawk that you require in your application?

Kind Regards,

Neil
thumbnail
Rushikesh S Thakkar, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

New Member Beiträge: 9 Beitrittsdatum: 14.05.10 Neueste Beiträge
Hi Neil,
Thanks for your response. I see your point. It is not possible for us to migrate to other JSF implementations, as ours is a legacy application and we are using many input elements from tomahawk. Anyways, it is not preventing us from using them in our application. We just don't like to see the errors showing up in the logs. emoticon

Btw, is Liferay faces project supported by LESA for EE customers?

Thanks!
- Rushi
thumbnail
Neil Griffin, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
Hi Rushikesh,

Btw, is Liferay faces project supported by LESA for EE customers?


Yes! emoticon Liferay Faces is supported under Liferay EE subscriptions. If there is an issue with Liferay Faces, then fixes are provided within the timeframe established in the Service Level Agreement (SLA). If you use ICEfaces EE or PrimeFaces Pro and there is an issue with ICEfaces or PrimeFaces, then we have technology partnerships that help get issues resolved.

Regarding the warnings in your logs, you might be able to specify a log4j.properties file that uses the OFF level to disable the logger for MissingResourceImpl.


Kind Regards,

Neil
thumbnail
Rushikesh S Thakkar, geändert vor 10 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

New Member Beiträge: 9 Beitrittsdatum: 14.05.10 Neueste Beiträge
Thanks Neil,
That was our plan as well emoticon Appreciate your support on this.
thumbnail
Neil Griffin, geändert vor 9 Jahren.

RE: Liferay Faces ResourceHandler MissingResourceImpl errors

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
My pleasure Rushikesh. Thanks for using Liferay Faces. emoticon