Technote

(troubleshooting)
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 in Toolkit
Problem(Abstract)
You remove and re-add the WebSphere Commerce project to the WAS test server in WebSphere Commerce Developer. Then you see the following exception:

org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
Cause The WebSphere Commerce project was not correctly added to the WAS. Resolving the problem To resolve the issue, perform the following steps:

  1. In the servers tab, right-click WebSphere Commerce Test Server and click Add and remove projects.

  2. In the context menu, remove the WebSphere Commerce project from the list of configured projects.

  3. In the Project Explorer window, under Enterprise Applications, right-click the WebSphere Commerce project and click Close Project.. The workspace is automatically rebuilt.

  4. Restart the WebSphere Commerce Test Server.

  5. Right-click the closed WebSphere Commerce project (it should be under the "Other Projects" folder), click Open Project, again the workspace will be rebuilt

  6. In the servers tab, right-click  WebSphere Commerce Test Server and click Add and remove projects.

  7. Add the WebSphere Commerce project the list of configured projects. The WebSphere Commerce application is rebuilt.

  8. (Optional) Restart the server.

Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce Developer Enterprise General Windows 6.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4 All Editions
Commerce WebSphere Commerce Developer Enterprise Customization / Application Development Windows 6.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4 All Editions
Commerce WebSphere Commerce Developer Express Customization / Application Development Windows 6.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4 Developer Express
   

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21298876