Tuesday, February 7, 2012

Error installation Weblogic in a silent mode

May be during the installation of Weblogic, you will meet the following errors:

a- ERROR [readSilentXML] com.bea.plateng.wizard.installer.common.parsers.TemplateParser - Got an error in parsing template.xml!
ERROR [readSilentXML] com.bea.plateng.wizard.installer.silent.tasks.ReadSilentXMLTask - java.lang.NullPointerException
b- ernal.model.HomeTargetImpl.setSelections(HomeTargetImpl.java:337)at com.bea.plateng.wizard.installer.helpers.BEAHomeHelper.buildTarget(BEAHomeHelper.java:162)
at com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask.execute(SilentBEAHomeTask.java:33)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)at java.lang.Thread.run(Thread.java:619)
ERROR [home] com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask - The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

This error dur to one of the following reasons;

1- Oracle example slinet.xml has error, the folllowing line appears twice in the silent.xml file
 (?xml version="1.0" encoding="UTF-8"?)You'll need to delete one of these lines



2- The second error conerning the VALUE parameter line. All Value parameters need to be on one line

In order to avoid any errors during the installation of WebLogic in a silent mode.You'll need to follow the setps:

1- Download Sample file from Oracle documentation

http://docs.oracle.com/cd/E21764_01/doc.1111/e14142/silent.htm


2- Change the silent.xml file, put the right path for your WLS_HOME

3- start silent mode installation as following

From Dos prompt
D:\Oracle-Docs>wls1035_oepe111172_win32.exe -mode=silent -silent_xml=D:\Oracle-Docs\silent1.xml -log=D:\Oracle-Docs\silent.log


Cheers,

No comments:

Post a Comment