Question about logging

Hi guys! How the log() method from ExternalContext works and how can i use log4j to log messages in my application??

hi;
Please take a look to log4j usage in the folloing link.
http://logging.apache.org/log4j/docs/manual.html
I use log4j for a long time, I suggest that initialize log4j using a servlet
http://asahin.net

Similar Messages

  • Urgent - Question about logging and debugging.

    Hi,
    I have a question about the logging and debugging supported by
    Weblogic 6.0. From what I understood by reading the documentation
    it has classes e.g. NotCatalogLogger class for logging the information.
    The class has one method callded
    debug() for writing the debugging information. I want to log the
    debug messages only in some situation. Can I control this using
    some property? Because the documentation says that the debug information
    is logged only if application is running in debug mode. Now how
    do I change the mode of an application??
    Thanks and Reagrds,
    Manoj

    Hi,
    I have a question about the logging and debugging supported by
    Weblogic 6.0. From what I understood by reading the documentation
    it has classes e.g. NotCatalogLogger class for logging the information.
    The class has one method callded
    debug() for writing the debugging information. I want to log the
    debug messages only in some situation. Can I control this using
    some property? Because the documentation says that the debug information
    is logged only if application is running in debug mode. Now how
    do I change the mode of an application??
    Thanks and Reagrds,
    Manoj

  • A dumb question about logging

    Hi all,
    i ran into some problems using the pregenerated static Location "logger" instance of an arbitrary WD controller for logging.
    So far i used this logger in conjunction with a superior Category instance only, e.g. the logging (and tracing, if minimum severity is configurated at a proper level) output was related to a category like "/Application/MaterialManagement" or whatever.
    Now i tried to use the logger without a category after a long time again, but i didn't succeed to generate any output!?!
    So my question is: What do i have to do (configurate) to produce some output from this Location? I remember, that in earlier versions there has been a (file-based) WDRx.log, which kept all WD-related output of the configurated severity level. Do i have to reactivate this somehow?
    Thanks in advance.
    Regards
    Stefan

    Hmmm,
    i found it by myself. I looked into the wrong trace (dispatcher's default trace instead of server's default trace, aehem).
    For all of you who want to know where the logging output goes by default:
    If you use the
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(Your.class);
    generated by the WD generation framework for example like
      public void wdDoInit()
        final String _methodName = "wdDoInit()";
        try {
          logger.entering(_methodName);
          logger.infoT("Time to do something useful.");
        } finally {
          logger.exiting();
    the complete output of the logger will be output to the trace which is displayable in the "Log Viewer" service of the Visual Admin at "Cluster (xx)->Server xx->.\log->10:defaultTrace.trc"
    Since there's an identical entry under the "Dispatcher xx" node (should have number 32), take care not to view the wrong one
    Regards
    Stefan

  • A question about log.

    Hi all:
    In a program, i mixed up two kind of log mechinism:
    the Logger.global.info() and System.out.println().
    but what suprise me is that the sequence of the output is not the same for every run of the program.
    some time the message from Logger in front of the System.out, and sometime not.
    I wonder if the Logger run in a seperate thread different from the System.out? How to solve this problem?

    It is running in a separate thread. I would advise converting to all logging if possible. If not, declare a single variable and synch on it.
    public class MyClass {
        // other code
        private Object synchOutput = new Integer(33): // value and object type is irrelevant. ..
       public void someMethod ()
           synchronized (synchOutput) {
                // logging code.
       public void anotherMethod ()
           synchronized (synchOutput) {
                // Sysout code.
    }

  • Operation question about log

    if i set rampolicy to inuse mode,ckpt frequency to 0,log purge to true.whether the log will be auto purged when all connection disconnect from the datastore?
    Message was edited by:
    knights

    ChrisJenkins wrote:
    No logging mode (Logging=0) is a 'special use' option and has many, many limitations. For example:
    1. Replication is not available
    2. XLA and XLA/JMS is not available
    3. All locking is at the database level; even queries will acquire an exclusive database leve llock so the database essentially becomes single threaded
    4. Transactions are not available so there is no commit or rollback and any errors can leave multi row updates/deletes partially done
    5. The only persistence is now via checkpoints; but fuzzy checkpoint is not available so all checkpoints are blocking and will impede application access to the database
    {color:#3366ff}Essentially, no logging mode is only intended for bulk data load operatiosn when initially populating your datastore. {color}Hi Chris, I'm facing this case.
    During the time of loading cache group from db into data store,I wanted to close log operation when loading then open it after the operation. While I found that, after closing the log( by setting logging=0), I can't run the "load cache" command, which hints me error.
    Would you kindly pls. tell the way to disable the log temporarily? Many thanks!
    Regards,
    Michael
    It is not in general usable for any kind of operational running. TimesTen does not support purely in-memory operation. Checkpointing and logging are fundamental mechanims and are required for any real use of TimesTen.
    Chris

  • Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in. Thanks

    Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in.

    You don't. Email comes in either by push or when you invoke the email app. Ther is no password except when you first set up the account. If your iPad is not being used as your personal device and you need to shield emails from other users, then don't use the email app.  Instead, use web mail if available from your provider.

  • Question about imap log format.

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account Notice: close [203.231.11.113] ywmoon 2005/12/26 13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account Notice: close [203.231.14.251] hkchoi 2005/12/26 13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ? And is this "hour:minute:second" OR "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean ?
    Thank you in advance...

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account
    Notice: close [203.231.11.113] ywmoon 2005/12/26
    13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account
    Notice: close [203.231.14.251] hkchoi 2005/12/26
    13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?how long the connection lasted.
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?Number of messages?
    that's a guess. we don't actually document this stuff.
    >
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ?
    And is this "hour:minute:second" OR
    "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean
    Thank you in advance...

  • Questions about Indexing and Using an Indexing POA

    Although I have only about 50 users, at least 15 of them have in excess of 100,000 messages in their accounts and the POA (version 7.0.2) is regularly slowing to a crawl. (I just know that plans for revolution are fomenting!) I have embarked on a campaign to reduce these accounts by archiving everything off to get mail accounts down to 3000 or fewer pieces. I have achieved user buy-in, but have worked on only a few users so far.
    In another closely related thread, it was suggested to me that the PO speed issues relate to broken indexes. And I suspect that given so many messages, the indexes were never getting fully rebuilt with the default QF POA settings. I am trying to fix that situation in addition to reducing mail account sizes. So, I have set up a second POA on another server and dedicated it to the indexing task. The /qfinterval is set for 1 hour, other /qf switches at default. The POA-QF does no mail delivery, but it does do nightly user upkeep.
    The POA-QF seems to be steadily working away and making progress at reducing the number of unindexed messages. However, I have questions about what I am seeing and what more I can do:
    1. Is the progress I am seeing real progress? For example I have a user with over 100,000 messages to be indexed and every time I check the logs, the count drops by about 500 messages per hourly QF cycle. I assume that if I just let it keep running, it will eventually get caught up and fixed. Not only with this user, but with all the others as well. Will my patience (and theirs) be rewarded? Are there any gotchas I need to prepare for?
    2. One user has recently had virtually all of her messages successfully moved to archive. I can see them in the Archive, and do not see them in the online account. However, now over a week later, QF still shows >130,000 items still left to index for that user. The POA-QF is making slow, steady progress reducing that number, but why is this user's QF count still so high? Does it just need more time, or is there something amiss for this user?
    3. I may want to rebuild indexes for single users from scratch. I have seen the TID 3105742 which tells how to do this: Essentially you turn off mail delivery functions, and make some other switch changes to dedicate the POA to indexing for just a single user, and then you let the POA rebuild the indexes. The implication of that scenario is that the POA is now enjoying exclusive access to the user's databases.
    If I want to use my secondary POA-QF to rebuild a user's index from scratch, does the main POA have to be offline and the user out of GWise? That is, Does the QF process require exclusive access in order to rebuild indexes from scratch?
    Thanks for any thoughts or suggestions.
    Peter Smick

    pgsmick wrote:
    > 1. Is the progress I am seeing real progress? For example I have a user with
    > over 100,000 messages to be indexed and every time I check the logs, the count
    > drops by about 500 messages per hourly QF cycle. I assume that if I just let
    > it keep running, it will eventually get caught up and fixed. Not only with
    > this user, but with all the others as well. Will my patience (and theirs) be
    > rewarded? Are there any gotchas I need to prepare for?
    Set this switch for this indexing POA - /qflevel=999 - this will index
    everything in one run. It will take a long time, but with no qflevel switch you
    are indeed only indexing 500 messages at a time, and if the user has that much
    mail, it might never really catch up.
    >
    > 2. One user has recently had virtually all of her messages successfully moved
    > to archive. I can see them in the Archive, and do not see them in the online
    > account. However, now over a week later, QF still shows >130,000 items still
    > left to index for that user. The POA-QF is making slow, steady progress
    > reducing that number, but why is this user's QF count still so high? Does it
    > just need more time, or is there something amiss for this user?
    >
    This is odd, because really the index count should drop to nothing, but with the
    above switch this might get resolved as well.
    > 3. I may want to rebuild indexes for single users from scratch. I have seen
    > the TID 3105742 which tells how to do this: Essentially you turn off mail
    > delivery functions, and make some other switch changes to dedicate the POA to
    > indexing for just a single user, and then you let the POA rebuild the indexes.
    > The implication of that scenario is that the POA is now enjoying exclusive
    > access to the user's databases.
    Not really - the POA is not enjoying exclusive access to the user's database,
    the indexer is just avoiding an attempt to index anything else.
    > If I want to use my secondary POA-QF to rebuild a user's index from scratch,
    > does the main POA have to be offline and the user out of GWise? That is, Does
    > the QF process require exclusive access in order to rebuild indexes from
    > scratch?
    No - QF never requires exclusive access. That said, you may find that an
    extremely vigorous QF can cause slowdowns for the user.
    Danita
    Novell Knowledge Partner
    Moving GroupWise to Linux?
    http://www.caledonia.net/gwmove.html

  • Legality questions about Home Sharing

    I have some legality questions about Apple's Home Sharing technology.
    As I understand it, you can share (that is, copy it from one computer to another) your music, movies, applications and other iTunes-managed files amongst five computers. The only 'trick' is that each computer must have an iTunes Store account and must be logged in in order for it to work.
    My question concerns the copying aspect and the legality of it. For content that was purchased through the iTunes Store I can see how Home Sharing can provide a limitation on content sharing, since all of the machines would need to be connected to Apple's servers in order for the validation process to happen. But what about content that was added to iTunes through other means, e.g., ripping my own CDs or converting my DVDs? These items can still be copied via Home Sharing and as there's no DRM on them there's no way they can be protected against "illegal" or "unauthorized" use.
    It was my understanding that if I gave a copy of a song to someone else, that's illegal. Apple's Home Sharing technology seems to facilitate this action. If I rip a CD or DVD into iTunes and someone copies it out, isn't that making an illegal copy? Can I be held liable for distribution of content?
    And how far does this extend? If I live in a house with four unrelated people, are they legally (?) allowed to copy music and media amongst each another? Is there a perceived or actual difference between using Home Sharing to copy a movie versus, say, using a USB flash drive? And what if one of them moves out? Am I legally obligated to go through that person's hard drive and remove content that they copied from me before they leave the building?
    Does Home Sharing somehow retroactively change the copyright application on a given CD or DVD? Most of my CDs and DVDs contain notices and warnings against distributing copies. Can these warnings now be ignored, or at least amended with "...unless you're using iTunes Home Sharing" at the ends of them?
    I am not trying to stir up a hornet's nest here. I'm only trying to better understand the legal issues surrounding Home Sharing and particularly how they relate to unprotected content. It seems very contradictory that the RIAA and MPAA would be fighting so hard against peer-to-peer services like BitTorrent and Gnutella while apparently allowing peer-to-peer services through iTunes Home Sharing.
    Furthermore, I also understand that the intention of this system was to allow families who are living together to have common access to all of the "household" music, but my issues aren't about this. I envision, for example, a college dorm building where there's several hundred people living together on the same network subnet, and all of them have Home Sharing enabled and everyone is copying thousands and thousands of songs to/from one another. Is this now legal?
    Any insights would be appreciated. Thanks.

    If I rip a CD or DVD into iTunes and someone copies it out, isn't that making an illegal copy?
    RIPping of commercial, encrypted DVDs (most of them) is illegal to begin with. Or rather, breaking the encryption on a DVD is illegal and in order to RIP the DVD, you must break the encryption. SO you have already "broken the law" by having a copy on your computer.
    Most of my CDs and DVDs contain notices and warnings against distributing copies.
    Most of your DVDs have a notice about even simply making a copy, not only distributing copies.
    Much of your post has been cussed and discussed by many, many people (lawyers, corporations, organizations, individuals, etc.) and no one has come (or likely ever will come) to a complete agreement.
    Generally, "sharing" in the same house hold amongst family members seems to be okay. Outside the same household/family is almost always not okay.
    I envision, for example, a college dorm building where there's several hundred people living together on the same network subnet, and all of them have Home Sharing enabled and everyone is copying thousands and thousands of songs to/from one another. Is this now legal?
    No.
    This is exactly what Napster was and why they were sued & shut down.
    I imagine Apple lawyers have done their homework as well as consulted with the labels to discuss these exact issues.
    And it's called "Home Sharing" to indicate that it is not "Dorm Sharing" or "Workplace Sharing", or even simply "Library Sharing"etc. even though it may be possible to use it in other places than the Home.
    Users on other computers need to know your iTunes ID and password to enable it Home Sharing. Likely this is how Apple got the lables to be okay with it.
    Are you gonna give (and get) dozens/hundreds/thousands/any other users your iTunesID & password?
    You can contact Apple Legal here -> http://www.apple.com/legal

  • Question about using multiple iPods on the same PC

    I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC.
    I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father already has an iTunes account on there for his iPod. I know I can create a new user account on the PC and move iTunes to a shared folder so that we can share music, but will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases and then move new songs into my separate iTunes account via the shared folder? Will it be its own separate iTunes account (separate user name, separate credit card used, etc.) or will it just be a second library that's dependant on the first?
    I want to be able to have my own iTunes account, make my own purchases in it, and maybe occasionally share tv shows or something with my father.
    If this can't be done, would I be better off just creating new playlists for our two iPods from the same library, or creating a second library on my Father's account?
    Also, if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    I hope that made sense.
    Sorry if these seem like silly questions. This will be my first iPod as I'm really excited about the 160gig and want to know if these things are possible.
    Thanks in advance for any help

    Hi, Wes.
    Congratulations on your new iPod Classic and Welcome to the Apple Discussions.
    For no particular reason, let's answer your last question first ...
    ... if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    The iTunes Store operates on a one download per purchase policy so you will have to copy the purchases from one computer to the other and make sure that you authorize the laptop to play the songs.
    As to your first question ...
    ... will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases ...
    Whatever XP User Account you are logged in to doesn't really matter. What's important is which Apple Account you sign in to ... yours or your Dad's or - if you had my Apple ID and password - The Mimico Kid's for that matter. You can sign in to any Apple Account on any XP User Account. Or any computer for that matter.
    Where the XP User Account comes into play is that it will determine where on your computer the purchases are downloaded. Files will be sent to the iTunes Music folder as specified in the iTunes Edit menu > Preferences > Advanced tab > General sub-tab. Default settings will have a different location for each User Account - C:\Documents and Settings\ user name \My Documents\My Music\iTunes - but if you've read this article in the Apple Knowledge Base, you will know you can change the location of the iTunes Music folder in each XP Account to a common location such as C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    Post back if all this hasn't been as clear as mud and you need anything clarified.

  • A quick question about WebDynpro SLD and R/3 with concurrent users

    Hello ,
    I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3  for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
    - I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
    Thanks Ubergeeks,
    Guy

    Hi Guy
    You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because  a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
    For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
    Regards
    Pran

  • Questions about Mapping GL Accounts to Group Accounts

    Hi,
    I have some questions about mapping gl accounts to group accounts while configuring OBIEE APPS 7.9.6.3 with EBS R12 as a source:
    FIRST QUESTION.-
    For file file_group_acct_codes_ora.csv, I have the following accounts from my customer:
    101101 - Caja Administrativa
    101102 - Fondo Revolvente
    101103 - Caja de Cambios
    101104 - Efectivo en cajero
    This group of accounts is named CASH, now my customer said that this group begins in 101101 and ends in 101199 but in this moment only have this 4 accounts in GL, the rest of the accounts, I mean 101105-101199 are not used right now, they are gonna used in the future.
    So, my question is, in file_group_acct_codes_ora.csv how I need to put this group:
    In this way:
    CHART OF ACCOUNTS ID,FROM ACCT,TO ACCT,GROUP_ACCT_NUM
    50308,101101,101104,CASH
    Or in this way:
    CHART OF ACCOUNTS ID,FROM ACCT,TO ACCT,GROUP_ACCT_NUM
    50308,101101,101199,CASH
    I mean, is there any problem if I use the second way, or is necessary to do it in the first way, and why?
    SECOND QUESTION.-
    For file file_group_acct_names.csv, when I update with a new group of accounts, is there any rule or size boundary for GROUP_ACCOUNT_NAME?
    THIRD QUESTION.-
    For file_group_acct_names.csv, what is the value in column LANGUAGE? I mean, is EBS language?, DB language?, server language?
    I hope that someone can help me, because I need to clarify this and don't do the first full load and this load ends with error because of this.
    Regards,
    Arnulfo

    I'll take some broad swipes at this and let the smarter people come fill in the details.
    We have a true 1:1 setup in our office and have moved to PHDs as a means of protecting against downtime. The thinking is that we will have a spare machine lying around with our base installation ready to go. If a user's machine fails we'll replace it with the spare machine, let it sync the user directory from the server, and we're back in business. It's no substitute for a real backup system, but it potentially avoids having to run a restore from your backups. It also reduces network traffic compared to plain networked homes, and still lets your users work if the server goes down, but provides the benefits of centralized management. John DeTroye wrote a nice article about this.
    If you've already got data on your "client" Mac you will need to move it onto the server. PHDs will download data from the server to the client on the first sync, but will not upload a complete home directory from the client to an empty directory on the server. You'll find some posts in this forum discussing how people have gone about migrating data prior to that first sync.
    WGM allows you to establish exclusions for stuff you don't want to sync.
    One thing to watch out for in the scenario you describe is the so-called "rabbit effect." Assume Bob uses Mac1 as his primary machine. If one day he logs into Mac2 his home directory will be downloaded to Mac2. Once he returns to Mac1 he'll still be cluttering up Mac2 with his data. If he logs into Mac3 the next day and Tom and Sue are also periodically logging into different machines, you can see how you'll end up with a mess pretty quickly.
    Hope this helps.

  • Basic questions about Ironport

    Dear responder,
    I have some questions about the S series Web Security Ironport, It would be appreciated to respond it one by one.
    1-Is ironport can work independently if i buy it alone and put it on the edge of my network and connect the internet to the one of that ports and connect my local lan switch to the other port?
    2-If i can use it independanly can i use it in the Transparent proxy mode not the explicit one and make it sensitive to the Http traffic to bring the Authentication page for new users who want to connect to the Internet?
    3-Is there any authentication page in ironport or i have connect to the ironport to use Internet like VPN connection by an agent?
    4-Assume that if a user is currently log-in and the user wants to log-out, it there any way to Logout from the Ironport with a specific page for loging-out?
    5-Is there any local database is available into the Ironport to create users?
    6-Is there any option to define radius or Ldap server address as User database to read when needed for authentication propose?
    thank you so much.
    Abraham

    Good Afternoon Abraham,
    In my answers I'll assume you'll get AsyncOS 7.5 for Web for your WSA.
    1.  This is "in-line" mode, and while the documentation doesn't specifically say you can't do this, it doesn't say you can either.  The support on this is fuzzy.   There are 2 supported ways to deploy a WSA: Transparent redirection (using WCCP or policy-based routing), or explicit mode, using settings in the browser, or PAC files.
    2. If I understand your question, the answer is yes.  With transparent redirection, you can force all http traffic to the WSA, and require users to authenticate.  You can force the users to enter a username and password, or it can happen automatically (see answer 3)
    3. There are a few ways to handle authentication for your users: 
         They can authenticate to the the ironport, which can do a lookup against your LDAP or Active Directory.
         It can transparently authenticated them if you're using Active Directory and a browser that supports it (IE, Firefox, Chrome)
         You can use the ADAgent (runs on a seperate box) which scrapes the security logs from the AD domain controllers and passed authenticated users and their IP to the the Ironport.
    4. I'm not aware of a "logout" page.
    5. There is a "local database" for administrative users, and you can use RADIUS for administrative users, but not for your regular users. (see answer 6)
    6. Yes. You can use LDAP, Novell eDirectory, or Microsoft Active Directory for your users.
    I hope that helps!
    Ken

  • Question about inserting Sysdate (SQL)

    Hi all,
    I got a question about records insert when one of the fields is sysdate.
    I have to store several records representing a log, generated by the execution of a database package.
    Inside my package I wrote an internal procedure devoted to insert a record in my log table for each processing step I wanted to trace (I call this proc each time I want to record a certain step of my package).
    My log table structure is: PREC_LOGS(log_date DATE, log_message VARCHAR2(1000)), no constraints at all.
    Database ver. 8.1.7.1.0 - Production for VMS O.S.
    The 'problem' occurs when several records have the same sysdate (DD-MM-YYYY HH24:MI:SS). In this case, if I select log_date,log_message ... order by log_date, the list of records I get respects the sort condition, but when several records have the same sysdate (DD-MM-YYYY HH24:MI:SS), it doesn't respect the order of the steps theoretically inserted by the internal proc.
    Resault
    25-07-2002 11:10:20 ........ (date changed)
    25-07-2002 11:10:22 Loading data for order nr. 82364 (step 3)
    25-07-2002 11:10:22 Verifying order nr. 82364 (step 2)
    25-07-2002 11:10:22 Procedure started for order nr. 82364 (step 1)
    25-07-2002 11:10:22 Updating conditions for order nr. 82364 (step 4)
    25-07-2002 11:10:22 Procedure accomplished for order nr. 82364 (step 6)
    25-07-2002 11:10:22 Commit changes for order nr. 82364 (step 5)
    25-07-2002 11:10:24 ........ (date changed)
    Please ask for more detail if someone is interested in replying...I realize it's not a very clear explanation of my issue.
    Thanks, Marco

    Hi
    Add a field to the table that is that uses a sequence
    PREC_LOGS(log_id NUMBER(30),log_date DATE, log_message VARCHAR2(1000))
    Create a database sequence
    The insert statement now becomes something like
    INSERT INTO PREC_LOCS(log_id, log_date, log_message)
    VALUES (sequence_name.NEXTVAL, SYSDATE, 'Some message');
    Then order by the log_id when you do your select.
    Daniel

  • A question about restoring from cold backup(control file backup not clear)

    Hi,
    I had another question about restoring the cold backup. My database is in noarchivelog mode and after taking a consistent cold backup, all I need to do is to restore the backup right? -Why I got this question is because: when I backup my control file to trace, I see statements like this:-----
    -- Commands to re-create incarnation table
    -- Below log names MUST be changed to existing filenames on
    -- disk. Any one log file from each branch can be used to
    -- re-create incarnation records.
    -- ALTER DATABASE REGISTER LOGFILE '/uo1/app1/arch1_1_647102958.dbf';
    -- Recovery is required if any of the datafiles are restored backups,
    -- or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    -- Database can now be opened normally.
    ALTER DATABASE OPEN;
    My database is in noarchivelog mode now so don't know why these statements (of register the logfile) is there in the backup of control file? so when I restore the cold backup of this database, it will still work correct? (there is no logfile I have only CRD files in cold backup -no archive log files.)
    thanks
    Nirav

    Thanks for your inputs! It is most useful to me.
    Regards
    Nirav

Maybe you are looking for

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP I pass params and load the report using this code Private Sub DisplayThreadReportSeq() Dim oView As New frmViewReport Dim strReportPath As St

  • Are there any known good home phone systems for the Home Phone Connect

    I've had the Home Phone Connect now for several months.  I have had a Panasonic KX-TG7641 for a good while now.  I bought this system to connect a cell phone through the Bluetooth to make a receive calls at home.  This cell phone stayed docked in the

  • Different PO series

    system is generating PO/Delivery schedule series  for one Product.( say for two wheeler ) we have to generate a new PO/Delivery schedule series for another product.(Say   Four wheeler) What are the steps  to add new PO series and where to assign ? Th

  • Standard report for export sales & import purchases

    Hi all, In SAP any standard reports for the following: 1. Export sales 2. Import purchases regards, lakshminarayana

  • Client1 to RMIServer to Client2

    I have actually have 2 applications. (GUI)application1 is the sent request to the Rmi server. the server will update the database and then update the application2.(GUI) Can I have the brief concept on this kind of implementation? thanx a lot