Doubt: Java Task B2BCommandLineUtility-import operation "outputproperty"

<target name="importutility" description="Create Deployment Pre-Requisites">
          <property file="${jndi.properties}" />
          <echo message=" ==================================================================="></echo>
          <echo message="Importing the agreement into the soa server ${java.naming.provider.url}"></echo>
          <echo message=" ==================================================================="></echo>
          <echo>args=${args1}</echo>
               <!--Outcome of this Java task will be saved to build.log property-->
          *<java classname="oracle.tip.b2b.utility.B2BCommandLineUtility" classpathref="weblogic.classpath" fork="yes" outputproperty="build.log">*
               <arg line="${args1}" />
               <syspropertyset id="idsps" refid="${sysProp}"/>
          </java>
          <antcall target="importstatus">
               <param name="statusmsg" value="${build.log}" />
          </antcall>
     </target>
In the above mentioned ant target the java task is giving back the outputproperty as build.log (Outcome of the task). I have a doubt that, If the return of this Java task is writing any build.log file in the system. Or is simply using the memory. Also I am not able to find out the exact location of the file if its getting written, although I tried searching it every possible place in my system.
Can anybody plz clarify this!!!!
Thanks in Advance!!!
Ravi Prakash

HI Anuj,
Thanks. We can use recorder, I have tried that too. But here in the ant file I have posted also works fine.
<java classname="oracle.tip.b2b.utility.B2BCommandLineUtility" classpathref="weblogic.classpath" fork="yes" outputproperty="*custom_msg*">
That is just a property we are creating and assigning value to it at run time. It is not writing any file, just trapping the outcome of the Java Task. I tried changing the name and it worked fine for me.
Thanks,
Ravi Prakash

Similar Messages

  • How to get a handle of tcUtilityFactory within Java Task

    Hi
    I am trying to user op interface within a java task and want to avoid the GUI based coding in adapter factory
    I am having doubt about how to get a handle of tcUtilityFactory
    the standalone example of getting the handle works fine within a Java task
    // ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    // final Hashtable env = config.getAllSettings();
    // ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "welcome1");
    but I want the handle to be provided by adapter runtime env
    there is a function call within generated adapter code
    APITaskLocal.getUtilityFactory(getDataBase());
    but I get null pointer if I try to use it within custom code
    has anyone played around with APITaskLocal.getUtilityFactory

    Hi,
    Use this code.
    public void init(tcDataProvider dataProvider) {
    try {
         usrOps = (tcUserOperationsIntf)tcUtilityFactory.getUtility(dataProvider, "Thor.API.Operations.tcUserOperationsIntf");
    } catch(Exception e) {
    log.error("Unable to initialize: "+e);
    You can pass dataProvider in adapter mapping . Map it to Adapter reference->Database reference.
    Hope this will help.
    Regards
    Nitesh

  • WSUS importing operation hangs in a disconnected network scenario...

    Hi all;
    I have implemented WSUS in a disconnected network more than 50 times so far. But in the recent days I have encounter a problem. I can successfully export the metadata. But when I do the importing operation,
    this process takes for several days without ending.
    Can anyone help me to solve this issue?
    Thanks
    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

    When you say "for several days" are you talking about the wsusutil import operation itself, or the post-import reconciliation on the disconnected server?
    The command prompt window in importing operation does not report the completion of the process.
    I would suggest running the Server Cleanup Wizard, WSUS DB Maintenance utilties, and a disk volume defrag on your disconnected server to make sure the database is in an optimal health state, and then try rerunning the import.
    I discuss in these PatchZone.org articles the proper order of flow for doing these maintenance tasks:
    Removing Unneeded Update Approvals
    Defragment the Filesystem
    WSUS Database Maintenance
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Handling exception logging in a Java task scheduler program?

    I need to design a Task Scheduler Where
    1) User should be able to schedule multiple task at the same time.
    2) There should be proper error handling on failure of any task and should not affect the other running tasks.
    I found the related programme at http://www.roseindia.net/java/example/java/util/CertainAndRepeatTime.shtml
    My concern is about handling of point 2 in program provided at above link. Say I schedule a recurring mail send process in above program which will be run first time on 12 september 2011 at 2 am, and will be repeated after every 2 hours Say a one process fais at 8 am. I want to log it in log file with task name and time details. Now if I look at above programme i.e CertainAndRepeatTime.java. This program will exit once it schedules all the tasks. Where and how should handle the logging?
    Posted at http://stackoverflow.com/questions/7377204/handling-exception-logging-in-a-java-task-scheduler-program but folks suggesting Quartz scheduler . My Limitation is that i can't for quartz because my project allows me to use only standard java library. Is there any way we can handle logging in the same programme in case of exception.

    Well, first of all I wouldn't trust any code from roseindia. So you might want to look for more reliable advice.
    As for your logging, you can add it for example to the TimerTask itself. I don't recommend adding logging to that roseindia cr*p though.

  • Has anyone seen this before,? some import operations were not performed , could not copy the file to requested location

    some import operations were not performed , could not copy the file to requested location , has anyone seen this or have a fix?

    cormacc57361247 wrote:
    has anyone seen this or have a fix?
    Oh, I bet that if you'd done a site search, you'd have got answers to both of those questions...

  • Trying to import RAW files but receiving "some import operation were not performed" error message.

    Trying to import RAW files (from Canon 5D Mark III) but I'm receiving the following error message "some import operations were not performed". I am trying to copy to my Seagate backup drive, however the only destination it will let me copy to is my Lexar flash drive (where I don't want to store them!).  I've checked all the file permissions--everything says "read and write". Not sure where to start   I recently switched to an iMac where the problems started (never any issues importing into Lightroom on my PC--just slowness). Please help! 

    NIKON D3300
    The Nikon D3300 Raw format is not yet supported in Lightroom 5 (currently 5.3).
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    Raw file formats are proprietary to each camera manufacturer and specific to each camera model. Adobe's Camera Raw engine (used by both Adobe Camera Raw - as a plugin to Photoshop - and Lightroom) must be constantly updated with every new camera make and model which arrives on the market in order to read and edit Raw files from that camera.
    Adobe has added support for the D3300 to Camera Raw 8.4 which is about to be released. It is a Release Candidate (RC status) at the moment. So D3300 Raw support will probably be added to the next soon-to-be-released Lightroom update (5.4).
    http://labs.adobe.com/technologies/cameraraw8-4-cc/?tabID=details#tabTop
    In the meantime, you can download the free Adobe DNG Converter 8.4
    http://labs.adobe.com/downloads/cameraraw8-4.html
    Using the DNG converter, you can then convert the D3300 Raw files to DNGs then open and edit the DNGs in Lightroom 5.3.
    Once Lightroom 5.4 is released (assuming it also has D3300 support) the DNG conversion will no longer be required.

  • Functional location Task lists Header/Operation Mass Upload

    Hello experts,
    I am using LSMW to upload Functional location Task lists Header & Operations in T-code IA12, for this i am using the Standard program IBIP (Object -> 480).
    All required fields are in the standard structures apart from Operation QM Data, Recording view -> ERFSICHT & Inspection point Completion -> QPPKTABS (see attached screen shot).
    Should i upload these 2 fields in different way ?
    Thank you by advance.
    Regards,
    Soufiane

    Generally, for all kinds of task list (Maintenance, Quality as well as Production), I tend to use BDC programs by which all the fields can be addressed. In standard, there are certain fields which might have got avoided for certain reasons.
    So, I suggest you to look for some other options available.

  • Anyone having issues with importing CR2 files into lightroom 5 as error message comes up saying "Some import operations were not performed". please advise what is a solution please

    Urgent please
    anyone having issues with importing CR2 files into lightroom 5 as error message comes up saying "Some import operations were not performed". please advise what is a solution please

    Sounds like the folder Write permissions issue described here with a solution:
    "Some import operations were not performed" from camera import

  • Packages that java normally already imports

    I am trying to get back into programming, and I remember awhile ago being told that java automatically imports certain packages, like java.lang, and maybe a couple more. I tried to test that out by using methods withing java.lang, or java.util, or java.io without importing those packages.
    So I tried to test out java.util. I created an Arrays class without explicitly importing java.util. But my programming didn't recognize the class. I think it is possible that because of my directory structure the imports isn't working. But I'm not exactly sure how to make java see the packages in it's correct directory. Anybody can help? A more extensive question...what kind of environment does everybody use to code (windows environments please, that's what I'm using, I haven't set up a Linux box yet).

    I am trying to get back into programming, and I
    remember awhile ago being told that java automatically
    imports certain packages, like java.lang, and maybe a
    couple more. I tried to test that out by using
    methods withing java.lang, or java.util, or java.io
    without importing those packages.
    So I tried to test out java.util. I created an Arrays
    class without explicitly importing java.util. But my
    programming didn't recognize the class. I think it is
    possible that because of my directory structure the
    imports isn't working. But I'm not exactly sure how
    to make java see the packages in it's correct
    directory. Anybody can help? A more extensive
    question...what kind of environment does everybody use
    to code (windows environments please, that's what I'm
    using, I haven't set up a Linux box yet).Only the public classes in the package java.lang are automatically imported. Here is some more information about packages from Sun's java tutorial:
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • Java.lang.error Undefined operation name CreateStore

    I was trying to call a WS client using a UI application. However upon calling the client, I hit this issue.
    Caused by: java.lang.Error: Undefined operation name CreateStore 
    at client.inventory.webservice.ReferenceUim.getReferenceHTTPPort
    at client.inventory.ui.util.WSCaller.getReferencePort
    at caller.ui.inventorygroup.delegate.Delegate.assignStockWS
    at caller.ui.inventorygroup.delegate.Delegate.assignStock
    at caller.ui.inventorygroup.bean.Results.assignStock
    By the looks of it can be seen that the error was caused becaused the operation "CreateStore" not exists in my client. However:
    It does exists
    I did not call "CreateStore" from the UI instead I was calling "AssignStock" operation as you can see from the error trace.
    Both operations are present in my WSDL.
    <wsdl:operation name="AssignStock">
    <wsdl:input message="invws:AssignStock"/>
    <wsdl:output message="invws:AssignStock"/>
    <wsdl:fault name="InventoryFault" message="invws:InventoryFault"/>
    </wsdl:operation> 
    <wsdl:operation name="CreateStore">
    <wsdl:documentation>This operation is used to create store </wsdl:documentation>
    <wsdl:input message="invws:CreateStoreRequest" />
    <wsdl:output message="invws:CreateStoreResponse" />
    <wsdl:fault name="InventoryFault" message="invws:InventoryFault" />
    </wsdl:operation>
    Can help please to advise what was wrong on this case? Please let me know if I did not post enough information.

    Hmm. Maybe the method is not defined in that class.

  • LR 5 "Some import operations were not performed." Following files not updated because could not be read

    Having difficulty with LR5, can view photos on card while trying to import but receive following message "Some import operations were not performed."  "The following files were not updated because they could not be read."

    Check your destination folder in LR at the top right of the Import panel.  LR cannot copy the photos there and so when it tries to import them they aren’t there and cannot be read. 
    In other words the “cannot be read” message indicates that photos cannot be written to the destination.

  • Java.sql.SQLException: No operations allowed after connection closed

    Hi all
    I was trying the jakarta DBCP pool for managing my connections to Mysql(4.0.17-standard ). I let tomcat to manage the pool by specifying datasource in server.xml and web.xml. Everything works fine if there are only a few transactions. But when the number of queries increse, I get an exception like
    java.sql.SQLException: No operations allowed after connection closed.
    Connection was closed explicitly by the application at the following location:
    ** BEGIN NESTED EXCEPTION **
    java.lang.Throwable
    STACKTRACE:
    java.lang.Throwable
            at com.mysql.jdbc.Connection.close(Connection.java:1061)
            at org.apache.commons.dbcp.PoolableConnection.reallyClose(PoolableConnec
    tion.java:124)
            at org.apache.commons.dbcp.PoolableConnectionFactory.destroyObject(Poola
    bleConnectionFactory.java:196)
            at org.apache.commons.pool.impl.GenericObjectPool.returnObject(Unknown S
    ource)
            at org.apache.commons.dbcp.AbandonedObjectPool.returnObject(AbandonedObj
    ectPool.java:140)
            at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.j
    ava:110)
    ......I then tried the Connecion Pool manually with DBCP to check it is a problm with tomcat or ont. Still the exception comes after a few transactions. I re-checked the code and I am closing all connections in finally block. I searched in net for a solution, but couldnt find any. Is that a problm with mysql? has anyone experienced it? Any help will be greatly appreciated
    thanks
    boolee

    Odd that Throwable is the exception logged. What does your finally block actually look like? As an experiment, what happens if you execute the following line of hypothetical code in your 'finally' block?
    finally {
      System.out.println(conn.getClass().getName());
    }- Saish

  • Why jave export and import need to be performed after sys copy Dual stack

    Dear All,
    i have a question why do we have to perform JAVA export in the source and import in the target system
    after system copy ( dual stack ). when whole database is copied. Thank you in advance.

    Hi,
    The reason for this is: because most of the Java configuration lies in the file system and not in the database. This is the reason you need to export Java and then import in system copy.
    Thanks
    Sunny

  • Some Import Operations failed to perform. The following files could not be imported because they cou

    Some Import Operations failed to perform. The following files could not be imported because they could not be read....(then all the files that I checked do not get imported

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Import operation

    hi
    i had a database with the sid : project and database name: project
    then i made a complete export of the entire database
    then i deleted the database
    I made a new database with the sid : bgr and database name : bgr
    i tried to make an import of the export that i made previously but cannot find any changes in the database.
    Is it possible to actually make such an import
    i have only 1 complete backup.and i used the command
    imp file=expproj.dmp log=exp.log full=Y inctype=restore
    please help me...
    i am also confused about inctype=restore and system. when to use what?
    thnx

    yeah i have done that.. but i had several users on my last database and i used
    select username from dba_users to check up whether the users were imported or not.
    i cud not find the old users in the new database after import operation..
    the import happened successfully but i cannot find any old database data..
    i am using oracle 10g
    thnx

Maybe you are looking for