OWB Repository Installation Fails With : Error loading Java into DB (Doc ID 730998.1)

Last updated on MAY 09, 2017

Applies to:

Oracle Warehouse Builder - Version 10.2 and later
Information in this document applies to any platform.


Symptoms

The Oracle Warehouse Builder Repository creation (reposinst.sh or reposinst.bat) goes up to a certain percentage (generally 88%)  and fails in the build of the 10.2 Repository Owner or the seed of the 11g OWBSYS schema with :
In 10.2:

(Spawn Token) Error loading Java into DB:
Error occured in 'processSPAWN': java.io.BufferedInputStream@c51169
java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@c51169
at oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:886)
at oracle.wh.service.impl.assistant.ProcessEngine.processFileTokens(ProcessEngine.java:583)
at
oracle.wh.service.impl.assistant.ProcessEngine.createOWBRepository(ProcessEngine.java:269)
at
oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition
.java:435)
at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
at oracle.ewt.timer.Timer.doRun(Unknown Source)
at oracle.ewt.timer.Timer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
[processSPAWN]: A spawned program error. Exception = java.lang.Exception: Error occured in
'processSPAWN': java.io.BufferedInputStream@c51169
Ignore the error, continue processing other tokens...
After processing SPAWN Token
% = 86.9415807560141
-token name = SQLINDX; -token type = 5
Before processing SQLINDX Token
Connection: host/port/serice_name = CENQNF801/1521/QSTDMNFDV
url = (DESCRIPTION=(ADDRESS=(HOST=CENQNF801)(PROTO
=tcp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=QSTDMNFDV)))
[getConnection]....
fileName is ../../rtasst/register_platform_store.sql
After processing SQLINDX token
% = 87.11340206185604
-token name = SQL; -token type = 1
Before processing SQL Token
in processSQLToken()...
make RuntimeInstaller
Connection: host/port/serice_name = CENQNF801/1521/QSTDMNFDV
url =
(DESCRIPTION=(ADDRESS=(HOST=CENQNF801)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=QSTDMNFD
V)))
[getConnection]....
fileName =../../rtasst/wb_rt_seed_service_nodes.sql
After processing SQL token
% = 87.28522336769797
-token name = LOADJAVA; -token type = 16
Before processing LOADJAVA Token
... I am in processLoadJavaToken ...
After processing LOADJAVA Token
% = 88.14432989690759
-token name = LOADJAVA; -token type = 16
Before processing LOADJAVA Token
... I am in processLoadJavaToken ...
arguments: '-verbose' '-order' '-resolve' '-thin' '-u'
'QUEST_DMNF_OWBCTRC_O_DV/QUEST_DMNF_OWBCTRC_O_DV@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CENQNF801
)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=QSTDMNFDV)))' '../../lib/int/naclient.jar'
'../../lib/int/NameAddrIntf.jar' '../../lib/int/namsg.jar' '../../lib/int/nameAddrRts.jar'
'../../../jlib/rts2.jar' '../../../jlib/share.jar'
SQL Error while connecting with thin driver to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CENQNF801)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=QSTDMNFD
V))): Io exception: The Network Adapter could not establish the connection
exiting : could not open connection


In 11g:

oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): Before processing SPAWN Token
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): ... I am in processSPAWN ...
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): wholeLine =../unix/jvm.sh -classpath ../../lib/int/rtpplatform.jar:../../lib/int/rtpcommon.jar:../../lib/int/util.jar:../../../jdbc/lib/ojdbc5.jar:../../../lib/xmlparserv2.jar:../../../sqlj/lib/runtime12.jar:../../../jdk/jre/lib/rt.jar oracle.wh.runtime.platform.service.install.ServiceInstaller %host %port %serviceName %user %password
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.DatabaseEngine.display(DatabaseEngine.java:458): Connection: host/port/serice_name = LOCALHOST/1521/biorcl
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.DatabaseEngine.display(DatabaseEngine.java:458): url = (DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=biorcl)))
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.RuntimeInstaller.display(RuntimeInstaller.java:837): [RuntimeInstaller] connUser = OWBSYS
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.RuntimeInstaller.display(RuntimeInstaller.java:837): [RuntimeInstaller] try getConnection()...
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.DatabaseEngine.display(DatabaseEngine.java:458): [getConnection]....
main.TaskScheduler timer[5]20111107@16:09:46.046: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): after executing the output
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): (Spawn Token) Error loading Java into DB:
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): Error occured in 'processSPAWN': java.io.BufferedInputStream@a4ecaab
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416): java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@a4ecaab
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1412)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.wh.service.impl.assistant.ProcessEngine.processFileTokens(ProcessEngine.java:1089)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.wh.service.impl.assistant.ProcessEngine.createOWBRepository(ProcessEngine.java:268)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$5.runTask(AssistantWizardDefinition.java:934)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.ewt.timer.Timer.doRun(Unknown Source)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at oracle.ewt.timer.Timer.run(Unknown Source)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:1416)+> at java.lang.Thread.run(Thread.java:637)
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): [processSPAWN]: A spawned program error. Exception = java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@a4ecaab
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): Get the error, stop processing other tokens...
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:2122): Exception = Exception occured in 'processSPAWN'. java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@a4ecaab
main.TaskScheduler timer[5]20111107@16:09:48.048: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:1476): [executeOwbReposOrRuntime]: Error occurred during Seeding OWBSYS. Exception =java.lang.Exception: Exception occured in 'processSPAWN'. java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@a4ecaab
main.AWT-EventQueue-0[6]20111107@16:09:48.048: 00> oracle.wh.ui.jcommon.WhButton@1bdb52c8: WhButton setLabel rtsString = OK
main.AWT-EventQueue-0[6]20111107@16:16:44.044: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:1476): before open 'UnSuccessDialog'
main.AWT-EventQueue-0[6]20111107@16:16:44.044: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:1476): Open UnSuccessDialog ...
main.AWT-EventQueue-0[6]20111107@16:16:44.044: 00> oracle.wh.ui.jcommon.WhButton@1bdb52c8: WhButton setLabel rtsString = OK

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms