This post is next in series “Learn WebLogic with Us“, Till now we learned
- Install Oracle WebLogic Server
- Definition of Domain, Administration & Managed Server in Oracle WebLogic
- Create DOMAIN with one Administration Server or two managed server in Cluster
and finally - How to start Administration or Managed Server in WebLogic
This post covers steps to deploy application (ear, war, jar) on Oracle WebLogic Server
.
Things good to know before deploying application on Oracle WLS
i) User with Admin or Deployer role can deploy application
ii) Weblogic supports following type of deployment unit
a) EAR file (Enterprise Archive)
b) WAR file (Web Archive)
c) JAR files, EJB (Enterprise Java Beans)
d) RAR (Resource Adapter/Connector )
e) Web Services (WAR/JAR)
f) J2EE Library
g) CAR (Client Application Archive)
– Web Archive configuration file is usually …../WEB-INF/web.xml
– Enterprise Application (EAR) configuration file is usually …/META-INF/application.xml
iii) Application name can contain only following character (a-z, A-Z, 0-9, underscore, hyphen, . period/dot)
iv) Application name with only period/dot (like . or .. or …) is not valid name, it should contain at least one other character.
v) Application Name should be 215 character or less
.
Tools used to deploy/configure applications
1) weblogic.Deployer – command line interface
2) Administration Console – Web based interface
3) WLST(WebLogic Scripting Tool) – command line tool to automate deployment configuration and operation
4) Tool for developers (wldeploy, weblogic.PlanGenerator, API, autodeploy)
.
Steps to Deploy Application using Administration Console
In this post I’ll cover steps to deploy application using Administration Console
Download Sample Application from here use this file to deploy on WebLogic Server.
1. Start Administration Console if its not Up already (In my case Administration Server is listening on port 7001)
2) Access Administration console using URL http(s):// <hostName>:<port>/console
3) Login using User (with admin or deployer role) weblogic in my case
4) First step is to acquire Lock as shown in screen
5) Click on deployment
7) Select Application (war, jar, ear) File . You should get this application (war, ear, jar) file from development team.
Select Install this deployment as Application and click Next
9) Activate Canges by clicking on button on left as shown in screen
10) Start Application by clicking on Start Button
.
.
Access Video on How to deploy application on WebLogic from here
Related Posts for Learn WebLogic with Us
- Oracle WebLogic Installation Steps
- Domain , Administration & Managed Server, Cluster in Oracle WebLogic
- Create Domain in Oracle WebLogic
- Oracle WebLogic Server – Startup/Shutdown
- Oracle WebLogic Server 10g R3 10.3 is out now
- Deploy Application on Oracle WebLogic Server
- Cluster Architecture : Oracle WebLogic Server
- Start WebLogic Server on Linux on port 80, 443 <= 1024
- JDBC (Java DataBase Connectivity ) in Oracle WebLogic – Overview
- WebLogic Server JDBC for Database connection : Step by Step
- Security in Oracle WebLogic : Realm, Security Provider, Authentication, Authorization, Users
- Deploy ADF application to Oracle WebLogic Server
- Node Manager in Oracle WebLogic Server
- Configure Oracle HTTP Server infront of Oracle WebLogic Server mod_wl_ohs
- How to install weblogic server on 64 bit O.S. (Linux /Solaris) ?
- Oracle WebLogic Login Issue : Password is not correct (Password Lock Policy)
- Oracle WebLogic Server : Node Manager in nutshell
- Certification : 1Z0-108 Oracle WebLogic Server 10g System Administrator Certified Expert
- How to integrate WebLogic with Oracle Internet Directory for Login : Authentication
- opatch, adpatch and now “smart update” (BSU) to apply weblogic patches
- Disater Recovery documentation for Oracle WebLogic Server 11g (Fusion Middleware)
- Authentication Providers in #WebLogic – Oracle Access Manager Identity Assertion for Single Sign-On and OAM Authenticator
- Error while starting WebLogic Server : java.lang.NumberFormatException: null
- #WebLogic startup prompting from username password : boot.properties
- BEA-000286 : Failed to invoke startup class “JRF Startup Class” oracle.jrf.wls.JRFStartup
- WebLogic Kerberos (SSO) Authentication Issue : Error 401 Forbidden : No Configuration was registered that can handle the configuration named com. sun. security. jgss. krb5. accept
- How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications
- Oracle WebLogic Server Certification : 1Z0-108 Practice Question and Dumps
- WebLogic Startup fails with Unable to obtain lock on Server may already be running
- Oracle Weblogic 12c Launch : Attend online on 1 Dec 2011
- Oracle WebLogic 12c (12.1.1) is now available to download
- How to Install WebLogic 12C (12.1.1) on Mac
- Oracle #WebLogic Server 12c : SE vs EE vs Suite License Options
- SSL in WebLogic (CA, KeyStore, Identity & Trust Store) : Things you must know – Part I
- SSL in WebLogic Server – Part II : Create KeyStore, generate CSR, Import CERT and configure KeyStore with WebLogic
- WebLogic Admin Server Start-up hanging at “Initializing self-tuning thread pool”





Good hands-on exercises (installation, patching, cloning), very experienced trainer worth every penny 
36 users commented in " Deploy Application on Oracle WebLogic Server "
Follow-up comment rss or Leave a Trackback[...] Oracle releases BEA Workshop as a free eclipse plugin First saved by meganashley | 1 days ago Deploy Application on Oracle WebLogic Server First saved by sporty04 | 1 days [...]
am newbie and all the stuff what u hav posted here are really very helpfull.
thanks a bunch for your posts.
please keep posting for us.
regards
gani
thank you for this website. tremendous information!
I followed all steps here,
When I click ‘Start’ button to start ‘Servicing all requests’ of jspExpressionEar, got this error. wouldn’t start. any idea?
Message icon – Error java.lang.Exception: [DeploymentService:290049]Deploy failed for id ’1,225,844,443,766′ since no targets are reachable.
Thanks in advance.
Kim,
Found an answer for this.
I didn’t add a Admin server as a target in a cluster case.
After deployed jspExpressionEar application.
When I clicked this url http://localhost.localdomain:7001/jspExpressionEar, got this error.
“Error 404–Not Found”
10.4.5 404 Not Found
Any idea?
404 means there is no such page to serve from web server .
Was there any error while deploying this application (ear) ?
No, didn’t get any errors during deployment.
Where do the web things go? maybe under domain?
thank you for quick reply.
Good work. Keep going and thank you.
Can you also please post instructions to deploy application via scripts – shell or perl or Weblogic scripting lang
TIA
Hi,
Thanks for posting the new concept weblogic server 10.3.
I have some doubt regarding deployment in wls-10.3
Multiple applications can be deployed at a time on wls-10.3–How it is possible
please clarify……
Thanks in advance
Rajeswari kanchamireddy
Hi
Nice article to get started
please provide step by step deployment of entity beans in oracle weblogic 10.3, using eclipse, and how to configure jms.
Hello,
I’m using weblogic 10.3.
I have problem when i run a web application.
The problem is accured when weblogic try to compile jsp page that contains such syntax :
<jsp:param name=”messageKey” value=”" />
When i change this assertion to :
<jsp:param name=”messageKey” value=”" />
It works fine..
This problem is general with all syntax like this : value=”<%=%>
It’s a big problem, becaus the application contains more than 2000 jsp pages..
Are there any special config to add to weblogic configuration files to resolve this problem ?
Thanks
Hi,
I am using weblogic 10.0 The problem is I am getting ” java.lang.Exception: [DeploymentService:290049]Deploy failed for id ’1,260,961,264,281′ since no targets are reachable” eventhough ManagedServer is running please help..
Prashanth
Hi,
I deployed as you said, but i have problem, can you help me?
java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.soap.SOAPBindingImpl.getElementType()
Your Site contents are in Danger … it is being copied and pasted by the below Blog:
http://onlineappsdba.com/index.php/2008/08/12/deploy-application-on-oracle-weblogic-server/
Is Copied by following:
http://narayanasetti.blogspot.com/2011/04/deploy-application-on-oracle-weblogic.html
There are many more articles in the above blog which is completely copied and pasted from your Site.
Thanks
Roberto Beeman
Your Site contents are in Danger … it is being copied and pasted by the below Blog:
http://onlineappsdba.com/index.php/2008/11/04/jdbc-java-database-connectivity-in-oracle-weblogic-overview/
Is Copied by following:
http://narayanasetti.blogspot.com/2011/04/jdbc-java-database-connectivity-in.html
There are many more articles in the above blog which is completely copied and pasted from your Site.
Thanks
Roberto Beeman
@ Roberto,
Thnaks Roberto for sharing information. I’ll contact author Narayan Setti and ask him not to copy content.
Hi Atul,
Could you please share some info on web services and what is the process when a soap message is fired , how the message is directed to a aprticular java class.
thanks in advance..
Regards
Madhavi
» Deploy Application on Oracle WebLogic Server Online Apps DBA: One Stop Shop for Apps DBA’s…
Thank you for submitting this cool story – Trackback from JavaPins…
Hi Atul,
I tried to deploy a war file into the weblogic server using adminconsole but it needs some supporting files(having database details. I deployed that in JBOSS application server and it is working fine for me. Coming to weblogic i confused that how can i supply those supporting files to the deployed war file.
can you please help me on that?
Hi Atul,
I am trying to deploy a war file into weblogic 10.3.5.0.
That war file needs some support data(Like database details) while running.
I stored that data into an external xml file which is out from war file.
Now my doubt is How can supply that external xml file values to my war file deployed in weblogic server?
Please send me solution for this….
Thanks & Regards,
Mani Katakam
What should be the default installation folder Weblogic installation in Solaris Cluster. Is it right if we use the Globalfs as /weblogic for installation. Will there be any performance issues arise. What is the best practice in case
if Solaris OS cluster is used.
Thanks for adivse.
Regards,
Raj
Hi,
When I am trying to deploy the ear file got the below error.
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false
Could you please help me to Resolve the issue.
Regards,
Suresh
@ Suresh,
You need to deploy library adf.oracle.domain on to managed/admin server on which you are deploying this application.
From admin server go to “deployments” and then click on adf.oracle.domain(1.0,11.1.1.2.0)
select tab targets and then select server on which you wish to deploy application.
Hi Atul,
Thanks for the quick response. The issue is resolved.
Facing one more issue which is as java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
I have removed the library and deployed. I am facing one more issue now, the issue I am facing is “Unresolved Webapp library references” error. Please help me to resolve this.
Regards,
Suresh
[...] steps on how to deploy application is weblogic server click here [...]
Hi,
I am facing issues when i deploy the webapplication .war file; since the application is made using frame work, I am unable to deploy it successfully.
is there any solution to get this done? sharing solutions would be appreciated.
Thanks,
@ stalin,
What is error message at time of deployment ?
Is this custom app (war file) ?
Did it ever work on any other environment ?
Hi Atul,
The error description is given below; your help would be appreciated. Thanks for giving quick response!
1- Error An error occurred during activation of changes, please see the log for details.
2 weblogic.application.ModuleException:
3 – Error Substituted for missing class org.springframework.beans.factory.UnsatisfiedDependencyException – Error creating bean with name ‘loginBeanId’ defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Unsatisfied dependency expressed through bean property ‘selectedMenuList’: Error creating bean with name ‘searchManager’ defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean ‘miscDAO’ while setting bean property ‘miscDAO’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘miscDAO’ defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: findAllWhereQADone
I forgot to tell you; this war deployment works fine in Tomcat 7 and lower version too…
Hello, How to get an app in the weblogic managed server to access a site through a proxy server
(The server where weblogic running is on a private ip so need to use a proxy to communicate outside)
Thx
Hi ,
I am new to Apps and having some basic clarification.
I have an application folder taken from 10g which hold the jsps, classes, html, images etc in the Directory structure. I need to deploy it in 11g. The confusion here is all about the jsps and web.xml
Need your help on this
Thanks & Regards.
Hi Atul,
I have deployed an war file on weblogicserver and it was installed correctly .But when I start the application it was throwing error ” <Failure occurred in the execution of deployment request with ID '1340128716946' for task '18'. Error is: 'weblogic.management.DeploymentException: [Deployer:149003]Unable to access application source information in '/opt/VAA/user_projects/domains/CWP_ACC/servers/CWPManagedServer1/stage/iFlightWeb_CWP/iFlightWeb_CWP.war' for application 'iFlightWeb_CWP'. The specific error is: [Deployer:149158]No application files exist at '/opt/VAA/user_projects/domains/CWP_ACC/servers/CWPManagedServer1/stage/iFlightWeb_CWP/iFlightWeb_CWP.war'..'
"
Please advise me what is wrong.I need you urgent help.
Thanks,
Ashish
@Atul : Please help me on the above post.
Thanks,
Ashish
Hi,
i installed ODSEE -11.1.1.3.0 and created a war file, using web logic i am trying to deploy the war file. I got weglogic version 10.0. while deploying the war file – i am getting an error saying – unsupported java class version 50.0.
what shoukd i do..
wats the combination of versions which i can try and use.
Hi Slevan,
Use the version jdk1.6.0_04 which can be downloaded from Oracle website.The file name there is “jdk-6u4-solaris-i586.sh”
Thanks,
Ashish
Leave A Reply