Technote

(troubleshooting)
Module not found exception when starting the test server
Problem(Abstract)
When starting the WebSphere Commerce test server, the WebSphere Commerce application fails to start. An error similar to the following displays in the WCDE_installdir/wasprofile/logs/server1/trace.log file:

Caused by: com.ibm.ws.exception.ConfigurationWarning: com.ibm.etools.j2ee.commonarchivecore.exception.NoModuleFileException: A file does not exist for module element having uri: WebSphereCommerceServerExtensionsData.jar
Resolving the problem This problem can be resolved by installing Interim Fix 002 for Rational Application Developer V6.0.1.1.
If, after installing the fix, the problem remains...

  1. Stop the WebSphere Commerce test server.

  2. Restart Rational Application Developer.

  3. Start the WebSphere Commerce test server.


If the problem continues to persist do the following:

  1. Verify that no server settings were changed:

    To view the server settings, double click the server definition in the servers view. Under Publishing in the Server overview, verify the Run server with resources within the workspace option is selected along with the check box for Minimize application files copied to the server.

  2. Attempt to cleanly publish the application:

    1. Start the WebSphere Commerce test server.

    2. Right click on the server definition in the servers view and select Add and remove projects.

    3. In the new dialog box, the WC project is listed in the Configured projects section. Select the WC project and click Remove. This will move the WC project to the Available projects section.

    4. Click Finish and Rational Application Developer will unpublish the WC application.

    5. Restart the WebSphere Commerce test server and verify that the WC application is no longer starting up and that there are no other errors during startup.

      To verify that the WC is no longer starting up verify that the following is no longer printed:

      ApplicationMg A WSVR0200I: Starting application: WC

    6. Reopen the Add and remove projects dialog.

    7. Select the WC project in the Available projects section and click Add > Finish. The application will move to the Configured projects section and Rational Application Developer attempts to publish the application to the test server.

    8. When publish is complete, restart the WebSphere Commerce test server and verify that there are no errors during startup.


If you are still having problems, contact WebSphere Commerce Support and provide the following files:

WCDE_installdir\workspace\.metadata\.plugins\com.ibm.wtp.j2ee\looseconfigurations\WC \looseconfig.xmi
WCDE_installdir\workspace\WC\META-INF\.modulemaps
WCDE_installdir\wasprofile\logs\SystemOut.log
 

Document Information

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