• 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

Unable to deploy a war file from the correct location

 
Ranch Hand
Posts: 198
Oracle Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have deployed a war file on my application server . however when i test my application war file from some other location is getting loaded . I cannot understand the queer behaviour of weblogic wherein it uploads the file from the correct location and at other time from some other location
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rick,

I assume you are using WLS9 or above
In WLS there are many staging modes out of which is UPLOAD. When you are uploading a file [lets take UNIX o/s ] from ‘/opt/file/myFile.war’ Weblogic will create a exact copy of this file and place a file under ‘<domain-dir>/servers/<server-name>/upload/myFile.war’.and in console you only see this path.

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The war will be cached inside WL as Joseph suggested.
 
ragi singh
Ranch Hand
Posts: 198
Oracle Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but then how can i clean the cache , i am able to see the file location on gui as server/upload... I am absolutely clueless as to how to proceed
 
Joseph Antoine Raja
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rick,

If you want to clean the cache you can clear ldap/diagnostics etc.. But if you removed the ‘upload/x.war’ file server will not come up.

Actually there is no impact on the function of your code irrespective of the staging mode you use instead of directly accessing your code WL is taking a copy into cache and accessing from there
reply
    Bookmark Topic Watch Topic
  • New Topic