cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS to different NWDI

Ash_ok
Contributor
0 Kudos

Hi !

Working at different client installations leads one to link the NWDS on one's computer to various NWDIs (different client servers). The connection parameters to link to other NWDIs can be achieved through Window -> Preferences -> Java Development Infrastructure -> Development Configuration Pool and Window -> Preferences -> SAP J2EE Engine. However, I find that even after changing the workspace to a totally different folder for differening NWDIs, my NWDS still seems to ask for previous NWDI credentials. Also, the userID to logon needs to be the same across all NWDIs. This seems to be very strange .

Can we not have individual credentials when working with different NWDIs using the same NWDS ? Is there a document detailing such information ?

BR,

Ashok.

Accepted Solutions (0)

Answers (4)

Answers (4)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Ashok,

if you have no further questions regarding this, could you please close this thread by marking the correct answer(s)?

Thank you and Best Regards,

Ervin

Ash_ok
Contributor
0 Kudos

Hi !

Sorry for the late reply. I was with at another client .........

I've tried the various approaches suggested and still seem to be nowhere near the answer.

I have moved the .dtr / .dtc folders as I found the URLs to the other clients' NWDI in there. Hoping that this would then ensure that the NWDS would create a new set when logging onto the NWDI, I still found that the old NWDIs were being accessed. Why would accessing different NWDIs with different userIDs be such a problem for the NWDS. Where is the NWDS storing this information ?

I have found a workaround in getting the BASIS consultant to create a new userID that matched my userID password of the other clients and I was able to logon to the new NWDI. But I would hope to get an answer for my query.

Best regards,

Ashok.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashok,

I believe I have already answered this, but let me re-iterate my answer:

It is because you CAN'T solve the problem by playing with the .dtr and .dtc folders.

Please accept the fact that on 70X this is a LIMITATION.

See my answer at: "Sep 24, 2012 5:58 PM"

Best Regards,

Ervin

junwu
Active Contributor
0 Kudos

after you move to new dtc dtr folder, did you set the new sld url?

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashok,

this is maybe a known issue, but let's figure it out together.

Are you using 700 NWDS?

When you intend to logon (from NWDS) to the given NWDI, a popup comes to authenticate this action.

Is the user field grayed out on this popup in your case and only the password field can be edited?

If not, then this is a different issue, and that case please ignore this post.

Thank you and Regards,

Ervin

Ash_ok
Contributor
0 Kudos

Hi Ervin,

No, the userID field is open to be edited.

Cheers,

Ashok.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashok,

can you still make an attempt that when you change the nwdi server in your NWDS, then before logging in into the new one, restart NWDS? On 700 release we had this problem that the nwdi change required an NWDS restart (becasue the NWDS developer user could not be altered since the filed was grayed out). Perhaps on EHP releases the filed is now editable but the problem persists.

I mention this only, because what I understand from your request is that your problem is about:

"1 NWDS user tries to connect to N NWDI servers" while the .dtc, .dtr and workspace folder change (that was suggested recently by others) is rather about the situation when "N NWDS users intends to use 1 and the same NWDS client".

Regards,

Ervin

Ash_ok
Contributor
0 Kudos

Hi Ervin,

Yes, your observation is true. When a new NWDI setting is changed in the NWDS, one has to re-start the NWDS, as otherwise, the userID field is just greyed out. We've known about this for sometime now and re-started the NWDS as a workaround.

Ashok.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashok,

ok, then I kindly ask you to forget everything that was told you about the .dtc, .dtr and workspace folders, because that is a different scenario.

I could describe you how to proceed properly (that is really working, because the note "#947581- Adjusting current directories for NWDS" unfortunately isn't fully correct either (I asked the note authors couple of times to correct it, so far with few success)).

Anyway, as mentioned I could tell you how to do it well, but I won't since you have a different problem.

I regret to inform you that on 700 it is NOT possible to change the developer user if you intend to log on to a different NWDI server, the only way out is if you restart the NWDS. I know it sounds not as you expected, but there are no fixes available for this. As of 710 this is not any more a problem, but on 700 I am afraid you have to live with this behaviour.

Thank you for your understanding and Best Regards,

Ervin

junwu
Active Contributor
0 Kudos

i think you have a shortcut in your desktop for the nwds 7

make a copy of that and put this in the shortcut

"C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_19\bin\javaw.exe" -data "d:\john\ws1" -Dvfs.configfolder=d:\\john\\ws1dtr\\.dtr

those two parameters are for workspace and dtr folder, make sure they are different from what you are using now.

after you start the nwds with this shortcut, configure the jdi with new sld url and make sure a new dtc folder is chosen

Ash_ok
Contributor
0 Kudos

Hi Jun,

I've added the parameters mentioned by you in your the shortcut, but I am still not able to use a new userID / password combination nor am I able to change the root folder containing the '.dtc' folder.

To re-iterate, I've used my NWDS to access NWDI(1) using userID(1) / password(1). When I had to access NWDI(2) from my NWDS, I was forced to use userID(1) / password(1) but from NWDI(2) - the same userID / password combination that I used to access NWDI(1), but created on NWDI(2) now. My initial assessment of this anomaly at the time was the fact that I had the same Workspace. Now, to access NWDI(3) from my NWDS, I have changed Workspace(1) to Workspace(2). However, when I try to connect to NWDI(3), userID(3) / password(3) does not work. It works with userID(1) / password(1) combination of NWDI(3). Also, it seems to access NWDI(1), NWDI(2) and NWDI(3).

The above is true even before importing any objects from NWDI(3) onto my NWDS.

Cheers,

Ashok.

junwu
Active Contributor
0 Kudos

are you using new value for those two parameters? you should not use old ws and dtr folder for the new nwdi.

Ash_ok
Contributor
0 Kudos

Hi Jun,

Yes, I am using the new values for the Workspace and .dtr.

BR,

Ashok.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jun, Ashok,

changing the .dtc and .dtr folders, plus the workspace, won't help.

Even if you set up this configuration properly it won't change anything.

I mean it won't solve Ashok's problem, beacuse what you intend to explain Ashok is a different thing, not related to his problem.

I have recently explained why all this happens, and that this is a limitation, please see my post at

"Sep 24, 2012 5:58 PM"

Best Regards,

Ervin

Stefan-EA
Contributor
0 Kudos

You will need to create a new DTR client. Go to the DTR perspective, click on DTR -> Create Client. Or you can edit the clients.xml  and servers.xml in the .dtr folder.

Ash_ok
Contributor
0 Kudos

Hello Stefan,

Based on your suggestion, I commented out all entries in clients.xml and server.xml, but somehow when I try to log on it still persists by asking my old clients' credentials. I've re-checked all files / entries to see if there were any bits pointing to the old NWDI, but I couldn't find any. I even moved all the files from the .dtr folder onto a new location, thereby making NWDS create new clients.xml / server.xml files with no data inside them, but it still asks and checks the old NWDI's credentials.

Is anything else missing ?

BR,

AShok.

Stefan-EA
Contributor
0 Kudos

I checked in all my activities and removed my development configurations for NWDI1 and closed NWDS.

I deleted everything in .dtr\.syncdbs

deleted *.client, *.system and *.xml in the .dtr folder

Start NWDS

Changed Development Configuration Pool url to the url used by NWDI2

Created a new DTR client. (Save the files created for next time you switch)

Ash_ok
Contributor
0 Kudos

Hi Stefan,

Rather than deleting all the files mentioned, I removed all files / folders under .dtr and moved them to a new location. Even then, the NWDS is looking for the old NWDI. This happens even before creating a new DTR client.

I seem to be running out of ideas as to why the NWDS wants a common userID / password combination even when connecting to different NWDIs.

BR,

Ashok.

Stefan-EA
Contributor
0 Kudos

Ashok,

Try again from a clean slate. The server info can be found in the .xml and . system files

  1. Checkin all activities
  2. Remove all development configurations
  3. Close NWDS
  4. Make sure the .dtc folder only contains a LocalDevelopment folder; delete everything else.
  5. Delete everything in the .dtr\syncdbs folder
  6. Delete all files in the .dtr folder
  7. Start NWDS
  8. Create a new DTR client for NWDI #1
  9. Close NWDS and take a "snapshot" of the .dtr folder by copying it to a safe place
  10. Repeat steps 5 - 7
  11. Create a new DTR client for NWDI #2
  12. Repeat step 9
  13. If this works, next time you want to change NWDIs, perform steps 1 - 3 and copy the "snapshot" folder to the .dtr folder

Hope this helps.

Ash_ok
Contributor
0 Kudos

Hi Stefan,

Before point 8, I tried to logon to the NWDI and I am still getting the old error message.

I am not sure were the NWDS is getting it's details from, as the '.dtr' and '.dtc' folders are empty.

Ashok.

Stefan-EA
Contributor
0 Kudos

Hi Ashok,

Can you try from another computer?

Stefan

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stefan, Ashok,

changing the .dtc and .dtr folders, plus the workspace, won't help.

Even if you set up this configuration properly it won't change anything.

I mean it won't solve Ashok's problem, beacuse what you intend to explain Ashok is a different thing, not related to his problem.

I have recently explained why all this happens, and that this is a limitation, please see my post at

"Sep 24, 2012 5:58 PM"

Best Regards,

Ervin

Stefan-EA
Contributor
0 Kudos

Ervin Szolke wrote:

Hi Stefan, Ashok,

changing the .dtc and .dtr folders, plus the workspace, won't help.

Even if you set up this configuration properly it won't change anything.

I mean it won't solve Ashok's problem, beacuse what you intend to explain Ashok is a different thing, not related to his problem.

Thanks for clarifying.