cancel
Showing results for 
Search instead for 
Did you mean: 

Could not get name for DC project

Former Member
0 Kudos

Hi,

I have been placed in a support project wherein i need to make some enhancements to an already existing application.

We are not using NWDI.I have copied the DC into .dtc folder.

Imported the DC ( File import - Existingproject into workspace - Browse - Finish) .

When i tried to deploy the aplication it is showing an error like this .

java.lang.Exception: Could not get name for DC project

I have managed to reslove class path and build errors.

Please let me know the procedure to solve this problem

Thanks,

Lina

Accepted Solutions (0)

Answers (3)

Answers (3)

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

Instead of a straight file copy - why dont you try the following:

1.) Go to the source project and locate the "_comp" folder.

2.) Zip this folder with some name xyz.zip

3.) Copy the zip to the target computer

4.) Use the File -> Import Wizard in NWDS.

5.) Use the "Zip File" option

6.) Select the zip file.

7.) The project will be copied into the correct folder without issues

The same process can be followed without archiving / zipping as well. For this copy the "_comp" folder to the target computer and use the "Import Existing Projects into workspace" option in File->Import.

Thanks.

p256960.

Former Member
0 Kudos

I did the same in the first instance.this is not working..

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

Is this a Local Development Component Project or a Local Project?

If it is a Local DC then try creating a local DC first and then importing the contents into the local DC.

Then Repair the project. You may also need to add rt.jar into the project if it is not present there already.

Thanks.

p256960

Former Member
0 Kudos

This is a local project.i have tried all the means and deleted the project now.I would like to know the best way to create a DC.Iam not using NWDI and there are no other DCs.I want to deploy the application as it is already an existing application.

Please let me know the right process.

Thanks

Former Member
0 Kudos

Hi Lina,

Try to restart the SDM once and retry to deploy th project.

Cheers,

Arafat

Former Member
0 Kudos

I tried but oops no result

Former Member
0 Kudos

Any Suggestions plz.....

Former Member
0 Kudos

Hi Lina,

Can u provide me wut exactly you did. Did u deploy independent dcs before the dependent ones. I hope this proj was not deplyed with two different names as the Local error cums if u deploy two different projects with same name. If so u need to change the name of the project and have the server restarted. Just provide a bit detail of wut u have done.

Regards,

Preeti

Former Member
0 Kudos

There are no dependent DCs iam afraid.I have deployed only one.I have restarted the server.

Former Member
0 Kudos

Sorry forgot to paste the contents of logfile..

it shows

ay 1, 2009 11:42:55 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:

[004]Deployment finished with warning

Settings

SDM host : DXM3241P

SDM port : 50018

URL to deploy : file:/C:/DOCUME1/LINA11.DXM/LOCALS~1/Temp/temp47588.ear

Result

=> deployment not executed : file:/C:/DOCUME1/LINA11.DXM/LOCALS~1/Temp/temp47588.ear

com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater.

Deployment exception : Got problems during deployment

We dont have any problems with the versions.