• 3 replies
  • Latest Post - ‏2011-07-18T23:45:02Z by SystemAdmin
4 Posts

Pinned topic Common Viewer reporting stream is closed on first load

‏2011-03-07T15:25:00Z |
When loading the common viewer for the first time, I get the following error:

"COEV0002E: The viewer could not log in to repository: ecee stream is closed"

The Viewer then continues to load the document.

From the Java console I see that it's failing on the Logon servlet call:
COEV0002E: The viewer could not log in to repository: ecee stream is closed stream is closed
+ at Source)+
+ at Source)+
+ at Source)+
+ at$ Source)+
+ at$ Source)+
+ at$ Source)+
+ at$HttpInputStream.close(Unknown Source)+
+ at com.venetica.vbr.viewer.client.CommonViewer.getServletResponse(
+ at com.venetica.vbr.viewer.client.CommonViewer.logon(
+ at com.venetica.vbr.viewer.client.CommonViewerAppletEmbedded$1.displayImageOnViewer(
+ at com.venetica.vbr.viewer.client.CommonViewerAppletEmbedded$

Were also experiencing other intermittent errors after this (e.g. COEV0053E: Servlet could not find cached user object), but never get this exception again until I clear the Java temporary files in the Java control panel.

Does anyone have any idea why the connection might get closed? This is not 100% reliable, but we do get it on both our environments (AIX and Wintel) at least every third clean Java environment.

Tanks in advance.

Updated on 2011-07-18T23:45:02Z at 2011-07-18T23:45:02Z by SystemAdmin
  • mbogusz
    1 Post

    Re: Common Viewer reporting stream is closed on first load

    Please provide information about the Product using the Common Viewer.
  • Boegman
    4 Posts

    Re: Common Viewer reporting stream is closed on first load

    The Common viewer is opened from a browser, (IE8 in my test Dev environment, but the same happens in other browsers Chrome and IE7). The HTML I used to launch it:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <head><title>IBM WebSphere Information Integrator Content Edition Common Viewer Applet</title></head>

    <applet archive="http://devcm84:9080/iice_common_viewer/iice_common_viewer_applet.jar" name="commonViewer" code="com.venetica.vbr.viewer.client.CommonViewerAppletEmbedded.class" width="100%" height="100%">
    <!--param name="CODEBASE" value="http://devcm84:9080/iice_common_viewer/">
    <param name="archive" value="http://devcm84:9080/iice_common_viewer/iice_common_viewer_applet.jar" /-->
    <!--param name="cache_option" value="No" /-->
    <param name="baseServletURL" value="http://devcm84:9080/iice_common_viewer/" />
    <!--param name="nativeContentServletURL" value="GetNativeContent"-->
    <param name="repository" value="ecee" />
    <param name="password" value="123Password" />
    <param name="username" value="icmadmin" />
    <param name="contentID" value="LeaveApp.A1001001A11C02A12600G04493.A11C02A12600G04493.1013" />
    <!--param name="useImageURLs" value="true">
    <param name="userData" value=""-->
    <param name="debug" value="true" />
    Java is not supported by your browser.

    I have tried a number of different parameters, but they all have the same effect.

    I get the content ID from IBM Content Integrator 8.5.1 fp2 using the SOA services, but I don't think that is really helpful?

    The applet and servet used is the out-of-the box ones (even though the documentation suggests the GetNativeContent servlet can be customised).

    Hope that helps.

  • SystemAdmin
    254 Posts

    Re: Common Viewer reporting stream is closed on first load

    A fix for the exception -> stream is closed

    will be available in the next fixpack release (ICI 851 FP3). This issue has only been observed with Oracle JRE but not IBM JRE.