• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to deploy web application in Weblogic 10

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can any one tell me how to deploy servlet/jsp in weblogic 10, i have used
weblogic 8.1. Weblogic 8.1 provides weblogic builder tools to deploy application, this tool generate web.xml also.

Regards
Amit
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Amit,

Would it be possible to use MyEclipse which has deployment options available for WLS 10?
Probably it would be advisable to build your own war file which contains an web.xml configuration and use MyEclipse, ANT/Maven to call "wldeploy" task or the weblogic admin console to deploy your web application.

If none helps you could simply copy the war or class files to the application directory. If WLS is running in development mode, it checks this directory for "auto re-deployment".

Sorry to say that I have not used WLS 10 gui builder tools to auto generate the web.xml configuration file from scratch.

Good luck!

Thomas
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To Deploy:

Lock & Edit -> Deployments -> Install -> specify location of your WAR/EAR file -> Next -> Finish -> Activate Changes

To Test:

Deployments -> navigate to your application -> select checkbox next to your application -> Start -> Servicing all requests -> Yes -> again navigate to your application -> click on your application -> Testing....

 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when i did what you said to deploy the war file. I get the following exception.

Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

Any clues about this. like some problems with secruity realm or something ?
Also as i doing all this for ALUI, surprising thing is portal internally is able to find the url and display the resources
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have installed Workshop then right click the project and Choose New Server. Enter your weblogic Details, publish your applications from Server you created Earlier. Then Open the Weblogic Admin Console, choose the workshop_auto_generated_ear_ application and start the application. The state of the application changes from Preparing to Active.
This is on Weblogic Server 10.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Log-in by visiting the following URI:
http://localhost:7001/console/login/LoginForm.jsp

2. Provide your Weblogic UserId and Password.
3. On Home Page
Go to :
Domain Configurations >> Your Deployed Resources >> Deployments (Click here).
Deployments -> Install -> specify location of your WAR/EAR file -> Next -> Finish

Regards,
Anadi KUMAR
Senior Software Engineer | HSBC Technology and Services - Global Technology
HSBC Software Development (India) Limited,GLT 4.0 - Panchshil Tech. Park, Block D, S.No. 19, Hissa 2A/11/2, Yerawada, Pune, 411006.
India.

Mobile:+91-9822622054
Email: anadikumar@hsbc.co.in
Email: anadikumar@gmail.com
 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit,

To add on to the above said procedures, you can alternatively use the ANT script/ WLST script to deploy the application.

Refer the below article to do so.
http://weblogic-wonders.com/weblogic/2011/02/26/automating-application-deployment-on-weblogic-server/

Another easy way to deploy the application is to use the weblogic.Deployer utility.

Refer the below article for a comprehensive understanding of the same.
http://weblogic-wonders.com/weblogic/2010/12/18/weblogic-deployer-usage/




 
reply
    Bookmark Topic Watch Topic
  • New Topic