How to update/replace Jars within sbconfig.jar during import

Hi,
I want to replace a jar file, used by java callout actions, during import. I am using WLST script to import configuration jar but cannot figure out how to replace jar file.
That jar file contains environment specific properties which i intend to change as part of import, once config jar is uploaded and impoted within the same session.
I have looked to Ref, ArchiveType, Refs, and ALSBConfigurationMBean, but cant figure out to replace specific jar file within imported config jar.
Many thanks in advance!
many thanks
sal
Edited by: sallo on 16-Feb-2010 07:40

Hi vivik,
I am already using custimization files to already to customize environment values etc. But what i need cannot be handled by the customization file.
I want to replace a jar file (utility jar), already in the sbconfig jar, being referenced by Java Call out actions during import process. I am begining to convince myself that it is not possible to perform such action during import process. I have checked the MBeans API but not very helpful.
I hope i have able to explain the problem here!
many thanks
sal

Similar Messages

  • How to update / replace Screenshots?

    Some time ago I submitted an early version of an e-book in epub format to the iBoostore. I now wish to change the screenshots from early pre-release to the correct published versions.
    I loaded these into the same ISBN.itmsp file in iTunes Producer and replaced the old image files with new ones. HOWEVER its clear that on pressing the Deliver button THE NEW IMAGES ARE NOT BEING UPLOADED.
    How is one to upload new images and submit the changes (as I assume is necessary) for Apple Review?

    Hi vivik,
    I am already using custimization files to already to customize environment values etc. But what i need cannot be handled by the customization file.
    I want to replace a jar file (utility jar), already in the sbconfig jar, being referenced by Java Call out actions during import process. I am begining to convince myself that it is not possible to perform such action during import process. I have checked the MBeans API but not very helpful.
    I hope i have able to explain the problem here!
    many thanks
    sal

  • How to update non-jars?

    Hello,
    In my JWS app I save on the user system a db.sqlwrapper database, for the app consumption (not read-only). I now need to make a change to the schema, of the db.
    Is it possible that users on their next update (launch of the app) they once only execute java code that would do the required (perhaps in some extra .jar) and then not again (since the change needs to be done only once)?

    Easiest way would be to provide a db upgrade mechanism. I'd suggest numbering your upgrades and creating a table where you store executed upgrades. On application startup (or db startup if they differ), you'll just need to check the presence of upgrades higher than the last executed one.
    I've been doing this for a long while.
    In my case it's even easier 'cause I've got both a read-only db and a user one.
    I record upgrades by number and key (actually keys comma separated) in the read-only db (that gets updated through JWS), storing SQL instructions in a property file (I read using the key retrieved in the DB).
    That's it: select max(required upgrade) as A from readOnly.UP, select max(executed update) as B from userDB.UP, if A>B for each key K in readOnly.UP where K>B, split K, for each part of K read property and add text as batch, once done cicling through K.parts execute batch and insert new line in userDB.UP.
    One last thing: at the end of userDB creation you should insert a line in the userDB.UP to mark out your DB version.
    This way you'd be able to upgrade your db schema (and data if needed) whenever you like.
    Bye.

  • How to update payload/data within an in-flight SOA process

    Hi,
    I have a SOA process (Process A) deployed to my server and for instances of that process I need to change/update the value of instance variables within the payload of the process instance.
    I want to do this through Process B which will contain a step to go and update the value of an instance variable within Process A's in-flight instances. E.g. Process A has a variable called 'Status'
    and the process is in-flight and running. I then require Process B to go in and update this variable with a new value.
    Can someone please confirm whether this is possible, and if so, how this could be achieved and which API's to use etc? I was wondering whether the SOA-Infra schema or dehydration store could be used to do this?
    I am working in a SOA/BPM 11g environment with Weblogic Server 11g. Any help is appreciated.
    Thanks

    Hi
    You can try something along these lines given in this post of mine: Assign role, group to Human Task when initiated
    BUT the thing is, the above notes works fine for any HumanTasks within the same Process. But you have like 2 different processes. If they are like Sub-Process, inside one big single Process, still it should work. But the above CallBackHandler class is usually attached to a HumanTask in events section.
    Thanks
    Ravi Jegga

  • How to update Acrobat 9 to current version during CS4 install

    HI All:
    I have a corporate wide deployment of Creative Suite 4 and Acrobat 9 Professional.   Due to the security vulnerabilities of Acrobat Professional, we need to update Acrobat 9 to version 9.4 during the deployment.
    For Acrobat Pro 9 the procedure is to edit the setup.ini to include the patches you want to install.  see the following technote:  http://kb2.adobe.com/cps/507/cpsid_50757.html
    Basically update the setup.ini file
    [Product]
    msi=AcroPro.msi
    Languages=1033;1031;1036
    1033=English (United States)
    1031=German (Germany)
    1036=French (France)
    PATCH=AcroProStdUpd910_T1T2_incr.msp;AcrobatUpd912_all_incr.msp;AcrobatUpd913_all_incr.msp ;AcrobatUpd920_all_incr.msp;AcrobatUpd930_all_incr.msp;AcrobatUpd932_all_incr.msp;AcrobatU pd933_all_incr.msp;AcrobatUpd940_all_incr.msp
    I need to do the same thing with the CS4/Acrobat 9 install but there is no setup.ini file for this install.  I checked the setup.xml but can not find a way to do this.
    Does anyone have any information on how to do this?
    thank you,

    I have found that I can update CS4 Acrobat to the current version using a batch file.
    I have created the batch file calling Acrobat *.msp files and there was no other commands needed to run MSIEXEC.  I have tested it and it runs and starts the installer.  
    Contents of batch file:
    @ECHO OFF
    ::  Acrobat Professional 9.0 auto update for CS4
    ::  Updates Acrobat 9.0 Professional to Version 9.4.1
    ::  David Chamberlin
    ::  December 9, 2010
    ::  rev 3.0
    msiexec /p "[path]\AcroProStdUpd910_T1T2_incr.msp;[path]\AcrobatUpd912_all_incr.msp;[path]\AcrobatUp d913_all_incr.msp;[path]\AcrobatUpd920_all_incr.msp;[path]\AcrobatUpd930_all_incr.msp;[pat h]\AcrobatUpd932_all_incr.msp;[path]\AcrobatUpd933_all_incr.msp;[path]\AcrobatUpd940_all_i ncr.msp;[path]\AcrobatUpd941_all_incr.msp" REINSTALLMODE=omus REINSTALL=ALL /q

  • How to update condition value using e1edp05 segment during order creation

    Hi,
    I have a requirement where I need to update the item level condition value (komv-kbeter)  to the condition type (komv-kschl) from the incoming idocs (orders05).
    But  the same is configured  in such a way to populate automatically with the default condition value zero during the order creation level using VA01 at condition tab.
    I am able to populate condition values from incoming idoc using segment E1EDP05 which is good, but it was getting created as new entry with the same condition type  instead of updating the condition value to the existing condition type(which got populated from automatically from configuration) .
    So I want to restrict to one entry instead of two with same condition type. Is there any userexit/gap to restrict automatic population of condition type thru programming or to update with idoc (orders05) value rather than inserting as new row?
    My client doesn’t want to restrict the pricing automation from configuration. So I have to handle through programming level.
    Your  inputs are appreciated

    It doesn't really matter if it's a credit/debit memo, it's the same transaction anyway and pretty much the same functionality. What is your requirement exactly? Do you always have to override the price from Siebel or, let's say, some price is automatically proposed and you might or might not need to override it?
    We use a custom (Z..) condition for price override. When a material is entered in VA01, some price (condition PR00, for example) is assigned automatically. Then, let's say, a special price has been negotiated with this customer just for this purchase. So the user goes into Conditions, types in condition code Z... and types in the new price. This basically annuls the previous PR00 condition. I'm not a functional consultant and can't give you all the config details, but your SD person should be able to help.
    I'm still positive that conditions cannot be removed or changed by IDoc. One thing I would suggest for your situation: do not create ZCD2 condition initially and then just add ZCD2 condition when you receive the data from Siebel. Otherwise it seems that you would have to write a user exit or a requirement to deal with the duplicate conditions.

  • Raw update on Lightroom - problem with photos during import

    Hi
    I recently did an update provided by Adobe to help improve the "raw converter /import" or something like that, and now when I upload my photos - they change and become dark, the histogram looks awful... how do i go back to the way it was before.. i shot Nikon D7000, and my version of lightroom now is 3.6, with Camera raw 6.6. PLEASE HELP.. do i need to uninstall - then reinstall?

    I recently did an update provided by Adobe to help improve the "raw converter /import" or something like that
    Too bad you can't provide us with details, because as far as I know there is NO such thing using Lightroom. If you have Lightroom 3.6, there is no upgrade you can do except purchase Lightroom 4.
    Nevertheless, it sounds like perhaps you are accidentally applying a preset on import, check the history of one such file by looking in the History Panel of the Develop Module and seeing if the bottom element indicates a preset was applied.

  • How to Update Jar Files

    Can u tell me how to update an JAR file .
    I have a jar file ,I would like to add a class in that jar.
    I am able to add it but it goes
    into the root folder where as i want it go in one of the sub folder.
    Eg
    TEST.JAR
    The structure is
    Server\a.class
    Server\folder1\b.class
    Server\folder2\c.class
    Now when i add the class it goes to
    Server\a.class
    Server\folder1\b.class
    Server\folder2\c.class
    my.class
    where as i want it to go in
    Server\folder1\my.class

    Show the code you use to add it to the JAR, and we will attempt to fix it. Don't forget to put it around [code]  tags

  • How to update particular area in applet

    I have an applet and some images in that
    I am using jdk1.1.8.
    How to update particular area within applet frequest while
    remaining area should not be updated.
    Sharmila.

    ugh, cross-post
    http://forums.java.sun.com/thread.jsp?forum=31&thread=274855

  • How to update JAR through URL

    Hello,
    I have implemented a standalone JAR file for windows, that runs in a system tray for our users to use. The application is using URL class to connect to our server and feed information. Trouble is that from time to time it may be necessary to update files packed in this JAR to give it other features. Instead of asking our users to download the JAR, I would like to have an option to update this JAR with a new JAR from the server, consequently using URL class.
    Could somebody please give me an idea on how to "download" a new JAR version and "replace" it with the existing one? So essential this should work as your typical "check for updates" feature. Any ideas on this matter will greatly be appreciated.
    Thank you,
    Victor.

    Java Web Start

  • How can i add update signed jar file

    I am developing an applet which requires signing to run in a browser.
    I am developing supporting classes. But these class files have to be added
    to the jar. Isnt it??
    But to test the applet i need to load it in the browser each time i modify the class files. So the jar file need to be updated every time. But an
    IOError
    is being displayed when i try to update the signed jar file.
    How can i update signed jar file?? Or is there any othe way to test the signed applet during development??

    How can i update signed jar file?You can't, the signature is there to make sure the content of the jare hasn't been messed
    with.
    Either recreate the jar and re sign it or set up a policy during testing.

  • Updating a JAR that uses packages

    Hi There,
    I have a problem in that I am trying to update a class within a JAR which uses packages. The issue is that when updating the JAR, the class I have requested to update is simply placed in the root of the JAR and not in the required package.
    I need to to this within a Java program, so unpacking and re-packing the JAR is not an option.
    Here is what i've been trying:
    I have a class called UserProfile.class, which resides within my messages package - Structure: /messages/UserProfile.class
    When I call the update command:
    jar uf C:\AdminUI.jar E:\project\code\Eclipse_Proj\messages\UserProfile.class
    It creates the folder structure /project/code/Eclipse_Proj/messages within the JAR file and places UserProfile.class within this folder - when in fact the UserProfile.class should be placed within the /messages folder.
    Any ideas on how I can place the class in the correct folder would be much appreciated.
    Thanks very much
    K
    null

    Thanks for the reply!
    Yeah that works, but i'm trying to update the JAR from a Java program using
    Runtime.getRuntime().exec()
    but when I try to run the command Runtime.getRuntime().exec("cd c:") I get the below exception:
    java.io.IOException: CreateProcess: cd c: error=2
    I understand there is a -C parameter to temporarily change directory so I tried the following command:
    jar uf C:\AdminUI.jar -C E:\project\code\Eclipse_Proj \messages\UserProfile.class
    But this simply inserts the UserProfile.class into a jar under the following directory structure:
    project/code/Eclipse_Proj/messages/UserProfile.class
    Thanks again for your help.
    Any input much appreciated
    K

  • How to call a jar file from oracle forms (6i)

    Hi,
    I'm working with oracle 6i. I want to know that how to call a .jar file from forms menu. when I use HOST('<path>\test.jar') it is working in 'Client Server' any way. but the problem is I use application server in order to run my form. so my form is in the server and I run the form via clients web browser. in that case above solution will not work. if any body knows how to overcome this problem please reply.
    thanks.
    duminda

    I created a bean area and set the class name as implementation class. within that java bean class I called to a bat file which consists of the execution command of the jar file ( because i don't know how to call .jar file from my bean class directly).
    then i tried to run it in application server. its still not running.
    can you tell me what i have to do within my bean class? or can you suggest any solution?
    thank you.

  • How do i convert .jar to .exe?

    how can i convert jar files into .exe ,is there any tool to make that if so plss let me know its urgent

    Mikado wrote:
    ..how do i convert my .jar file to .exe fileUse Java Web Start to launch the Jar file direct from the net. It provides a slick, easy and secure route to 'one click' installation. JWS also provides many other goodies, like cross-platform support, splash screens, auto-update, desktop integration and more..
    BTW - when asking a question, do not forget to add a question mark (?) at the end.

  • How to Transfer a JAR file from PC to a Java enabbled mobile?

    The project (creation of the JAR file) is developed in our local PC and transfer the JAR file to a mobile using Bluetooth. How to transfer the JAR file to a remote mobile?

    The situation is like this.
    We are transfering the JAR file from the PC to the Mobile using Bluetooth.
    Our J2ME project is already install on Nokia's 6600 and given to the salesman's on the field. Now i have updated my software and i want to upgrade the same on their mobiles. For this i can't call all the 2000 salesman's who are all over the country (India) to my place to get the latest software installed and configure.
    If i have a GPRS like solution for transfering my file from my PC to the remote mobile. I would be better. If you know any this related to this kindly reply me.

Maybe you are looking for

  • Xcelsius 2008 Engage Won't Install in Windows 7

    The installation of Xcelsius 2008 Engage completes but the program cannot be used at all because the license key is stated to be missing or invalid. This is a common problem on other systems but it can be worked around in various ways. However the wo

  • Receiver SOAP adapter - User authentication question

    XI experts, Here is the scenario - IDOC > XI > SOAP - Ansynchronous call.. I need your all help to understand the user authentication on the "Receiver SOAP Adapter"... We are using "HTTP" transport protocol. I believe, the userid which we entered in

  • Constant Packet Loss

    Hello, over the past month I have been recieving terrible quality over ventrilo (a VOIP program), terrible lagging in online games, and even when browsing the internet I often have to refresh a web page several times to get it to show up. At first I

  • APP-PO-14090: dOCUMENTS WAS NOT CREATED

    Dear all, I am trying to Auto-create PO from PR 123. however the error appears and error detail is mentioned below. APP-PO-14090: DOCUMENTS WAS NOT CREATED POSSSIBLE CUASES: 1: AN EXCEPTIN OCCURED IN THE PO ACCOUNTING GENERATOR WORKFLOW DURING THE DO

  • Panasonic SDR-H21 HDD device --- error in setup

    hi there - please help ---- I just bought Final Cut Express 4 - I use a Panasonic SDR-H21 HDD& SD Card in my Final Cut setup I choose all-formats or DV/Panasonic DVCPRO ---- I choose PAL (we use PAL) as soon as I switch on my Panasonic it opens IPHOT