Web Application Status thru Command Line!

Hi,
How do i find the status of web application thru command line?
I dont find a direct and easy way to get to know the status of a web application. In websphere it was straight forward. Any help from BEA team would be really appreciated
Regards,
C R baradwaj

Hi Satya Ghattu,
We have a requirement wherein we wanted to manage the start and stop of web application without using the weblogic server console.
If I stop the web application from the console it shows the web application status as unavailable. I want to retrieve the status of the web application that is shown in the console from a command line utility or thru a java program.
Any sample program or a command line utility will be very very helpful.
Waiting for your earlier response. I understand from other source of information that WLST is the way to go. If I can get some source code for the same will be REALLY appreciated.
Many Thanks in Advance,
C R Baradwaj

Similar Messages

  • Schedule workbooks thru command line

    hi,
    how do we schedule workbooks thru unix command line?
    Thanks

    Hi,
    Well you can use windows task manager or another third party scheduler to run Discoverer exports on a windows workstation. You can search this site for information on how to do this.
    You can then use a unix command to send the details of the workbook to the workstation. One way to do this would be for the script running on the windows workstation to obtain the list of workbooks, worksheets, parameters etc that need to be scheduled from a custom database table. A unix command could then be used to add rows to the table which the workstation would then read and run the exports.
    How you do this depends on what output you want to generate and how you want to deliver that output to the users. You can find an article on my web site (www.cabotconsulting.co.uk) that describes how to schedule Discoverer reports using the Applications concurrent manager. This method also uses a custom table to hold the reports to be scheduled.
    Rod West

  • Hiding a web item through the command line URL

    We use the Web API and command line processing heavily to pass in different filter values, variable values, data providers, etc. to our web reports.  I had a requirement within a given area to launch our web reports with the Navigation block visible on the web template.  In our commonly used 'default' web template, we currently allow the users to switch this item on/off once they are in the report, but we always have it come up Hidden initially.
    My question is this: is there some trick to getting a web item property changed dynamically at execution time from Hidden=X to Hidden= ?  I have tried numerous attempts to format a URL to change this behavior, but have been unsuccessful.  A sample would be: &ITEM=GR6&MULTI=X&HIDDEN=  --> this is intended to make all items with 'GR6' in the name unhidden.  But in my case, it ends up making more web items visible than I want.  Even specifying the Item name directly does not help.
    I have also tried applying it in conjunction with a command sequence from the Web API docs. Is there a particular command that this has to go with (i.e. LDOC? RESET_WEB_ITEM? etc.)?  We have a button on the web template that issues the command <SAP_BW_URL ITEM='GR6' MULTI='X' HIDDEN=''> when clicked -- this works fine.  How do I apply the same type of logic to the initial URL within the command processing?
    Any help would be appreciated.  I know that I can resolve this by just creating a copy template with this web item set to Visible instead of Hidden at the launch.  I was just thinking I could reuse the main web template and control it through the URL.
    Thanks...
    Jody Chassereau

    Heike,
    maybe you can help me out on this one:
    I'm trying to implement Tobias Kaufmann's How To Paper <i>Web Printing with Excel</i>.
    Before calling the respective Abap classes from my web template, I want to hide the web item <i>Hierarchical Filter Selection</i> as this one comes out ugly when downloaded to Excel. So what I'm doing is, I first hide the Filter Selection and then call the Abap classes.
    Here is the coding that I am using:
    <!-- Web Print with Excel-->
    <td class="SAPBEXNavLine"><A href="<SAP_BW_URL
    CMD_1='Item=HIERCONTEXTMENU_1&HIDDEN=X'
    CMD_2='CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=HELP_SERVICE_PRINT&ITEM=Table_1&SUBCMD=PRINT_EXCEL'>">
    <IMG  alt="Web Print with Excel" src="/sap/bw/Mime/bex/icons/print.gif" border=0></A></td>
    This coding is working fine.
    The problem is however, that the <i>Hierarchical Filter Selection</i> is now hidden in my web template. To unhide it, I thought I'd use the coding as above, but add a third command (CMD_3) to make that item visible again.
    Here is the coding:
    <!-- Web Print with Excel-->
    <td class="SAPBEXNavLine"><A href="<SAP_BW_URL CMD_1='Item=HIERCONTEXTMENU_1&HIDDEN=X'
    CMD_2='CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=HELP_SERVICE_PRINT&ITEM=Table_1&SUBCMD=PRINT_EXCEL'
    CMD_3='Item=HIERCONTEXTMENU_1&HIDDEN='>">
    <IMG  alt="Web Print with Excel" src="/sap/bw/Mime/bex/icons/print.gif" border=0></A></td>
    Unfortunately, only the commands CMD_1 and CMD_3 are being executed (which is kind of useless), the main command CMD_2 however is not.
    Do you have any idea why this is happening and how to avoid this?
    Really appreciating your help,
    Regards,
    Yogen

  • Error while exporting webi reports using BIAR command line tool.

    HI,
             We are trying to export webi objects to a biar file using the biar command line tool, biarengine.jar in XI 3.0. We are using the query select * from ci_infoobjects where si_kind='webi'.
    We are getting an error "unable to create plugin object".
    Export of all other objects is going through fine.
    Any ideas?
    Thanks,
    Ashok

    Try this
    importBiarLocation=C:/test.biar
    action=importXML
    userName=UserName
    password=Password
    CMS=cmsname:6400
    authentication=secEnterprise
    exportQuery=select * from ci_appobjects where si_kind='universe'

  • How to view an applications actions in command line?

    I have a series of highly repetitive tasks that require a tremendous number of button / menu clicks that I've been trying to automate. I have successfully automated the process with Automator using bash mouse clicks x,y coordinates. However, because this is method requires pixel coordinates it only works on one of my machines because the others do not have the same display size. As such this solution is lacking.
    What i'm looking for (and struggling to find) is means of viewing any running application's action as an equivalent text command. This is a built in functionality in most 3D modeling programs like Maya, Blender, etc. (which is where I first started using this method of automating tedious processes). Having the ability to view any button click or menu selection as a text based command, makes sorting out the proper syntax to create a proper script infinity easier.
    As an example, I want to be shown something like:
    tell application "Finder" to launch "Safari"      When clicking on the safari dock icon
    tell application "Safari" to open location "http://www.google.com/"     When typing in the URL and pressing enter
    tell application "System Events" to keystroke "apple support"    When typing the text string into google's search bar
    Though the above example is applescript, I'll take any language if it gets me heading int he right direction.  :-)
    Side note though Automator's 'watch me' do is great for simple tasks, I found it to be unreliable given the number of steps I have to deal with. 

    You might check with your apps' developers to see if they support AppleScript, Automator, or other scripting languages that might be used for this. Some programs have built-in macro and scripting options that can be set up in a built-in editor or run in a built-in command-line environment of sorts, while others supply libraries for external scripting with AppleScript and others.
    As for live tracing of a program's commands, most that you use will be coded in a low level language like C, C++, Java, or Objective-C, which are compiled and run in binary machine code as opposed to an interpreted language (one that does not need compiling to run), as is the case with most scripting languages (shell scripts, AppleScript, Matlab, etc.).
    For the most part, the only options you have for "tracing" a program's functions are to monitor output that it might log to the console. You can see this by opening the console, but the output here is diagnostic in nature and is programmatically limited to what the programmers have intended be output (ie, things like warnings and errors, as opposed to every action the program is taking). You can also use the Terminal to directly launch a program's executable so it is hosted in the Terminal shell. This will give you direct access to all of the program's output, as opposed to that only intended for logging in the Console, but it is still not the same as a full output of the commands and routines the program is performing.
    Some of Apple's developer tools can allow you to better monitor a program's functions, but these are intended for developers, and have some requirements, and will not allow you to use any results for productivity automation.

  • ERR file produced thru command line compile

    I'm trying to compile Oracle6 and Oracle9i forms thru the command line. Fmx files are created but so are err files. Upon inspection of the err files, it just states that there are no compilation errors. So this means that the fmx files are created correctly.
    Is there a way for the Oracle6 form compiler (ifcmp60.exe) and the Oracle9i form compiler (ifcmp90.exe) to suppress the creation of err files if there are no compilation errors ?
    thanks.

    No they will always be created. To check if there is a error with the compile you should check the DOS %ERRORLEVEL% value and if that indicates a non zero value then look at the .err file.

  • How to programatically start j2ee application/service  from command line

    Hi all
    We have developed a j2ee application and deployed  the .ear file on SAP J2EE (Netweaver'04) engine.
    We are able to successfully start/stop the application from Visual administrator -> Deploy -> Service -> Start application (or) Stop application.
    We need to start and stop the same application programatically or via command line instead of doing it from VA.  Any thoughts from anyone on how to do it ?
    Thanks in advance.
    Regards
    Nagesh

    The cammands are there in the respective folders, these are just the batch files / .sh scripts that can be run from command line.
    /usr/sap/<instance>JC<client>/j2ee/admin
    go.sh and go.bat can run either on command line
    j2ee/configtool
    configtool.sh / configtool.bat  
    similarly for other smaller utilities. For the main server, the related commands are in exe directory of sapmnt
    /sapmnt/<instance>/exe
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 16, 2009 11:16 PM

  • Passing user defined parameters in oracle reports thru command line

    Hi All
    We are currently using Reports 6i with Oracle 10g 10.2.0.4.0
    I would like to know that is it possible to pass user defined parameters values while calling report from command line.
    For Example: I am using following coding to call report from command line.
    for /f "tokens=1-3 delims=/ " %%a in ('date /t mm/dd/yyyy -1') do (
    set mm=%%b
    set dd=%%a
    set yyyy=%%c)
    rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%.pdf desformat=PDF BACKGROUND=NO BATCH=YES
    The report contains some user defined parameter which is using in where condition of reqport query.
    Select * from banks
    where id = :Bank_ID
    Now I want to Pass value for :Bank_Id from command line (like we pass parameter list while calling report with run_product), how it is possible?
    Thanks
    Hassan

    Hi guys
    Fortunately I am able to perform the required task as I just added the report parameter field as follows:
    rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%%h%%mi%%ss%%ts%.pdf desformat=PDF BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log bank_id='MCB'
    bank_id is the report parameter using in where clause.
    Regards,
    Hassan

  • MS Access to oracle 10g Migration thru command line/script?

    Hi,
    Is there a command line for executing OWMB?..One of the customers currently using multiple databases of Access DB are interested in migrating to Oracle but they want the migration process to be very simple...For ex: On the click of a button or if there is something like silent mode migration through some command..
    Any help is greatly appreciated.
    Thanks,
    Veena

    Hi Veena,
    There's no command line or silent mode migration facility to run the workbench.
    However, the workbench does that have capability of migrating multiple MDB files in the one operation. Using the Exporter Tool for MS Access, which is shipped as part of the OMWB install, the user can select multiple MDB files to export. For each exported MDB file, an associated XML file is generated by the Exporter tool, which contains the database schema information for the MS Access database. The user can then load up all of these XML files, via a wizard, into the workbench, and carry out their migration. The ability to export & migrate multiple database in the one operation should greatly reduce the customer's migration time.
    I hope this helps.
    Regards,
    Hilary

  • Compiling Web Help from a command line

    We have RoboHelp X5, and are using version control to save
    our WebHelp project in Microsoft SourceSafe. Our developers want to
    know how best to compile the project when they build the software.
    Is there a command line or other automated process that can be used
    to best achieve this?
    Thank you,
    Charlie Randisi

    No, sorry.
    I understand it's in the new X6.
    Good luck,
    Leon

  • Deploy an EAR file thru command line?

    I have been able to deploy the Petstore.ear file from
    the 10G AS Deploy EAR file option in the Server admin console.
    Now how do I to run this ear via the command line ?
    Any suggestions please?

    In ias9041 enterprise, I do
    $IAS_HOME/dcm/bin/dcmctl deployapplication -a myapp -f /root/myapp.ear -co home
    $IAS_HOME/dcm/bin/dcmctl redeployapplication -a myapp -f /root/myapp.ear -co home
    $IAS_HOME/dcm/bin/dcmctl undeployapplication -a myapp -co home
    I don't use the OEM at all. I do everything in command line with dcmctl and opmnctl. Read oracle's doc for more info.
    Ken

  • Adding Views/Folders thru command line

    Hi --
    I am just wondering whether i can add views and create folders on those views from command line for a business area.
    Any ideas?
    Thanks
    Anil Chada

    Have you checked the Java Command line utility. It has lot of administration commands.
    regards
    http://www.infocaptor.com <--- Create your own intelligence

  • Tracing Application Status Thru database

    Hi,
    I'm facing some problem with the application.
    To trace out this problem is there any way to find out.
    How the table is accessing from the database table while connecting the application.
    Assume that you are connecting application to database that time
    what its happending i mean which table and what its doing to with that table how its doing like inserting some values or selecting which tables. To find out this status is there any way to like trace log some thing. If you can help me on above matter will be good.
    Thanks
    Riyas
    email:[email protected]
    null

    You could use the oracle dynamic views to see what is happening in the database, when the application is running. I would suggest to start with V$SESSION and V$SQLAREA to find out what SQL statement is being processed.

  • Executing system command thru command line by passing it to a server

    Hello,
    I would like to know if there is any way by which I can call a system command through a java program . This system command takes parameters. If yes then how do i pass these paramaeters. This program will be called thru a sheel scripts and the parameters may vary...

    If I just look at the question in your post, I would say the answer is to call Runtime.getRuntime().exec("the system command"). But the title of the post mentioned passing it to a server; I won't attempt to answer that without knowing what it's all about.

  • Export Apex application from the command line and eliminate Apex

    I had a problem to migrate version 4.0.2 to 4.1 Apex, and I can not access to Apex. I open a Thread with the problem but so far I have no answers.
    Given that Apex is not working, I can think to do the following:
    ---Export applications that are currently installed in Apex
    ---Totally eliminate the apex and do a new install
    Does anyone know if this is a viable option?
    If Yes, what package I have to run to make the export of applications?
    How do I completely remove the current installation of Apex? And leave prepared the database for a new installation from scratch, the version of Oracle we use is 11 g Enterprise Edition Release 11.2.0.1.0.
    If someone can give me any advice would be very grateful.
    Best regards
    Gerard

    Hi Patrick
    +(-) Do Have you had any installation issues?+
    I had some but I think that are already resolved, I have another open thread Re: Big problem in update to Apex 4.1 with the details of the problems I had.
    +(-) Do Have you checked the log files?+
    Where can I find them?
    +(-) What is your database version?" "Does Is it XE?"+
    I'm using "Oracle11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production"
    +(-) Which web server do you use to access APEX (Apache with mod_plsql, APEX Listener or Embedded PL/SQL gateway (EPG))?+
    Embedded PL/SQL gateway
    +(-) Which URL did you use in the past to access APEX?+
    This URL: http://192.168.0.5:8080/apex/apex
    +(-) What happens if you enter http://192.168.0.5:8080/apex+
    If enter "http://192.168.0.5:8080/apex/" I get the following error
    "Error ERR-1014 Application not found."
    "application = 4500 workspace = 10"
    Thanks a lot
    Gerard

Maybe you are looking for

  • Error no. 4 in SAPGUI during graphic call or file transfer.

    Hi, In the landscape there are still 46b sap version, i have some functional queries that when i executes go to the sap graphic screen and it throws with no output. I understand that that it works in ECC version but not for 46b. This issue is related

  • How do you change the default setting in the motions tab?

    Greetings! We have two macs in our editing suite. Both are running FCP studio 2. One of the macs has a default setting for the drop shadow of 2 in the motion tab. The other mac has the default setting of 10. How can I change the default settings (not

  • AR aging report (summary by customer)

    Hi Experts, I would like to ask if how to create an aging report showing only the: 1. Customer 2. Credit Limit 3. Payment Term 4. Total AR 5. Due 0-30 6. Due 31-60 7. Due 61-90 8. Not Due Hopefully the balance should be the same as with FBL5N. We hav

  • English please

    Just spent half a day downloading CS6 Master Collection. A selection of languages are offered at the instal stage. Non of them English. Now what?

  • Permit Issue against Maintenance Order

    Dear Experts, We have two ways of issuing permit - one in Maintenance order itself and other in IPM2. In maintenance order we can write the Approved By name but in IPM2 i dont find anything where we can record, its picking only useri Do we have any o