Thursday, October 27, 2011

Installation Issues : Oracle Enterprise Repository 11.1.1.5.0

During the configuration of the OER domain, you might get an error as below:

2011-10-18 09:42:45,796 INFO [WizardController] com.oracle.cie.domain.template.catalog.impl.ComponentsXMLConverter - /u01/app/oracle/middleware/wlserver_10.3/common/lib/components.xml does not contain component elements and will be skipped
2011-10-18 09:42:45,816 INFO [WizardController] com.oracle.cie.wizard.domain.gui.tasks.MultipleTemplateSelectionGUITask - Selected required template: Basic WebLogic Server Domain:10.3.4.0 [/u01/app/oracle/middleware/wlserver_10.3/common/templates/domains/wls.jar]
2011-10-18 09:43:21,132 INFO [WizardController] com.oracle.cie.domain.WLSTemplateBuilder - No config-groups.xml found in template
2011-10-18 09:43:21,133 INFO [WizardController] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
2011-10-18 09:43:21,584 INFO [WizardController] com.oracle.cie.domain.AbstractTemplate - Adding top-level component reference: WebLogic Server version 10.3.5.0
2011-10-18 09:43:21,589 INFO [WizardController] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
2011-10-18 09:43:21,711 INFO [WizardController] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
2011-10-18 09:43:21,752 WARN [WizardController] com.oracle.cie.domain.AbstractTemplate - Could not find component name 'Oracle Enterprise Repository' version 'null'
2011-10-18 09:43:21,753 INFO [WizardController] com.oracle.cie.domain.AbstractTemplate - Replacing component reference Oracle Enterprise Repository version null with top-level component reference: WebLogic Server version 10.3.5.0
2011-10-18 09:43:21,753 INFO [WizardController] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component WebLogic Server version 10.3.5.0 to WebLogic_Server_10.3.5.0_wlserver_10.3_ORACLE_HOME
2011-10-18 09:43:21,775 WARN [WizardController] com.oracle.cie.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.oracle.cie.domain.xml.configxb.impl.MachineTypeImpl
2011-10-18 09:43:21,783 WARN [WizardController] com.oracle.cie.domain.aspect.XBeanConfigAspect - Unable to locate property:Target on type:class com.oracle.cie.domain.xml.configxb.impl.ServerTypeImpl
2011-10-18 09:44:01,986 ERROR [WizardController] com.oracle.cie.common.util.JdkVersion - JDK version is null.
2011-10-18 09:46:37,077 INFO [WizardController] com.oracle.cie.domain.assignment.ServerMachineAssignment - ListenPort internal Validation result= [null]
2011-10-18 09:46:54,552 INFO [WizardController] com.oracle.cie.domain.assignment.ServerMachineAssignment - ListenPort internal Validation result= [null]
2011-10-18 09:48:19,441 INFO [WizardController] com.oracle.cie.domain.assignment.ServerMachineAssignment - ListenPort internal Validation result= [null]
2011-10-18 09:48:21,707 INFO [WizardController] com.oracle.cie.domain.DomainChecker - ListenPort external Validation result= [null]
2011-10-18 09:48:26,582 ERROR [create_gui] com.oracle.cie.wizard.domain.gui.tasks.DomainCreationGUITask - Generation Error!!
Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('Lexical error at line 6, column 11. Encountered: "@" (64), after : ""', ('', 6, 11, 'oerPort = @DOMAIN_LISTEN_PORT@'))

at org.python.core.parser.fixParseError(Unknown Source)
at org.python.core.parser.parse(Unknown Source)
at org.python.core.Py.compile_flags(Unknown Source)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at com.oracle.cie.domain.script.ScriptHelper.executeEmbeddedTemplateScript(ScriptHelper.java:1571)
at com.oracle.cie.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:1322)
at com.oracle.cie.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:1305)
at com.oracle.cie.domain.DomainChecker.preprocessOutput(DomainChecker.java:143)
at com.oracle.cie.domain.DomainGenerator.generate(DomainGenerator.java:269)
at com.oracle.cie.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:216)


The reason for the issue is that the OER is actually not properly installed even though the installer specifies that the installation is successfully completed. You can check this by mentioning the log file during the installation as below:

java -jar OER111150_generic.jar -log=\tmp\install.log

You will see the error "Cannot set up jar file extraction directory: Permission denied" in the log file. The reason for this error is that the installer extracts itself in the /tmp directory on the file system where the installer resides (if installer is on shared server then the installer tries to extracts itself on the shared server /tmp directory). Give full permissions to the user on the /tmp directory of the server where the installer resides.

Also specify the environment variables as below:

export TMP=/tmp
export TMPDIR=/tmp

In windows, specify the environment variable TEMP=C:\TEMP and TEMPDIR=C:\TEMP

2 comments:

Anonymous said...

Great tip. Thanks so much

Anonymous said...

Great Tip! Thanks so much

Search This Blog