Visibroker

From EggeWiki

Jump to: navigation, search

I was attempting to 'upgrade' to Visibroker 7.0. I started receiving this error message from within ant when running idl2java:


idl2java:
     [exec] <internal>: unrecoverable error launching tool; aborting

BUILD FAILED
C:\dev\MBL EQM MBLX CFD - PerformanceEnhancements\build.xml:145: The following error occurred while executing this line:
C:\dev\MBL EQM MBLX CFD - PerformanceEnhancements\build.xml:833: exec returned: 10

Total time: 5 seconds

I found adding the PATH to the exec command fixed the problem.

  <env key="PATH" path="${env.PATH}"/><!-- need to have the JVM on the path -->

I also was getting this problem

IDL preprocessor: (warning)extra text following line continuation
IDL preprocessor:unexpected backslash encountered
IDL preprocessor: (warning)extra text following line continuation
IDL preprocessor:unexpected backslash encountered
2 errors, 2 warnings

This was caused by not converting the backslashes in the file names. Using <arg file="..."> instead of <arg line="..."> in the ant task fixed this problem.

License error

$ bin/lmadm
java.lang.NullPointerException
java.lang.NullPointerException
        at com.borland.sanctuary.lm.mgr.SlipManager.byte(Unknown Source)
        at com.borland.sanctuary.lm.mgr.SlipManager.init(Unknown Source)
        at com.borland.sanctuary.lm.mgr.SlipManager.init(Unknown Source)
        at com.borland.enterprise.license.bes.LicenseHandlerImpl.getSanctuary(LicenseHandlerImpl.java:1336)
        at com.borland.enterprise.license.bes.LicenseHandlerImpl.getSlipManager(LicenseHandlerImpl.java:1160)
        at com.borland.enterprise.license.LMAdm.lmInit(LMAdm.java:86)
        at com.borland.enterprise.license.LMAdm.<init>(LMAdm.java:66)
        at com.borland.enterprise.license.LMAdm.main(LMAdm.java:182)

Cause: License file got corrupted. Fix: delete and reactivate.

0 May 2 11:04 borland.pkg

The problem may also be that lmadm can't write the the var directory. Pretty much anything with the above stack trace is going to be license related.

Personal tools
Travelling Salesman

Get the app!