Solved

deploying application in weblogic

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…

828 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