cancel
Showing results for 
Search instead for 
Did you mean: 

Error when using DCTool for moving DC

Former Member
0 Kudos

Hi,

Has anyone used DC tool for moving DC from one SCA to another SCA file?

Iam getting the following error.

:dc>movedc -s test.com_TEST_SOFTWARE_COMP_1 -n fsp/testwddc -v test.com --targetcompartment test.com_TEST_SOFTWARE_COMP_1_1 --actn

ame "trymovewddc" --actdesc "trymovewddc"

Retrieving / updating DC meta data, this may take a while ...

Error while accessing compartment "sap.com_BASETABLES_1" in build space "Track1_Test1_D"

Illegal Character in "schedulerjddschema" at position 9 character: ''

Error while accessing compartment "sap.com_CORE-TOOLS_1" in build space "Track1_Test1_D"

Illegal Character in "tctoolobjectProfiler" at position 2 character: '~'

Error while accessing compartment "sap.com_ENGINEAPI_1" in build space "Track1_Test1_D"

Illegal Character in "sap.comservlet_jsp_migration" at position 7 character: '

'

Error while accessing compartment "sap.com_ESP_FRAMEWORK_1" in build space "Track_Test1_D"

Illegal Character in "tcesiuddisrproxyear" at position 2 character: ''

Error while accessing compartment "sap.com_FRAMEWORK_1" in build space "Track_Test1_D"

Illegal Character in "tcpmimigration" at position 2 character: '~'

Error while accessing compartment "sap.com_WD-RUNTIME_1" in build space "Track_Test1_D"

Illegal Character in "webdynpromigration" at position 9 character: ''

Retrieving / updating DC meta data, this may take a while ...

Retrieving / updating DC meta data, this may take a while ...

Creating DTR client ...

Created directory C:\DOCUME~1\uma\Local Settings\Temp\HelpClient2010092718541684

3_867 for additional DTR client.

Additional DTR client has been created.

18:55:16.375 SYNC (FAILED: Failed to create/open file: C:\Documents and Settin

gs\uma\Local Settings\Temp\HelpClient20100927185416843_867\test.com_TE

ST_SOFTWARE_COMP_1\DCs\test.com\fsp\testwddc\_comp\src\packages\com\ca

rdinalhealth\fsp\testwddc\testwdapp\comp\TestWDCompInterface.wdlocalcompintfdef

(Access is denied)) TestWDCompInterface.wdlocalcompintfdef (C:\Documents and

Settings\uma\Local Settings\Temp\HelpClient20100927185416843_867\test.

com_TEST_SOFTWARE_COMP_1\DCs\test.com\fsp\testwddc\_comp\src\packages\

com\test\fsp\testwddc\testwdapp\comp\TestWDCompInterface.wdlocalcompin

tfdef)

Error while moving DC.

Failed to create/open file: C:\Documents and Settings\uma\Local Settings\Temp\He

lpClient20100927185416843_867\test.com_TEST_SOFTWARE_COMP_1\DCs\cardin

alhealth.com\fsp\testwddc\_comp\src\packages\com\test\fsp\testwddc\tes

twdapp\comp\TestWDCompInterface.wdlocalcompintfdef (Access is denied)

Additional DTR client has been removed.

Can anyone suggest what can be done to fix this?

Thanks,

Uma

Accepted Solutions (0)

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

yes, I used the tool many times in the past, however I remember I had some issues only due to the foldername "Documents and Settings" due to the fact it includes even 2 spaces. I changed the location of my .dtc and .dtr folders under a folder like C:\JDIworkspace and I managed to save myself from many headaches. Still I am not yet sure this is your problem, it is maybe worth to try it, there's nothing to lose anyway. If you have 700 NWDS and you want to go for this option, let me know and I tell you how to do it.

Coming back to the error message, I can see two errors in the trace:

A). the problem about the ~ character. This error is strange, I never faced before, and the DCtool should not have a problem with it as this is the namespace separator in DC names, it should be able to handle it. However as mentioned, "Documents and Settings" will be "translated" as "DOCUME~1" and maybe this also confuses the tool.

B). The "Access is denied" error. For this you can specify recursively to grant access for your user for the corresponding folder. I guess you have tried it, but to be on the safe side I rather ask it.

Can you please first ensure that you have full access rights to the folder (and its subfolders) you can see in the error message?

Can you please also tell me the version of the SCs in these tracks? I guess the version is >= 7.1 (I assume from the name like ENGINEAPI, etc). Can you pleae also tell me from which NWDS you use the DCTool? Is it a 700 NWDS?

Let me know whether this helps or gives any idea.

Best Regards,

Ervin

Former Member
0 Kudos

Thanks Ervin for responding.

Below are some more information -

1) Iam using CE 7.1 SP5 NWDS. Hence the .dtr and .dtc folder are in d:\workarea .

2) C:\Documents and Settings\uma\Local Settings\Temp\HelpClient20100927185416843_867\test.com_TEST_SOFTWARE_COMP_1\DCs\test.com\fsp\testwddc\_comp\src\packages\com\test\fsp\testwddc\testwdapp\comp\TestWDCompInterface.wdlocalcompintfdef(Access is denied))

--> Iam not able to find this folder HelpClient in the directory itself? Is it trying to create one ?

3) The version of the SCA files are CE 7.1

Can you please elaborate on this -

B). The "Access is denied" error. For this you can specify recursively to grant access for your user for the corresponding folder. I guess you have tried it, but to be on the safe side I rather ask it. - Iam unable to find the folder HelpClient.. as mentioned in above point (2)

Thanks,

Uma.A

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Uma,

indeed all the points seems fine, except the "Access Denied" part.

I'll look into this HelpClient thingy, but can you please create a folder like this, and after ensuring it has full access rights (as well as its subfolders) then is the problem still reproducible?

Thank you!

Best Regards,

Ervin

Former Member
0 Kudos

Hi Uma,

maybe the path the tools uses for creating temp files is too long (243 characters). Some JDKs have problems with long paths on Windows. The movedc command has a command option -t (-tempdir). Try using somehing short like c:\temp

Regards

Michael

Former Member
0 Kudos

Thanks Ervin and Michael.

I changed the directory name and it worked.

However, it is deleting the DC from first SCA file. Is there any option using which I can make a copy of the DC into new SCA file.

Reason for asking this - Iam having only one good SCA file in a track which we have to decommission. Assembly for this track is failing due to broken DCs which Iam unable to fix from delete DC from NWDS method.

Hence, I thought we could move the required DCs and make a new SCA file for future use in new NWDI.

Iam little skeptical to work with production SCA file using move command as we have almost 50 DCs. In case something does not work, then I might have to redo the DC in the new SCA file.

Can you suggest any other better option to achieve this?

I will also try using the deleteDC command and see if Iam able to delete the broken DCs meanwhile.

Thanks again for your suggestions.

Uma.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Uma,

you can also work with track connections, and maintenance tracks, see the guide at:

Best Practices: Track design for ongoing development

/people/marion.schlotte/blog/2006/03/30/best-practices-for-nwdi-track-design-for-ongoing-development

Perhaps what you are looking for is the concept of "Maintenance Tracks", see the above guide for details (the above one has a link to the guide /people/guenter.schiele/blog/2005/12/21/best-practices-for-running-the-nwdi , walk through that one as well).

I hope this fits your needs.

Best Regards,

Ervin

Former Member
0 Kudos

Thanks Ervin.

I tried using the Integrate To option which allows copy of DC rather than move.

Thanks,

Uma