How to See logs for custom programs from without the logviewer in NWA
Hello Experts,
The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
Thanks
Jibin.
Hello Jibin,
Your developers should familiarize themselves with the Logging Framework of the J2EE Engine.
Here is the guide:
http://help.sap.com/saphelp_nw04/helpdata/EN/a2/15ab41d60bcb46e10000000a155106/frameset.htm
If they use the Logging Framework you would be able to access the logs through NWA.
Regards,
Ventsi Tsachev
Technology Development Support (J2EE Engine)
SAP Labs, Palo Alto, Ca (USA)
Similar Messages
-
See logs for custom programs from without the logviewer in NWA
Hello Experts,
The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
Thanks
Jibin.Hello,
Via NWA I am not sure it is possible without logviewer, but via Portal you can if you are able to create an application with help of NWDS which will read log from OS level (need to provide path for default trace in your application) show on frontend.
Then deploy this on portal.
Regards,
Abhay -
How to see data for particular date from a alert log file
Hi Experts,
I would like to know how can i see data for a particular date from alert_db.log in unix environment. I'm suing 0racle 9i in unix
Right now i'm using tail -500 alert_db.log>alert.txt then view the whole thing. But is there any easier way to see for a partiicular date or time
Thanks
ShaanHi Jaffar,
Here i have to pass exactly date and time, is there any way to see records for let say Nov 23 2007. because when i used this
tail -500 alert_sid.log | grep " Nov 23 2007" > alert_date.txt
It's not working. Here is the sample log file
Mon Nov 26 21:42:43 2007
Thread 1 advanced to log sequence 138
Current log# 3 seq# 138 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Mon Nov 26 21:42:43 2007
ARCH: Evaluating archive log 1 thread 1 sequence 137
Mon Nov 26 21:42:43 2007
ARC1: Evaluating archive log 1 thread 1 sequence 137
ARC1: Unable to archive log 1 thread 1 sequence 137
Log actively being archived by another process
Mon Nov 26 21:42:43 2007
ARCH: Beginning to archive log 1 thread 1 sequence 137
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_137
.dbf'
ARCH: Completed archiving log 1 thread 1 sequence 137
Mon Nov 26 21:42:44 2007
Thread 1 advanced to log sequence 139
Current log# 2 seq# 139 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Mon Nov 26 21:42:44 2007
ARC0: Evaluating archive log 3 thread 1 sequence 138
ARC0: Beginning to archive log 3 thread 1 sequence 138
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_138
.dbf'
Mon Nov 26 21:42:44 2007
ARCH: Evaluating archive log 3 thread 1 sequence 138
ARCH: Unable to archive log 3 thread 1 sequence 138
Log actively being archived by another process
Mon Nov 26 21:42:45 2007
ARC0: Completed archiving log 3 thread 1 sequence 138
Mon Nov 26 21:45:12 2007
Starting control autobackup
Mon Nov 26 21:45:56 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0033'
handle 'c-2861328927-20071126-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Tue Nov 27 21:23:50 2007
Starting control autobackup
Tue Nov 27 21:30:49 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0280'
handle 'c-2861328927-20071127-00'
Tue Nov 27 21:30:57 2007
ARC1: Evaluating archive log 2 thread 1 sequence 139
ARC1: Beginning to archive log 2 thread 1 sequence 139
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_139
.dbf'
Tue Nov 27 21:30:57 2007
Thread 1 advanced to log sequence 140
Current log# 1 seq# 140 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo1.log
Tue Nov 27 21:30:57 2007
ARCH: Evaluating archive log 2 thread 1 sequence 139
ARCH: Unable to archive log 2 thread 1 sequence 139
Log actively being archived by another process
Tue Nov 27 21:30:58 2007
ARC1: Completed archiving log 2 thread 1 sequence 139
Tue Nov 27 21:30:58 2007
Thread 1 advanced to log sequence 141
Current log# 3 seq# 141 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Tue Nov 27 21:30:58 2007
ARCH: Evaluating archive log 1 thread 1 sequence 140
ARCH: Beginning to archive log 1 thread 1 sequence 140
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_140
.dbf'
Tue Nov 27 21:30:58 2007
ARC1: Evaluating archive log 1 thread 1 sequence 140
ARC1: Unable to archive log 1 thread 1 sequence 140
Log actively being archived by another process
Tue Nov 27 21:30:58 2007
ARCH: Completed archiving log 1 thread 1 sequence 140
Tue Nov 27 21:33:16 2007
Starting control autobackup
Tue Nov 27 21:34:29 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0205'
handle 'c-2861328927-20071127-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Wed Nov 28 21:43:31 2007
Starting control autobackup
Wed Nov 28 21:43:59 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0202'
handle 'c-2861328927-20071128-00'
Wed Nov 28 21:44:08 2007
Thread 1 advanced to log sequence 142
Current log# 2 seq# 142 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Wed Nov 28 21:44:08 2007
ARCH: Evaluating archive log 3 thread 1 sequence 141
ARCH: Beginning to archive log 3 thread 1 sequence 141
Wed Nov 28 21:44:08 2007
ARC1: Evaluating archive log 3 thread 1 sequence 141
ARC1: Unable to archive log 3 thread 1 sequence 141
Log actively being archived by another process
Wed Nov 28 21:44:08 2007
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_141
.dbf'
Wed Nov 28 21:44:08 2007
ARC0: Evaluating archive log 3 thread 1 sequence 141
ARC0: Unable to archive log 3 thread 1 sequence 141
Log actively being archived by another process
Wed Nov 28 21:44:08 2007
ARCH: Completed archiving log 3 thread 1 sequence 141
Wed Nov 28 21:44:09 2007
Thread 1 advanced to log sequence 143
Current log# 1 seq# 143 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo1.log
Wed Nov 28 21:44:09 2007
ARCH: Evaluating archive log 2 thread 1 sequence 142
ARCH: Beginning to archive log 2 thread 1 sequence 142
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_142
.dbf'
Wed Nov 28 21:44:09 2007
ARC0: Evaluating archive log 2 thread 1 sequence 142
ARC0: Unable to archive log 2 thread 1 sequence 142
Log actively being archived by another process
Wed Nov 28 21:44:09 2007
ARCH: Completed archiving log 2 thread 1 sequence 142
Wed Nov 28 21:44:36 2007
Starting control autobackup
Wed Nov 28 21:45:00 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0202'
handle 'c-2861328927-20071128-01'
Clearing standby activation ID 2873610446 (0xab47d0ce)
The primary database controlfile was created using the
'MAXLOGFILES 5' clause.
The resulting standby controlfile will not have enough
available logfile entries to support an adequate number
of standby redo logfiles. Consider re-creating the
primary controlfile using 'MAXLOGFILES 8' (or larger).
Use the following SQL commands on the standby database to create
standby redo logfiles that match the primary database:
ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 10485760;
ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 10485760;
Thu Nov 29 21:36:44 2007
Starting control autobackup
Thu Nov 29 21:42:53 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0206'
handle 'c-2861328927-20071129-00'
Thu Nov 29 21:43:01 2007
Thread 1 advanced to log sequence 144
Current log# 3 seq# 144 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo3.log
Thu Nov 29 21:43:01 2007
ARCH: Evaluating archive log 1 thread 1 sequence 143
ARCH: Beginning to archive log 1 thread 1 sequence 143
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_143
.dbf'
Thu Nov 29 21:43:01 2007
ARC1: Evaluating archive log 1 thread 1 sequence 143
ARC1: Unable to archive log 1 thread 1 sequence 143
Log actively being archived by another process
Thu Nov 29 21:43:02 2007
ARCH: Completed archiving log 1 thread 1 sequence 143
Thu Nov 29 21:43:03 2007
Thread 1 advanced to log sequence 145
Current log# 2 seq# 145 mem# 0: /oracle/NEWDB/oradata/NEWDB/redo2.log
Thu Nov 29 21:43:03 2007
ARCH: Evaluating archive log 3 thread 1 sequence 144
ARCH: Beginning to archive log 3 thread 1 sequence 144
Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/NEWDB/admin/arch/1_144
.dbf'
Thu Nov 29 21:43:03 2007
ARC0: Evaluating archive log 3 thread 1 sequence 144
ARC0: Unable to archive log 3 thread 1 sequence 144
Log actively being archived by another process
Thu Nov 29 21:43:03 2007
ARCH: Completed archiving log 3 thread 1 sequence 144
Thu Nov 29 21:49:00 2007
Starting control autobackup
Thu Nov 29 21:50:14 2007
Control autobackup written to SBT_TAPE device
comment 'API Version 2.0,MMS Version 5.0.0.0',
media 'WP0280'
handle 'c-2861328927-20071129-01'
Thanks
Shaan -
How to see output of a program again, without running again?
I have run a report that updates tables and shows the output, I ran the report and on the output screen I accidently pressed ESC key so it went back to selection screen. Is there any way to go back to the output screen without running the program again?
Thanks for your inputs.There is a yes and no answer for it.
Out of the box the answer is no.
If however, the report program developer, exported the report to memory explicitly and the developer has provided you with an option via selection-screen to retrieve it from memory and display it then yes you could retrieve it. Alternative, the ouptut could have also been spawned to a spool which you could have displayed via SP01. -
If i hav a program name how can i see the associated Transaction code.
regards,
VibhutiHi
TSTC is the table where you can find all the T-codes asscoiated the programs
goto SE11
enter TSTC table name
execute
give program name
then you can find the T-code associated with that program
<b>Reward if usefull</b> -
Unknown error please see log for details...
Hi,
I have been having major issues with not being able to
connect or administer a site, so I deleted the site from the server
and uploaded a fresh version as the error suggested the files where
corrupt?
Now I get the error "Unknown error please see log for
details" the log is as follows;
Date: 12/22/2006
LocalTime: 12:36
Host: ftp.caitlin-labradoodles.co.uk
Port:
LoginID: caitlinlauk
Path: /
Passive Enabled: false
ProxyHost: NoneContribute Alternate Rename: no
Contribute Optimized: yes
======================== Test Results
==========================
NOTE: For more information on FTP server compatibility
issues, please see
http://www.macromedia.com/support/contribute/ts/documents/ftp_info.htm
Login: SUCCESS!
Changing Directory To: / SUCCESS!
Directory Listing Test: SUCCESS!
Make Directory Test: SUCCESS!
Change Directory Test: SUCCESS!
Upload a File Test: REMOTE_IO_ERROR - Error reading or
writing remote resource.
----------------------- FTP log from the last operation
> CWD /mm_diagnose_9qw83
< 250 Directory successfully changed.
> PORT 192,168,165,54,207,26
< 200 PORT command successful. Consider using PASV.
> TYPE I
< 200 Switching to Binary mode.
> STOR upload_test1_reg_.htm
< 425 Failed to establish connection.
Cleaning Test Directory: Contribute could not create
"mm_diagnose" because it already exists. Please remove this folder.
----------------------- FTP log from the last operation
> CWD /
< 250 Directory successfully changed.
> RMD mm_diagnose_9qw83
< 550 Remove directory operation failed.
> CWD /mm_diagnose_9qw83
< 250 Directory successfully changed.
> PORT 192,168,165,54,207,27
< 200 PORT command successful. Consider using PASV.
> TYPE A
< 200 Switching to ASCII mode.
> LIST
< 150 Here comes the directory listing.
< -rw-r--r-- 1 6518 99 0 Dec 22 12:34
upload_test1_reg_.htm
< 226 Directory send OK.
Any suggestions would be great at this stage as Im scratching
my head with confusion and my customer is getting very irate as she
can not do anything.Hi,
Can you please verify whether user has
read/write/delete/append/create directory rights as an FTP user for
the FTP home directory. If not give the same and try creating the
connection.
Please let me knwo if it helps.
Regards,
Manoj -
Hi All,
I need the change log for custom fields added in BP transaction codes.
Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
Please let us know if iam missing any other thing?Hi Amit Singh,
Apart from clicking the checkbox in dataelement...
There are some settings need to be done by BASIS
and some settings and entries should be made in SCOD t-code
create entriy for change document here..
also hv a look on below links...
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
Custom Table values in CDPOS and CDHDR
scdo
wat do these fields in scdo stand for?
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
How can we disable the 'Improvement Program' from all the apps in TCS5?
How can we disable the 'Improvement Program' from all the apps in TCS5, so that the end users are not able to see the option in the help menu?
We have tried changing the value of bUsageMeasurement (HKLM\SOFTWARE\Policies\Adobe\(product name)\(version)\FeatureLockdown) to zero, but it did not help.You’re probably going to have to contact Support on that one.
-
GOS(Generic Object Services) for Custom program ?
Hi All,
My requirement is to have GOS option to attach document for Custom program against each record.
Do anybody have faced the same kind of requirement,please let me know how to do.
Bharathi.JHi Bharathi
i to got the same requirement
through manually im attaching the files,notes and URL's
but how to attach through any class
i use CL_GOS_DOCUMENT_SERVICE in that
CREATE_ATTACHMENT method
but it is not attaching the files to my GOS menu
can u help me
Thanks
Surendra -
Best practices on how to implement logging in custom application
In the Enterprise Manager it is possible to display/browse the content of different log files generated by the application server modules.
I have some custom web applications which currently use the log4j framework to write to log files. Is it possible to make these log files accesible for the Enterprise Manager ?
Or what is the best practice on how to implement logging in custom applications which can be browsed in the Enterprise Manager (I do not want to use system.out)I thought that this could be done. An ex- colleague did this - but he didn't tell me how to solve this.
But as it just took 10 minutes to solve this I believe it's fairly easy.
cu
Andreas -
Delta Replication for Customizing object from ECC- CRM
I need help on delta replication activate for customizing objects from ECC to CRM. I finished with initial load with product replication and everything worked weel. The problem is that product hierarchy continuely changing in ECC everyday, so the delta for the products error out due to incorrect product heirarchy in CRM becuase the delta is not working for DNL_CUST_PROD0, and DNL_CUST_PROD1. Please show me how to activate the delta for those DNL. What business transaction do I need for those so the delta will work for them too? Rewards points if helpful
I think you need to do Request downlaod for the Product Hirearchy when ever there is new one created in ECC.You can do request downlaod by creating the object using R3AR2. Exeute the object though R3AR4 and monitor the status using R3AR3.
-
I have a iphone 5. How do I search for a event from 2013 under search? I do have "all events" selected
I would check, but I believe I have read that the calendar only lets you search back in the current year. You might find additional information about that in the User Guide. http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
What happens if you go back to a month in 2013, do you see a date with any events in it? I'm not saying the calendar is deleting data, just that you cannot search earlier than the current year. -
How to call Apps Module Custom Method from Entity Object / View Object ?
Hi All,
I create a custom method in AppsModuleImpl.java. How can I call that custom method from a setter method on Entity Object / View Object ?
(I have tried to use Configuration.createRootApplicationModule(amDef,config); but it is not the correct way, is it? )
Below is my code :
The setter on MyEntityImpl.java :
public void setKodeprd(String value) {
setAttributeInternal(KODEPRD, value);
if (getProduct() != null) {
// CALL the getSalesPrice custom method from here, HOW ??
The Application Module custom method :
public Number getSalesPrice(String priceCode, String kodePrd) {
Number price = new Number(0);
String [] theKey = {priceCode, kodePrd};
Key priceKey = new Key(theKey) ;
ViewObject SalesPrice = getSalespricedView1();
Row[] salesPriceRow = SalesPrice.findByKey(priceKey, 1);
price = ((SalespricedViewRowImpl)salesPriceRow[0]).getPrice();
SalesPrice.remove();
return price;
Thank you for your help,
xtantoinside the EntityObjectImpl :
YourAppModuleImpl am = (YourAppModuleImpl)getDBTransaction().getRootApplicationModule().findApplicationModule("YourAppModuleorServiceName"); -
How to create iView for customized master head war ?
Hi,
I deployed customized masterhead war file. But i cant see deployed war in portal application location.
Anyone help me for customizing and masterhead page and how to create iView for customized master head...Hi,
1. You can see the deployed application under the "Portal Applications"
2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
Hope I helped you.
Ronny. -
How to schedule Job for data uploading from source to BI
Hi to all,
How to schedule Job for data uploading from source to BI,
Why we required and how we do it.
As I am fresher in BI, I need to know from bottom.
Regards
Pavneet RanaHi.
You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
Regadrs.
Maybe you are looking for
-
Movie with stills - settings, raw, jpeg...
i took some pictures with my Rebel XT at a wedding last weekend and i am trying to create a movie in iMovie with them. i shot everything in raw and uploaded the images to iphoto then imported them to iMovie and created my video. i have exported the f
-
How do I use Time Capsule as an external hard drive?
How do I use Time Capsule as an external hard drive? I want to remove photos & music from my laptop and store them in Time Capsule only.
-
How do you fit still images (jpegs) to match clips in Final Cut Pro 7?
The images are too small and the clip can be seen on the borders. I tried making them bigger b/f dragging but that distorted the image. I shot the video in 16:9 and shot the pictures with my IPhone not using HD.
-
Create hyperlink in a General Text Object
Hi, using transaction SE61 I want to create a hyperlink to an external site in General Text Object BBP_PRIV_STMNT_EXTERNAL. The objective is to hav this link showing instead of the confidentiality agreement in the self-registration page. Anyone kwow
-
Social app auto exit in nokia 500 belle
Nokia social app not working. Like fb and twitter. It always auto exiting when I tap on it. Help.