Solved

deploying application in weblogic

Posted on 2010-11-29
1
682 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

13 Experts available now in Live!

Get 1:1 Help Now