cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS connecnting to multiple NWDI

adren_dsouza
Participant
0 Kudos

Hi All,

I have connected my NWDS to NWDI and I have imported the track , made changes - all fine. Now I want the same NWDS to connect to one more NWDI .

I have changed the URL in the "Development Configuration Pool" to point to the new NWDI .When I Go to DTR Perpective and try to Login, I can see that the URL referred is that of the old NWDI and hence the login always fails !!

NWDS Version is 7.0.11

Can someone help me on this ?

Regards,

Adren

Accepted Solutions (1)

Accepted Solutions (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

actually you bind your NWDS not to NWDI, but to SLD.

it works this way:

you have say 2 NWDIs. Lets imagine you use the same SLD for both (the URL you maintain on the domain data tab of cms webui's Landscape Configurator).

Now you create a track in both of the NWDIs let's refer them as of now NWDI A and NWDI B.

In NWDI A you point to your very SLD, and when you create a track, you point to DTR A and CBS A.

You do the same in NWDI B, i.e. you point to your very SLD, and when creating a track you specify there DTR B and CBS B.

Once the tracks are saved, both of them will be registered in the very same SLD.

Therefore when you specify this SLD in your NWDS, there is no need to change anything, since SLD knows where exactly the tracks are located, i.e. on which NWDI.

Of course if you use different SLDs , then each time you want to import from the other NWDI, you have to rewrite the SLD URL in the development config settings in NWDS.

I hope this helps.

Regards,

Ervin

adren_dsouza
Participant
0 Kudos

Hi Ervin,

Yes, what i meant was we are using 2 different SLDs.  Though i update the SLD URL of the second NWDI in the "Development Configuration Pool", and when i try to login, the login fails . In the more details, I can see that its trying to connecty to the first SLD.

Is that a bug with NWDS ? Any ideas ?

Regards,

Adren

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

can you make a quick test?

- restart NWDS

- create a new NWDS workspace

- try to reproduce this issue.

Thank you and Regards,

Ervin

adren_dsouza
Participant
0 Kudos

Hi Ervin,

Thanks for your time.

I tried the steps suggested by you , but still the same problem. It's still pointing to old sld URL.

Regards ,

Adren

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adren,

no problem I saw you opened a SAP ticket, I will make an attempt to contact you tomorrow so we can have a meeting where you can show you your system, and hopefully we an figure it out what is going on here. Send the ticket back to me please.

Thanks and Regards,

Ervin

adren_dsouza
Participant
0 Kudos

Hi Ervin,

Thanks a lot. Have assigned back the ticket. In the meatime I will try to look for the solution.

Regards,

Adren

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adren,

it was nice talking to you 😉

As discussed the problem origined from a corrupted workspace.
Once we changed the complete workspace structure, the problem gone.

We proceeded this way:

0) Stop NWDS
1)The first folder is the workspace.
  You can set it up by editing the shortcut of NWDS in the following
  way:
  <IDE>\eclipse\SapIde.exe -vm "<JAVA_HOME>\bin\javaw.exe" -data
  "<workspace folder of a given user>"
  (!Example!)
  D:\JDT\eclipse\SapIde.exe -vm "D:\usr\j2sdk1.4.2_09\bin\javaw.exe"
  -data "D:/etc/JDIWorkspace/i030853"

2)The second folder (.dtc) can be changed by editing the file under
  <IDE>\eclipse\plugins\com.sap.java.ide\plugin_customization.ini
  Add the line at the end of the file
  com.sap.ide.eclipse.component.provider/configPoolRoot=<workspace
  folder of the given developer>
  (!Example!)
  com.sap.ide.eclipse.component.provider/configPoolRoot=D:/etc/JDIWorksp
pace/i030853/.dtc

3)The third (.dtr) parameter can be changed in the file vm.parameters
  which is in case of NW04 and NW04S:
  <IDE>\eclipse\vm.parameters
  Add a line at the and of the file:
  -Dvfs.configfolder=<workspace of the given developer>\.dtr
  (!Example!)
  -Dvfs.configfolder=D:\etc\JDIWorkspace\i030853\.dtr

4) Start NWDS

Best Regards,
Ervin

adren_dsouza
Participant
0 Kudos

Hi Ervin,

Thanks a lot for your help

Regards,

Adren

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

you are welcome my friend! 😉

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

One addition for the sake of completeness and in case someone else reads this in the future:

These steps are valid only for 700 release, on higher releases these steps are not necessary because there are always 2 workspaces created. The folder "<workspace>" and the folder "<workspace>.jdi" (which basically holds the .dtr and .dtc).

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ervin,

So we need to repeat step 2-4 again, if we would like to switch back to the first NWDI?

Best Regards,

Nuttakorn

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

HI

it is actually about the workspace switch of nwds 640/700, and you need to do all steps, not only 2-4.

Regards

Ervin