Forum Discussion

FICO's avatar
FICO
Community Manager
16 years ago

Unable to load .adb file

Unable to load .adb file

Hi,

I am new to Fico. I am using Blaze advisor 6.8. I generated the deployment files for a project and compiled the same . It works fine with generated server class. Here wat i am trying to do is, write a stand alone Generic server java program which accepts the .server and .adb file and then execute all the rules. The server configuration file will be modified as per the request. When i am running this program i am getting the below error;

Failure loading project D:\ProgramFiles\Blaze\Advisor68\deployFicoRule12\FicoRule1_service_0.adb.

java.io.EOFException     at java.io.DataInputStream.readInt(Unknown Source)     at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)     at java.io.ObjectInputStream.readInt(Unknown Source)     at com.blazesoft.server.rules.SiPpaIF.SiPpaCL(:153)     at com.blazesoft.server.rules.SiPpaIF.WjHBtJJ(:1262)     at com.blazesoft.engines.rules.expressions.NdExpression.readExternal(:236)     at com.blazesoft.engines.rules.expressions.WjHAYuH.readExternal(:65)     at com.blazesoft.server.rules.SiPpaIF.SiPpaCT(:470)     at com.blazesoft.server.rules.SiPpaIF.SiPpaCR(:398)     at com.blazesoft.server.rules.SiPpaIF.WjHBtzZ(:906)     at com.blazesoft.engines.rules.NdRule.readObject(:118)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)     at java.io.ObjectInputStream.readSerialData(Unknown Source)     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)     at java.io.ObjectInputStream.readObject0(Unknown Source)

Please suggest some solutions for the same.

Regards

Sivaraj

3 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi Siva,

    You should generate the ADB in one folder and copy that ADB only to the different folder where your server class is referring to.

    Thanks,

    PhaniCharan.

  • FICO's avatar
    FICO
    Community Manager

    Hi Charan,

    The ADB file is present in the location where the server configuration file refers. In the posted error message , the adb file is present in that location. But still giving  that error.

    pls suggest

  • FICO's avatar
    FICO
    Community Manager

    Whenever you Build your rules you will get new ADB and new SERVER file.

    You are using same folder for ADB generation and rule execution as well, The DManager says EOFException whenever new SERVER file is available since conflict in SERVER file

    For DManager to update the new rule source, you need to replace the DManager only not the SERVER file

    Have different folders for generation and execution.

    Thanks,

    PhaniCharan