Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to load sunjsf.js  RSS feed

Kumar Saravanan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I deployed my sample application (seam application) in Weblogic app server (10.1) and got the following message from the application server log.

SEVERE: JSF1040: Unable to load sunjsf.js. Components requiring JavaScript will not work.

If I have <h:commandLink> component in my UI (facelets), it throws the following exception:-

at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.write(
at com.sun.faces.renderkit.RenderKitUtils.writeSunJS(
at com.sun.faces.renderkit.RenderKitUtils.renderFormInitScript(
at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeBegin(
at javax.faces.component.UIComponentBase.encodeBegin(
and so on

Any guess what might be wrong here?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!