Adding a category on an object over ifsshell

Hello,
it's possible to set a category (or special attributes of the INTERMEDIAIMAGE class) for a file over ifsshell?

And in the case you described, the object you synchronize on should not be the array. Why not? Because your description reveals a misunderstanding. You cannot change the size of an array, so your statement "then the array will be modified by the other thread and will now have n+1 elements in it" must actually mean "then the other thread creates a new array that has n+1 elements in it". So anything that was synchronizing on the original array has no effect on anything that is now synchronizing on the new array -- which is a different object.

Similar Messages

  • Problem in passing/returning objects over dynamic web service call

    Hi Friends,
    I am beginner in java web service.
    Here is the problem I am facing when I pass/return user defined objects to remote web service method using dynamic we service call.
    The client can call the remote web service method in 2 ways.
    1. By generating client stubs using WSDL file
    - In this case, I am able to pass/return the user defined objects to remote method without any issue only when the server side web services are deployed in any server(jboss)
    - But in java 1.6 & above, the web services can be deployed without server using endpoint. In this case, I am not able to pass/return objects over web service calls.
    2. Without generating client stubs (dynamic web service call)
    - This will establish a connection at run time using the given WSDL file (I have attached the document). I have to form an XML(This will contain API name, arguments) string as input at run time
    - In this case, it allows only string as argument while passing & returning.
    Please let me know if you can help me on this.
    Regards,
    pani

    I'm not sure about your question, but this might help:
    [http://forum.java.sun.com/thread.jspa?threadID=5251188|http://forum.java.sun.com/thread.jspa?threadID=5251188]
    You might also want to read on JAXB.

  • How do I write objects over a SocketChannel?

    Using the regular Socket class we can pass objects over sockets like this.
    Socket s = new Socket("127.0.0.1", 80);
    ObjectOutputStream out = new ObjectOutputStream(s.getOutputStream());
    out.writeObject(new Object());
    Now, I've looked through the documentation on the new Channel classes and have only seen ways to pass bytes over the channel, not an entire object. Is there an easy way to pass an entire object over a channel? Am I just missing an appropriate wrapper that adds this functionality?
    Thanks,
    Dave

    This code will help you converting an Object to a byte[]:
    //Object to send MUST implement Serializable
    SerializedObject anObject = new SerializedObject();
    //byte[] needed to send
    byte[] aByteArray = null;
    //the conversion
    java.io.ByteArrayOutputStream aByteArrayOutputStream = new java.io.ByteArrayOutputStream();
    java.io.ObjectOutputStream aObjectOutputStream = new java.io.ObjectOutputStream(aByteArrayOutputStream);
    aObjectOutputStream.writeObject(anObject);
    aObjectOutputStream.close();
    aByteArray = aByteArrayOutputStream.toByteArray();
    //When you receive the Object you should reverse the conversion
    //byte[] reveived from InputStream
    byte[] aReceivedByteArray;
    //Expected Object
    SerializedObject theExpectedObject = null;
    //the conversion
    java.io.ByteArrayInputStream aByteArrayInputStream = new java.io.ByteArrayInputStream(aReceivedByteArray);
    java.io.ObjectInputStream aObjectInputStream = new java.io.ObjectInputStream(aByteArrayInputStream);
    theExpectedObject = aObjectInputStream.readObject();
    That's one way to do it.
    You should watch out with Serializable object when sending it to another OS or JRE-version.

  • #include "%(Filename)_i.h" inserted into C++ source after adding connection points to ATL object using wizard.

    What is the subsitution for this appearant macro?  Solution will not build if removed.
    Using
    Adding Connection Points to an Object directions.

    Hi Shawn,
    Since you have posted this issue to the VC++ forum, I think you would get better support there:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/8494410e-9578-4b67-a08d-3380aac10fcf/include-filenameih-inserted-into-c-source-after-adding-connection-points-to-atl-object?forum=vcgeneral#503cbc06-40a2-4073-a56e-1b384b11b56e
    So I will move this thread to the Off-topic forum. Thanks for your understanding.
    Sincerely,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Business Objects over Enterprise portals

    Hi all,
    Anyone done projects with Business Objects on SAP BW ???
    Pls. let me know on related links.
    what are the pros and cons of using Business Objects over using Enterprise Portals.
    Points will be given for useful answers...
    Thanks,

    Hi Vaishali,
    Please check this link, it may useful to u
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/f2ef41a0b99d39e10000000a155106/content.htm
    Thanks, KR

  • [Q] htmlKona - adding attributes not specified in object model

    How do I go about adding attributes to a htmlKona object that exist in
              proprietary HTML versions, or versions beyond what is supported in Kona, if
              those add methods do not exist in the current object model?
              Most htmlKona elements extend weblogic.html.ElementWithAttributes, but the
              addAttribute(String, String) method is inexcessable.
              Any help appreciated. If this is posted to the wrong group, please point me
              in the right direction.
              Lukas
              

    I guess you need to get htmlkonapatch403Patch.jar. ElementsWithAttributes
              supports it then.
              Madhavi
              Lukas Bradley <[email protected]> wrote in message
              news:[email protected]...
              > import weblogic.html.TableElement ;
              >
              > class TableTest
              > {
              > public static void main(String args[])
              > {
              > TableElement lTable = new TableElement() ;
              > lTable.addAttribute("height", "100%") ;
              > }
              > }
              >
              > Yields:
              >
              > TableTest.java:8: Method addAttribute(java.lang.String, java.lang.String)
              > not found in class weblogic.html.TableElement.
              > lTable.addAttribute("height", "100%") ;
              > ^
              > 1 error
              >
              > While the documentation states:
              >
              > java.lang.Object
              > |
              > +----weblogic.html.HtmlElement
              > |
              > +----weblogic.html.ElementWithAttributes
              > |
              > +----weblogic.html.MultiPartElement
              > |
              > +----weblogic.html.TableElement
              >
              >
              > And ElementWithAttributes has:
              >
              > addAttribute(String, String)
              >
              > And yes, many browsers will allow you to set the height on a table. =)
              > Thanks for any help.
              >
              > Lukas
              >
              >
              >
              > John Greene wrote in message <[email protected]>...
              > >
              > >Hi --
              > >
              > >A method was added to allow generic attributes. I thought it was this
              > method
              > >you speak of. How do you mean it's inaccessible? Newsdude, can you
              > clarify?
              > >
              > >
              > >Lukas Bradley wrote:
              > >>
              > >> How do I go about adding attributes to a htmlKona object that exist in
              > >> proprietary HTML versions, or versions beyond what is supported in
              Kona,
              > if
              > >> those add methods do not exist in the current object model?
              > >>
              > >> Most htmlKona elements extend weblogic.html.ElementWithAttributes, but
              > the
              > >> addAttribute(String, String) method is inexcessable.
              > >>
              > >> Any help appreciated. If this is posted to the wrong group, please
              point
              > me
              > >> in the right direction.
              > >>
              > >> Lukas
              > >
              > >--
              > >
              > >Take care,
              > >
              > >-jg
              > >
              > >John Greene E-Commerce Server Division, BEA Systems,
              > Inc.
              > >Developer Relations Engineer 550 California Street, 10th floor
              > >415.364.4559 San Francisco, CA 94104-1006
              > >mailto:[email protected] http://weblogic.beasys.com
              >
              >
              >
              >
              

  • What is the use Business objects over WAD.

    Hi Folks,
    what is the use Business objects over WAD.
    How sap bw is going to use Business Objects.
    Thanks,
    Cheta.

    hi,
    A business object is a master record within the Measurement System, and is defined as part of the measurement class within Customizing.
    Examples of business objects are wells, well completions, and measurement points.
    Once the measurement object is maintained, it is saved with the business object so that when viewed, the measurement object is part of the business object.
    regards,
    Siddharth.

  • URGENT : Pass non-serializable objects over sockets

    I am working with a non-serializable class.I can't change it to serializable(since it's an API class).I can't create a subclass either as I need to pass the same exact Object .I have tried wrapping it in a serializable class (as transient )but then the particular object that I need is not serialized.Is there a way to pass non-serializable objects over sockets?.Some other way of doing this?. Should i use RMI or Externalize?. Any help would be appreciated.

    {snip}
    Like this:
    public class SerializableLibraryClass extends
    LibraryClass implements Serializable {
    }Then you've got a class that is exactly the same as
    LibraryClass, but is now serializable.Not quite. The base class still isn't Serializable. Take, for example, the following code:
    public class A
        public int a1;
    public class B extends A implements Serializable
        public int b1;
    B beforeSend = new B();
    beforeSend.a1 = 1;
    beforeSend.b1 = 2;
    objectOutputStream.writeObject(b);
    B afterSend = (B)(objectInputStream.readObject());Both beforeSend and afterSend have fields a1 and b1. For beforeSend, a1 = 1 and b1 = 2. For afterSend, b1 = 2 but a1 = 0. The superclass wasn't Serializable; therefore, its members weren't Serialized and, when the object was created on the other side of the stream, a1 was left at its initial value.
    In short, you can't just Serialize the subclass. That Serialization won't apply to its superclasses.

  • Adding URL to a 3D object

    Hello,
    I have 3d model from Microstation saved in format u3d. I create 3D pdf from this model. Now my problem is:
    - I need insert URL to this model
    (This should go with JavaScript, but I don't now how)
    Second question is:
    - is possible default disable some layers of the model?
    (All the layers are by default activated)
    Thanks

    Hello,
    thank you for your answer, but is not much helpful for me..
    "- I need insert URL to this model
    http://forums.adobe.com/thread/850845 " -
    I know the HyperlinkExample.pdf, but is it only example,..I don't know how.
    If I uncompress this PDF , I saw javascript like this: (parts of javascript)
    function PDF3DSDK_LaunchURLWrapper(url)
        try{
            app.launchURL(url);
        }catch(ex)
            console.println("HostScript: error during launchURL; url = " + url);
    endstream
    endobj
    //& this
    var pdf3dsdk_linkTypes     = new Array( PDF3DSDK_MESH_LINK_COUNT );
    // possible values are:
    // launchURL - opens a URL at new (external) browser window
    var pdf3dsdk_linkParams1   = new Array( PDF3DSDK_MESH_LINK_COUNT );
    pdf3dsdk_linkMeshNames[0]  = "PDF3DLabel_launch_url";
    pdf3dsdk_linkCompareType[0] = "like";
    pdf3dsdk_verboseModes[0] = 0;
    pdf3dsdk_linkTypes[0]  = "launchURL";
    pdf3dsdk_linkParams1[0] = "http://www.pdf3d.co.uk";
    function pdf3dsdk_DoLaunchURLActionForIndex(index,node)
        try
            host.PDF3DSDK_LaunchURLWrapper(pdf3dsdk_linkParams1[index]);
        }catch(ex)
            console.println("3DScript: error during launchURL; url = " + pdf3dsdk_linkParams1[index]);
    I think that these functions should provide operations Adding URLs into a 3D object,
    isn´t it ?  Thank you
    "- is possible default disable some layers of the model?
    I do not know what the layers are. Some Microstation term?
    But nodes in 3D PDF model can be switched on and off -
    interactively, via annotation properties (node dictionaries) or JavaScript." -
    Yes, layers are "nodes" in Acrobat. I know how switch on and off this nodes interactively, but I need some nodes deafult switch off. When I open my model, every nodes are switch on...
    JavaScript is maybe solution, but I don't know how to do it.

  • Entity Object over XML file

    USing Jdeveloper 11.1.1.0.2+ADF
    Have anybody implemented an entity object over a XML file, i want to store some informations into a XML before connect to a database (the connection information) and be able to modify the data (create rows) using AF forms and tables.
    Edited by: Fernando Ferpa Hackbart on Jun 18, 2009 5:39 PM

    you have to write your own save/load functions, since you have to build your personnel xml document and then serilaize it
    you can use nu.xom at this url
    http://www.cafeconleche.org/XOM/apidocs/nu/xom/package-summary.html
    to parse your document

  • Pass non-serializable objects over sockets

    I am working with a non-serializable class.I can't change it to serializable(since it's an API class).I can't create a subclass either as I need to pass the same exact Object .I have tried wrapping it in a serializable class (as transient )but then the particular object that I need is not serialized.Is there a way to pass non-serializable objects over sockets?.Some other way of doing this?.

    Have you considered leaving it in situ and using RMI to manipulate it remotely ?
    To be a little pedantic, if you need the "same exact object" then there's no technique that will work for you, since you can only copy an object between JVMs, not move it.
    D.

  • Why would my other category suddenly jump to over capacity?

    why would my other category suddenly jump to over capacity?

    I'm in the process of updating an iPod Touch and iPad2 to IOS5.  I had the exact same thing happen in BOTH cases!  I've never experienced it before. 
    The fix, in both cases, is as Ingo2711 stated - restore the device.  And boy, has that been painful (as in taking several hours for each device). 
    While I accept that this problem has occured prior to IOS5 installs, I find it very odd that it occured to me on BOTH IOS5 installs.  Either there is something common to both my devices (an application perhaps?) that cased it or something about the IOS5 upgrade that makes this problem more likely. 
    Someone with a lot more knoweldge than I have would need to look at it to figure out what's going on.  I'll just be happy to have this issue behind me and hopefully, not see it again!

  • Sending Custom objects over RMI

    I am new to RMI and am having trouble sending customised objects over an RMI connection - I am trying to send an object of class DataFile which implements serializable, to a method on the server called loadPerformanceData(DataFile data). Here is the class DataFile:
    package org.twomey.fyp.loader;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import org.twomey.fyp.mail.*;
    * Class to accept a File Object to prepare a File for Data Loading.
    * It reads a Data File line-by-line and provides the functionality
    * to insert line records into the database.
    * @version 0.1
    * @author Sean Twomey
    public class DataFile implements Serializable{
    /** Data Loading Date */
    private String date;
    /** Log from Loading Process */
    private StringBuffer log;
    /** Array of lines from file */
    private String file[];
    * Constructs a Data File from a specified File Object.
    * Accepts the File object and Data Loading Date
    * @param inputFile Inputted File Object
    * @param date Data Loading Date
    public DataFile(File inputFile, Calendar date){
         // Formats the date into a form acceptable to Oracle DBMS
         SimpleDateFormat form = new SimpleDateFormat("dd-MMM-yy");
         this.date = form.format(date.getTime());
         String line;
         int count = 0;
         try{
              RandomAccessFile inFile = new RandomAccessFile(inputFile, "r");
              // Read until end-of-file counting lines
              while((line = inFile.readLine()) != null){
                   count++;
              // Initialise array size to number of lines.
              file = new String[count];
              // Return to start-of-file
              inFile.seek(0);
              for(int i=0;i < file.length;i++){
                   // Read line into array
                   file[i] = inFile.readLine();
              inFile.close();
         catch(IOException ie){
              System.err.println("IO Exception: " + ie);
    * Load the entire set of records into the Database.
    * Data is loaded line-by-line. A Data Record object
    * is initilised to perform record loading and the
    * insertRecord method is called for each record.
    * A log is compiled from the insertion process
    * @return The Process Log
    public StringBuffer loadData(){
         String record[];
         log = new StringBuffer("");
         System.out.println("HERE");
         System.out.println(file.length);
         // From the org.twomey.fyp.loader package
         DataRecord objRecord;
         objRecord = new DataRecord(date);
         // Line-by-Line
         for(int i = 0; i < file.length; i++){
              // Split the record into fields which have been tab-delimited
              record = file.split("\t");
              // Each record feed must be 12 fields for valid loading
              if(record.length != 12){
                   System.err.println("Invalid Feed for line " + (i+1));
                   log.append("Invalid Feed for Line " + (i+1) + "\n");
              else{
                   log.append("Line "+(i+1) + " " objRecord.insertRecord(record) "\n");
         return log;
    * Send an EMail upon Completion the Performance Data Loading Process.
    * The mail sents the log compiled during Data Loading.
    public void sendMailReport(){
         // Use the Mail class from the org.twomey.mail package
         Mail email;
         String from;
         String alias;
         String to[];
         String subject;
         email = new Mail("chara.ucc.ie");
         to = getAddresses();
         from = System.getProperty("user.name") + "@chara.ucc.ie";
         alias = "Sheet Generator System";
         subject = "Performance Data Loader Report";
         email.sendEMail(from,alias,to,null,null,subject,log.toString());
    * Returns Email addresses from file.
    * The <b>mail.config</b> file is read line-by-line.
    * Each line entry should correspond to an email address.
    * @return Email addresses in a <CODE>String</CODE> array
    private String[] getAddresses(){
         RandomAccessFile inFile;
    String strLine;
    String addresses[] = null;
         int count = 0;
    try{
         inFile = new RandomAccessFile(new File("mail.config"),"r");
              while((strLine = inFile.readLine())!= null){
                   count++;
              addresses = new String[count];
         inFile.seek(0);
              for(int i = 0; i < addresses.length; i++){
         addresses[i] = inFile.readLine();
    catch(IOException ie){
         System.err.println("IOException: " + ie.getMessage());
    return addresses;
    } // end getAddresses
    } // end Class

    You seem to be reading the file into a string array, then trying to pass the object that did the reading.
    Two alternatives:
    o Just pass the string array object.
    o Create a data only object, passing the string array as an argument to the constructor

  • My computer recently had a new hard drive installed. Now the music I have added to itunes won't sync over to my ipod

    My computer recently had a new hard drive installed. Now the music that I have added to itunes won't sync over to my ipod. I have the selections checked, but still no luck.

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Find long running database objects over week (without using V$ views)

    find long running database objects over week (without using V$ views) as v$ views contains information only upto objects resides on main memory . I want to know the objects which takes highest time withing one week.

    Hello,
    welcome to the forum.
    This is the forum for the tool {forum:id=260}. Your question about v$views should be posted in {forum:id=61} or {forum:id=75}. There is a FAQ {message:id=9360002}: especially the part about providing essential informations like 4 digit version number :-)
    Regards
    Marcus

Maybe you are looking for

  • RESTRICTING XBLNR_LONG FIELD OF FIDCC1IDOC IN ECC6

    Hi All, The segemets E2FIKPF006 has been added to FIDCC1 idoc as part of ECC6.0.This segment contains the field XBLNR_LONG. Could someone let me know how to restrict this field as we dont want to populate this field and send and the idoc.

  • SIP- h323 in a AS5850 - Not able to send h323 calls coming from a SIP Phone

    Dear All! I have an AS5850 configured as a SIP Gateway and as a H323 Gateway. I'm planning to use this equipment as an interconnection point between PSTN,SIP and H323. I already have a functional H323 Network with ISDN trunks to the pstn and it is wo

  • Time Bar Not Working

    This is a recent install on a new iMac. The time bar at the center/top of the iTunes window doesn't seem to be working. I can move the little black diamond around and it will respond, but it doesn't track the time of the track. Also iTunes seems to b

  • One cable modem tow wireless routers in my house --- is this possible?

    I'd like to use two wireless routers to fully cover my house with wireless access. I have a WRT5462 v1 wireless router that I connected directly to the cable modem, and then  connected a second wireless router to one of the CAT 5 ports in the first,

  • Changing Country/Region

    I bought my AppleTV whilst working in USA, now returned to UK. In Settings, I've changed Region to UK but the front page still has CBS,Fox,PBS etc. from America. How can I get the UK front page with the UK content icons? I understood that you could h