Re: [REQ] Memory flag or way to monitor DB(dis)connections

Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
[snip]
We're currently running an application with some DBSession Service Objects.
As in both code and partition workshop the parameter 'password' is hidden
(replaced with ***), we can't be really sure of what they contain.
Is there any flag or simple way to have every DB connection logged ?
[snip]
Jean-Paul
Be aware that the password is exported as PLAIN TEXT in the workspace export!
Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
Dirk
Hobart TAS, part of sunny OZ (trust me they said)
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Hmm.
Thanks for this answer.
I should have clarified that I wanted to know what they contained at runtime,
because we don't use hardcoded values (that any pex or wex would show as you spotted),
but environment variable names which values set at runtime depend on the launcher used.
(Actually, that's the only way to be portable in both development, test and live environments).
Therefore, as described below, I'm just looking for any sqlnet call or oracle instance connection
traceability.
I " use " oracle 7.X
To clarify, Fort&eacute; as a set of 'DB*' flags, one of them (we have) being able to trace any SQL call.
The idea was to 'add' the connection string used (i.e. to try to understand the 'too many processes'
oracle errors found, whether instance is accessed ; or to monitor the 'please use SQLNET V2' errors).
Any idea on " ultimate Memory Flags idiot's guide " welcomed.
Here's our situation :
All is plain text as you spotted. We use environment variable names in those fields,
substituted at 'launch' time with memory contents.
The idea would be to actually see at runtimethe database connection stringn something like :.
DATABASE CONNECTION
Caller : Ultimate_XZone_Tetris_Server_Cl34_part32 Partition
Object : DBSession UnexpectedUserStatsDBSO attached to instance Orcl
with connection string TetrisGURU/MyNameIsBond@Orcl)
Knowing that the code relies on those 'service object properties' :
External Manager : TetrisDBMgr
Database Name : ${TetrisDBNameString}
User Name : ${TetrisUserNameString}
User Password : ${TetrisUserPasswordString}
and the node manager running XXX_Ultimate_Application_Tetris_Server_Cl34_part32 has
the three environment variables set as public (i.e. exported to child processes).
Note : Of course we use uppercase variable names (unix :) ) and don't program tetris.
Thanks for any idea,
J-Paul
De: Dirk Haben[SMTP:[email protected]]
Date d'envoi: mercredi 22 juillet 1998 04:22
A: [email protected]
Cc: Forte-Users Soapbox
Objet: Re: [REQ] Memory flag or way to monitor DB (dis)connections
Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
[snip]
We're currently running an application with some DBSession Service Objects.
As in both code and partition workshop the parameter 'password' is hidden
(replaced with ***), we can't be really sure of what they contain.
Is there any flag or simple way to have every DB connection logged ?
[snip]
Jean-Paul
Be aware that the password is exported as PLAIN TEXT in the workspace export!
Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
Dirk
Hobart TAS, part of sunny OZ (trust me they said)
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • [REQ] Memory flag or way to monitor DB connections anddisconnections

    Hi,
    We're currently running an application with some DBSession Service Objects.
    As in both code and partition workshop the parameter 'password' is hidden
    (replaced with ***), we can't be really sure of what they contain.
    Is there any flag or simple way to have every DB connection logged ?
    thanks,
    J-paul GABRIELLI
    SEMA Software Engineer.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    We're currently running an application with some DBSession Service Objects.
    As in both code and partition workshop the parameter 'password' is hidden
    (replaced with ***), we can't be really sure of what they contain.
    Is there any flag or simple way to have every DB connection logged ?
    thanks,
    J-paul GABRIELLI
    SEMA Software Engineer.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Is there a way to monitor write ?

    I am trying to write a small program to make sure that a Java application does not write anything on a disk outside of a predefined folder.
    Is there a way to monitor write instructions as they go to memory to detect potential writes ?
    Thanks
    Cedric

    IWDClientUser wdUser = WDClientUser.getCurrentUser();
               IUser user = wdUser.getSAPUser();
              // wdComponentAPI.getMessageManager().reportSuccess("current user is : " + user.getFirstName());
               IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);//, user.getLocale());
               process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("7031AF6B877511DCBBB60016353AC84F",userContext);
               IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
               IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
               int rolenum = process.getRoleInfoCount();
               //wdComponentAPI.getMessageManager().reportSuccess("dyn user is : " + user.getFirstName());
               IGPProcessRoleInstance roleInstance=null;
               IGPStructure params = null;
              // wdComponentAPI.getMessageManager().reportSuccess("Title is "+ process.getTitle());
    //           if (process.getTitle().equals(" ProcessName"))
    //               wdComponentAPI.getMessageManager().reportSuccess("get process instance "user.getFirstName()"  "user.getLastName()rtm.getRunningInstances(0, new Date(2007,1,1), new Date(System.currentTimeMillis()), user));
    //     get params
          params = GPStructureFactory.getStructure(process.getInputParameters());

  • Any way to monitor "task agents"?

    Forte system agents only seem to go down to the resolution of
    partitions, each of which may be actually be running multiple tasks. I
    have an application with several concurrent event loop tasks, all within
    the same partition, which communicate asynchronously using Forte events.
    My problem is I have a very slow (many hours) memory leak which doesn't
    seem to be tied to any of my application objects. I suspect that one of
    these tasks may be "stuck," causing it's event queue to grow -- slowly
    -- until the partition is finally wiped out with an "out of memory"
    exception. I would love to be able to monitor the sizes of these event
    queues over time for the individual tasks, but with all posting and
    receiving happening inside a single partition, I don't believe I ever
    come in contact with the partition's distributed object or communication
    managers. The TOOL hook via the TaskHandle sounded promising, but seems
    to yield very little diagnostic information.
    Anybody know of a way to monitor intra-partition event traffic?
    Thanks!
    - Mark
    ====================================
    Mark Atchison <[email protected]>
    Sr. Systems Developer, Metatec Corp.
    7001 Metatec Blvd., Dublin OH, 43017

    Several options come to mind.
    Have your child use the iPad only with adult supervision if they cannot be trusted to use in the way you wish.
    Delete the games from the iPad and set restrictions so that apps cannot be downloaded.
    Use Guided Access to restrict them to the one app you want them to be able to use.

  • Best way to monitor the ON time of something in a minute ?!

    Greetings everybody,
    I first have to thank everybody offers help to others here.
    I have a question regarding the Best way to monitor the ON time of something in a minute.
    Say I have an On/Off switch that I want to know how many seconds that it was ON in the last minute (say) .. and reports that to a file or database each minute. So every minute I send a report to the DataBase with the number of seconds the switch was ON in the last minute.
    I already made a solution, But it's not that good I think and there is a problem there .. Please check my VI as it describes the solution more than my words here.
    Any comment is appreciated.
    Thanks in advance.
    Ayman Mohammad Metwally
    Automation Engineer
    Egypt - Cairo
    Attachments:
    On timet.vi ‏127 KB

    Hello Ayman,
    I attached a changed version of your vi. It uses two parallel loops.
    The communication is made via local variable and controled by a flag.
    Just have a look to get the idea.
    You can do the communication also on different ways like queues...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    OnTime 2.vi ‏37 KB

  • Is there a way to monitor Time Machine's current backup task?

    I started a second Time Machine backup to a NAS yesterday (in addition to my local TM Backup, which will now be taken offsite). It took a good 24hrs to finish, which was expected over WiFi. Since the initial backup, all the hourly backups have seemed normal...20-80 MB or so. Then all of a sudden this morning, I noticed the backup was taking longer than usual. I think it was indicating something around "1.09 GB of 1.09 GB", which seemed like a lot. I checked again, and the latter number had increased...something like "2.10 GB of 2.10 GB". I'm not running a VM, and there are no other obvious reasons the backup would be so big. I figured I'd let it go. I checked back again 30mins later and it was up to 69.1 GB of 69.1 GB.
    So what's going on here? TM typically knows exactly how much it needs to backup before it starts copying files. Why would the latter number continue to go up, particularly when there's no obvious reason for the extra data to backup?
    I tried opening the .inprogress pkg, but the folder size calcs weren't nearly fast enough for me to see where the backup was going. I tried the fseventer app, but it didn't seem very clear where files were being copied from; I could see where they were being placed, but since the backup is encrypted, backupd was writing to slices in the sparseimage, rather than an obvious hiearchy.
    Is there a way to monitor the files that TM is currently backing up...say in real time? Is there a debug logging mode for the backupd? Or is there a log of the files that were copied in the last backup? I'd prefer to see this in real time, so that last option would be least useful.
    I've poked through the great resources over at pondini.org, but nothing seems to really cover a backup that's in progress.
    Thanks in advance for any tips or ideas.
    p.s. I finally ended up stopping the really long backup; rebooted; restarted the backup manually, and this time it was a much more managable 500 MB. Additionally, I could see that during the final "cleaing up" stage, it removed the huge .inprogress file.

    Choose Connect to Server from the Finder's Go menu, provide the first computer's IP address, log in, and set it up in the Time Machine pane of System Preferences.
    (59008)

  • Is there a way of monitoring SCSM connector failures using SCOM

    I have an environment comprising SCSM2012 SP1, SCOM2012 SP1 and SCCM2012SP1 with Orchestrator forwarding the CI data and alerts to a 3rd party CMDB/ServiceDesk system. We have SCSM connectors for AD, SCCM and SCOM CI. There was a recent issue with SCSM UR6
    where the SCCM connector stopped working. I regressed the Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.dll back to the RTM release version and it all works again.
    I want to know if there is a way of monitoring each of the connectors in SCOM to ensure I get alerted if the status of the 3 connectors is anything other than "Finished Success" - maybe only generating an alert if the status stays in a failed status
    for more than 24 hours.
    There appears to be very little documentation on how these connectors work or what errors they write into logs. Any tricks or tips would be appreciated.

    On you management server, if you open Event Viewer, the logs are keep under Application and Services Logs Operations Manager. (Yes, the Service Manager logs are keep in the Operations Manager logs folder) In this folder you should find the event logs for
    your connectors. Just search for different sources to find the connector you want to monitor. Some of the sources include Exchange Connector, OpsMgr Connector, Data Connectors (AD connector), System Center Orchestrator, and Lfx Service (SCCM
    Connector). You could easily setup SCOM or Orchestrator to monitor these logs. 
    Matthew Dowst |
    Blog | Twitter

  • What is the best way of monitoring HD content in FCP?

    I hope to get the Mac Pro listed below, What is the best way of monitoring my HD edit from FCP?
    Can I output to a HDTV, or is a computer monitor better?
    Do I need a capture card to output the signal, or is my below system adequate? i don't need one for capturing as i have will be using a Panasonic AG-HVX200 with P2 card, Can i use this camera to output to a TV/Monitor?
    Message was edited by: calihal

    Well, given your situation, the best option is the Matrox MXO and Apple Cinema Display. I have a full review here as to why it is a good solution.
    http://library.creativecow.net/articles/ross_shane/MXO.php
    This will cost you $995 for the MXO, and $900 for the Apple display. So under $2k. The other options are more expensive. Broadcast quality HD LCDs start at $3500. And other capture cards range from $295 (decklink Intensity) to $3500 (AJA and Decklink). And HDTV will still require a capture card, like the Intensity with HDMI out, but won't be suitable for broadcast quality. It will, however, be perfectly fine for seeing what your HD footage looks like on an HD set that most people will have in their homes. So I take back my initial statement and say that if you have a tower, the Intensity and HDTV is your best option...if you aren't needing full broadcast quality. If you just need to see what it looks like.
    Shane

  • Is there a way to monitor CPU heat?

    Hello,
    I was wondering if there was a way to monitor the heat on your MacBook without having to buy an expensive program. Is that possible?

    I believe the reason that the second link doesn't work is because it probably isn't updated for 10.5.
    Question; does anyone know what the safe heat levels are or where I may find them. My MB has been hot near the exhaust lately and I'm wondering whether or not it might be causing some other problems I'm having.

  • Is there a way to monitor WF according to its business semantics?

    Hi experts,
    Tcodes swiX offer a way to monitor wf in runtime from a view of technically. But I need a way to trace the process of WF from the view of business for user. For example, is there a way to find a WF in processing by its initiator, or certain elements in workflow container, or its workitem receiptor? My client wants to monitor their process by a key user.
    I also want to know the tables which store the basic data of WF, such as its runtime status, instance,  templates, initialization date, container infomation and so on. Maybe I can find some business infomation from those tables.
    Thanks~

    Hi Yichao
    The tables which store the basic data of WorkFlow,
        SWW_OUTBOX - Lists Workflows in outbox together with status
        SWW_CONT     - Container Contents for Work Item Data Container
        SWW_CONTOB- Container Cont. for Work Item Data Container (Only Objects)
        SWWLOGHIST - History of a work item
        SWWORGTASK- Assignment of WIs to Org.Units and Tasks
        SWWUSERWI   - Current Work Items Assigned to a User
        SWWWIHEAD   - Header Table for all Work Item Types
    By
    Pari

  • Is there a way to monitor a developer's activity

    Hi,
      Is there a way to monitor a developers's activity in SAP WEB AS 6.40 system. The view/change/delete function that he might have done on various Field, programs, data dictionary objects etc..
      As a Admin this will be very helpful.
      Thanks
    Arunava

    Hi Arunava,
    I think DTR is something like CVS tool
    http://help.sap.com/saphelp_erp2004/helpdata/en/95/3dbe3be3e9d949961a6a4469b59a83/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/d5/294f39dc0997409f16f0ffdd8ec852/frameset.htm
    For detail information, you can search "DTR" as keyword on the help.sap.com.
    There is also a JDI Forum under the Web Application Server.
    Hope it's helpful
    Best regards
    Deyang

  • Is there a way to monitor a remote location using a video device?

    I was wondering if there was a way to monitor our vacation home while we are away? Do I need a computer at the remote location and does it have to be on all of the time? All I have there is a dial up connection. Here I have a cable connection. Is there any way to do this inexpensively?
    Richard

    There are some special microphones made for iPhone use that provide headphone output, such as the iRig
    <http://www.ikmultimedia.com/irigmic/features/>

  • Is there a way to monitor the data usage on existing applications?

    I just noticed that a few apps are still using my data plan long after I closed the application.
    Is there a way to monitor that?
    Also I am being told that the icloud back up can consume allot of data (in the GB)

    About the only thing you could try is looking at the internet history on the phone itself. But there is not a site on VZW that will show WHAT the data was used for,

  • HT201304 Is there a way to monitor messaging on the ipad?

    Is there a way to monitor a child's use of messaging on the iPad 2?

    Try getdefender.com. I think it will work if your child is using your home wifi, but not if they are using 4g/3G. The child will know you are using it.  You can try http://kids.getnetwise.org/tools/ for other tools.

  • MDS switch: DCNM: Is there a way to monitor the traffic on every port within a port channel using DCNM?

    I am trying to monitor the load on an 8 port ISL between 2 MDS FC switches, on DCNM. 
    Since it is a plain trunk link, I am able to monitor the stats of every ISL port individually. 
    My question is, since port channel shows up as a single interface on DCNM, is there  a way to monitor the per port utilization in that port channel?

    Thanks for the update! If anyone else has the same question, the answer is that in order to extract the bus log information in the TDMS file, you should use the DIAdem Bus Log Converter tool. It is expected (though confusing) that the file looks mostly empty in the Data Portal until you use this tool to extract the information.
    Also, this is a fantastic tutorial from a very bright engineer on how to correlate data from multiple sources, such as raw frame files, in DIAdem. Highly recommended reading. It also has some data on the bus log converter.
    Jarrod S.
    National Instruments

Maybe you are looking for

  • Mail unexpectedly quits when viewing a message

    Hi, I have 5 e-mail accounts set up - 3 gmail using pop forwarding and 2 other pop accounts. When I load Mail, it can fetch mail from all accounts without a problem. However, double clicking to view any message, from any of the accounts, will crash M

  • Document Splitting at the time of Bill of exchange

    Dear All, issue is related to Document Splitting at the time of Bill of exchange I booked  2 different Customer Sales through FI, but both invoice have different Profit centre. Entry is like Customer A/C Dr 1000   Pc 1100   To Sales A/C     1000    

  • How To Use Connection pooling with j2sdkee1.3?

    hi! How to use javax.sql.ConnectionPoolDataSource and javax.sql.PooledConnection with j2sdkee1.3.? In j2ee1.3's deployment tool, to specify the resource factories, javax.sql.ConnectionPoolDataSource is not available. Please Help me to use Connection

  • Need to stop android syncing

    Help! Previously plugged android phone into wife's Mac to get some charge on battery, Mistake obviously as it automatically synced her contacts. This was some months ago Yesterday updated android software and this has subsequently overwritten my wife

  • BW Implementation when company A acquires company B

    Experts, I have a question what are the steps required from a case when company A acquires company B and both has BW systems. This is a generic question ,but would lke to open it up for all the thoughts abd inputs one may have. Thanks