How to modify an existing profile

Hallo everybody
I have a external lcd monitor connected to my Powerbook, I would like to apply slight changes to the color profile I already have set for it. Is that possible and if yes how?
Fabio

I would look here: In system preferences, click displays, color, and edit the profile you're using.

Similar Messages

  • How to modify an existing xml file from java code.

    Hi
    I have worked on creating a new xml file from java code using xmlbeans.But if i try to modify an already existing file using java code I am unable to get errorfree xmlfile.
    For example if xml file(studlist.xml) is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <StudentList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="D:\kchaitanya\xmlprac1\abc\Studlist.xsd">
         <Student>
              <Name>ram</Name>
              <Age>27</Age>
         </Student>
    <Student>
              <Name>sham</Name>
              <Age>26</Age>
         </Student>
    </StudentList>
    Now suppose i have set name to victor using student.setName,
    and set age to 20 using setAge from javacode,
    the new xml file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <StudentList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="D:\kchaitanya\xmlprac1\abc\Studlist.xsd">
         <Student>
              <Name>ram</Name>
              <Age>27</Age>
         </Student>
    <Student>
              <Name>sham</Name>
              <Age>26</Age>
         </Student>
    </StudentList>
    <Student>
              <Name>victor</Name>
              <Age>20</Age>
         </Student>
    As observed this is not a valid xml file.But how can i modify without any errors?

    I know it's an old post, but I found this while doing a google search for something else, and don't like to leave it un-aswered
    Just in case anyone has a similar problem... In this case the new elements have been appended outside of the root element
    What you need to do is first get the root element and then append the new children to that, there are several ways of getting the root element, which depend on what you want to do with the elements you get back here's a simple (incomplete) way.
    // gets the root element of the specified file (code not shown)
    Element rootElement= new SAXReader().read(file).getRootElement();Then just append the new elements as below (this is non-generic code and would need to be modified for your situation)
    // write a new student element
    Element student = document.createElement("Student");  // creates the new student
    rootElement.appendChild(student); // ***appends it to the root element***
    Element name = document.createElement("Name"); // creates the name element
    name.appendChild(document.createTextNode("Fred")); // adds the name text to the name element
    student.appendChild(name); // appends the name to the student
    Element age= document.createElement("Age"); // creates the age element
    age.appendChild(document.createTextNode("26")); // adds the age text to the age element
    student.appendChild(age); // appends the name to the studentThen flush ya buffers or whatever and write the file
    Edited by: Dream-Scourge on Apr 23, 2008 11:10 AM

  • This Question is related to IDOC , that how to modify the existing IDoc

    hi All,
    am getting some problem that ,
    i have created the IDOC for sales orders by using (ORDERS), so i was able to create IDOC,but my requrement is to modify the exising IDOC.
    how i can go through?.
    what are the F.M to use?

    Hi,
    Check the FM being used for inbound posting for your message type. See if there is a user exit available for you to update data contained in the IDoc.
    If there isn't any, then you might have make a copy of the existing inbound processing FM and modify code to address your requirements. This will involve setting up your Z* FM for inbound posting (rather than system's standard FM) through configuration. For more details on how make these settings, take a look at http://www.sapgenie.com/sapgenie/docs/ale_whitepaper.doc.
    Regards

  • How to modify my linux profile

    Good morning all,
    I have created a user CSadmin and install collaboration suite under this user.
    How can I modify my profile so that when I log in as CSadmin, I get options to choose from (either the infrastructure or the middle tier)?
    Thanks in advance.
    Message was edited by:
    user505765

    hi
    This seems to be a incomplete question. Please expand more on your query.
    How is infra / apps tiers related to CSadmin user.
    Above are 2 diff homes. Is this a single box install or multi box install?
    Do you want to set homes as soon as u logg on as CSadmin user?
    Thanks
    Rahul

  • How to modify an existing query to add a column

    Hi all, I have an existing query :
    SELECT 2 as SOURCE_SYSTEM_ID, LI.IPROD AS SYSTEM_ID, LI.IPROD AS PART_NUMBER, LI.IDESC AS PART_DESCRIPTION, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE (LZ.CCTABL = 'SIRF2') AND LI.IREF02 = LZ.CCCODE), '') AS PLANT_CODE, LIS.ISSTSD
    AS lifecycle_status, CASE LI.ILDTE WHEN 0 THEN convert(date, GETDATE()) ELSE (SUBSTRing(convert(varchar, LI.ILDTE), 1,4)+'-'+SUBSTRing(convert(varchar,LI.ILDTE), 5,2)+'-'+SUBSTRing(convert(varCHAR,LI.ILDTE), 7,2)) END AS LAST_ACTIVITY_DATE,
    LZPA.DATA AS PRODUCTION_TYPE, (CASE (LI.IITYP) WHEN '6' THEN 'SERVICE' ELSE 'ITEM' END) AS ITEM_TYPE, LI.IVEND AS PRIMARY_VENDOR, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMS AND LZ.CCLANG = '') AS
    UOM_INVENTORY, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMS AND LZ.CCLANG = '') AS UOM_BOM, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI. IUMR
    AND LZ.CCLANG = '') AS UOM_SELL, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMP AND LZ.CCLANG = '') AS UOM_PURCHASE, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='BUYER'
    AND LZ.CCCODE=LI.IPURC), '') AS BUYER, (LI.IMHIGH) AS ITEM_HEIGHT, SUBSTRING(IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='SIRF5' AND LZ.CCCODE=LI.IREF05), ''), 1, 20) AS APPLICATIONS, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC
    LZ WHERE LZ.CCTABL='SIRF3' AND LZ.CCCODE=LI.IREF03), '') AS PORGRAM, (LI.IMWIDE) AS ITEM_WIDTH, LI.IMLONG AS ITEM_DEPTH, LI.IWGHT AS ITEM_WEIGHT_NET, LI.IMNNWU AS ITEM_WEIGHT_TARE FROM HCMEUP01.FRDA385A.LBPCSF.IIM LI, HCMEUP01.FRDA385A.LBPCSF.ISC LIS,HCMEUP01.FRDA385A.LBPCSF.ZPA
    LZPA WHERE LI.ICOND = LIS.ISSTSC AND LZPA.PKEY=('ITEMTYP'+LI.IITYP )
    Now I need to add a column called WORK_CENTER. I added a subquery to the existing one.  It looks like this:
    SELECT 2 as SOURCE_SYSTEM_ID, LI.IPROD AS SYSTEM_ID, LI.IPROD AS PART_NUMBER, LI.IDESC AS PART_DESCRIPTION, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE (LZ.CCTABL = 'SIRF2') AND LI.IREF02 = LZ.CCCODE), '') AS PLANT_CODE, LIS.ISSTSD
    AS lifecycle_status, CASE LI.ILDTE WHEN 0 THEN convert(date, GETDATE()) ELSE (SUBSTRing(convert(varchar, LI.ILDTE), 1,4)+'-'+SUBSTRing(convert(varchar,LI.ILDTE), 5,2)+'-'+SUBSTRing(convert(varCHAR,LI.ILDTE), 7,2)) END AS LAST_ACTIVITY_DATE,
    LZPA.DATA AS PRODUCTION_TYPE, (CASE (LI.IITYP) WHEN '6' THEN 'SERVICE' ELSE 'ITEM' END) AS ITEM_TYPE, LI.IVEND AS PRIMARY_VENDOR, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMS AND LZ.CCLANG = '') AS
    UOM_INVENTORY, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMS AND LZ.CCLANG = '') AS UOM_BOM, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI. IUMR
    AND LZ.CCLANG = '') AS UOM_SELL, (SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='UNITMEAS' AND LZ.CCCODE=LI.IUMP AND LZ.CCLANG = '') AS UOM_PURCHASE, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='BUYER'
    AND LZ.CCCODE=LI.IPURC), '') AS BUYER, (LI.IMHIGH) AS ITEM_HEIGHT, SUBSTRING(IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC LZ WHERE LZ.CCTABL='SIRF5' AND LZ.CCCODE=LI.IREF05), ''), 1, 20) AS APPLICATIONS, IsNULL((SELECT LZ.CCDESC FROM HCMEUP01.FRDA385A.LBPCSF.ZCC
    LZ WHERE LZ.CCTABL='SIRF3' AND LZ.CCCODE=LI.IREF03), '') AS PORGRAM, (LI.IMWIDE) AS ITEM_WIDTH, LI.IMLONG AS ITEM_DEPTH, LI.IWGHT AS ITEM_WEIGHT_NET, LI.IMNNWU AS ITEM_WEIGHT_TARE,
    (SELECT LC.LWRKC FROM HCMEUP01.FRDA385A.LBPCSF.LCR LC WHERE RTRIM(LTRIM(LC.LITEM)) = RTRIM(LTRIM(LI.IPROD)) ) AS WORK_CENTER FROM HCMEUP01.FRDA385A.LBPCSF.IIM LI, HCMEUP01.FRDA385A.LBPCSF.ISC LIS,HCMEUP01.FRDA385A.LBPCSF.ZPA LZPA WHERE
    LI.ICOND = LIS.ISSTSC AND LZPA.PKEY=('ITEMTYP'+LI.IITYP )
    Please see the bolded and italic part.   The problem is that the subquery is non distinct.  I am getting an error "
    Msg 512, Level 16, State 1, Line 2
    Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression."
    Can you let me know how I can resolve this issue? it is an urgent request.  Thank you
    Thank You Warmest Fanny Pied

    I was given the existing query and the subquery as they were.  The subquery is as it is returning multiple records on the columns selected.  The person who give me the sub query is sure those are the correct tables to use to develope/change the
    query. 
    select
      DISTINCT a.litem,
    b.IPROD,b.idesc,a.lwrkc
    from HCMEUP01.FRDA385A.LBPCSF.LCR
    a, HCMEUP01.FRDA385A.LBPCSF.IIM
    b
    where
    a.litem=b.iprod
    Thank you for your help.
    Thank You Warmest Fanny Pied

  • How to modify an existing Match code selection for Vehicles

    Hello,
    In vehicle master Change or Display (T-code: O4V2 or O4V3) we eneter TD vehicle no. (OIGV-
    VEHICLE). Here when we take a drop down - F4 (Match Code selection) and various options are available like
    1). Vehicle Number and Description
    2). General Data
    3). Vehicle weights
    4). Vehicle type  etc
    In Vehicle master under 'Communication Data' we have one field called 'Call Sign' (OIGV-VHCLSIGN). We would like to have this field in drop down selection / Match code selection for Vehicle on any of the above mentioned tab page in Match code selection (e.g. Say under 'General Data'). How do we add the same or how do I do this modification of existing matcode selection?
    For Customer master we can maintain Match code selection in SPRO (Maintain Matchcodes for Customers) which I am aware of. I am looking for something similar for Vehicles or may be some direct development.
    Can anyone please guide me in this?
    Thanks & Regards,
    Aniruddha.

    Hi Anirudhdha,
    Unlike customer match code there is no customising option for vehicles. But conceptually the same thing can be done. Create a single search help with the criteria you need. Add it to the collective search help OIGV (like we do for DEBI in customer master).
    Regards,
    Ashutosh

  • How to modify a pdf?

    how to modify a existing pdf document?

    Hi kewme5798,
    You can edit a PDF file if you have the  Adobe Acrobat software
    1. Open Adobe Acrobat. From the File menu select "Open." Browse to the document you wish to edit and double-click the file to open it.
      2. Add or remove pages by selecting the "Tools" menu on the right-hand side of the page. Select the "Pages" option. Choose the appropriate action: "Insert from file," "Delete," "Extract" or "Replace," to name a few options. For example, to add pages from another PDF file, click the "Insert from file" option and select the file you wish to insert. Follow the prompts to tell Acrobat where to insert the additional pages (before or after the existing pages) and click "OK." Delete pages by the clicking the "Delete" option and highlighting the pages you wanted deleted from the PDF file.
    3. Edit the text within the pages by selecting "Tools," "Content," "Edit Document Text." Highlight the text you need to edit and type in the new text.
    4. Click on "Tools," "Content" and "Edit Object" to move objects around on the page, resize them, flip or rotate them. You can also edit the size and orientation of images and text boxes using this option.
      5. Complete the necessary editing, proofread your changes and click "Save As" from the File menu.  Name your document something to indicate that it is a revised version of the original document and click the "Save" button.

  • How to modify a flash document

    Can someone give me any guidance on how to modify an existing
    flash document? We need to be able to change the images that are
    associated with the buttons. Also, we need to be able to add new
    buttons to the document and link images to them.
    Any help would be greatly appreciated,
    Thanks,
    Don

    undivided02 wrote:
    > Can someone give me any guidance on how to modify an
    existing flash document?
    > We need to be able to change the images that are
    associated with the buttons.
    > Also, we need to be able to add new buttons to the
    document and link images to
    > them.
    You need the source file FLA to do all the changes.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Delete existing profile in Linksys PAP2 phone adapter!!!

    Can any one please let me know how to delete the existing profile from the Linksys PAP2 phone adapter. It is not allowing to save the new profile. after updating the new profile, it will be there for couple mins then old profile is overriding the new one.
    Please help me with this.
    Thanks,

    check if there is something on the Profile Rule paramater under Provisioning tab other than the default /init.cfg then delete it...it is possible that device resyncs to that profile which then brings back the old settings...
    | isolate! isolate! isolate! |

  • How to modify existing idoc

    Hi all,
    My requirement is all ready existing idoc is their add to the new segments.Where is see the existing idoc and  how modified it.
    requirement:
    Invoice is created in R/3 the outbound idoc is created. The idoc details contain the PO Order Number, PO Line Number, Shipment Number, etc., along with serial number detail has to be added. For serial number detail additional segment has to be created and added to existing idoc.
             Create the new segment for serial number and add to the existing idoc. u201CIDOC BasicType:INVOIC02 and IDOC Message Type: INVOIC u201C .
    please help me.
    sreddy.
    Edited by: SReddy on Sep 8, 2008 7:06 AM

    Hi,
    Refer to the following link,
    [How to extend an existing IDOC!;
    Regards
    Natasha Garg

  • How to modify (add a new field) existing SOAP data source ?

    Dear Friends,
    I am getting data from Legacy databases (from different Views) mapped to the BW through XI.
    There is an existing SOAP Data source which is mapped to the non-R/3 source system Views through XI.
    My question is:
    Now I wanted to add a new field to the existing SOAP Data source, which will be mapped to the newly added field in the source system by XI.
    Please advice how could I modify the existing SOAP data source?
    Thanks,
    Venkat

    My plan is to add the new InfoObject(field)/BIC/ZXXX in the Datasource --> Map that field to the Info Object Zxxx in Comm Str.  --> Extras (menu) --> Create BW Data source with SOAP connection --> Regenerate the PROXY --> so that now the XI guys could map the new Infoobject in my Datasource to the new field in the Legacy database tables
    But why is that I am not able to add a new field in the Datasource ? I am trying this way: RSA1 --> Infosource tab --> Dbl. click on the existing Datasource --> here...I am trying to add new field in the Datasource...
    is there any other special place where I could add a new field to the existing SOAP Datasource ?
    Please help..?

  • How do I install icc profiles? I keep getting message that folder can't be modified.

    How do I install ICC profiles on Lion? I keep getting an error message that the folder can't be modified. Any help is greatly appreciated.

    If the profiles need to be accessed by all user accounts on that Mac, follow Martin's instructions for getting the main Library folder to appear. In order to place items into the folder, you need the admin name and password before the OS will allow you to add (or remove) any items. It's either that, or you have to copy the same profiles into every individual user account.
    If the only user of the Mac is you, then the Profiles folder in your user account will work just as well.

  • How to modify the names of existing Pages styles?

    In Pages 5.5.2 under Yosemite 10.10.2.
    1. How to modify the name of an existing style in both the Main styles list, and also in the Bullets & Lists styles list?
    2. How to delete unwanted styles from both styles lists?
    3. How to modify the default formulas for Bullets & Lists styles and make them stick for future documents?
    Appreciated.

    Click on it and you get the Formatting options for the selected text.
    If I had meant the Menus, I would have added that, but all the above is what you see when you have a document open in Pages 5.5.2.
    The > are clearly progressive steps. Except for the ">" which appears in the pop up menu, so I put it in quotes.
    I always assume that people on the forum will make some effort themselves, but can bring it down a notch if needed.
    Peter

  • How to modify installed profile?

    I created a profile to our apple users, However,  I confirmed a bug about password policy, so I need to remove the password policy, There are someother payloads like mail and calendar account in the profile, and I don't want to remove them.
    if I install the updated profile(I am using shell command to install the profile), user mail and other setting will re-initiate , user have to download all email from server. Is there any way to modify the installed profile?

    The usual approach is to define the profiles in Profile Manager. Once a device has been 'enrolled' in to Profile Manager you then make it a member of a group to which the profile is to be applied. This causes the profile to be sent to the client device. If later you modify that profile then Profile Manager will automatically send a new version of that profile to the same member devices. When you save the changes it should show a message saying this will cause updated profiles to be sent to devices.
    It is therefore not normally necessary to do anything extra to get updates sent to devices.
    If however you create profiles using iPhone Configuration Utiltiy or Apple Configurator then these require you to manually copy the profiles to the devices and then you would have to arrange to send them again to the devices. This could be by simply emailing the approriate mobileconfig file.
    It sounds like your using Profile Manager so this should not be necessary.

  • Error 500--Internal Server Error:How to modify req.setReportAbsolutePath

    I test a servlet but I get following errors. I use OBIEE 11g and Jdeveloper 11.1.1.3
    How to modify the source code and the req.setReportAbsolutePath?
    ===============error====================
    http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ========source code============
    package mywebcenter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.DeliveryRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.LocalDeliveryOption;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportService;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceClient;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceService;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportResponse;
    import com.oracle.xmlns.oxp.service.publicreportservice.ScheduleRequest;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.net.URL;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.xml.namespace.QName;
    public class BipServletTest extends HttpServlet {
    private static final String CONTENT_TYPE =
    "text/html; charset=windows-1252";
    private static PublicReportServiceService publicReportServiceService;
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    response.setContentType(CONTENT_TYPE);
    OutputStream os = response.getOutputStream();
    //PrintWriter out = response.getWriter();
    String sid = "";
    System.out.println("===57===");
    publicReportServiceService = new PublicReportServiceService(new URL("http://localhost:9704/xmlpserver/services/PublicReportService"),
    new QName("http://xmlns.oracle.com/oxp/service/PublicReportService",
    "PublicReportServiceService"));
    PublicReportService publicReportService =
    publicReportServiceService.getPublicReportService();
    //To get a session id
    System.out.println("===64===");
    try {
    sid = this.getSessionID("weblogic", "welcome1", publicReportService);
    } catch (AccessDeniedException_Exception e) {
    System.out.println("invalid user");
    //To generate a report and display it
    System.out.println("===72===");
    ReportResponse res = this.getReportInSession(publicReportService, sid);
    byte[] binaryBytes = res.getReportBytes();
    os.write(binaryBytes);
    response.setContentType(res.getReportContentType());
    public String getSessionID(String username, String password, PublicReportService publicReportService) throws AccessDeniedException_Exception {
    String sid = publicReportService.login(username, password);
    return sid;
    public ReportResponse getReportInSession(PublicReportService publicReportService,
    String sid) {
    ReportRequest req = new ReportRequest();
    ReportResponse res = new ReportResponse();
    System.out.println("===89===");
    req.setAttributeFormat("pdf");
    req.setAttributeLocale("en-US");
    req.setAttributeTemplate("Simple");
    req.setReportAbsolutePath("E:\\OracleBI_win2008_32_20101206\\user_projects\\domains\\bifoundation_domain\\config\\bipublisher\\repository\\Reports\\Samples\\11g Overview\\W2 2010.xdo");
    //req. setSizeOfDataChunkDownload (-1); //download all
    try {
    System.out.println("99");
    res = publicReportService.runReportInSession(req, sid);
    System.out.println("101");
    System.out.println("===100==="+res.getReportContentType());
    } catch (Exception e) {
    System.out.println(e);
    System.out.println("===107===");
    return res;
    ============Jdeveloper console==================
    [Another instance of the application is running on the server.  JDeveloper redeploy the application.]
    [Application Application4 stopped but not undeployed from Server Instance IntegratedWebLogicServer]
    [Running application Application4 on Server Instance IntegratedWebLogicServer...]
    [12:45:14 PM] ---- Deployment started. ----
    [12:45:14 PM] Target platform is (Weblogic 10.3).
    [12:45:14 PM] Retrieving existing application information
    [12:45:14 PM] Running dependency analysis...
    [12:45:14 PM] Deploying 2 profiles...
    [12:45:15 PM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4\Project4WebApp.war
    [12:45:15 PM] WARNING: Connection ApplicationDB has no password. ApplicationDB-jdbc.xml file not generated for connection ApplicationDB.
    [12:45:15 PM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4
    [12:45:15 PM] Redeploying Application...
    [12:45:17 PM] Application Redeployed Successfully.
    [12:45:17 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [12:45:17 PM] http://192.168.1.17:7101/Application4-Project4-context-root
    [12:45:17 PM] Elapsed time for deployment: 4 seconds
    [12:45:17 PM] ---- Deployment finished. ----
    Run startup time: 3547 ms.
    [Application Application4 deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
    ===57===
    ===64===
    ===72===
    ===89===
    99
    javax.xml.ws.soap.SOAPFaultException: oracle.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to oracle.xdo.servlet.CreateException: Report definition not found:E:\OracleBI_win2008_32_20101206\user_projects\domains\bifoundation_domain\config\bipublisher\repository\Reports\Samples\11g Overview\W2 2010.xdo
    ===107===
    <Dec 8, 2010 12:45:24 PM PST> <Error> <HTTP> <BEA-101020> <[ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 12:45:24 PM PST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Dec 8, 2010 12:45:24 PM PST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Dec 8, 2010 12:45:24 PM PST SERVER = DefaultServer MESSAGE = [ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = WIN-IT8WDLG81KH TXID = CONTEXTID = 55211ca27b9d1dfd:bd42a62:12cc7606a10:-8000-000000000000009c TIMESTAMP = 1291841124147
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Dec 8, 2010 12:45:34 PM PST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_12 with a lockout minute period of 1.>

    am able to login
    http://192.168.75.140:7001/console/login/LoginForm.jsp
    from this environment-> servers-> all servers(adminserver,soa_server1, oim_server1, oam_server1) status is running,and health is ok.
    I have started these servers from command line <base_domain/bin/sh startManagedWebLogic.sh oim_server1
    result is <server started in running mode>
    now I shutdown the oam_server1 and oim_server1
    again I started the oim_server1 as above
    command line result is < <May 30, 2013 7:54:47 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    but in (http://localhost:7001/console) window oim_server1 status is unknown...

Maybe you are looking for

  • Gif file now rendered

    The attached gif file is not rendered in ADE. It is one of several hundred gif files in a chapter, and only one other gif file has the same problem. All others are rendered as expected. Which property of the gif file could cause this behaviour? Simon

  • Disk utility burning issue

    I'm trying to burn some DVD/DVD DL from disk images..... I never got a success with *disk utility*.. after burning one with *disk utility*, checking disk always fails: an error on a sector (never the same) in the other side, burning same image with t

  • How to edit auto correct in mail

    After some use Mail auto correct dictionaty gets occassinally confused with custom words. I would like to know how do I locate and edit the custom dictionary.

  • How much leeway for blowing up when downconverting HDV to SD?

    Hi. I'm trying to understand how much I can blow up a HD/HDV image when the final format for a project is an SD DVD. How much and why... I'm working on a DVD of a play. The producer thinks our wide shot is too wide. She wants me to blow it up wheneve

  • Why can't I send and receive pictures after the new update

    Why can't I sent and receive pictures after the new update