How to save standard output when WL is run as a service?

We want to save the weblogic (6.1) server standard output and errors to
a file. When Weblogic is run from the 'startWeblogic.cmd' file this can
be done by appending '>>outfile.log' at the end of the command line,
i.e.
java ..... weblogic.server >>outfile.log
However, when this is done in the service command line the service does
not start up properly. How to do set this up properly?
Thanks for any help you can give me.
Regards,
Joop Kaashoek

There currently is no way to do this. We will review this as a possible
future enhancement. If you're interested in looking at output to determine
why the service is failing to start, you can enter the following (assuming
in this case your service name is myserver):
beasvc -debug myserver
This should give you the information you need in this case.
Joop Kaashoek wrote:
We want to save the weblogic (6.1) server standard output and errors to
a file. When Weblogic is run from the 'startWeblogic.cmd' file this can
be done by appending '>>outfile.log' at the end of the command line,
i.e.
java ..... weblogic.server >>outfile.log
However, when this is done in the service command line the service does
not start up properly. How to do set this up properly?
Thanks for any help you can give me.
Regards,
Joop Kaashoek

Similar Messages

  • How to save xml output of fm into sap as xml

    how to save xml output of fm into sap as xml
    thank you,
    regards,
    Jagrut bharatkumar shukla

    Hi Jagrut
    The XML document can be stored in an ABAP variable rxml of the type STRING or XSTRING, or in an internal standard table sxml of the elementary line type C. Hence, I believe, your issue with the lenght can be resovled with this types.
    For rxml, you specify an interface reference variable of the type IF_IXML_OSTREAM that points to an IXML output stream.
    For rxml, you specify an interface reference variable of the type IF_IXML_DOCUMENT that points to an IXML document.
    With the stream factory you have several options. Before you call your CALL TRANSFORMATION, you setup your stream factory for these different options.
    1. You want to write the file to the application server file system. You want to create your OSTREAM as a binary string. In this example b_xml is an empty binary string. OSTEAM will be the reference variable of tyep IF_IXML_OSTREAM.
    ostream =
    streamfactory->create_ostream_xstring( b_xml ).
    You get the output lenght with the following:
    ressize = ostream->get_num_written_raw( ).
    You can then send the entire string to the file system with the following:
    transfer b_xml to filename1 length ressize.
    Also refer to this weblog:
    /people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
    Regards
    Ravish Garg
    <b>
    *Remember reward points is the best way to say thank you :)</b>

  • How to remove save, cancel option when end user runs the workbook in Portal

    Hi,
    how to remove save, cancel option when end user runs the workbook and make some small changes like using page items or increasing rows and columns
    I already made 2 changes
    1) I removed the option in Oracle Enterprise Manager under discoverer viewer of saving
    2) I also removed the option of Allow saving changes made in Viewer when adding workbook to portal
    But still the end user gets options of saving when made small changes to workbook like increasing rows and columns
    Is their any place, I need to make changes?
    Thanks in Advance
    Rowdheer

    Don't use JSP to serve a binary file. It almost implies the use of awful scriptlets and the invocation of both the response writer and the response outputstream which would only lead to IllegalStateException headaches in the server logs.
    Use a Servlet instead. Specify the file name as request parameter and let the servlet read the file and write it to the outputstream of the response.

  • How to save the output of sap script to pdf document in sap

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms

    Hi deepika,
    This thread will solve ur problem OTF  -> PDF
    Regards,
    Pravin

  • How to save the output of sap script in sap so that can be retrieved later

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Dec 26, 2008 11:01 AM

    Hi Deepika,
    Look into this link https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401cca81-b861-2910-ada2-f416dfb3b3fe
    Regards,
    Pravin

  • How to save the output of a concurrent proram automatically

    Hi Friends,
    We have a requirement to save the output of a concurrent program to a specific folder for a reporting purpose. whenever we run that concurrent program it should save the out file in the network folder \\out_files\con_prg like that
    instead of storing it in its default folder in unix.(or I should recoganize which out file is for my concurrent program from the default folder and to move it to windows shared network folder). If it is one time , I can do it manually. But I need to schedule that concurrent program to run every day and transfer the output to the windows folder.
    Our system is Oracle Apps 11i , Data base 9i in Solaris.
    If you have any idea or sugesstion for this , please share it with me here.
    Thanks in advance,
    Vimal...

    Hi
    Thanks for the reply. I can get the name from the fnd_concurrent_requests table, But how can I identify which is the one submitted by me. Because there is possibility of multiple submission by the users with different parameters.
    I can give you more details.
    We are having a BI report (not oracle) for AR Aging Report details. It has a staging table to get the data from Oracle EBS.
    My job is to run Our Customized AR Aging Report with 2 different parameters like sysdate and the same date for last month.
    Get the output file and processs it (for this we are using VB Script) to populate the staging table from where the BI report get the data.
    So far I am doing this manually for more than a month.
    The Users wants to have all the above mentioned process to be combined as a single concurrent program , so that they can submit easily and populate the data any time of the day like other Oracle Standard reports.
    The BI report can be viewed any time of the day by more than 15 users and also AR Aging report can be run so many times in a day by another set of users.
    In this situation how can I get the exact output file of the request submitted by me.
    Thanks,
    Vimal...

  • Standard output when calling a method from a jar

    I have a question about obtaining standard output from a call to a method in a jar. I understand that a) and b) below are equivalent, but how do I get the output that the java call produces when I call SugarMain.decode in a java program? In other words, where does the output from SugarMain.decode go and is that equivalent to the standard output from the java SugarMain -decode call? I obtained the jar from http://bach.istc.kobe-u.ac.jp/sugar/ which has no user support.
    Thank you,
    Richard Becraft
    a) SugarMain.decode("sugar5400.out", "sugar5400.map");
    b) java SugarMain -decode sugar5400.out sugar5400.map
    java SugarMain -decode sugar5400.out sugar5400.map
    s SATISFIABLE
    a creditHours 10
    a id11672 true
    a id11673 false
    a id11674 false
    a id11675 false
    a id11676 false
    a id12385 false
    a id13043 false
    a id13044 false
    a id14032 false
    a id13046 true
    a id11852 true
    a id11921 false
    a id12832 false
    a id12833 false
    a id13355 false
    a id14311 false
    a

    Without knowing anything about SugarMain it is difficult to answer your question.
    It may help to know that there is nothing inherently different about classes referenced from jar files then classes referenced from loose class files. The specifies on how to get the output of SugarMain.decode() is dependent on SugarMain.decode().
    You say that there is no user support but is there any documentation or source files or samples. If the answer is "No" to all of those, it may be that you lose.

  • How to save current output page as pdf or xls format?

    hello expert,
    i have  make 2D line graph . now i am trying to save current output page as pdf or xls format.
    how can i do this?
    please reply soon
    thanks in advance

    I have a similar problem with Firefox on android. When saving a page as PDF, often the PDF page size isn't big enough and just shows part of the full web page. Is there any way to set the PDF page size and make it bigger,say A4 or some other size?

  • How to save pdf output of xml publisher

    Hi to all,
    I have just created a new report with xml publisher and I have associated the execution to a concurrent.
    When I see the output of my concurrent, I see the correct report.
    Now, I need to save the output of this concurrent from pl/sql, without open the concurrent.
    I'm new of xml publisher.
    Do you know how can I solve my problem?
    Thanks
    Pier

    Hello
    The BI Publisher forum is here :
    BI Publisher
    Regards

  • How to save pdf output

    Hi to all,
    I have just created a new report with xml publisher and I have associated the execution to a concurrent.
    When I see the output of my concurrent, I see the correct report.
    Now, I need to save the output of this concurrent from pl/sql, without open the concurrent.
    I'm new of xml publisher.
    Do you know how can I solve my problem?
    Thanks
    Pier

    PDF File is saved on the Concurrent Manager tier as $APPLCSF/$APPLOUT/{REPORTNAME}_{REQUEST_ID}_{COUNT}.PDF
    See this post:
    http://garethroberts.blogspot.com/2008/07/where-do-i-get-xml-file-or-request.html
    If you want to get the file in PL/SQL there are ways to do that also.
    Regards,
    Gareth

  • How to Save JSP output

    Hi all,
    I am new to JSP and I am developing simple application in NetBeans. I got the proper output of the application now I want a button or a link, either would be fine, to save my output in local machine in MS word document or in pdf. So any hint how to archive this using JSP or servlet. Please help me out in this situation. Thanks in advanced.

    Uh, just in the classpath :) Netbeans call it the build path. But you know, in a standard webapplication structure, the WEB-INF/lib folder, which is by default covered by the webapp's classpath, is the place for 3rd party webapp related JAR files.
    To hook on evnafets' reply, yes, once you have got the InputStream containing the JSP content, you've the freedom to do anything with it. Parsing into a HTML DOM tree to extract the data from it, converting HTML to PDF using for example iText, generating MS Word document using for example Apache POI.

  • How to stop PO output when the indicators are updated with a prog. **URGENT

    Hi,
    I have developed a update prg which will update the Final invoice indicator and Goods reciept indicator in SRM as well as in R/3 only for 'ORDERED' PO's. This was done using BBP_PO_PD_UPDATE FM. Everything is working fine, all the indicators are getting updated as expected both in SRM and R/3.
    Only problem is that when the indicators are updated in SRM, PO Output is getting generated which should not happen.
    Do you have any idea how to stop the OUTPUT.
    This is very urgent.
    BR,
    Parvez.

    PO output
    PO Output problems
    disable PO output on po change in SRM

  • How to find Standard Output forms

    Hi,
    How to find the standard output forms for the following:
    1. Purchase Requesition
    2. RFQ
    3. Inventory Records
    4. Goods Receipt Note
    I want to access these outputs and add the company logo.
    Thanks in advance.
    Regards,
    Sriram

    Hi,
       Go to Nace Transaction code and then in the Left you will find Application and Description and there select ME for inventory and then click on output types.There select an output type in the list of output types given and then click the Processing Routines where you will get the complete details. For RFQ and Purchase Requisition check the Application EA.
      Coming to the uploading of the Logo. Go to Tcode se78 there below Form Graphics select Graphics and inside that you will find Bit map images . Select that one and click on import button which is present left to the delete button and there in the file name give the logo which is stored on your desktop and then select the type as Black and white or Colour Image as per your requirement.In the name give a meaningful for the logo in SAP system.Then click enter.
    Hope this will help you.
    Regards,
    Venkat.

  • How to save the output of report program??

    Hello Everbody,
    I want to save the output of a report program(i.e list),how can i do this???which function module should i use to achieve this???
    Thanx in advance.

    <b>data: list like abaplist occurs 0 with header line.
    data: begin of listout occurs 0,   
      line(1024) type c,   
      end of listout.
    do 100 times.
      write:/ sy-index.enddo.
    call function 'SAVE_LIST'
    EXPORTING*
    LIST_INDEX               = '0'
    tables 
      listobject    = list
    exceptions 
    list_index_invalid       = 1  
    others                   = 2          .
    call function 'LIST_TO_ASCI'    
    tables         
    listobject         = list    
    listasci           = listout 
       exceptions      
       empty_list         = 1    
       list_index_invalid = 2    
        others             = 3.
    call function 'GUI_DOWNLOAD' 
       exporting   
          filename = 'C:\Test.txt'  
      tables    
         data_tab = listout.</b>

  • How to Save Command Output to Flash on ASA 8.4

    Hi,
    I nice easy one for you guys.
    How do you save the command output from the CLI  to a file on flash?
    With IOS, I would normally use a pipe command to redirect to tftp, but the ASA doesn't support this as far as I can tell. As a work around I was thinking I could save the output to flash and then tftp that file off the ASA.
    Thanks,
    Paul

    Hi Jennifer,
    Thanks for your help. I do use this feature at the moment, but I find every break in the output (where you need to hit space to see more) gets recorded which leaves the file quite messy. I usually have to edit the file afterwards so it reads clearly.
    I wondered if there is a way for the asa to write the output directly?
    Thanks,
    Paul

Maybe you are looking for