How can i know the servlet is running or not?
Hi all,
I have a doubt regarding servlet. I created one servlet and deployed in server. Now i called (RUN) the servlet from the browser. And it is running. Now can i know that the servlet is running or not in the server without seeing in the browser. Can we know the status of the servlet with its URL in the server whether it is running or not?
Let me explain my problem. In my servlet it will run continously read one table and do some operation depending on the entries in that table. Now i called the servlet from the browser. After some time i closed the browser. If browser is there i can know whether servlet is running or not. But now how can i know that servlet is running or not. Becoz eventhough we closed the browser the servlet will run in the background. How can i achieve this?
Thanks and Regards,
VJR.
Hi!
With first call, the servlet will be loaded, and it remains so until server-shutdown, but you need a timer-mechanism execute method calls continuously.
Regards,
Thomas
Similar Messages
-
How can we know the OSCOLECTOR is running or not.
Hello all,
I want to know how can we know about the the OSCOLECTOR is running or not?
tell me the way to at os level for unix and linux and R3 level.
Thanks in advance.
AtulHI,
AS I WORK ON WIN 2003 , U CAN CHECK WHETHER OSCOL IS RUNNING OR NOT FROM THE OS LEVEL AS;;;
GOTO SERVICES.MSC AND CHECK FOR THE OSCOL SERVCIE. IF IT IS NOT RUNNING THEN START IT.
AND THEN CHECK FROM THE SAP LEVEL.
DEFINITELY IT WILL WORK.
REGARDS,
BHUPESH -
How can I know the kernel is running on GPU?
I write a kernel, and then I load the PBJ byte file into a flash as a filter,but when I adjust the parameters of the filter, the usage of CPU keeps increasing rapidly, so I am wondering whether the kernel is REALLY running on GPU?
It isn't GPU-accelerated in Flash Player 10.0 and 10.1. It runs multi-threaded on your CPU.
See:
http://blogs.adobe.com/kevin.goldsmith/2008/09/cpu_gpu_multico.html
http://www.kaourantin.net/2008/05/adobe-pixel-bender-in-flash-player-10.html -
How can i know the no of servlets
how can i know the no of servlets present in single application
you webapp (servlet) can create a static variable. when a request has been made, you increment this number...provides a request parameter (http param) that will return this count number.
-
How can I know the name of instance (SID)?
Dear all,
After I install the Oracle client in my computer, I would like to change the tnsname.ora. However, I don't know the name of instance (SID) because I am not the one install the database and the DBA is gone. So, how can I know the SID name and the port number as well.
Best Regards,
amyHey,
The sid defaults to the database name.
http://www.adp-gmbh.ch/ora/misc/identifiers.html
you can find it by
select name from v$database;
or by
show parameter db_name (run this in sql prompt)
Run the above on the database server. -
How can i know the size of client
hi
how can i know the size of client ?
SAP ECC6
OS AIX 5.2
DB ORACLE10g
regards
KaranHi,
1)Test run normal client copy .
=DDt will give the size.
2)There is SAP note for Client size analyse.
Here is 118823
3)run program YSTABSIZ.
Regards,
Muralidhar -
How can I know the version of Application Server Java Virtual Machine
How can I know the version of Application Server Java Virtual Machine?
Thanks a lot.Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
For example if you're doing it at command prompt it will be something like
java -versionI hope this will be useful to you.
Regards,
Wasif -
How can I know the database is using Cost Based or Rule Based?
Hi all expertise,
How can I know the database is using Cost Based or Rule Based?
If cost based it is using, what methods are need to use to minimize the cost when database is running? And which tables I can see the performance of the database?
Thanks
Amyhow to see database setting ?
use this
SQL> sho parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 1
optimizer_features_enable string 9.2.0
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_max_permutations integer 2000
optimizer_mode string CHOOSE
choose means if table statistics is available then it will use cost
else
use rule based optimizer
for seeing performnace of table use
set autotrace on
and run your query
if it doen't show cost.it means it use rule based
for using cost based
u will calculate table statistics
9i
dbms_stats.gather_table_stats('owner','table');
8i
analyze table <table_name> compute statistics;
hope it will help you
kuljeet pal singh -
How can we know that JVM is running in our system?
how can we know that JVM is running in our system?
On a *dows system you can use pslist and the like:
http://www.sysinternals.com/Utilities/PsTools.html
http://www.sysinternals.com/Utilities/PsList.html -
How can u know the process chain total time, individual time?
Hi guru's
How can u know the process chain total time, individual time?
and what options will available in sm37?
Thanks
prabha reddyHi Prabha
Iam not very sure about total time and individual times.
But you can go to tcode rspcm for monitoring the daily process chains. it gives you details like 1. status 2.start date & time 3. Log ID of each process chain.
or you can go to log view of particular individual chain to know how long it has run.
SM37: tcode for simple job selection.
here you check the status of job.
you can select for certain conditions like
1. scheduled
2. released
3. ready
4.active
5. cancelled
Assign points if it was helpful
Revert back if you need further info/
regards
AP -
How can i know the table fragments
Hi
How can i know the table is fragmented.
Thank youIf you're in 10g you could try use the Segment Advisor to identify various issues etc with your table. This will also provide recommendations on how to improve things.
(below script shamelessly stolen from the brilliant Oracle Base website)
-- segment_adv_table.sql
-- Use Segment Advisor to analyse a table.
-- Original Version
-- http://www.oracle-base.com/articles/10g/SpaceObjectTransactionManagement10g.php
-- owner is SCOTT
-- table is EMP
-- do a search/replace to change these 2 values and re-run it ;)
DECLARE
l_object_id NUMBER;
BEGIN
-- Create a segment advisor task for the SCOTT.EMP table.
DBMS_ADVISOR.create_task (
advisor_name => 'Segment Advisor',
task_name => 'EMP_SEGMENT_ADVISOR',
task_desc => 'Segment Advisor For EMP');
DBMS_ADVISOR.create_object (
task_name => 'EMP_SEGMENT_ADVISOR',
object_type => 'TABLE',
attr1 => 'SCOTT',
attr2 => 'EMP',
attr3 => NULL,
attr4 => 'null',
attr5 => NULL,
object_id => l_object_id);
DBMS_ADVISOR.set_task_parameter (
task_name => 'EMP_SEGMENT_ADVISOR',
parameter => 'RECOMMEND_ALL',
value => 'TRUE');
DBMS_ADVISOR.execute_task(task_name => 'EMP_SEGMENT_ADVISOR');
END;
-- Display the findings.
SET LINESIZE 250
COLUMN task_name FORMAT A20
COLUMN object_type FORMAT A20
COLUMN schema FORMAT A20
COLUMN object_name FORMAT A30
COLUMN object_name FORMAT A30
COLUMN message FORMAT A40
COLUMN more_info FORMAT A40
SELECT f.task_name,
f.impact,
o.type AS object_type,
o.attr1 AS schema,
o.attr2 AS object_name,
f.message,
f.more_info
FROM dba_advisor_findings f
JOIN dba_advisor_objects o ON f.object_id = o.object_id AND f.task_name = o.task_name
WHERE f.task_name IN ('EMP_SEGMENT_ADVISOR', 'USERS_SEGMENT_ADVISOR')
ORDER BY f.task_name, f.impact DESC; -
How can i know the RPM of my HD?
I guys...
Simple question...
How can i know the RPM of my HD?
I have a Mac mini and i would like to know that.
Any ideas?.
Thanks so much!!!Hi!!
It doesn't show...
Vendor: NVidia
Product: MCP79 AHCI
Link Speed: 3 Gigabit
Negotiated Link Speed: 1.5 Gigabit
Description: AHCI Version 1.20 Supported
FUJITSU MHZ2120BH G1:
Capacity: 120.03 GB (120,034,123,776 bytes)
Model: FUJITSU MHZ2120BH G1
Revision: 00810009
Serial Number: K64PT9427599
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Medium Type: Rotational
Bay Name: Lower
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Verified
Volumes:
Capacity: 209.7 MB (209,715,200 bytes)
Writable: Yes
BSD Name: disk0s1
Macintosh HD:
Capacity: 119.69 GB (119,690,149,888 bytes)
Available: 21.38 GB (21,376,569,344 bytes)
Writable: Yes
File System: Journaled HFS+
BSD Name: disk0s2
Mount Point: /
FUJITSU MHZ2120BH G1:
Capacity: 120.03 GB (120,034,123,776 bytes)
Model: FUJITSU MHZ2120BH G1
Revision: 00810009
Serial Number: K64PT9427599
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Medium Type: Rotational
Bay Name: Lower
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Verified
Volumes:
Capacity: 209.7 MB (209,715,200 bytes)
Writable: Yes
BSD Name: disk0s1
Macintosh HD:
Capacity: 119.69 GB (119,690,149,888 bytes)
Available: 21.38 GB (21,376,569,344 bytes)
Writable: Yes
File System: Journaled HFS+
BSD Name: disk0s2
Mount Point: /
Those are the 2 texts...
Any idea?
Thanks!! -
How can i Know the email linked to icloud
Please can anyone help me how to know teh email linked to my phone ??
it shows me h********@hotmail.com i tried to logged in with my account that belong to h********@hotmail.com and it says inocrrect password or email i tried to reset my id but no reset mail was sent to my email ..
so i tried to creat a new with the existing email addreess and it works and verified and finally i tried to activate it with h********@hotmail.com with the new passs and it says account cannot be activate with h********@hotmail.com it is linked to another account ..
so please how can i know the linked email to my phone
Thank youWelcome to the Apple community jorjh.
If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
This feature has been introduced to make stolen phones useless to those that have stolen them.
However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
This article provides more information about Activation Lock. -
How can we know the affected reports when i remove object from universe
Hi All,
If i remove any objects from the universe.
How can i know the list of affected reports.Thanks for your update.
It shows what are all the reports has been created by using that particular universe.
But my question was, if i remove any object from the universe, Then what are all the reports affected(We may not use that deleted object in all the reports) -
How can we know the return code of BDC Program ?
Hi All,
Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
In my program, we are uploading data from Excel sheet to SAP via BDC
The records that are not updated we want to create a log file.
Now to know whether a record is updated ot not, wat syst field shloud be used?
Its urgent....
<b>Reward Point will be there ....</b>
Thanks,
HarishHi harish,
try the logic in this code ...
i had attached input file in the end.
TYPES: begin of errmess,
msgnr type t100-msgnr,
text type t100-text,
end of errmess.
TABLES : t100.
DATA: BEGIN OF DD_VA01,
AUART TYPE VBAK-AUART,
KUNNR TYPE RV45A-KUNNR,
BSTKD TYPE VBKD-BSTKD,
MABNR TYPE RV45A-MABNR,
KWMENG(2) type C,
KBETR(2) type C,
END OF DD_VA01.
DATA:IT_VA01 Like TABLE OF DD_VA01,
WA_VA01 Like LINE OF IT_VA01,
WA_VA01_F Like LINE OF IT_VA01,
IT_BDCDATA TYPE TABLE OF BDCDATA,
WA_BDCDATA Like Line OF IT_BDCDATA,
W_FNAME TYPE STRING,
messtab like bdcmsgcoll occurs 0 with header line,
it_errmess type table of errmess,
wa_errmess like line of it_errmess,
err_message type string.
data: zf1 type i,
zc1 type c value '2',
fn(20) type c.
Main Code ************************************************************
PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
SORT IT_VA01 BY AUART KUNNR BSTKD.
LOOP AT IT_VA01 INTO WA_VA01.
if WA_VA01_F-AUART <> WA_VA01-AUART OR
WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
PERFORM set_header_flag.
PERFORM create_bdc_header_data.
endif.
PERFORM create_bdc_item_data.
ENDLOOP.
PERFORM call_transaction.
PERFORM errorlog.
Procedures ***********************************************************
form get_input using w_fname.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FNAME
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = IT_VA01.
endform.
form call_transaction.
PERFORM bdc_field using 'BDC_OKCODE' '/11'.
CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
refresh it_bdcdata.
endform.
FORM set_header_flag.
WA_VA01_F-AUART = WA_VA01-AUART.
WA_VA01_F-KUNNR = WA_VA01-KUNNR.
WA_VA01_F-BSTKD = WA_VA01-BSTKD.
if zf1 = 1.
PERFORM call_transaction.
endif.
zf1 = 1.
endform. "set_header_flag.
form create_bdc_header_data.
perform bdc_dynpro using 'SAPMV45A' '0101'.
perform bdc_field using 'VBAK-AUART' WA_VA01-AUART.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'KUAGV-KUNNR' WA_VA01-KUNNR.
perform bdc_field using 'VBKD-BSTKD' WA_VA01-BSTKD.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' '04/06'.
perform bdc_field using 'BDC_OKCODE' '=CHOO'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
endform. "create_bdcdata
FORM create_bdc_item_data.
CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
perform bdc_field using 'BDC_CURSOR' FN.
perform bdc_field using FN WA_VA01-KWMENG.
CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-KBETR.
CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-MABNR.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
ENDFORM.
form errorlog.
LOOP AT MESSTAB .
if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
SELECT SINGLE msgnr text FROM T100
into wa_errmess
WHERE SPRSL = MESSTAB-MSGSPRA
AND ARBGB = MESSTAB-MSGID
AND MSGNR = MESSTAB-MSGNR.
IF SY-SUBRC = 0.
err_message = wa_errmess-TEXT.
IF err_message CS '&1'.
REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
ELSE.
REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
ENDIF.
CONDENSE err_message.
WRITE: / MESSTAB-MSGTYP, err_message .
ELSE.
WRITE: / MESSTAB.
ENDIF.
endif.
ENDLOOP.
endform. "errorlog
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
WA_BDCDATA-PROGRAM = PROGRAM.
WA_BDCDATA-DYNPRO = DYNPRO.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
FORM BDC_FIELD USING FNAM FVAL.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
input file :
OR 2148 0001235 R-1162 8 17
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 6 25
OR 2148 0001235 R-1162 4 12
OR 2148 0001236 R-1162 3 12
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 1 25
OR 2148 0001236 R-1162 7 12
OR 2148 0001236 R-1161 8 30
OR 2148 0001236 100-400 10 25
OR 2148 0001235 R-1161 5 30
OR 2148 0001235 100-400 2 25
OR 2148 0001235 R-11621 3 12
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 1 25
OR 2148 0001235 R-1162 7 12
OR 2148 0001235 R-1161 8 30
OR 2148 0001235 100-400 10 25
OR 2148 0001236 R-1162 8 17
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 6 25
OR 2148 0001236 R-1162 4 12
OR 2148 0001236 R-1161 5 30
OR 2148 0001236 100-400 2 25
Maybe you are looking for
-
i have just upgraded to IOS 8.1.3 from IOS 7.1.2 , and I could no longer find my hotspot menu for sharing my cellular data with my other devices. what should I do?
-
In regards to finding ExtendScript APIs and documentation, none of them has a complete reference and only anecdotal examples. Specifically, I'm updating a solution written for InDesign CS2 and have found it is now broken with InDesign CS3. This is a
-
Forms10g icons and menu property
Q1 I have upgraded to oracle forms 10g, buttons on forms10g does not show the icon I specified in the button property where does form 10g look for the icon files? can you help? Q2 when I enable the menu from forms using set_menu_item_property('Menu_m
-
Inconsistent results with MDX formula
Hi. I'm converting a BSO cube to ASO, and it has dynamically calculated formulas that I'm converting to MDX. I have a formula that is supposed to accumulate an account (Order Intake) through the months and years until it gets to the current month of
-
When I try to install Photoshop CS6 from the DVD I get a dialog box that says "Installer failed to initialize. Please download Adobe Support Advisor to detect the problem." But... apparently Adobe Support Advisor has been discontinued. What now?