Performing arthmetic on generics

Hi all, is it possible to do arithmetic operations in generic types?
public <T,U,V> V add(T x, U y)  {
       return x+y;
}Edited by: jsunsnx on May 6, 2009 1:49 PM
Edited by: jsunsnx on May 6, 2009 1:50 PM

jsunsnx wrote:
and what about Object types
Object x, y;
x+yI Object!
If you want to do this kind of stuff though, define yourself an interface and only take type parameters that adhere to that interface. Having the first and second argument as different types doesn't make a shred of sense, though.
public interface ArithmeticallyManipulable<T> {
   T add(T t);
   T multiply(T t);
class MyBigInteger extends BigInteger implements ArithmeticallyManipulable {
   public MyBigInteger(long val) {
      super(String.valueOf(val));
public <T> T add(T t1, T t2) {
   return t1.add(t2);
public static void main(String... args) {
   MyBigInteger b1 = new MyBigInteger(10);
   MyBigInteger b2 = new MyBigInteger(12);
   MyBigInteger b3 = add(b1, b2);
//...

Similar Messages

  • Read performance of a generically typed hashed table

    Hi,
        I'm curious to know the how the read performance of a hashed table will be affected in the following scenario. I have a class with many static attributes of hashed table type. All these hashed tables have one thing in common. They have a field "GUID" as unique key. The processing logic is same for all tables and hence I made the code generic. For example, I have an importing parameter with which I can "derive" the name of my class attribute.
    field-symbols: <fs_table> type hashed table,
                           <fs_line> type any.
    lv_class_attr = derive_name( iv_object_name ).
    assign (lv_class_Attr) to <fs_table>.
    read table <fs_table> with table key ('GUID') assigning <fs_line>.
    Will this code block give me the same performance that I would get if I use specifically typed hash tables? The code inspector gives me a low performance warning. But what will actually happen at runtime?
    Regards,
    Arun Prakash

    Hi,
    It is very simple. You defined table without unique key that why?.
    Whenever we define the typed hased table it require the unique key required. In your case it is dynamic hased table. It's don't have any unique key, While build internal hased table it require unique key defination. by in case of non-type table don't know the unique key fields.
    While reading data it will work like the standard table due to non unique key defination and It used the sequention read.

  • Tune XSQL performance

    Hi,
    I wish to explore what would be the scope of tuning an XSQL query for performance apart from generic tuning of the SQL query embedded within the XSQL. I can think of two potential locations when seeking to improve XSQL performance: (a) Tuning the generic SQL query (b) Tweaking parameters in XSQLConfig.xml.
    Any other thoughts on this ?
    Thanks,
    Rakesh.

    Try your luck on the XDK forum where XSQL is being discussed as part of the development kit here PL/SQL XML Programming

  • Testing Hard Drive Performance

    Is there a program designed for testing memory performance on different volumes of multiple hard drives so you can compare different partition schemes, or iIf not, a real life process one could time and thus derive a comparison? For example, first test file X on volume A, then on B, then on C, and compare the times?
    Thanks

    *AJA KONA System Test Version 6.0.1*
    A Macintosh utility for measuring system performance with AJA KONA Video Capture cards.
    The application includes disk drive speed tests and Macintosh video data copy (DMA) speeds.
    The disk speed tests differ from standard disk I/O performance applications in that they specifically test the system under conditions typically encountered with video capture, playback and editing.
    Note: most of the disk performance tests are generic and don't require an AJA KONA Video Capture card. The DMA performance tests do require a KONA card and AJA KONA Driver software to operate. The DMA tests are not compatible with AJA Io products.
    *AJA Data Rate Calculator Application Version 6.0.1*
    This OS X software application calculates data rates and storage requirements for a given video size, format, and frame rate. It's great for both KONA and Io users as a resource for configuring systems and determining storage requirements.
    http://www.aja.com/html/supportkona3swd.html
    - I think this is more like what you, or someone doing video editing, wants to use, and even test different drive and raid configurations.

  • Why does Premiere Pro CS5 eat up space on my C drive when it conforms video files?

    Hey everyone. I have Premiere Pro CS5 with the latest update installed. I am running Windows 7 64-bit on a 120GB Corsair SSD drive. I have set my scratch disk video and audio previews to a different hard drive (F: drive). I have three questions:
    1. Why does Premiere eat up space on my C drive whenever it conforms the video files I import into my project?
    2. Where on my C drive can I find the folder that holds all these conformed video files that are taking up space on my C drive?
    3. How do I prevent Premiere from eating up space on my hard drive when it conforms the video files I import into my project? Is there some way to move whatever folder is eating up space on my hard drive when Premiere conforms the video files and tell Premiere to conform the video files on another hard disk so I don't lose precious space on my C drive?
    Okay, that's four questions but, can some please help me on this? Thanks.
    Okay, that's five questions.

    hello,
    i think you need to relocate you media  cache files to a separate drive other than your c: drive.
    in the hardware forum, Harm has done a wonderful job at advising on HDD setup, i think it mentions relocation
    of swap file, media cache, etc.  all which are defaulted to your c: in your user profile
    after relocating to different physical drives (all without partitions) performance usually increases
    Generic Guideline for Disk Setup  by harm
    hope this helps til someone else answers more
    good luck...
    j

  • Organization Management Interview Questions and Answers  Extremely Urgent

    Hi,
    Please let me know Organization Management Interview Questions and Answers. MOST MOST URGENT
    Please do not post Link or website name and detail response will be highly appreciated.
    Very Respectfully,
    Sameer.
    SAP HR .

    Hi there,
    Pl. find herewith the answers of the questions posted on the forum.
    1. What are plan versions used for?
    Ans : Plan versions are scenarios in which you can create organizational plans.
    •     In the plan version which you have flagged as the active plan version, you create your current valid organizational plan. This is also the integration plan version which will be used if integration with Personnel Administration is active.
    •     You use additional plan versions to create additional organizational plans as planning scenarios.
    As a rule, a plan version contains one organizational structure, that is, one root organizational unit. It is, however, possible to create more than one root organizational unit, that is more than one organizational structure in a plan version.
    For more information on creating plan versions, see the Implementation Guide (IMG), under Personnel Management &#61614; Global Settings in Personnel Management &#61614; Plan Version Maintenance.
    2. What are the basic object types?
    Ans. An organization object type has an attribute that refers to an object of the organization management (position, job, user, and so on). The organization object type is linked to a business object type.
    Example
    The business object type BUS1001 (material) has the organization object type T024L (laboratory) as the attribute that on the other hand has an object of the organization management as the attribute. Thus, a specific material is linked with particular employees using an assigned laboratory.
    3. What is the difference between a job and a position?
    Ans. Job is not a concrete, it is General holding various task to perform which is generic.(Eg: Manager, General Manager, Executive).
    Positions are related to persons and Position is concrete and specific which are occupied by Persons. (Eg: Manager - HR, GM – HR, Executive - HR).
    4. What is the difference between an organizational unit and a work centre?
    Ans. Work Centre : A work center is an organizational unit that represents a suitably-equipped zone where assigned operations can be performed. A zone is a physical location in a site dedicated to a specific function. 
    Organization Unit : Organizational object (object key O) used to form the basis of an organizational plan. Organizational units are functional units in an enterprise. According to how tasks are divided up within an enterprise, these can be departments, groups or project teams, for example.
    Organizational units differ from other units in an enterprise such as personnel areas, company codes, business areas etc. These are used to depict structures (administration or accounting) in the corresponding components.
    5. Where can you maintain relationships between objects?
    Ans. Infotype 1001 that defines the Relationships between different objects.
    There are many types of possible relationships between different objects. Each individual relationship is actually a subtype or category of the Relationships infotype.
    Certain relationships can only be assigned to certain objects. That means that when you create relationship infotype records, you must select a relationship that is suitable for the two objects involved. For example, a relationship between two organizational units might not make any sense for a work center and a job.
    6. What are the main areas of the Organization and Staffing user interfaces?
    Ans. You use the user interface in the Organization and Staffing or Organization and Staffing (Workflow) view to create, display and edit organizational plans.
    The user interface is divided into various areas, each of it which fulfills specific functions.
    Search Area
    Selection Area
    Overview Area
    Details Area
    Together, the search area and the selection area make up the Object Manager.
    7. What is Expert Mode used for?
    Ans. interface is used to create Org structure. Using Infotypes we can create Objects in Expert mode and we have to use different transactions to create various types of objects.  If the company needs to create a huge structure, we will use Simple maintenance, because it is user friendly that is it is easy to create a structure, the system automatically relationship between the objects.
    8. Can you create cost centers in Expert Mode?
    Ans. Probably not. You create cost center assignments to assign a cost center to an organizational unit, or position.
    When you create a cost center assignment, the system creates a relationship record between the organizational unit or position and the cost center. (This is relationship A/B 011.) No assignment percentage record can be entered.
    9. Can you assign people to jobs in Expert Mode?
    10. Can you use the organizational structure to create a matrix organization?
    Ans. By depicting your organizational units and the hierarchical or matrix relationships between them, you model the organizational structure of your enterprise.
    This organizational structure is the basis for the creation of an organizational plan, as every position in your enterprise is assigned to an organizational unit. This defines the reporting structure.
    11. In general structure maintenance, is it possible to represent the legal entity of organizational units?
    12. What is the Object Infotype (1000) used for?
    Ans. Infotype that determines the existence of an organizational object.
    As soon as you have created an object using this infotype, you can determine additional object characteristics and relationships to other objects using other infotypes.
    To create new objects you must:
    •     Define a validity period for the object
    •     Provide an abbreviation to represent the object
    •     Provide a brief description of the object
    The validity period you apply to the object automatically limits the validity of any infotype records you append to the object. The validity periods for appended infotype records cannot exceed that of the Object infotype.
    The abbreviation assigned to an object in the system renders it easily identifiable. It is helpful to use easily recognizable abbreviations.
    You can change abbreviations and descriptions at a later time by editing object infotype records. However, you cannot change an object’s validity period in this manner. This must be done using the Delimit function.
    You can also delete the objects you create. However, if you delete an object the system erases all record of the object from the database. You should only delete objects if they are not valid at all (for example, if you create an object accidentally)
    13. What is the Relationships Infotype (1001) used for?
    Ans. Infotype that defines the Relationships between different objects.
    You indicate that a employee or user holds a position by creating a relationship infotype record between the position and the employee or user. Relationships between various organizational units form the organizational structure in your enterprise. You identify the tasks that the holder of a position must perform by creating relationship infotype records between individual tasks and a position.
    Creating and editing relationship infotype records is an essential part of setting up information in the Organizational Management component. Without relationships, all you have are isolated pieces of information.
    You must decide the types of relationship record you require for your organizational structure.
    If you work in Infotype Maintenance, you must create relationship records manually. However, if you work in Simple Maintenance and Structural Graphics, the system creates certain relationships automatically.
    14. Which status can Infotypes in the Organizational Management component have?
    Ans. Once you have created the basic framework of your organizational plan in Simple Maintenance, you can create and maintain all infotypes allowed for individual objects in your organizational plan. These can be the basic object types of Organizational Management – organizational unit, position, work center and task. You can also maintain object types, which do not belong to Organizational Management.
    15. What is an evaluation path?
    Ans. An evaluation path describes a chain of relationships that exists between individual organizational objects in the organizational plan.
    Evaluation paths are used in connection with the definition of roles and views.
    The evaluation path O-S-P describes the relationship chain Organizational unit > Position > Employee.
    Evaluation paths are used to select other objects from one particular organizational object. The system evaluates the organizational plan along the evaluation path.
    Starting from an organizational unit, evaluation path O-S-P is used to establish all persons who belong to this organizational unit or subordinate organizational units via their positions.
    16. What is Managers Desktop used for?
    Ans. Manager's Desktop assists in the performance of administrative and organizational management tasks. In addition to functions in Personnel Management, Manager's Desktop also covers other application components like Controlling, where it supports manual planning or the information system for cost centers.
    17. Is it possible to set up new evaluation paths in Customizing?
    Ans. You can use the evaluation paths available or define your own. Before creating new evaluation paths, check the evaluation paths available as standard.
    18. Which situations require new evaluation paths?
    Ans. When using an evaluation path in a view, you should consider the following:
    Define the evaluation path in such a manner that the relationship chain always starts from a user (object type US in Organizational Management) and ends at an organizational unit, a position or a user.
    When defining the evaluation path, use the Skip indicator in order not to overload the result of the evaluation.
    19. How do you set up integration between Personnel Administration and Organizational Management?
    Ans. Integration between the Organizational Management and Personnel Administration components enables you to,
    Use data from one component in the other
    Keep data in the two components consistent
    Basically its relationship between person and position.
    Objects in the integration plan version in the Organizational Management component must also be contained in the following Personnel Administration tables:
    Tables                    Objects
    T528B and T528T     Positions
    T513S and T513     Jobs
    T527X                    Organizational units
    If integration is active and you create or delete these objects in Organizational Management transactions, the system also creates or deletes the corresponding entries automatically in the tables mentioned above. Entries that were created automatically are indicated by a "P". You cannot change or delete them manually. Entries you create manually cannot have the "P" indicator (the entry cannot be maintained manually).
    You can transfer either the long or the short texts of Organizational Management objects to the Personnel Administration tables. You do this in the Implementation Guide under Organizational Management -> Integration -> Integration with Personnel Administration -> Set Up Integration with Personnel Administration. If you change these control entries at a later date, you must also change the relevant table texts. To do that you use the report RHINTE10 (Prepare Integration (OM with PA)).
    When you activate integration for the first time, you must ensure that the Personnel Administration and the Organizational Management databases are consistent. To do this, you use the reports:
    •        RHINTE00 (Adopt organizational assignment  (PA to PD))
    •        RHINTE10 (Prepare Integration (PD to PA))
    •        RHINTE20 (Check Program Integration PA - PD)
    •        RHINTE30 (Create Batch Input Folder for Infotype 0001)
    The following table entries are also required:
    •        PLOGI PRELI in Customizing for Organizational Management (under Set Up Integration with Personnel Administration). This entry defines the standard position number.
    •        INTE in table T77FC
    •        INTE_PS, INTE_OSP, INTEBACK, INTECHEK and INTEGRAT in Customizing under Global Settings ® &#61472;Maintain Evaluation Paths.
    These table entries are included in the SAP standard system. You must not change them.
    Since integration enables you to create relationships between persons and positions (A/B 008), you may be required to include appropriate entries to control the validation of these relationships. You make the necessary settings for this check in Customizing under Global Settings ® Maintain Relationships.
    Sincerely,
    Devang Nandha
    "Together, Transform Business Process by leveraging Information Technology to Grow and Excel in Business".

  • OIM 11g R1 - Modifying a Resource Erases Custom Process Task ???

    I've created a Generic Resource in OIM that uses the Database Applications Table connector 9.1.0.5.0.
    Then I add my own process tasks through Design Console under "Process Management -> Process Definitions". On each custom process task I've attached my own custom adapters, which I created through "Development Tools -> Adapter Factory" in Design Console. These custom adapters use methods from my Java code. My Java jar file is located in "Oracle_IDM1/server/JavaTasks".
    Now here is the issue:
    Whenever I modify this resource in OIM under "Configuration -> Manage Generic Connector" (E.g Changing reconciliation type from Full to Incremental), all my custom process tasks get deleted.
    What is the reason for this? Is there a solution for this problem?

    This is indeed a major flaw for GTC. Below I found this issue in a Oracle doc.
    Doc Link: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/aptrouble.htm
    Below is a description of this issue from the Oracle documentation
    Summary:
    Customization work done on objects of a generic technology connector would be overwritten if you perform a Manage Generic Technology Connector operation.
    Description:
    You can use the Design Console to customize connector objects that are automatically created during generic technology connector creation. However, after you customize connector objects, if you perform a Manage Generic Technology Connector operation, then all the customization done on the connector objects would be overwritten. Therefore, Oracle recommends that you to apply one of the following guidelines:
    Do not use the Design Console to modify generic technology connector objects.
    The exception to this guideline is the IT resource. You can modify the parameters of the IT resource by using the Design Console. However, if you have enabled the cache for the GenericConnector and GenericConnectorProviders categories, then you must purge the cache either before or after you modify IT resource parameters. See "Purging the Cache" in the Oracle Fusion Middleware System Administrator's Guide for Oracle Identity Manager for information about running the PurgeCache utility.
    If you use the Design Console to modify generic technology connector objects, then do not use the Manage Generic Technology Connector feature to modify the generic technology connector.
    Connector objects that are automatically created are not deleted even if the generic technology connector creation process fails.

  • PI 7.1 Integration Process Error

    Hi,
    I am trying to configure a BPM scenario on our 7.1 system. I tried 2-3 different scenarios but always get the same error.
    For example after the file is picked up and sent to the Integration Process it doesn't continue. I researched and I find always the same error. The message get stuck in qRFC (inbound Queue) with the error "Permanent error in BPE inbound processing". When I display the Trace I always get this error:
    Error during start of process of type WS90000001 by message XXX
    Class Attributes CL_SWF_XI_INBOUND For Message XXX
    Anyone knows what exactly this error means?
    ESR
    My Integration Process:
    1. Receive Step:
    Mode: Asynch.
    Message: ContainerA (Abstract, Asynch. Interface)
    2. Send Step:
    Mode: Asynch.
    Message: Container B (Abstract, Asynch. Interface)
    Process Integration Scenario:
    http://picasaweb.google.com/arman.eker/DropBox?authkey=Gv1sRgCPX586Kaq4CFsQE&pli=1&gsessionid=x7hKm0rn3TYwR49UD6YRaA#5358012257900568274
    Thanks for your help.
    Arman

    Open SXMB_MONI ---> Check the processing entry for your BPM ---> click on PE and open the graphic workflow....this will tell you where the BPM fails....
    Since you are getting the same error for all your BPMs perform the below generic checks:
    1) Sender and receiver MIs match....have the required MTs and mode
    2) In SXI_CACHE check the return code of your BPM...ensure that it is 0....if anything other than 0 then perform activation (click on the match-stick symbol)
    3) From tcode SWWL remove the errored entries for your BPM....
    Regards,
    Abhishek.

  • MSAD Configuration with Shared Services

    Hi,
    I have just sucessfully configured MSAD to the HFM SS but 1 concern is that anyone with the domain suer login is able to login to shared service although limited function are available. Is there anyway to control other users except my users to login?
    I do not want to use Native to create user as it will means another set of password to rememberr for the users, would prefer they use their normal domain accoutn to login.
    Thanks

    In addition to other comments, users can only make changes in Shared Services if they have Shared services roles assigned. Also, we use MSAD with both local and AD groups, and as long as you know the effective rights, it works out fine either way. The Shared services roles are listed below (Security Administrator's Guide pp 135-136):
    Administrator: Provides control over all products that integrate with Shared Services. It enables more
    control over security than any other Hyperion product roles and should therefore be
    assigned sparingly. Administrators can perform all administrative tasks in User
    Management Console and can provision themselves.
    This role grants broad access to all applications registered with Shared Services. The
    Administrator role is, by default, assigned to the admin Native Directory user, which is
    the only user available after you deploy Shared Services.
    Directory Manager: Creates and manages users and groups within Native Directory.
    Do not assign to Directory Managers the Provisioning Manager role because combining
    these roles allows Directory Managers to provision themselves.
    The recommended practice is to grant one user the Directory Manager role and another
    user the Provisioning Manager role.
    LCM Manager: Runs the Artifact Life-Cycle Management utility to promote artifacts or data across product environments and operating systems
    Project Manager: Creates and manages projects within Shared Services
    Create Integrations: Creates Shared Services data integrations (the process of moving data between
    applications) using a wizard.
    For Oracle's Enterprise Performance Management Architect, creates and executes data
    synchronizations.
    Run Integrations: Views and runs Shared Services data integrations.
    For Performance Management Architect, executes data synchronizations.
    Dimension Editor ( includes Dimension Viewer and Interactive Editor):
    Creates and manages import profiles for dimension creation. Also, creates and manages
    dimensions manually within the Performance Management Architect user interface or the
    Classic Application Administration option.
    Required to access Classic Application Administration options for Financial Management
    and Planning using Web navigation.
    Dimension Viewer can read or view dimensions. This role automatically maps to the
    Dimension Reader access on dimensions.
    Interactive Editor can modify members within a dimension, and grants dimension writer
    access to all dimensions. Does not allow users to delete dimensions.
    Note: Dimension Viewer and Interactive Editor roles are reserved for future use.
    Application Creator (includes Analytic Services Application Creator, Financial Management Application Creator, Planning Application Creator,  External Application Creator): Creates and deploys Performance Management Architect applications. Users with this
    role can create applications, but can change only the dimensions to which they have
    access permissions.
    Required, in addition to the Dimension Editor role, for Financial Management and
    Planning users to be able to navigate to their product’s Classic Application Administration
    options.
    When a user with Application Creator role deploys an application from Performance
    Management Architect, that user automatically becomes the application administrator
    and provisioning manager for that application.
    The Application Creator can create all applications.
    The Analytic Services Application Creator can create Generic applications.
    The Financial Management Application Creator can create Consolidation applications
    and Performance Management Architect Generic applications. To create applications,
    the user must also be a member of the Application Creators group specified in Financial
    Management Configuration Utility.
    The Planning Application Creator can create Planning applications and Performance
    Management Architect Generic applications.
    The External Application Creator can create external views and export application views
    but cannot export the library.
    Note: External Application Creator role is reserved for future use.

  • Rounding Profile in IS-Retail

    Hallo Retail Expert,
    The Scenario is as follow,
    I have some Articles that I order by vendors only in defined Quantity,
    for ex.  3, 6, 9, 12 or 5, 10, 15 or 12, 24, 36 Pieces. For this purpose
    I am using Rounding Profile and I have defined regarding my requirement.
    It Works really good when I work with Variants. When I create Purchase
    Orders per IDOCs it works fine because there I use only Variants. But
    when I try to create Purchase order manual in TA: ME21N with Generic
    Article, there this Rounding Profile (Quantity Addition/Subtraction
    profiles) doesnu2019t work.  There comes a Pop-up with all the Variants,
    where I gave my required quantity. At that point this examination
    doesnu2019t work. It work only when I work with variants.
    I am assigning rounding profile in Article Master at Purchasing View
    Level (Article/Vendor/Purch.Org). 
    I cannot use Standard (Unit of measure is the order unit) because Piece on Inbound Delivery.
    Could you please suggest me why at Generic Article level it doesnu2019t
    work?
    Is there any other possibility in Retail?
    Any suggestion is Welcome.
    Thank you in advance.
    Regards,
    Nilesh

    Hi all,
    as far as I know, the rounding functionality is not performed on the generic article. The rounding profile is considered only when the variants are entered directly in the PO. This is standard behaviour.
    I cannot give the reason for this logic implemented. Maybe it would be a possibility to make an enhancement in the PO?
    Regards
    Tobias

  • Getting started with oracle and jdbc

    i have downloaded ojdbc14.zip from oracle.com
    it's documentation only tells you about the api and the packages and nothing about how to configure it.
    how do i get started? where do i unzip those files and what to do next?
    please help

    "The Old oracle.jdbc.driver Package Will Go Away Soon
    If you still have existing applications that use the
    old oracle.jdbc.driver
    package, now is the time to convert your code."
    And who is so foolish as to use concrete types
    instead of java.sql and javax.sql interfaces or embed
    driver class names in their code? Well, anybody who's more interested in optimal performance than being generic, and willing to put up with the headaches of that, such as providers of high-performance OR mapping tools or someone tuning a very heavily used bit. Or anybody working in a committed Oracle-only shop. It's not a one-size-fits-all world...
    Again, Oracle is evolving the standard. No, the standard is Sun's java.sql interface.Yea, Sun evolved Java, and Oracle is recommending the use of Datasources to keep step with that evolution...
    This still
    works, but Oracle is shifting away from <sid> and
    using <service name> instead. The alternate syntax
    for the URL is:
    String url=jdbc:oracle:thin:@<host>:<port>/<database>
    This has been true for as long as Oracle has had a
    thin, type IV JDBC driver. The URL syntax hasn't
    changed.
    Yes it has and Oracle says it has, here:
    http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/urls.htm#BEIJFHHB
    Wherein it is written, in Section 3.2.1 of the Oracle� Database JDBC Developer's Guide and Reference, the sesction on the several supported URL formats for Oracle 10.1
    Notes:
    * Oracle Service IDs are no longer supported at 10g Release 1 (10.1).
    They go on to list three URL styles supported:
    Oracle Net connection descriptor - like an entry in tnsnames.ora (ick!)
    Thin-style service name - the most common, what was quoted above.
    LDAP syntax - for having an LDAP service resolve the database for you
    However, in the old 8.1.7 JDBC documentation, here:
    http://download-east.oracle.com/docs/cd/A87860_01/doc/java.817/a83724/basic1.htm#1006213
    Oracle lists support for:
    Net8 connection descriptor - Net8 is the old name for Oracle Net
    Thin-style sid name - what was quoted in the post to which I first responded.
    Thin-style sid name syntax has a colon between the port and the sid; thin-style service name syntax has a forward slash between the port and the service name. SIDs and service names are not the same thing, although they serve the same purpose in a URL (connecting you to the right instance) and often have the same value. However, a SID for a database is set at DB creation time, is unique to the DB, and cannot be changed easily. Multiple service names can be configured for a database, and they can easily be changed (if you're the DBA). Oracle is providing an additional leval of abstraction by moving to service names, to support additional features and choices. While many installations don't need all that and have in essence ignored the distinction bewteen SID and service name, some multi-database projects can benefit from it.
    >
    StuDerby, I think you should look into this a bit
    more. Your advice is far from optimal, IMO.
    Yeah, I could've taken the time to write a more generic, newbie friendly repsonse; instead, I lifted directly from the Oracle documentation that was cited earlier since newbies seem to have an aversion to reading documentation.

  • Problems installing SMC 4.0 agent into Linux (OpenSUSE) client

    Can't seem to get the agent to start.....
    Sucessfully installed all the software........
    Installed the JAVA_HOME variable and software
    and did a:
    chkconfig snmpd on
    then ran the setup script...............
    This is the ouptut:
    Started ./es-setup at Wed Nov 25 12:50:00 PST 2009.
    Running on Linux mailer-159x 2.6.27.29-0.1-default
    SYMON_JAVAHOME is set to: /usr/java/jdk1.6.0_17
    JDK version is: "1.6.0_17-b04"
    This script will help you to setup Sun Management Center 4.0.
    Following layer[s] are installed:CONSOLE,AGENT
    Following layer[s] are already setup: CONSOLE,AGENT
    Following layer[s] will get setup: AGENT,CONSOLE.
    Database will not be setup.
    Following Addon[s] are installed:
    Performance Reporting Manager,Generic X86/X64 Config Reader.
    Following Addon[s] are already setup:
    Performance Reporting Manager,Generic X86/X64 Config Reader.
    Following Addon[s] will get setup:
    Performance Reporting Manager,Generic X86/X64 Config Reader.
    Sun Management Center 4.0 requires an encrypted security key for communication
    between processes. The security key is generated based on a unique password
    seed you provide. The same security key is used for the server and all
    agents. You must ensure that you use the same seed for all the machines you
    install.
    Enter the seed to generate keys:
    Re-enter the seed to confirm:
    An SNMPv1 community string is required for security, and by default is set
    to public. If you want additional security, specify a customized string.
    You must use the same SNMPv1 community string on all of the machines on which
    you install Sun Management Center 4.0. Press RETURN to force default value.
    Enter SNMPv1 community string:
    Re-enter the SNMPv1 community string to confirm:
    Initiating setup for Sun Management Center Agent Component.
    This part of the setup process does the Sun Management Center Agent Component setup.
    Started /opt/SUNWsymon/lib/sbin/sm_setup_agent.sh at Wed Nov 25 12:50:23 PST 2009.
    Running on Linux mailer-159x 2.6.27.29-0.1-default
    snmpd.conf already exists in /var/opt/SUNWsymon/cfg. Leaving it in place
    SunBlade-150 appears to be configured as your Sun Management Center server.
    Is this correct (y|n|q)
    Enter \"y\" or \"n\" or \"q\"
    Is this correct (y|n|q) y
    agent.snmpPort already configured in /var/opt/SUNWsymon/cfg/domain-config.x
    Generating agent security keys.
    Moving /var/opt/SUNWsymon/cfg/agent-usmusertbl-d.dat to /var/opt/SUNWsymon/cfg/agent-usm
    usertbl-d.dat.old
    PKCS11 library(PKCS11_API.so) was not found.
    Encrypted SNMP Communication is not supported.
    Moving /var/opt/SUNWsymon/cfg/platform-usmusertbl-d.dat to /var/opt/SUNWsymon/cfg/platfo
    rm-usmusertbl-d.dat.old
    Setup of Agent component is successful.
    Initiating setup for Sun Management Center Console Component.
    Started /opt/SUNWsymon/lib/sbin/sm_setup_console.sh at Wed Nov 25 12:50:36 PST 2009.
    Running on Linux mailer-159x 2.6.27.29-0.1-default
    This part of the setup process does the Sun Management Center Console Component setup.
    Setup of Console component is successful.
    Documentation of Sun Management Center is not available on
    Sun Management Center DVD image, For all Sun Management Center
    documentation please visit :
    http://docs.sun.com/app/docs/coll/1734.1 website
    Setting up Addon[s]...
    Started /opt/SUNWsymon/addons/X86ConfigReader/sbin/es-setup.sh at Wed Nov 25 12:50:41 PS
    T 2009.
    Running on Linux mailer-159x 2.6.27.29-0.1-default
    Entry for Config-ReaderX86 successfully deleted
    Entry for Config-ReaderX86 successfully added
    Setup of Generic X86/X64 Config Reader Addon complete
    Updating registry...
    Do you want to start Sun Management Center agent now (y|n|q) y
    Starting Sun Management Center Agent...
    Could not start Agent.
    Start scripts for the following addons were not present:
    Performance Reporting Manager,Performance Reporting Manager,Generic X86/X64 Config Reade
    r
    Following Layers are setup:CONSOLE,AGENT
    Following Addons are setup: Performance Reporting Manager,Generic X86/X64 Config Reader
    All installed Addons are setup.
    Setup of Sun Management Center is complete.
    =================================================================
    Any ideas?
    Tom

    PKCS11 library(PKCS11_API.so) was not found.
    Encrypted SNMP Communication is not supported.
    you need to install the package trouser and opencryptoki .and start the PKCS11 daemon.

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • Editing codec for AVCHD in FCP

    I shot a film in AVCHD 1080/60i. I want to start editing but the Apple Pro Res 422 files are too big and won't play in realtime on my timeline. I have a MacBook Pro (last years) and a new Drobo 4-bay with plenty of space on it and I'm using FCP 6.  Is there a way to transfer the AVCHD files into a different codec that's just for editing, and then convert it/transfer/export them out to their original resolution once the film is edited? I'm looking for a lighter, faster, more compressed codec just to take a load off my computer in editing and speed things up, but still output to high quality HD video in the end. Please shoot me your thoughts!

    hmm I wonder why? I thought drobos were a lot faster than they used to be.
    Aja has a utility that will test your drive speed
    http://www.aja.com/support/konaNEW/kona-3-3x.php
    "AJA KONA System Test (included as part of the driver download)
    A Macintosh utility for measuring system performance with AJA KONA Video Capture cards. The application includes disk drive speed tests and Macintosh video data copy (DMA) speeds. The disk speed tests differ from standard disk I/O performance applications in that they specifically test the system under conditions typically encountered with video capture, playback and editing. Note: most of the disk performance tests are generic and don't require an AJA KONA Video Capture card. The DMA performance tests do require a KONA card and AJA KONA Driver software to operate. The DMA tests are not compatible with AJA Io products."
    At least you'll have an idea of how fast your drive is, and if it's sufficient for your needs.

  • OpenAL Update, Version 2.0.7.0

    Haven't tested anything yet but there is a new OpenAL out,
    Updated Summer 2009 : Version 2.0.7.0
    The OpenAL Installer for Windows will install the OpenAL . libraries, enabling support for core OpenAL operations as well as extensions such as EAX and EFX. The installer supports both 32-bit and 64-bit versions of Windows.
    DLL Version numbers:
    ?* OpenAL32.dll version 6.4.357.24
    ?* wrap_oal.dll version 2.2.0.5
    Changes and Bugfixes
    ?* Fixed bugs and improved performance of the Capture extension
    ?* "Generic Hardware" device returns more accurate 'Buffers Processed' count
    ?* Various performance improvements in "Generic Hardware" and "Generic Software" devices
    ?* Miscellanous bug fixes?
    http://connect.creativelabs.com/open.../AllItems.aspx

    "Re: OpenAL Update, Version 2.0.7.0/ ?
    P.S. For those running Windows x64 of any version, don't forget that if you're going to make this change, use the one found in the SysWOW64 folder.
    That may explain why replacing the .dll for Mirror's Edge from the System32 folder made the game crash.
    Interestingly it did not have the same effect on Mass Effect...
    Out of curiosity why would you recommend this?
    I understand the difference between 32 and 64bit OS's but can't see a working example of the difference this would make.
    Do you mean use the correct file for games that support 64bit operating modes?
    EDIT :? Well i guess my guess was correct. Using the openal32.dll file found in sysWOW64 doesn't cause Mirror's Edge to crash.
    Mass Effect must be 32bit and Mirror's Edge 64 bit.
    Good call Stormy.
    Message Edited by Meocene on 06-26-2009 07:04 [email protected]

Maybe you are looking for

  • Initial password change requested with SSO

    Hi all, we have well working SSO with EP6 SP2 and standalone ITS. SSO is based on SAP logon ticket. Only one annoying thing appears. If a new user is created in SAP R/3, ITS asks for changing of password. Does it mean that the user must initially (an

  • How do I get my contract free iPhone unlocked from the first network it was connected to?

    My husband bought me an iPhone 5 from Carphonewarehouse Wharehouse which was contract free. I then signed up for a sim only contract from EE but was miss sold a service which they do not provide so I have now cancelled that contract. When trying to b

  • Illustrator 10 on WinVista O/S

    Illustrator 10 appreared to install successfully, yet only the Adobe splash screen appeared for a second at start up. Then nothing. I have tried the repair route, but no change in the results.

  • My project shows following errors

    Hello Sir, Thanks for reply.. when i am executing MyProject code then the following errors were raised: symbol : class File location: class myproject.TexttoImage File fname; symbol : class File location: class myproject.FileLen File fl = new File(s1)

  • Illustrator, PS and InDesign "...stopped working"

    I'm a new subscriber to Adobe CC and have just installed Illustrator, PS and InDesign on my PC (Windows 8.1), however I can't get any of the applications to work. I get the same message each time when opening the programs "Adobe CC Illustrator/PS/InD