This discussion is archived
2 Replies Latest reply: Jul 26, 2012 5:36 AM by Udo RSS

apex listener context root and sharing of images

redsox Newbie
Currently Being Moderated
Hi Experts - I changed web.xml from from apex.war(App named apex1) to have its own config directory and deployed it into weblogic managed server wls:7003. Did not explicitly mentioned anything about images in web.xml deployed related images i.jar(App name I1) into wls:7003. i was able to configure listener and able to login into apex. The url to is http://FQDN:7003/apex(works good). I want URL to be http://FQDN:7003/fancy1 For this I changed the context root to fancy1 in the deployment directly but that did not picked up.

If I try http://FQDN:7003/fancy1 it says

Requested url http://FQDN:7003/fancy1 is currently unavailable.

checked web.xml did not find place to change apex context root.

I have one more questions

1. I am planning to use same wls domain to deploy another apex2.war file with apex2 as context root( i can create separate config directory for this) but the images between the apex1 and apex2 are same. How can I share ( target i1.war to other managed server where apex2 is deployed ?)

2. Can I do exploded war deployment of images as i1.war or i2.war pointing to same directory? (images are added everytime when new app is deployed. we want to avoid the zipping of the images. deploying every time when there is new app.)



Thanks in advance.

Edited by: user11971617 on Jul 25, 2012 6:08 PM
  • 1. Re: apex listener context root and sharing of images
    redsox Newbie
    Currently Being Moderated
    I was able to change context root. For this I had to configure the listener again.

    I still want to know how best to share the images between the various weblogic managed servers (exploded images will be better one. so that I can copy images anytime with out needing to deploy and undeploy images)

    Thanks,
  • 2. Re: apex listener context root and sharing of images
    Udo Guru
    Currently Being Moderated
    I still want to know how best to share the images between the various weblogic managed servers (exploded images will be better one. so that I can copy images anytime with out needing to deploy and undeploy images)
    If you have some shared storage in your infrastructure (e.g. via nfs mount) you could use a virtual-directory-mapping. There is a [url http://krisrice.blogspot.de/2011/07/apex-listener-wls-serving-static-files.html]nice video tutorial by Kris you adapt to your scenario. Of course, you'll also find information in the WLS documentation when searching for that keyword.

    -Udo

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points