How can I add a new domain to portal by writing a program

I have been studied portal for a while but I still dont know how to solve this problem. Actually, I need to provide an api for my partner's program which is running on the iplanet application server. Therefore I tried to write a servlet which would invoke the AddComponent class which is the core part of ipsadmin tool. If I write a standalone java application, it works fine but once I changed it to servlet and deployed to portal server it could not work properly.
Then, I tried to use Java JNI to add a domain to directory server directly but I can not find the webtopdomain this object in the schema. Therefore the second approache failed either. Please could any of you can help me or give me some insight? Thank you very much

Finally, I find a way to solve this problem although I still can not make it work by using a servlet to invoke ipsadmin or AddComponent class. The easiest way to solve this question is to access Ldap directly. I used ipsadmin to add a new domain and role first and then checked all their attributes in the Ldap. I wrote a program to insert the domain and role entry with the same attributes as using ipsadmin and it works just fine. I really can just add domain and role entry even though there are no webtopdomain and webtoprole objectclasee in the schema.

Similar Messages

  • How can i add a new link to Portal favorites?

    Hi,
    I have created a portal application and configured it to a porta frame work page byy adding iViews and portal pages.
    I would like to display an iView as a link in the  portal favorites. I have added it to portal favorites as related link. But nothing is displayed in the portal favorites when i logged in as application user.
    How can i add a link to the created iView just like  the "DeveloperContent" link shown in portal favorites when we login as portal administrator?
    Your help and suggestions solicited...
    Best regards,
    Sudheesh

    Hi Sudheesh,
    The Related Links option is for Content Administrators to add links that they think will be useful for a certain page or iView...an end user can't add their own links to the Related Links iView. Also, you don't need Knowledge Management installed in the Portal for the Related Links iView to work. Also, Related Links will be available only on the pages/iViews that the Content Administrator has created them.
    Read more about Related Links here:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/1d37600aa111d7b84700047582c9f7/frameset.htm
    Portal Favorites is a nice option for end users to decide which iViews or pages they would like to be available from every Portal page.
    To open new iViews/pages in a new window, rather than in the current Content Area, adjust the Workprotect mode of the portal (either the user can do it for their preference or the Administrator can do it for everyone):
    http://help.sap.com/saphelp_nw04/helpdata/en/15/4b673e214ad112e10000000a11405a/frameset.htm

  • ICal Lion is infuriating. How can I add a new event in a chosen calendar without having to create it in my default then edit it?

    iCal Lion is infuriating. How can I add a new event in a chosen calendar without having to create it in my default then edit it?

    We are all entitled to our own opinions. So I respect you there brother
    But then again, Apple has its own basis. iOS is what's selling like pancakes not Macs, so if the gazillions out there are using iOS device and have gotten used to the calendar in their iOS devices. Wouldn't you think it made sense if Lion has the same calendar look and feel?
    Everything was considered and weighthed when they developed Lion. They even mentioned it in the press, They were blown away with the success of iOS so they are extending it to OSX.
    Quite frankly, I like the old iCal but yeah I don't expect anything in SL to stay in Lion otherwise it'll be another Cat name related to Leopard
    People should start looking at this perspective and not get STUCK in the old OS.

  • How can I add a new filed to standart SAP Screen

    Hi eveybody,
    I am using ima11 t-code and I need to add A new screen field to standart SAP screen(program No SAPLAIA1 Screen:1001 ).I have found five user-exits(AAIR0001,AAIR0002A,AIR0003,AAIR0004,AAIR0006) but there is no screen-exit. How can I add a new filed to standart SAP Screen.Is it possible? If it is possible, how can I do that?

    hi
    yes you can add a search help for a filed on the screen
    but you need to find out for the USER EXIT available for that T-CODE
    because it is a standard T-CODE we can't add code directly to the standard T-code
    1st we need to find out for a user exit and then add code in that user exit
    reward if usefull

  • How can i add a new 53 rd week to calendar

    Hi All,
    we have requirment i need to add a new week to fiscal year 2011 for septemebr,2011
    Please let me know how can i add a new week to this month,
    Thanks & regards,
    Chand

    Hi All,
    we have requirment i need to add a new week to fiscal year 2011 for septemebr,2011
    Please let me know how can i add a new week to this month,
    Thanks & regards,
    Chand

  • How can i add a new characteristic to Sap standard InfoObject?

    Hi Experts,
    Please anyone let me know how can I add a new characteristic or a key figure into an SAP standard InfoObject in order to add it to the standard InfoCube? The situation is I would like to add region and business unit to the characteristics of the Industrial Hygiene and Safety. After that, I would like to add them to the InfoCube called Accidents: Person Involved [0EIH_C02] that is located in the MultiProvider called Accidents: Complete View [0EIH_MC01]. Is it feasible to do this way?
    I just learned the BW/BI, so please help me with this. I would really appreciate your responses.
    Thanks,
    -Napadol

    Hi Napadol,
    To add a attribute in a char:
    1) Go to info object/char in change mode and add the additional attribute you want and select navigational attribute in attribute tab if you want. (Create these additional attribute first in info object catalouge)
    2) Activate the Object/Char
    3) open info cube in change mode and pick the characteristic from left panel to info cube dimension.
    4) Activate infocube.
    5) Go to multi provider add the char in one of the dimension and do identification for this char and activate.
    Regards,
    Kams

  • How can I add a new entry for determining a requirement type

    Dear Friends,
    How can I add a new entry for determining a requirement type
    via Item Category + MRP type,  I see no new entries selection.
    This is in  Avb Check & TOR-> TOR-> Determination of req type using transaction.
    Please help.
    Regards
    Ravi.

    Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
    Just one node above?
    Never mind, you need to add entry on item category:S

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • How can I add a new column in compress partition table.

    I have a compress partition table when I add a new column in that table it give me an error "ORA-22856: CANNOT ADD COLUMNS TO OBJECT TABLES". I had cretaed a table in this clause. How can I add a new column in compress partition table.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    COMPRESS PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    Note :
    When I create table with this clause it will allow me to add a column.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    But for this I have to drop and recreate the table and I dont want this becaue my table is in online state i cannot take a risk. Please give me best solution.

    Hi Fahed,
    I guess, you are using Oracle 9i Database Release 9.2.0.2 and the Table which you need to alter is in OLTP environment where data is usually inserted using regular inserts. As a result, these tables generally do not get much benefit from using table compression. Table compression works best on read-only tables that are loaded once but read many times. Tables used in data warehousing applications, for example, are great candidates for table compression.
    Reference : http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_data.html
    Topic : When to Use Table Compression
    Bug
    Reference : http://dba.ipbhost.com/lofiversion/index.php/t147.html
    BUG:<2421054>
    Affects: RDBMS (9-A0)
    NB: FIXED
    Abstract: ENH: Allow ALTER TABLE to ADD/DROP columns for tables using COMPRESS feature
    Details:
    This is an enhancement to allow "ALTER TABLE" to ADD/DROP
    columns for tables using the COMPRESS feature.
    In 9i errors are reported for ADD/DROP but the text may
    be misleading:
    eg:
    ADD column fails with "ORA-22856: cannot add columns to object tables"
    DROP column fails with "ORA-12996: cannot drop system-generated virtual column"
    Note that a table which was previously marked as compress which has
    now been altered to NOCOMPRESS also signals such errors as the
    underlying table could still contain COMPRESS format datablocks.
    As of 10i ADD/SET UNUSED is allowed provided the ADD has no default value.
    Best Regards,
    Muhammad Waseem Haroon
    [email protected]

  • How can I add a new column to Grid view under Tests tab

    I understand in "ORACLE Test manager for web Applications", the Grid view under Tests tab should be customised.
    How can I add a new column to Grid view under Tests tab? Thanks Katherine

    I don't think this is possible.
    Regards,
    Jamie

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • How can I add a new column to an Attachments Table

    How can I add a new column to an Attachments Table??
    And I want to remove the usage column also!
    Thanks!

    I tried to remove the usage column doing this:
    OAAttachmentTableBean attachTable = (OAAttachmentTableBean)webBean.findChildRecursive("attachTable");
    if (attachTable != null)
    attachTable.findChildRecursive("UsageTypeColumn").setRendered(false);
    but I'm getting null pointer exception on "UsageTypeColumn"...
    :(

  • How can i add a new device

    how can i add a new device to Itunes

    Not sure what your post's title means, but you can only add a device to your iCloud account directly on the device e.g. log into the account in Settings > iCloud
    If your iPad isn't showing in your computer's iTunes when you connect it to your computer then is your iTunes up-to-date ? There is also some troubleshooting for a device not showing on these pages :
    PC : iPhone, iPad, or iPod touch not recognized in iTunes for Windows
    Mac : iOS: Device not recognized in iTunes for OS X - Apple Support

  • How can I add a new categorie?

    How can I add a new categorie in iBooks

    Hi jjquintas,
    Thanks for using Apple Support Communities.  This article has information on how to organize your books in iBooks for Mac, including adding a new collection:
    iBooks for Mac: Organize your books
    http://support.apple.com/kb/PH14763
    Add a collection:
    Click Collections, then click Add in the bottom-left corner. You can also select books, then choose File > New Collection from Selection.
    Cheers,
    - Ari

Maybe you are looking for

  • My Unofficial K8t Neo Guide

    Disclaimer: You try any and all troubleshooting at YOUR OWN RISK!! Here is my unofficial guide to the K8t Neo fisr2 If you Like It give it a thumbs up so it will stick out. I will warn you it is long and I will edit off and on. to add as needed. firs

  • Need solution for Use Case - Page Fragment?

    I have a set of controls and table which I need to insert into many tabs such that each tab displays the same table and functions but with slightly different data. The controls and table could be used in many different areas so doesn't make sense to

  • Textfile Locked while uploading in LSMW

    Hi, When read data step, I am getting this locked textfile error in LSMW. Please Help me out. Thanks in advance. Regards, Phani.

  • Deleting calendars in iPhone

    Accidentally synced all calendars (3) to iPhone. Want to delete 1 of the calendars off the iPhone but don't want to delete it on the MAC. Don't see anyway to delete a calendar on the iPhone. How can this be done?

  • Adobe illustrator downgraded to trial version

    I don't have my original purchase card with passcodes or pin numbers or whatever I needed to originally install the software last August.  I have been using the software all school year, but suddenly Adobe Illustrator will let me open the program onl