How to modify the jar files information for Script Assets??

Hi,
I am using Open Script 9.2. We can add the external JAR files using Script->Script Properties--> Script Assets. I need to change the jar files when ever i am going to execute no of scripts. How can I modify them using JAVA Coding without manual handling. Is there any specific methods existed in OpenScript to serve the above scenario.
Thanks in Advance.
Thanks & Regards,
Siva Thota

Hi,
When you say alter the jar file, do you mean alter the contents of the java code within the jar. If this is yes then the simple answer is no. As you are probably aware, a jar file contains pre-compiled java code, which you will not be able to alter. What is it you are trying to achieve?
A simple answer maybe to use a child script which you can include into your main script. You can then change the code in the child script, and when you play back, this 'new' code will be compiled, and included within the replay.
Regards
Wayne.

Similar Messages

  • How to list the JAR files loaded into the Oracle Database ?

    How to list the JAR files loaded into the Oracle Database ?

    From 11.1 onwards, the below two views are available to identify the jar files loaded into the Database.
    JAVAJAR$
    JAVAJAROBJECTS$
    By querying the JAVAJAR$ view you can know information about the JAR files loaded into the Database and using JAVAJAROBJECTS$ view you can find all the java objects associated with the given JAR file.
    These views are populated everytime you use LOADJAVA with "-jarsasdbobjects" option to load your custom java classes.
    But unfortunately this feature is available only from 11.1 onwards and there is no clear workaround for above in 10.2 or earlier.

  • Problem when modifying the jar file of a portal component

    I get the umelogonbase.jar from the com.sap.portal.runtime.logon component, extract it with winzip, do not make any changes to the source code, then re-create the jar file and add it back to the component. Now, when I deploy the component to the Portal I get the following error:
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/security/core/logonadmin/IAccessToLogic.
    Exception id: 10:30_08/08/07_0012_15067450
    See the details for the exception ID in the log file"
    any idea what I am doing wrong here?
    I am doing this because I need to change the texts in the umelogonbase.jar, so this is the first step to see that the component still runs once I modify the jar file.
    Note: I create the jar file by creating a jar-type project in NWDS and then exporting the project as jar.

    Do you have JDK installed? If not then please install it by downloading from http://java.sun.com/j2se/1.4.2/download.html. Install it in your local machine. Then inside the installation folder\bin folder you will find the jar.exe.
    Also create the environment parameter named JAVA_HOME and set the value as the installation directory of JDK for example JAVA_HOME=C:\j2sdk1.4.2_13. Also add the following to your Path environment variable
    C:\j2sdk1.4.2_13\bin;C:\j2sdk1.4.2_13\lib;
    these path names should vary depending upon your actual JDK installation folder name.
    Regards,
    Shubho

  • How to modify the layout  and coding for 'RVORDER01' after copying ..

    Hi all,
       I am trying to modify standard script layout SALES ORDER for Quotation,
    i.e. I had copied standard form 'RVORDER01' to 'ZBAT_RVORDER01'.
    and now I am trying to compress the information box. But no box in the layout  was selecting while trying to resize it. Can any one help in this issue.
      And I also want to know, how to modify the coding in that standard script. i.e. to add a perform statement and etc..
    Thanks in advance,
    Surender.

    GOTO SE71, and give the form name as 'ZBAT_RVORDER01' and Language as DE, try to compress the box according to your requirement, save activate and return to SE71, now change the language to EN, you will see the compressed window in EN.
    The casue of your problem is the original language is in DE so window changes, character formats etc can be done in DE language or change original language to english,
    TO change original language to EN, SE71 ,FOrm name Language DE click change, goto utilities--> change Language.
    Regards,
    Sairam

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • ANT how to include NetBeans Jar  files in my script of ANT ??

    ANT how to include NetBeans Jar files in my script of ANT ??

    I mean the library say swing layout ...
    which is SwingLayOuts1.0.jar ...
    in side this there is folder org.jDesktop....
    I want this folder in my jar file ...
    also ....
    My question ... i know the path of the jar file of NetBeans .... i can copy that ...dirctly ... but if m using Netbeans editor ... can i give NetBeans class to my jar command for ANT...........

  • How to download the .jar files for ESB?

    Hi,
    I'm connecting to a remote sandbox environment of CE 7.2. I'm running into the problem that some links point to URLs without a fully qualified host name. For example, in ESR (url .../rep) the link that points to the Enterprise Service Builder is http://server:port/rep/start/repository.jnlp instead of http://server.company.com:port/rep/start/repository.jnlp
    As a result, clicking the link results in Page not found.
    As a workaround, I can type the URL manually in the address field of my browser.
    That way, I can launch Web Start. However, it does not solve my problem, because soon after, the download fails because some of the .jar files have the short URL.
    I get the error message "Unable to load resource: http://host:port/rep/repository/com.sap.xpi.ibrep.client.jar
    Now how can I download the .jar files so that I can start the ESB? Typing the URL into the browser doesn't seem to work, and I don't know what else I should download to launch ESB.
    Is there a post-installation way to specify the URL for the components?
    Edited by: Arto Pihlaja on Dec 4, 2010 11:37 PM

    Found it.
    I had to change the value of the parameter com.sap.aii.connect.repository.name under CE - Administration - Properties Administration.

  • How to modify the Manifest file in the JAR file

    Hi guys,
    i am having a JAR which contains one Manifest file and 10 class files.
    actually i want to do some changes on the manifest file, but by using the ,
    " jar -cmf new_manifest_file jar_fileName all_class_files " option i am able to modify the manifest file by repacking the .class also.
    i want to modify the manifest file without disturbing the existing class files in the JAR file.
    Thanx in advance.............! ! ! !
    bye,
    subbu

    yeah, that is correct.
    my doubt is,
    Is it possible to modify the Manifest file which is inside the jar file, by without disturbing the Class files.
    --Subbu                                                                                                                                                                                                                                                                                                                           

  • ODI - Multi development environment how to share the JAR files

    Hi,
    For some of our functionality, existing KM not sufficient so we created with our own KM and we have called some jave code which we created and place inside lib directory of ODI as a JAR file. there are four people in the development work. so we have four development environment(all are complete installation, i.e while installing we choosing Complete Option).
    One of our developer created the our own KM and he placed the jar file in his own Dev environment's lib Directory. Since four Dev environment shares the some work rep we could see the new KM and all the ODI object in all the dev env. but if we run the the ODI interface which use the new KM from other Dev environment where we dint place the jar we are getting Error.
    if we keep the jar file in all the other three Dev environment's LIB directory then respective interface working.
    here my doubt,   is there any other way to share the JAR file to all the Environment without copying into everywhere?
    Thanks
    Knidhi

    Thanks you verymuch Cezar and Ratish, now almost i got the answer for my question.
    i installed ODI Server into separate machine. it has folder structure as follows
    Directory: D:/ODIServer/oracledi/ has the following subfolder
    1.bin 2.drivers 3.lib 4.tools.
    here i need to keep my Jar files under the lib folder. am i right?
    and bin directory contains only Agent related batch files. (agent.bat, agentscheduler.bat,agentservice.bat,agentstop.bat,agentstart.bat,agentweb.bat and jython.bat and respective .sh files)
    here dont know how to precede the following things
    1. how to configure the Master and Work Repository information with ODI Server?(MR and WR i already created with the help of one the ODI Client)
    2. how to configure the Client machine to Server?
    3. Since ODI Server not having the Topology, how to create the Agent? do i need to use any one of the ODI Client for this task?
    --Thanks
    Knidhi

  • HOw To Identify The JAR File Name

    Hi,
    In an already developed java code how can we identify which jar file has been used? Does it depend on what packages are included? In a java code which I have the following packages are included, so please tell me what will be the name of the corresponding file:
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.xml.namespace.NamespaceContext;
    import javax.xml.xpath.*;
    import org.xml.sax.InputSource;
    import sun.misc.BASE64Encoder;
    import sun.misc.CharacterEncoder;
    Thanks,
    Abhishek.

    The .jar files that i will need are:
    1) aii_map_api.jar
    2) namespace.jar
    Regards,
    Abhishek.

  • How to find the JAR files of a custom portal service?

    Hi all,
    I have created and deployed a custom protal service on to the portal. Now for any of the other apps to make use of this service, i need the JAR files which correspond to this portal service. Where do I find them??
    Regards,
    Narahari
    Message was edited by: Narahari Vedula

    Hi,
    Can you check up if this is located in the following path.
    System Administration ->Support->Portal Runtime
    Here navigate to ROOT/WEB-INF/portal/portalapps
    Open the folder with the name of the par file and check up if you can locate the jar.
    Regards,
    Harish
    (Please award points in case this helps)

  • ServiceBus java callout - how to pack the JAR file with libraries?

    Hello
    I want to use a Java Callout from a Service Bus flow.
    What is the correct way to pack the JAR file with its nessecary libraries?
    I tried different methods to pack my JAR, but yet, as though the Java runs perfectly from the Workshop (Eclipse) , when I am trying to use the exported Jar on the ServiceBus flow, it fails with an ClassNotFoundException.
    I would really appreciate your advice here.
    Thanks
    Koby

    Well.. Looking inside my exported JAR file, I got all of the files there inside, including the jar file containing the library.
    What I'm trying to do is run a simple java program that connect through SSH and therefore use an SSH library.
    On the workshop I got it as an imported library JAR. And it works perfectly there.
    Any idea?
    Here's the complete error I get:
    <BEA-382515> <Callout to java method "public static java.lang.String sshpackage.SshProg.remoteScriptInvoke(java.lang.String,java.lang.String,java.lang.String,java.lang.String)" resulted in exception: null
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at stages.transform.runtime.JavaCalloutRuntimeStep$1.run(JavaCalloutRuntimeStep.java:158)
    Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: ch/ethz/ssh2/Connection
    at sshpackage.SshProg.remoteScriptInvoke(SshProg.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: ch.ethz.ssh2.Connection
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at com.bea.wli.sb.resources.archive.HookedJarClassLoader.loadClass(HookedJarClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    Edited by: kobyssh on 04:12 01/02/2010

  • How to findout the data source information for the perticular tables

    Hi,
    Can you please tell me the process to findout the data source information for the perticular tables .
    For ex.. T2503 ,T2507 ,T25A1,T25A2 etc ..
    I am doing a reverse engineering to find out the data sources build on the above SAP Tables.
    Thanks.

    Hi,
    Still we haven't get the field level information ,before they send us we should first give them the corresponding data sources for the COPA tables which they have given .
    I have searched in help.sap.com but I didn't find any information on this .
    Please let me know is there any way to know the data source details for SAP Tables.
    Thanks

  • How to install the jar files for the cf extensions

    Hi,
    In adobe labs I saw some extensions you can download for
    cf/flex. They seem to be a bunch of jar files and a plugins
    directory. How do I use these. I did not see any documentation?
    Where do these files go? I think a web-inf dir or something like
    that but I am not sure.
    That is question 1.
    Question 2:
    If I want to build a flex application that uses CF, what is
    the basic site structure that one would use that would allow them
    to have the code relatively in the same spot and make use of remote
    objects. Typically we have a web server IIS or apache or whatever
    or even CF's own built in webserver, under that we have our apps
    wwwroot/myApp
    wwwroot/salesCRM
    This is fine for a traditional CF application, but if we are
    using flex, it seems like it wants to default all my flex files
    into the mydocuments/flex folder and not under any webroot, I guess
    I am looking on how to setup my files in terms of developing an app
    that will utilize Flex/CF.
    Thanks
    -WestSide

    Found it.
    I had to change the value of the parameter com.sap.aii.connect.repository.name under CE - Administration - Properties Administration.

  • How to debug the jar files while developing the native extension for android

    ANyone???

    I'm having the same problem. I learned FB and Eclipse. I've read the tutorials, created an ane, and built it into a test app. I can debug my test app within FB 4.7 on my mobile device via USB. But there are bugs and they silently fail. Despite all my Log statements in my android java code, they won't output to the FB console. I'm blind, without even trace statements to help fix my ane. I've searched the internet and can't find anything. It must either be terribly obvious or arcane, because no one mentions it.
    Can anyone tell me how to get trace out of an ane?
    The Android reference claims debug and verbose priority are stripped out at runtime. I switched to Log.i() but still get nothing. I suppose for now I'll try throwing errors and see if I can report trace info that way if possible.
    Anyone perhaps have a JUnit test that will mimic AIR using the ane jar file as an extension? Perhaps it will be easier to go full native until the android side is debugged.
    Update Edit: Ok, now spending more time reading the Android developers website. I've found I can use logcat to get all kinds of useful system logs, including the log output of my embedded ane. I created a nice big command line window (180 char wide with a 500 deep buffer so I can scroll back through all the messages), then from the android platform tools directory I ran 'adb shell', then at the shell prompt $>logcat
    Links to info that helped me:
    http://developer.android.com/tools/debugging/index.html
    http://developer.android.com/tools/help/logcat.html

Maybe you are looking for

  • Should I return my new MacBook Pro??

    I got a new Mac Book Pro.  My first Mac ever.  I purchased it on the 17th of July,   In the last few days it has been freezing.  Last night I literally shut it off because I cold not get pages to load....while my Windows laptop (4 years old) was runn

  • How do i get a new text message to show up when i am on the slide to unlock sceen

    when someone texts me and i don't look at my phone because i am busy, after a while the notification leaves the "slide to unlock screen" is there a way that i can keep the notification of a new text message on that screen untill i look at my phone an

  • Posting Customer Payment Term Discount Separately

    Hello Gurus, I have configured the system for the Customer Payment Terms in SAP but I am having hard time showing that correctly in FBL5N. For Example: Invoice Value $100 Payment Term 2% Discount Customer Pays on time $98 In FBL5N main display screen

  • To show zeroes after decimal in CSV file

    Hi all, A program generates a .CSV file , downloaded to local PC. The values should be shown as 2.0000(upto four decimals) and 0 should be 0.0000. I tried appending ' - single quote to char field , it's working fine but it's shown as '2.0000 in CSV f

  • Problem in cloning a Database through RMAN

    Hi, I have a requirement to clone a Database of size 500G. The problem here is, I don't have enough disk space to take the backup and clone it later... Is there any utility in RMAN which clones the database, without demanding the 500G disk space to s