Tuesday, July 5, 2016

Troubleshooting java.lang.NoClassDefFoundError error on Siebel Configuration Wizard

While trying to run Siebel Configuration Wizard (version 8.1.1.5), I've faced following error:

/siebel/siebsrvr/bin-> ./ssincfgw -args LANG=ENU MODEL_FILE=/siebel/dbsrvr/admin/dbsrvr.scm -is:javaconsole -console
InstallShield Wizard

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...............
Running InstallShield Wizard...
Exception in thread "main" java.lang.NoClassDefFoundError: run


After some research, figured out that setup.jar file was corrupt.

It can be checked by running "jar -tf" command:

/siebel/siebsrvr/bin-> jar -tf setup.jar
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:129)
        at java.util.zip.ZipFile.<init>(ZipFile.java:90)
        at sun.tools.jar.Main.list(Main.java:1031)
        at sun.tools.jar.Main.run(Main.java:223)
        at sun.tools.jar.Main.main(Main.java:1201)


The correct output should be:

/siebel/siebsrvr/bin-> jar -tf setup.jar
META-INF/MANIFEST.MF
Messages.class
Messages_en.class
Messages_da.class
Messages_de.class
Messages_es.class
Messages_fr.class
Messages_fi.class
Messages_it.class
Messages_nl.class
Messages_pt_BR.class
Messages_pt.class
Messages_sv.class
Messages_cs.class
Messages_ko.class
Messages_zh.class
Messages_ja.class
Messages_ru.class
Messages_pl.class
Messages_zh_TW.class
35c4998a41833c76299d6969568803c3/wizard.xml
com/installshield/wizard/Wizard.qjml
com/installshield/wizard/commandline/SilentMode.class
.....


To solve the problem, I've just copied setup.jar from a working environment and re-ran config command.

No comments:

Post a Comment