• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to load sunjsf.js

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 java.io.Writer.write(Writer.java:104)
at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.write(HtmlResponseWriter.java:479)
at com.sun.faces.renderkit.RenderKitUtils.writeSunJS(RenderKitUtils.java:987)
at com.sun.faces.renderkit.RenderKitUtils.renderFormInitScript(RenderKitUtils.java:901)
at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeBegin(CommandLinkRenderer.java:159)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
and so on

Any guess what might be wrong here?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic