• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Issue with deploying exploded ear file

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have an ear deployed successfully on weblogic which is located at location <BEA_HOME>/user_projects/application/test.ear. I also have domain created at <BEA_HOME>/user_projects/domain/test/ with some more application specific jar files. Application is working fine till here.

I tried to deploy the exploded test.ear (using "jar -xvf test.ear") and placed the contents in new directory structure <BEA_HOME>/user_projects/domain/new_domain/myApplication/myEar/. My ear has some application specific jars directly under it, APP-INF/lib/<app spcific jars> and META-INF/<weblogic-application.xml, application.xml(containing the list of jars directly packed inside ear)l> .
I have further exploded only couple of jars inside myEar/ folder ,on which I'll be making modification. I did ensure that directory has same name as jar's name (i.e placing content of abc.jar inside abc.jar/ directory)

When I try to deploy from weblogic console it does not get deployed correctly(Gives an error of noclassDefFound for multiple java classes). Is there any basic step missing or I'm following incorrect steps to deploy exploded ear?
I also wanted to know if a new weblogic domain needs to be created or I can use the same domain which was created while deploying test.ear ?

Thanks!!



 
Ranch Hand
Posts: 353
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2 Understanding WebLogic Server Deployment
http://docs.oracle.com/cd/E21764_01/web.1111/e13702/understanding.htm

I am not sure right now about those exploded jars.
Did you test them ?

 
Drisha Aggarwal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Morris,

I did not test them reason being if they are working fine in archived mode i.e as jars in packed in .ear file then if I'm exploding the same ear it should also work fine.

Thanks!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!