• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


    Company

  • Categories

  • Archive

  • Deploy Application on Oracle WebLogic Server

    Posted by "" in "weblogic" on 2008-08-12

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    This post is next in series “Learn WebLogic with Us“,  Till now we learned

    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) 

    deployment 2

    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

    6) Click on Install button

    7) Select Application (war, jar, ear) File . You should get this application (war, ear, jar) file from development team.

    8) 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


    1. Oracle WebLogic Installation Steps
    2. Domain , Administration & Managed Server, Cluster in Oracle WebLogic
    3. Create Domain in Oracle WebLogic
    4. Oracle WebLogic Server – Startup/Shutdown
    5. Oracle WebLogic Server 10g R3 10.3 is out now
    6. Deploy Application on Oracle WebLogic Server
    7. Cluster Architecture : Oracle WebLogic Server
    8. Start WebLogic Server on Linux on port 80, 443 <= 1024
    9. JDBC (Java DataBase Connectivity ) in Oracle WebLogic – Overview
    10. WebLogic Server JDBC for Database connection : Step by Step
    11. Security in Oracle WebLogic : Realm, Security Provider, Authentication, Authorization, Users
    12. Deploy ADF application to Oracle WebLogic Server
    13. Node Manager in Oracle WebLogic Server
    14. Configure Oracle HTTP Server infront of Oracle WebLogic Server mod_wl_ohs
    15. How to install weblogic server on 64 bit O.S. (Linux /Solaris) ?
    16. Oracle WebLogic Login Issue : Password is not correct (Password Lock Policy)
    17. Oracle WebLogic Server : Node Manager in nutshell
    18. Certification : 1Z0-108 Oracle WebLogic Server 10g System Administrator Certified Expert
    19. How to integrate WebLogic with Oracle Internet Directory for Login : Authentication
    20. opatch, adpatch and now “smart update” (BSU) to apply weblogic patches
    21. Disater Recovery documentation for Oracle WebLogic Server 11g (Fusion Middleware)
    22. Authentication Providers in #WebLogic – Oracle Access Manager Identity Assertion for Single Sign-On and OAM Authenticator
    23. Error while starting WebLogic Server : java.lang.NumberFormatException: null
    24. #WebLogic startup prompting from username password : boot.properties
    25. BEA-000286 : Failed to invoke startup class “JRF Startup Class” oracle.jrf.wls.JRFStartup
    26. WebLogic Kerberos (SSO) Authentication Issue : Error 401 Forbidden : No Configuration was registered that can handle the configuration named com. sun. security. jgss. krb5. accept
    27. How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications
    28. Oracle WebLogic Server Certification : 1Z0-108 Practice Question and Dumps
    29. WebLogic Startup fails with Unable to obtain lock on Server may already be running
    30. Oracle Weblogic 12c Launch : Attend online on 1 Dec 2011
    31. Oracle WebLogic 12c (12.1.1) is now available to download
    32. How to Install WebLogic 12C (12.1.1) on Mac
    33. Oracle #WebLogic Server 12c : SE vs EE vs Suite License Options
    34. SSL in WebLogic (CA, KeyStore, Identity & Trust Store) : Things you must know – Part I
    35. SSL in WebLogic Server – Part II : Create KeyStore, generate CSR, Import CERT and configure KeyStore with WebLogic
    36. WebLogic Admin Server Start-up hanging at “Initializing self-tuning thread pool”
    37. Error in WebLogic Clustering : socket MaxMessage Size Exceeded Exception
    38. Changed or New Features in WebLogic 12.1.2
    39. WebLogic SSL configuration : Inconsistent security configuration Cannot convert identity certificate
    40. Dynamic Cluster in WebLogic 12.1.2 : New Features in WebLogic 12c
    41. Identity Propagation between two WebLogic Domains : Cross Domain Security VS Global Trust
    42. WebLogic Admin Server Start Up hangs at ‘Log Management’ BEA-170019 IIOP subsystem enabled
    43. Security:090294 could not get connection javax. net. ssl. SSLKeyException FATAL Alert BAD_CERTIFICATE – A corrupt or unuseable certificate was received
    44. WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM

    37 Responses to “Deploy Application on Oracle WebLogic Server”

    1. […] 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 […]

    2. gani says:

      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

    3. M. Kim says:

      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,

    4. M. Kim says:

      Found an answer for this.
      I didn’t add a Admin server as a target in a cluster case.

    5. M. Kim says:

      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?

    6. Atul Kumar says:

      404 means there is no such page to serve from web server .

      Was there any error while deploying this application (ear) ?

    7. M. Kim says:

      No, didn’t get any errors during deployment.
      Where do the web things go? maybe under domain?

      thank you for quick reply.

    8. nsync says:

      Good work. Keep going and thank you.

    9. mahendrathacker says:

      Can you also please post instructions to deploy application via scripts – shell or perl or Weblogic scripting lang
      TIA

    10. Rajeswari says:

      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

    11. Ramesh says:

      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.

    12. Samy says:

      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

    13. prashanth says:

      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

    14. duongminh says:

      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()

    15. Roberto says:

      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

    16. Roberto says:

      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

    17. Atul Kumar says:

      @ Roberto,
      Thnaks Roberto for sharing information. I’ll contact author Narayan Setti and ask him not to copy content.

    18. Madhavi says:

      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

    19. JavaPins says:

      » 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…

    20. Gupta says:

      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?

    21. Mani says:

      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

    22. raj says:

      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

    23. Suresh says:

      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

    24. Atul Kumar says:

      @ 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.

    25. Suresh says:

      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

    26. stalin says:

      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,

    27. Atul Kumar says:

      @ stalin,
      What is error message at time of deployment ?

      Is this custom app (war file) ?

      Did it ever work on any other environment ?

    28. stalin says:

      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

    29. stalin says:

      I forgot to tell you; this war deployment works fine in Tomcat 7 and lower version too…

    30. joe says:

      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

    31. Mithra says:

      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.

    32. Ashish says:

      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

    33. Ashish says:

      @Atul : Please help me on the above post.

      Thanks,
      Ashish

    34. Selvan says:

      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.

    35. Ashish says:

      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

    36. ivan says:

      DeploymentService:290049]Commit failed message received for id 1,370,020,209,686

    Leave a Reply



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP