IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  JavaioIOException Stream closed

    Posted Wed November 27, 2002 03:19 PM

    Hey guys…it’s me again…

    After starting webMethods, i noticed that the IS is logging this IOException in server.log, do you guys have any idea what this means???

    000000 ----------- 2002-11-26 00:00:03
    000000 ----------- 2002-11-27 00:00:03
    java.io.IOException: Stream closed
    at java.io.OutputStreamWriter.ensureOpen(OutputStreamWriter.java:130)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:155)
    at java.io.Writer.write(Writer.java:107)
    at com.wm.app.b2b.server.LogWriter.write(LogWriter.java:118)
    at com.wm.app.b2b.server.LogBufferWriter.write(LogBufferWriter.java:105)
    at com.wm.app.b2b.server.LogBufferWriter.write(LogBufferWriter.java:94)
    at com.wm.app.b2b.server.stats.Statistics.oldStatLogger(Statistics.java:738)
    at pub.event.stats.logToFile(stats.java:27)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:288)
    at com.wm.app.b2b.server.ServiceManager.rawInvoke(ServiceManager.java:557)
    at com.wm.app.b2b.server.event.BaseSubscriber.processEvent(BaseSubscriber.java:106)
    at com.wm.app.b2b.server.event.BaseSubscriber.processEvent(BaseSubscriber.java:92)
    at com.wm.app.b2b.server.event.BaseEventThread.run(BaseEventThread.java:29)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:484)

    Thanks for your help and this website is really a big help for me. Happy Thanksgiving day to all…

    GOD Bless!!!

    Faith


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: JavaioIOException Stream closed

    Posted Wed November 27, 2002 03:32 PM

    I found this error to be from WmRoot package, see logs below:

    2002-11-27 09:58:29 [B2BSERV.0025.0001] Integration Server 4.6 Build 939
    2002-11-27 09:58:29 [B2BSERV.0025.0006] License Manager started
    2002-11-27 09:58:30 [B2BSERV.0025.0008] State Manager started
    2002-11-27 09:58:35 [B2BSERV.0025.0010] Service Manager started
    2002-11-27 09:58:35 [B2BSERV.0025.0012] Cache Manager started
    2002-11-27 09:58:36 [B2BSERV.0025.0009] WIDL Service Manager started
    2002-11-27 09:58:36 [B2BSERV.0025.0004] Flow Service Manager started
    2002-11-27 09:58:36 [B2BSERV.0025.0002] Package Manager started
    2002-11-27 09:58:36 [B2BSERV.0025.0011] Package Replicator Manager started
    2002-11-27 09:58:36 [B2BSERV.0028.0001] Loading packages
    2002-11-27 09:58:36 [B2BSERV.0028.0005] Loading WmRoot package
    java.io.IOException: Stream closed
    at java.io.OutputStreamWriter.ensureOpen(OutputStreamWriter.java:130)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:155)
    at java.io.Writer.write(Writer.java:107)


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: JavaioIOException Stream closed

    Posted Wed November 27, 2002 03:49 PM

    I haven’t seen this before, but it looks like it is being generated by the Statistics Event Handler. The default event handler service is pub.event.stats:logToFile, which is throwing this exception.

    The server.cnf parameter watt.server.stats.logfile is used to define the file to log statistics in. If the directory is invalid or the setting is missing from server.cnf it will not be opened correctly at server startup.

    HTH,
    Fred


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: JavaioIOException Stream closed

    Posted Wed November 27, 2002 07:39 PM

    Here’s what happened. I created a new WM environment in /opt/prxdev2/webMethods/IntegrationsServer4. And the admin renamed it to /opt/prxdevc/webMethods/IntegrationServer4. After that, when I start the server, i got those errors. I already changed the references of dev2 to devc in server.sh and everything. So what I did is removed this prxdevc directory and install webMethods again. After that, it works fine again.
    I feel better now.

    Thanks for your help.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB