on 01-11-2013 10:44 AM
Hello,
I'm performing a BW 7.31 system copy on Windows OS (2008R2) with "Software Provisioning Manager 1.0 SP 01".
The ABAP stack (SID:BEW) is copied and running on target system, DB (oracle 11.2.0.3), listener are up and running.
When I start the Java import (SID:BEJ) on target just after selecting MCOD option and giving the password for the SAPSR3DB java schema user I get the following error:
SchemaPostChecksJava was executed with status ERROR ( Last error reported by the step: Assertion failed: OraSqlContext constructor: arguments dbSidOrSrcObject and dbHome are not valid.).
SAPinst is able to reach the DB and run queries as I did have some ora_query*.res files that proves that SAPinst was for instance able to get the list of the defined users/schemas.
Looking in log files the Oracle Home is set to the correct value.
I did try to run the import both using administrator account (no env var set) and ABAP user account (SIDadm) I get the same error.
I'm opening an OSS message but if any expert has a clue, any help is welcome
Thanks
Hello
I've just received a final answer from SAP
I'm sorry I cannot upload the file it is to big (8Mb) and SCN does not accept zip file (such a pity for a company that is making so much money and seems to ivest so few in the community site... but this is an other problem 😉 )
Good luck...
22.01.2013 - 13:34:55 CET - Reply by SAP |
Dear customer,
i have upload a new control.xml file which will fix this issue.
Please replace this control.xml file to your downloaded swpm dvd in the
folder
...\PVIND\XML7XX\control.xml.
Then you need to start the installation from the beginning.
We will update this fix also on service marketplace as soon as possible.
The fix in control.xml is the following: (oracleHome should replace withdbHome in 2 lines)
1.
search for c_nw_oracommondia and then replace
oracom.setAndCheckABAPSchemaUser(context.get("ABAPSchema"),
context.get("osUser"),
context.get("thread"),
context.get("oracleHome"));
with
oracom.setAndCheckABAPSchemaUser(context.get("ABAPSchema"),
context.get("osUser"),
context.get("thread"),
context.get("dbHome"));
2. and few lines later
search for
oracom.setAndCheckJavaSchemaUser(context.get("JavaSchema"),
context.get("osUser"),
context.get("thread"),
context.get("oracleHome"));
and replace with
oracom.setAndCheckJavaSchemaUser(context.get("JavaSchema"),
context.get("osUser"),
context.get("thread"),
context.get("dbHome"));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry
I did not check the file content, you're true it contains hardcoded variables.
Ref of my message to OSS support is
System copy with SLTOOLSET, MCOD installation error => OraSq ( 31685 / 2013 )
Hi,
Can you please try to set SAPDATA_HOME as well as ORACLE_HOME in the system environmental variable in addition to user environmental variable and try again.
Please check and share your feedback.
Thanks and Regards,
Vimal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vimal
I've already tried to play with env var and set all required ones. It is not fixing my issue.
In fact I did already get that error with ABAP system copy. I had to restart the copy after a 1st run that failed because of access error to the export.
I did uninstall the SAP instance but keep the DB. I did get the same error
For ABAP
ERROR 2013-01-08 10:11:59.643 [sixxcstepexecute.cpp:995] |
For Java
ERROR 2013-01-11 10:29:12.55 [sixxcstepexecute.cpp:995] |
I was not able to go through even with setting all the env. var.
I did then drop the DB and the instance and restart the ABAP copy from scratch.
For the Java stack I get stuck with the same error but that time I cannot drop the ABAP Db 😉
Thanks for your help
Hello!
I have the same problem.
I have installed the ABAP instance of SAP ERP 6.0 EHP5 with the 70SWPM1.0 (70SWPM10SP01_1-20009707.sar) without any problems.
Now, i am trying to install a Java instance, but just after the DB screen parameters, I get the error:
Assertion failed: OraSqlContext constructor: arguments dbSidOrSrcObject and dbHome are not valid
In the logs of sapinst_instdir, there are no more explicit errors.
Please let us know if you have a solution.
Thanks!!!
Hi Olivier,
The reason may be caused by a problem in "control.xml". Even though the version is mismatch, could you check the Note 786673 - SAP Web AS 6.40 SR1 on Windows: Oracle with the search for "dbHome are not valid" string
It may help to solve the problem.
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with you I think the error might be in the control.xml file... as far as I was not able to find errors arrounf env. var.
I did found that error message twice in the control file but it does not provide useful info...
The file is too big to be attached and SCN does not accept ZIP attachment ;-(
Than you for help
==============================================
// set this._force equal true when dbSidOrSrcObject more than 3 character (for example in RAC installations)
if ( dbSidOrSrcObject.length > 3)
this._force = true;
if ( parseBool(this._force) ) {
this._dbSid = dbSidOrSrcObject;
[...]
}
else
{
IA_ASSERT(this._checkDbSidDbHome(dbSidOrSrcObject, dbHome),
"OraSqlContext constructor: arguments dbSidOrSrcObject "
+ "and dbHome are not valid.");
this._dbSid = dbSidOrSrcObject;
this._dbHome = dbHome;
this._environmentVariables =
[new OraEnvironmentVariable("ORACLE_HOME", this._dbHome),
new OraEnvironmentVariable("ORACLE_SID", this._dbSid)];
}
==============================================
if (dbSidOrSrcObject.osAccountInfo != undefined)
{
this._osAccountInfo = new OraOsAccountInfo(dbSidOrSrcObject.osAccountInfo);
}
if (dbSidOrSrcObject.dbUserInfo != undefined)
{
this._dbUserInfo = new OraDbUserInfo(dbSidOrSrcObject.dbUserInfo);
}
else
{
IA_ASSERT(this._checkDbSidDbHome(dbSidOrSrcObject, dbHome),
"OraSqlContext constructor: arguments dbSidOrSrcObject "
+ "and dbHome are not valid.");
this._dbSid = dbSidOrSrcObject;
this._dbHome = dbHome;
this._environmentVariables =
[new OraEnvironmentVariable("ORACLE_HOME", this._dbHome),
new OraEnvironmentVariable("ORACLE_SID", this._dbSid)];
}
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.