Topic
3 replies Latest Post - ‏2012-05-14T06:56:27Z by Jaykumar1988
SystemAdmin
SystemAdmin
14225 Posts
ACCEPTED ANSWER

Pinned topic A file does not exist for module element having uri: Rest.war -

‏2011-01-03T13:03:06Z |
Hi
My settings are given beow
Toolkit : 7.0.0.2 + Feature pack 2
WAS : 7.0.0.13

I have installed WCS Feature Pack 2 recentily. But found below error after installation . Not able to open any application

1/3/11 18:22:08:134 IST 00000010 ApplicationMg A WSVR0221I: Application started: isclite
1/3/11 18:22:08:134 IST 00000010 CompositionUn A WSVR0191I: Composition unit WebSphere:cuname=isclite in BLA WebSphere:blaname=isclite started.
1/3/11 18:22:08:150 IST 00000011 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=WC in BLA WebSphere:blaname=WC.
1/3/11 18:22:20:212 IST 00000011 ApplicationMg A WSVR0200I: Starting application: WC
1/3/11 18:22:20:212 IST 00000011 ApplicationMg A WSVR0204I: Application: WC Application build level: Unknown
1/3/11 18:22:22:728 IST 00000011 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\WCDE_E~1\wasprofile\logs\ffdc\server1_17371737_11.01.03_18.22.22.5872536200459785734828.txt com.ibm.ws.runtime.component.ApplicationMgrImpl 980
1/3/11 18:22:22:728 IST 00000011 ApplicationMg E WSVR0101W: An error occurred starting, WC
1/3/11 18:22:22:728 IST 00000011 ApplicationMg A WSVR0217I: Stopping application: WC
1/3/11 18:22:22:744 IST 00000011 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\WCDE_E~1\wasprofile\logs\ffdc\server1_17371737_11.01.03_18.22.22.7444028508353982405632.txt com.ibm.ws.runtime.component.DeployedApplicationImpl 536
1/3/11 18:22:22:869 IST 00000011 ApplicationMg A WSVR0220I: Application stopped: WC
1/3/11 18:22:23:103 IST 00000011 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\WCDE_E~1\wasprofile\logs\ffdc\server1_17371737_11.01.03_18.22.22.8692124031024266139922.txt com.ibm.ws.runtime.component.DeployedApplicationImpl 580
1/3/11 18:22:23:119 IST 00000011 CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=WC in BLA WebSphere:blaname=WC failed to start.
1/3/11 18:22:23:134 IST 00000011 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\WCDE_E~1\wasprofile\logs\ffdc\server1_17371737_11.01.03_18.22.23.1192805577087056654484.txt com.ibm.wsspi.runtime.component.WsComponentImpl 297
1/3/11 18:22:23:134 IST 00000000 ContainerHelp E WSVR0501E: Error creating component com.ibm.ws.runtime.component.CompositionUnitMgrImpl@66026602
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:316)
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:227)
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:503)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:298)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:340)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:110)
Caused by: com.ibm.ws.exception.RuntimeError: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:748)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2046)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:110)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:949)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)
Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:591)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.initModuleFileFromEAR(ModuleRefImpl.java:167)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.getModuleFile(ModuleRefImpl.java:120)
at com.ibm.ws.classloader.ClassGraph.addModule(ClassGraph.java:135)
at com.ibm.ws.classloader.ClassLoaderManager.initialize(ClassLoaderManager.java:205)
at com.ibm.ws.classloader.ClassLoaderManager.<init>(ClassLoaderManager.java:166)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:897)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
... 8 more

1/3/11 18:22:23:150 IST 00000000 TCPChannel I TCPC0001I: TCP Channel TCP_1 is listening on host * (IPv4) port 9060.
1/3/11 18:22:23:166 IST 00000000 WSChannelFram A CHFW0019I: The Transport Channel Service has started chain WCInboundAdmin.
1/3/11 18:22:23:166 IST 00000000 TCPChannel I TCPC0001I: TCP Channel TCP_2 is listening on host * (IPv4) port 80.
1/3/11 18:22:23:181 IST 00000000 WSChannelFram A CHFW0019I: The Transport Channel Service has started chain WCInboundDefault.

Please help
Updated on 2012-05-14T06:56:27Z at 2012-05-14T06:56:27Z by Jaykumar1988
  • blima@ca.ibm.com
    blima@ca.ibm.com
    2 Posts
    ACCEPTED ANSWER

    Re: A file does not exist for module element having uri: Rest.war -

    ‏2011-01-03T17:30:44Z  in response to SystemAdmin
    After enabling a Commerce feature pack, you need to republish your application. Have you done that? If not, you will need to right click on the server configuration in RAD and select publish.
    • SystemAdmin
      SystemAdmin
      14225 Posts
      ACCEPTED ANSWER

      Re: A file does not exist for module element having uri: Rest.war -

      ‏2011-01-04T04:16:16Z  in response to blima@ca.ibm.com
      Yes... After publishing it started working .. Thanks a lot. :)
      Note: First publish was a failure.. Second time it published successfully
    • Jaykumar1988
      Jaykumar1988
      1 Post
      ACCEPTED ANSWER

      Re: A file does not exist for module element having uri: Rest.war -

      ‏2012-05-14T06:56:27Z  in response to blima@ca.ibm.com
      Hi,

      I getting the following errror while publishing the server
      The publish encountered some problems and the application may not have been installed or it may have been successfully installed but was unable to start. View the Details to display the exceptions and server logs that occurred during the publish.

      ======== WC ========

      Application Failed to Install. WC
      Application Failed to Install. WC
      Please see server logs for more details.
      5/14/12 8:43:21:825 IST 00000023 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl rollUpRoles An error occurred while processing the roles in module
      Web Module org.eclipse.jst.j2ee.application.internal.impl.WebModuleImpl@11ba11ba
      URI http:// Rest.war
      Alt DD null
      Context Root /wcs/resources
      for application C:\IBM\WCD\workspace\WC, error message=A file does not exist for module element having uri: Rest.war
      5/14/12 8:43:21:825 IST 00000023 SystemErr R org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
      Stack trace of nested exception:
      org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:564)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.initModuleFileFromEAR(ModuleRefImpl.java:166)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.getModuleFile(ModuleRefImpl.java:121)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getModuleFile(EARFileImpl.java:138)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:670)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:651)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:690)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:1533)
      at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:1517)
      at com.ibm.ws.management.application.task.ConfigRepoHelper.getEarFileForApp(ConfigRepoHelper.java:286)
      at com.ibm.ws.webservices.admin.deploy.ServiceIndexReadTask.performTask(ServiceIndexReadTask.java:86)
      at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:285)
      at java.lang.Thread.run(Thread.java:736)

      5/14/12 8:43:21:825 IST 00000023 SystemErr R Stack trace of nested exception:
      5/14/12 8:43:21:825 IST 00000023 SystemErr R org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NoModuleFileException: A file does not exist for module element having uri: Rest.war
      5/14/12 8:43:21:825 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:564)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.initModuleFileFromEAR(ModuleRefImpl.java:166)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleRefImpl.getModuleFile(ModuleRefImpl.java:121)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getModuleFile(EARFileImpl.java:138)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:670)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:651)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:690)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:1533)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java:1517)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at com.ibm.ws.management.application.task.ConfigRepoHelper.getEarFileForApp(ConfigRepoHelper.java:286)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at com.ibm.ws.webservices.admin.deploy.ServiceIndexReadTask.performTask(ServiceIndexReadTask.java:86)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:285)
      5/14/12 8:43:21:840 IST 00000023 SystemErr R at java.lang.Thread.run(Thread.java:736)