• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

deploying ear on weblogic6.1

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can someone provide me with detailed steps on how to actually deploy an ear application in weblogic. I thought it was just dumping the ear in the application directory and everything will work fine. But I cannot access the page in the war file. I have a few questions:
1] if I dump a abc.ear file in the application directory wiht a abc.jar (the ejb module) and abc.war (the web module) and the xml files also. The web context of the web module is abc. How do I access the index page in the web module?
Is it http://<server name>:7001/abc/index.jsp ???
do i need to create a directory under application?
2] if the ear file is running ok in j2sdkee1.3.1, it is suppose to be ok in weblogic is it?
3] I added ejb2.0.jar in the lib directory. And added it to classpath in startweblogic. Do i need to add it to classpath as well?
would be glad if someone could provide with links to resource of deploying and configuring web logic. Thanks
 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1] if I dump a abc.ear file in the application directory wiht a abc.jar (the ejb module) and abc.war (the web module) and the xml files also. The web context of the web module is abc. How do I access the index page in the web module?
Is it http://<server name>:7001/abc/index.jsp ???
do i need to create a directory under application?
Add the following to ur application.xml present under /META-INF directory of .ear file.
<web> <web-uri>abc.war</web-uri> <context-root>abc</context-root>
</web>
2] if the ear file is running ok in j2sdkee1.3.1, it is suppose to be ok in weblogic is it?
Each app server has its own deployment descriptor. So adding app server specific DD is necessary in most of the case before deploying it to another app server.
3] I added ejb2.0.jar in the lib directory. And added it to classpath in startweblogic. Do i need to add it to classpath as well?
Not required to add to classpath.
This may help U
http://edocs.bea.com/wls/docs60/programming/app_xml.html#1007551
 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Pradeep. The information you provided is really helpfull. Hope to see you around helping others out. Thanks Pradeep
reply
    Bookmark Topic Watch Topic
  • New Topic