weblogic.application.ModuleException:上下文路径''已被模块使用:/ application:

Shi*_*goy 8 java webserver weblogic weblogic12c

当我试图运行weblogic服务器12c时,它抛出此错误,无法启动.

    <Apr 16, 2013 2:42:57 PM IST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:acsportal@acs-portal.war, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    <Apr 16, 2013 2:42:58 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "acsportal" due to error weblogic.application.ModuleException: Context path '' is already in use by the module: / application: acs-portal
    weblogic.application.ModuleException: Context path '' is already in use by the module: / application: acs-portal
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
            at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
            at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
            at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
            Truncated. see log file for complete stacktrace


Caused By: weblogic.application.ModuleException: Context path '' is already in use by the module: / application: acs-portal

            at weblogic.servlet.internal.WebAppModule.validateContextPath(WebAppModule.java:1392)
            at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:1238)
            at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:723)
            at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
            at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
            Truncated. see log file for complete stacktrace
Run Code Online (Sandbox Code Playgroud)

在此错误之后,服务器在此时挂起

<Apr 16, 2013 2:43:58 PM IST> <Warning> <WorkManager> <BEA-002919> <Unable to find a Work Manager with name wm/ProvisionWorkManager. Dispatch policy wm/ProvisionWorkManager will map to the default Work Manager for the application acs-portal>
Run Code Online (Sandbox Code Playgroud)

并且在此行之后没有开始帮助如何解决此错误.

mac*_*ing 13

  1. 停止weblogic服务器
  2. 从weblogic 3中的'autodeploy'文件夹中删除所有war文件.然后再次启动weblogic服务器
  3. 之后在浏览器中键入URL"http:// localhost:7001/console /"
  4. 转到"配置应用程序"链接
  5. 然后选择以前的项目和go stop - >工作完成时


krt*_*tek 5

  1. 转到Weblogic的 config.xml
  2. 找到所有<app-deployment>部分.
  3. 删除它们(你可能想在某处备份它).

在我的情况下,我们的应用程序超过30个实例:

<app-deployment>
    <name>deploy_ear_ear_exploded</name>
    <target>AdminServer</target>
    <module-type>ear</module-type>
    <source-path>*path_to_application*</source-path>
    <security-dd-model>DDOnly</security-dd-model>
  </app-deployment>
Run Code Online (Sandbox Code Playgroud)