Solved

deploying application in weblogic

Posted on 2010-11-29
1
689 Views
Last Modified: 2013-12-10
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
Comment
Question by:dojjol
1 Comment
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 34234221
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now