[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 728
  • Last Modified:

deploying application in weblogic

Hello All,
I am new to weblogic and I have created one war file which I am trying to deploy, its name is myadmin.war. Whenever I try to deploy this war, server says - Context path '' is already in use by the module: DefaultWebApp application.

In jboss, application name used to automatically be the same as the name of war.

SOS

Thanks!
0
dojjol
Asked:
dojjol
1 Solution
 
ramazanyichCommented:
just create a file WEB-INF/weblogic.xml inside your WAR file and put there:
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
  <context-root>myadmin</context-root>
</weblogic-web-app>

build you war file and redeploy
You should be able to access it on http://yourserver:port/myadmin/...
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now