I am a newbie to weblogic. I have two wars(includes same code with feature1 and feature2) with the same context.I cannot merge the code as they are planned for different releases.
I want to test them simultaneously.I have an idea about JBoss cloning.In Jboss,I can run 2 wars simultaneously on different ports.
Can I do the same in weblogic? If yes,then how?
And there is one more way, that I can do with change of context in weblogic.xml.That way I can deploy two wars with different context.
"A WebLogic Server domain always has exactly one administration server. This special instance of WebLogic Server is responsible for the configuration of the entire domain. Other servers in the domain are called managed servers, and they are typically the servers on which you run your applications. A domain can contain any number of managed servers." - From Oracle Docs
So, you can achieve this creating 2 managed servers in your domain, as they will run independently from each other. You will need to create another managed server and configure everything for this new instance (such as Data Sources and other services)
You can find how to configure a managed server on Oracle Docs attached (the tutorial is a bit long to put down in images here). I've been using these for years on my development environment and it works just fine. http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/02/configmanaged.html
To deploy your application to a managed server you can follow the steps below:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.