• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Weblogic 8.1 - Deploy EAR into exploded archive

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to Weblogic, but I am trying to deploy an EAR file through the admin console. I am dealing with Weblogic 8.1.

I have created a domain and created an application server within the domain. I am deploying an EAR to that created application server and choosing the option to copy the application onto the target that I choose.

Is there anyway to deploy this EAR file, and explode the contents of the application inside to the applications folder within BEA? I feel like I am missing some sort of configuration that would explode the archived file automatically for me. Any help would be greatly appreciated.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You either configure the server to use a directory as the archive (the "exploded directory") or deploy the application as an archive (EAR or WAR). If you deploy the application as an archive, you will not see it expanded.
Overview of Weblogic Server Deployment
 
Scott Branchini
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I had a feeling that was the case. Thanks for the help on that. So I exploded the EAR file and WAR file, and placed the contents of the WAR in the applications directory under a new folder that I created. This new folder is essentially the name of the application module. The problem is that when I try to deploy it as a web application, I get the following error:

[J2EE:160034]Module {context root}@FILE_VERSION@.war not Found in path {application path}

Am I still doing something wrong? Again, thanks for the help.

[ March 07, 2008: Message edited by: Scott Branchini ]
[ March 07, 2008: Message edited by: Scott Branchini ]
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

you have to expand your .war file in a directory called ${war_name}.war as a folder.

If you have an ear file named app and a war file called myweb.war in it, after expanding it you should have

app/myweb.war/&{web_files_here_web_root}
app/myweb.war/WEB-INF

etc..

I believe you have just created a folder with the warfile name and not warfilename.war
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic