Best practice to modify OIM webApp.war in Weblogic (10g - 9102)

I very generic question for OIM in Weblogic:
If I'm doing any change(minor or major) in any of the JSP file in OIM xlWebApp.war, what is the best practice of moving it to production ?
Thanks,

Hi,
Here the steps you should do:
- unwar the xlWebApp.war file (through jar command)
- Modify/add the jsp's.
- War it again.
- copy/replace that at XEL_HOME/webapp location.
- if you had modified xml or properties file, copy that to DDTemplate/webapp
- run patch_weblogic command.
- restart server.
You can also write a build script which will take OOTB xlWebApp.war and custom jsp's and will generate new xlWebApp.war.
Once tested successfully in dev/QA env, you can check in code and new xlWebApp.war file in some subversion.
In Production you can directly use this xlWebApp.war file and run patch command.
Also look at this:
Re: Help: OIM 10G Server With Weblogic
Cheer$
A..

Similar Messages

  • Best practice when modifying SAP Standard Development Component

    Hello Experts,
    What is best practice when modifying SAP Standard Development Component (Java Web Dynpro)? Iu2019m looking for the best method to do modifications to SAP Standard DC so that my changes will be kept (or need low maintenance) after a new service package (or EHP) is applied.
    Thanks,
    Kevin

    Hi,
      'How to use Busiess Packages in Enterprise Portal 6.0' is available in this link.
    http://help.sap.com/bp_epv260/EP_EN/documentation/How-to_Guides/misc/Using_Business_Packages.pdf
    Check out for the best practices.
    Regards,
    Harini S

  • Best practices to modify process chain

    Hi,
    What is the best practice to modify the  process chain whether in in the production or transport back to the dev.
    Does Query performing tuning setting should be done in production like read modes,cache settings.
    Thanks
    nikhil

    Hi Nikhil,
    The best practice to modify the process chains will be making the change in Development system and transporting to Quality and Production. But if you are making a simple change like changing the scheduling time ( change of scheduled date and time by editing the variant) you can do it directly in Production. But if you are adding new steps to process chain, it is better to make change in Dev and move it to Prod.
    Also once the change reach production you may need to open the chain in edit mode and activate it manually.
    It is a common issue for the process chains containing delta DTP, that the chain will be saved in modified (M)  version and not in active version by transports.
    The query read mode and cache settings, you can do it in Development and move it to production.
    But the pre-filling of cache using broadcaster settings can be done directly in production.
    Also creating of cube aggregates to improve query can be done directly in production rather than creating in development and transporting to Prod.
    Again, it depends on project, as in some projects they make changes directly in Prod, while in some projects changes in Prod are not allowed. I think it is better always start the changes in dev and move it to P.
    Hope it helps,
    Thanks,
    Vinod-

  • Best practices for implementing OIM

    We plan on putting OIM servers behind LB (hardware). When I develop OIM client I am required to specify OIM endpoint(s) via property java.naming.provider.url. In case of LB I'd specify a virtual host there. The question is what is the best practice for configuring LB - timeout, persistence, monitoring? I don think LB vendor is relevant, but just in case, I have a choice of F5 BigIP and Citrix Netscaler.
    My understanding is that Java class tcUtilityFactory is supposed to be instantiated once (in a web client) and maintain the connection, but LB will close the connection after timeout is exceeded. So another question is if I want to use LB I have to take care of rebuilding connection when it is expired, or open/close connection every time tcUtilityFactory is needed. Any advice will be appreciated.
    Thanks,
    Alex

    No i was not going to sync timeouts - just let it close connections after say, 5 min of inactivity. The reason is that performance data is horrible - from my desktop environment, initialization takes almost 9 sec, while reading data from OIM - only 150 milliseconds. I can't afford more than .5 sec on the whole OIM operation, as we are talking about customer experience.
    Thanks,
    Alex

  • Swing best practice - private modifier vs. many parameters

    Dear Experts,
    I have a comboBox that has a customized editor and has KeyListener that responds to several keyPressed and keyTyped. The comboBox is used in two different JFrame, say JFrame frmA and JFrame frmB.
    Since the KeyListener changes the state of 8 other components in frmA, I have two options:
    Option 1:
    - Coding the comboBox in separate class and pass all components as parameters. I will have around 10 parameters, but the components can be made private to frmA or frmB.
    Option 2:
    - Coding the comboBox in separate class and pass the instance of the caller (frmA or frmB), so that the comboBox can change the state of the other components in frmA or frmB according to its caller. However, the components must not be private and should be able to be accessed by the comboBox class.
    My questions:
    1. I have not implemented option 2, so that I have not proved that it will work. Will it work?
    2. Which option will be more efficient and require less cpu time? If it is the same, which option is the best practice?
    3. Is there any other option that is better than these two options?
    Thanks for your advice,
    Patrick

    Option 2:
    - Coding the comboBox in separate class and pass the instance of the caller (frmA or frmB), so that the comboBox can change the state of the other components in frmA or frmB according to its caller. However, the components must not be private and should be able to be accessed by the comboBox class.
    My questions:
    1. I have not implemented option 2, so that I have not proved that it will work. Will it work?It doesn't stand in the long run. Doing so couples your specific ComboBox classes to all widgets that react to the ComboBox changes. If you happen to add a new button is either JFrame that should also be affected by the combo-box selection, you'll have to modify, and re-test, the ComboBox code. Moreover, if a new button was needed in one the JFrame but not the other, you'd have to introduce a special case in your combobox code.
    Instead of the ComboBox's listeners invoke methods on each piloted widget, have them invoke one method (+selectionChanged(...)+) on these widget's common parent (not necessarily a graphical container, but an object that has (maybe indirect) references to each of the dependant widgets).
    2. Which option will be more efficient and require less cpu time?I wouldn't mind.
    In the graphical layer of an application, and unless the graphcial representation performs computations on the bitmap, any action is normally much quicker than business logic computation. Any counter-example is likely to be a bug in the UI implementation (such as, not observing Swing's threading rules), or a severe flaw in the design 'such as, having a hierrachy of several hunderd JComponents,...). Swing widgets are pretty reactive to genuine calls such as setEnabled(), setBackground(), setText(),...
    If it is the same, which option is the best practice?Neither. Hardcoding relationships between widgets may be OK within a single, and single-purpose, form.
    But if you want to code a reusable component thoug, design it for reuse (that is, the less it knows about how which context it is used in, the more contexts it can be used in).
    In general, widgets that know each-other involve a quadratic number of references that accordingly impacts the code readability (and bug rate). This is the primary reason for introducing a Mediator pattern (of which my reply to 1 above is a degenerate form).
    3. Is there any other option that is better than these two options?Yes. Look into the [+Mediator+|http://en.wikipedia.org/wiki/Mediator_pattern] pattern (the Wikipedia page is not compelling, but you'll easily find lots of resources on the Web).

  • OIM 10g: Best practice for updating OIM user status from target recon?

    We have a requirement, where we need to trigger one or more updates to the OIM user record (including status) based on values pulled in from a target resource recon from an LDAP. For example, if an LDAP attribute "disable-flag=123456" then we want to disable the OIM user. Other LDAP attributes may trigger other OIM user attribute changes.
    I think I need to write a custom adapter to handle "recon insert received" and "recon update received" events from the target recon, but wanted to check with the community to see if this was the right approach. Would post-insert/post-update event handlers be a better choice?

    Thanks Nishith. That's along the lines of what I was thinking. The only issue in my case is that I might need to update additional custom attributes on the OIM User in addition to enable/disable. Because of that requirement, my thought was to call the API directly from my task adapter to do the attribute updates in addition to the enable/disable. Does this seem like a sound approach?

  • Best Practice to retrieve content from WCM in Weblogic Portal 10.3

    Hi,
    Could someone tell us how to render static pages of WCM (which is part of UCM 10gR3) in Weblogic Portal 10.3.
    Right now we are using WCM portlet & getting error when changing the portlet preferences.It was provided by oracle only.
    Is there any other easy approach to develop static pages through UCM & then integrate in WLP considering the propagation frm Dev to Preprod to Production environments.
    Thanks,
    Protiti

    Hi,
    Could someone tell us how to render static pages of WCM (which is part of UCM 10gR3) in Weblogic Portal 10.3.
    Right now we are using WCM portlet & getting error when changing the portlet preferences.It was provided by oracle only.
    Is there any other easy approach to develop static pages through UCM & then integrate in WLP considering the propagation frm Dev to Preprod to Production environments.
    Thanks,
    Protiti

  • Exception while OIM server startup on weblogic (10G BP15)

    Hello,
    while starting OIM on Weblogic, I'm seeing below error:
    ####<Oct 31, 2011 1:58:35 PM XXX> <Error> <HTTP> <hostnameXXX> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e24a8026bbd689e0:65c6c722:1335bc61dcd:-8000-0000000000000002> <1320094715612> <BEA-101165> <Could not load user defined filter in web.xml: com.thortech.xl.webclient.security.SecurityFilter.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key nexel.security.filter
    at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at com.thortech.xl.webclient.security.SecurityFilter.init(Unknown Source)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Oct 31, 2011 1:58:44 PM XXX> <Info> <Diagnostics> <hostnameXXX> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1320094724510> <BEA-320000> <The Diagnostics subsystem is initializing on Server OIM_SERVER1.>
    ========================================================================================
    snippet from (web.xml) =>
    <filter>
    <filter-name>xel-filter</filter-name>
    <filter-class>com.thortech.xl.webclient.security.SecurityFilter</filter-class>
    <init-param>
    <param-name>ignored-paths</param-name>
    <param-value>/DeploymentManager/,/dm/,/createITResource,/manageITResource,/Nexel</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>xel-filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    ==============================================================================================
    I see xlWebClient.jar available in xlWebApp.war/WEB_INF/lib folder.
    Any idea what is missing here?
    Thanks,

    Hello,
    first of all your Problem on your 32-bit Laptop is that you cannot use 2GB of Memory for one managed Server (process). The P6 managed Server has set the Parameter to 2GB. So if you only have a total Memory of 2GB available then this won't be sufficent I fear. So first check your Oracle DB Setting how much Memory is used there. The next step is depending how you start your P6. Do you use the startPrimavera,bat? I mention not.
    So go to your <drive>:\Middleware\user_projects\domains\P6EPPM\bin and run there the startWebLogic.cmd (maybe you're asked for the user to start. So use the weblogic user for Startup). Then open a browser and open the  page http://localhost:7001/console (Standard if you haven't changed it through the install). Login with your weblogic user. On the left side click on Environment, then Server and click then on P6. In the Details page click on the Tab "Start up" and edit under arguments the following line:
    -Dprimavera.bootstrap.home=G:/Oracle/P6EPPM/p6/../p6 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=512m -Xms512m -Xmx1024m
    You can try to reduce it to -XX:MaxPermSize=256m -Xms256m -Xmx512m
    Maybe you Need first to use the Change Center on the top left side.
    After that go to Environment => Servers, Change Tab to Control. Set the Hug in front of P6 and click on start. If the Memory is sufficent then this will start.
    A better way would be to increase the Memory on your Laptop.
    Regards
    Daniel

  • BEST PRACTICE TO PARTITION THE HARD DISK

    Can some Please guide me on THE BEST PRACTICE TO PARTITION THE[b] HARD DISK FOR 10G R2 on operating system HP-UX-11
    Thanks,
    Amol
    Message was edited by:
    user620887

    I/O speed is a basic function of number of disk controllers available to read and write, physical speed of the disks, size of the I/O pipe(s) between SAN and server, and the size of the SAN cache, and so on.
    Oracle recommends SAME - Stripe And Mirror Everything. This comes in RAID10 and RAID01 flavours. Ideally you want multiple fibre channels between the server and the SAN. Ideally you want these LUNs from the SAN to be seen as raw devices by the server and use these raw devices as ASM devices - running ASM as the volume manager. Etc.
    Performance is not achieved by just partitioning. Or just a more memory. Or just a faster CPU. Performance planning and scalability encapsulates the complete system. All parts. Not just a single aspect like partitioning.
    Especially not partitioning as an actual partition is simple a "logical reference" for a "piece" of the disk. I/O performance has very little do with how many pieces you split a a single disk into. That is the management part. It is far more important how you stripe and whether you use RAID5 instead of a RAID1 flavour, etc.
    So I'm not sure why you are all uppercase about partitioning....

  • Best Practices and Maximum Availability

    We are on the upgrade path going from 10.2.0.4 to 11.2. I was excited when reading about Transient Logical Standby and how it could cut down your time to just a few minutes of outage. However, I found that we are unable to use it because we have data types that can not be used with Logical Standbys. I was hoping that someone could point me to another Whitepaper or documentation of best practices of upgrading with a Physical Standby from 10g to 11g.
    Regards
    Tim

    Thank you for the reference. It is an interesting concept with the transportable tablespaces. I will have to read this in a little more detail. I am not sure how I get my physical standby back into place. I don't want to have to rebuild it...but maybe the document covers that as well (I didn't see it on the first read).
    Thanks for the information.
    Regards
    Tim

  • Architecture/Design Question with best practices ?

    Architecture/Design Question with best practices ?
    Should I have separate webserver, weblogic for application and for IAM ?
    If yes than how this both will communicate, for example should I have webgate at both the server which will communicate each other?
    Any reference which help in deciding how to design and if I have separate weblogic one for application and one for IAM than how session management will occur etc
    How is general design happens in IAM Project ?
    Help Appreciated.

    The standard answer: it depends!
    From a technical point of view, it sounds better to use the same "midleware infrastructure", BUT then the challenge is to find the lastest weblogic version that is certified by both the IAM applications and the enterprise applications. This will pull down the version of weblogic, since the IAM application stack is certified with older version of weblogic.
    From a security point of view (access, availability): do you have the same security policy for the enterprise applications and the IAM applications (component of your security architecture)?
    From a organisation point of view: who is the owner of weblogic, enterprise applications and IAM applications. In one of my customer, application and infrastructure/security are in to different departments. Having a common weblogic domain didn't feet in the organization.
    My short answer would be: keep it separated, this will save you a lot of technical and political challenges.
    Didier.

  • Customize OIM jsp forms using xlWebApp.war: Best Practice?

    Based on searching the forum, it appears that inflating the war files, making changes and putting them back again is the way to customize the jsp forms in OIM. Is this a best practice though? What happens when I want to upgrade? Do I lose all my customizations or is there another way to do this?
    Edited by: user4486549 on Jun 5, 2009 5:11 AM

    Hi,
    That is the only way to do it.In case of upgrade every time you will have to merge the changes in new war file and redeploy it. Just take care of one thing that do not modify existing jsp or classes.Create your own jsps and classes.
    Regards

  • Best practice for a deplomyent (EAR containing WAR/EJB) in a productive environment

    Hi there,
    I'm looking for some hints regarding to the best practice deployment in a productive
    environment (currently we are not using a WLS-cluster);
    We are using ANT for buildung, packaging and (dynamic) deployment (via weblogic.Deployer)
    on the development environment and this works fine (in the meantime);
    For my point of view, I would like to prefere this kind of Deploment not only
    for the development, also for the productive system.
    But I found some hints in some books, and this guys prefere the static deployment
    for the p-system.
    My question now:
    Could anybody provide me with some links to some whitepapers regarding best practice
    for a deployment into a p-system ??
    What is your experiance with the new two-phase-deploment coming up with WLS 7.0
    Is it really a good idea to use the static deployment (what is the advantage of
    this kind of deployment ???
    THX in advanced
    -Martin

    Hi Siva,
    What best practise are you looking for ? If you can be specific on your question we could provide appropriate response.
    From my basis experience some of the best practices.
    1) Productive landscape should have high availability to business. For this you may setup DR or HA or both.
    2) It should have backup configured for which restore has been already tested
    3) It should have all the monitoring setup viz application, OS and DB
    4) Productive client should not be modifiable
    5) Users in Production landscape should have appropriate authorization based on SOD. There should not be any SOD conflicts
    6) Transport to Production should be highly controlled. Any transport to Production should be moved only with appropriate Change Board approvals.
    7) Relevant Database and OS security parameters should be tested before golive and enabled
    8) Pre-Golive , Post Golive should have been performed on Production system
    9) EWA should be configured atleast for Production system
    10) Production system availability using DR should have been tested
    Hope this helps.
    Regards,
    Deepak Kori

  • Best practice for replicate the IDM (OIM 11.1.1.5.0) environment

    Dear,
    I need to replicate the IDM production to build the IDM test environment. I have the OIM 11.1.1.5.0 in production with lots of custom codes.
    I have two approaches:
    approach1:
    Manually deploy the code through Jdeveloper and export and import all the artifacts. Issue is this will require a lot of time and resolving dependencies.
    approach2:
    Take the OIM, MDS and SOA schemas export and Import the same into new IDM Test DB environment.
    could you please suggest me what is the best practice and if you have some pointers to achieve the same.
    Appreciate your help.
    Thanks,

    Follow your build document for the same steps you used to build production.
    You should know where all your code is. You can use the deployment manager to export your configurations. Export customized files from MDS. Just follow the process again, and you will have a clean instance not containing production data.
    It only takes a lot of time if your client is lacking documentation or if you re not familiar with all the parts of the environment. What's 2-3 hours compared to all the issues you will run into if you copy databases or import/export schemas?
    -Kevin

  • Best practice?-store images outside the WAR file?

    I have an EAR project with several thousand images that are constantly changing. I do not want to store the images in the WAR project since it will take an extremely long time to redeploy with every image change. What is the best practice for storing images? Is it proper to put them in the WAR and re-deploy? Or is there a better solution?

    Perryier wrote:
    Can you expand on this? Where do they get deployed and in what format? How do I point to them on a jsp?
    I am using Sun Application server 9.0, and I don't really think this has a "stand alone" web server. How will this impact it?You could install any web server you want (Apache?). The request comes in and if the request matches something like .jpg or .gif or whatever, you serve up the file. If you have a request for a jsp or what not, you forward the request to the app server (Sun App Server in your case). i.e. your web server acts as a content-aware proxy.

Maybe you are looking for

  • Calling web service from Delphi7?

    Hi, anyone could send me a demo, calling a wsdl web service from Delphi 7? i am beginner for web service & sap. Any help will appreciate. Thanks.

  • My 13 inch macbook pro freezes,when i use the magic mouse.pleae any help to resolve this

    My 13 inch macbook pro freezes,when i use the magic mouse.pleae any help to resolve this.My OS is OS X 10.6.8.

  • Help please! iWeb can't open domain - document

    Hi everyone! I know there have been posts with topics this sort, but I've tried all the suggested solutions (I think) and nothing changes: iWeb, when launched, comes up with an error message "cannot open file "domain"" or similar (in German) and then

  • Deauthorize once per year?

    I reinstall Windows a lot. I upgrade, I reinstall. I get frustrated, I reinstall. You get the idea. Apparently I've used all 5 licenses for iTunes. I've deauthorized all before, maybe a year ago... now it's telling me that I can't deauthorize until J

  • Things that that don't work now

    Since Leopard, my peripheral hard drive is not recognized by the computer when I turn it on; my Wacom graphics tablet doesn't work at all (I reinstalled the software), and I cannot sleep the computer because when it wakes up, there is no screen curso