Showing posts with label Simple lessons. Show all posts
Showing posts with label Simple lessons. Show all posts

Wednesday, August 5, 2015

ORA-06508 or FRM:40735 errors when opening EBS forms

Tonight, we have a general lesson in upgrades either with the EBS application or the Oracle database as My Oracle Support note "R12: Finally Close or Cancel FRM:40735: WHEN-BUTTON-PRESSED Trigger Raised Unhandled Exception ORA-06508" from document ID 2021590.1 shows us the simple reason why this happens as well as teaches us how to use adadmin also which you may not see if you are strictly Operations or Support.

Monday, July 20, 2015

EM: Ops Center shuts down every day around the same time

Sometimes we get abstract lessons which we can apply, and the MOS article "The Enterprise Manager Ops Center Node is Shutting Down automatically approximatively at the same time of the day" from note ID 2026395.1 has that kind of lesson for us where our automation might get away from us if we let it!

Friday, August 15, 2014

Weekend Learning: ALL_ARGUMENTS table

Of course having joined Steven Feuerstein's webinar about creating readable PL/SQL code I knew that I was going to be learning something, but I did not think it would be something that was probably very simple and well known to many people yet I have never had to use it before!  Have you ever had to query the ALL_ARGUMENTS table before?  From the name, I bet you can guess what the contents are but have you used it before?  This was my introduction to it!  Maybe I could have learned about it when I posted a link to the Oracle Data Dictionary, but again this was a first for me so I'm excited to see how to use it in the future.

Thursday, July 24, 2014

A lesson on resetting EBS passwords

If you have ever reset a password in the E-Business Suite for an FND_USER record, you know the typical password parameters required to get it to be accepted by the application.  Yet what happens when you forget those rules, and try to reset the password using a script?  Let me tell you, the results are not good!

Remember my post a few days ago about not jumping to conclusions?  I wish I could tell you that I did not jump to a conclusion during our DR testing when I had just reset a password for a FND_USER record, and had a problem when logging into the account, but honestly I jumped right to the conclusion that the DR project must be part of the problem here.  When I was logging in with the account, I would get the login prompt but when I should have been presented with the EBS application Navigation landing page all I received was an error message indicating that the page could not be reached.  Of course I had logged into the DR environment with my credentials an hour or two ago, so of course something in DR had changed which is preventing me from logging in with the other account right?  WRONG.

What was the problem?  I reset the password for the account using a PL/SQL script that I really have not used a lot in the past, so I did not realize the same rules applied here when creating a password!  What I did was to create a password with consecutive duplicate characters (for instance, the zz in pizza are consecutive duplicate characters so that word cannot be used in a EBS password), and since there was no application validation as I was using the script, it apparently saved but the EBS application did NOT like it one bit.  After I had asked my co-workers about this problem, it was suggested I make the password contain no consecutive duplicate characters in a row, and after doing this with the script I was now able to log into the EBS application with the other account!

Thursday, July 17, 2014

General project lesson: Testing

Following up on the technical post from yesterday I wanted to focus on another general project lesson, this time surrounding the testing phase of the project.  Obviously, testing suites are critical for the QA team to replicate what the users do but just as important as what they are doing is how they are doing it!  What do I mean here?

When we were researching the problem from yesterday key questions asked were: what is the user impact, and how do we replicate this?  At the time, we were not able to identify any user impact so it was really impossible for us to replicate this on command.  Until a week later.  Why is that?  The delay allowed users to encounter the problem timing out forms in the EBS application, because the key to this was letting the sessions time out.  What did we miss in testing?

We knew the steps involved in testing what the users needed to do, but we failed to record how they did it during the day by letting the EBS application sessions rest while they did other tasks.  Sure it was correct to go through the steps one by one in order, without pausing, but the lack of timing information caused us to miss this scenario and the problem that could have been found in testing.

Tuesday, July 15, 2014

Sherlock Holmes, project implementations and leaps of logic

In what possible way can I tie Sherlock Holmes and projects together in talking about leaps of logic?  If you are familiar with the famous detective you may associate him with deductive reasoning, which has us building on top of things we believe are true to reach a conclusion but just as often he would practice abductive reasoning that starts with an observation, to our conclusion, and then we try to explain it.  Why talk about this?  Simply put, when you have a implementation project it is easy to use either path of reason to believe that the object of your project is the cause of the problem you encounter but it is entirely possible for that not to be the case.

I will go into the technical details tomorrow about a situation we just had, but in a broad sense think about this scenario:

You install new servers, install a new version of Oracle DB, synchronize all your data, and turn it on but there is a problem.

What is the cause of your problem?  Did you say the new servers?  Did you say it was the new version of the database?  Was your guess that we had a data issue?  Would you be surprised if I told you that it was really none of the above?

It is easy to jump to conclusions when we are in the moment of a project, but we need to keep our scientific focus and prove out hypothesises with facts.

Thursday, February 28, 2013

How to query multiple values in a form

I started supporting an Oracle EBS application with virtually no experience with an Oracle application prior to that, so from time to time I'll find something which may be very simple but incredibly useful if you didn't know it.  This post follows that vein.  A little while ago I learned that in Oracle 11i Forms instead of using % wildcards to substitute for values in your searches, you can also find a list of values by placing #IN within the field, followed by (value1,value2) which will look familiar if you have practice writing a SQL statement putting it together like:

#IN(value1, value2, value3)

Then you can run your query via the menu or Ctrl-F11, and you'll actually find records which contain values 1 through 3 which is pretty cool but also really handy if you have several flags which need to be searched for in an application form so that you can add some complexity to what used to be simple queries in the forms with just %s.