Cannot upload bundle icon if ZCM is on Linux

  • 3248617
  • 03-Dec-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

When running ZENworks Control Center to manage a ZENwork Configuration Management (ZCM) server on linux, you get an error when trying to upload an icon for a bundle.
Error: Error with image file - /opt/novell/zenworks/share/tomcat/webapps/zenworks/images/appIcons/54511497661a401a9ffce487d3588cf1.ico
(No such file or directory)

Resolution

This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support

Additional Information

From zcc.log:
21 Nov 2007 12:38:18 ============== Exception (begin) ===========================
21 Nov 2007 12:38:18 Exception occured
java.io.FileNotFoundException: /opt/novell/zenworks/share/tomcat/webapps/zenworks/images/appIcons/54511497661a401a9ffce487d3588cf1.ico (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at com.novell.zenworks.admin.controls.IconSelector.getBytesFromFile(IconSelector.java:382)
at com.novell.zenworks.admin.controls.IconSelector.getByteArray(IconSelector.java:281)
at com.novell.zenworks.admin.pages.bundles.BundleDetailsGeneral.changeIconOkay_Click(BundleDetailsGeneral.java:474)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.novell.web.controls.WebControl.fireEvent(WebControl.java:1975)
at com.novell.web.controls.BasePostbackControl.fireCommand(BasePostbackControl.java:462)
at com.novell.web.controls.Button.raisePostBackEvent(Button.java:416)
at com.novell.web.controls.Page.raisePostBackEvent(Page.java:862)
at com.novell.web.controls.Page.raisePostBackEvents(Page.java:849)
at com.novell.web.controls.Page.internalProcessRequest(Page.java:581)
at com.novell.web.controls.Page.processRequest(Page.java:525)
at com.novell.zenworks.admin.layout.Index.processRequest(Index.java:516)
at com.novell.web.controls.PageTag.doEndTag(PageTag.java:83)
at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:178)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:82)
at com.novell.zenworks.admin.NRMServlet.service(NRMServlet.java:176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:1090)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)