on 02-14-2013 1:52 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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).
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.