[svn] 3438: Forgot to change a private variable to protected in my previous check-in.

Revision: 3438
Author: [email protected]
Date: 2008-10-01 08:27:31 -0700 (Wed, 01 Oct 2008)
Log Message:
Forgot to change a private variable to protected in my previous check-in.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/ThrottleManager.java

Hi Ignacio ,
To change the username you should follow these steps ;
1-You should have to use nQUDMULGen command to export your rpd into a file.Go to ...OracleBI\server\Bin
ex. nQUDMULGen -u Administrator -p Administrator -r C:\OracleBI\server\repository\paint.rpd -o c:\paint.txt
2-After importing try to find your user and change its settings.
3-Then import it back to your rpd.
ex. nQUDMLExec -u Administrator -p Administrator -i c:\paint.txt -b C:\OracleBI\server\repository\paint.rpd -o C:\OracleBI\server\repository\paint2.rpd
The new rpd is going to be created (paint2).Test the new rpd.If its OK.Then replace with your original rpd.
I hope this method works...

Similar Messages

  • [svn:bz-trunk] 21286: Also need to change 2 more private members to protected in order to make the first call after login

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

  • Private variable issues

    Hello,
    While studying I have come up with this problem a few times and was wondering if you could help me.
    I am currently working with linked list examples and the variables used have default package access. I am however told that the variables should normally be declared private.
    So I made a kinda dummy class which shows my problem.
    public class Private
         private Private unreachable;
         private String greating="hello";
         public Private()
              unreachable = null;
              greating="";
         public String getGreating()
              return greating;
         public Private getReach()
              return unreachable;
    public class PrivateWork
         private String differentGreating;
         private Private reachMe;
         public PrivateWork()
              differentGreating="";
              reachMe=null;
         public void changeGreating(String change)
              Private p = new Private();
              p.greating = change;     //produces "greating has private access in the class Private" error
              p.getGreating() = change; //produces "unexpected type" error
              reachMe = p;
    public class TestPrivate
         public static void main(String[]args)
              PrivateWork p = new PrivateWork();
              p.changeGreating("Good Morning");
    }I know that by making the Private class an inner class of PrivateWork I can keep the variables declared private and the "p.greating = change;" will work.
    However is there another way I can access the "greating" variable from the changeGreating(String change) method in the PrivateWork class.

    I am currently working with linked list examples and the variables
    used have default package access.What variables are you referring to?
    p.greating = change;     //produces "greating has private access in the class Private" error That one should be pretty obvious because it is the definition of private: you can't use objects of the class to access private variables.
    By the way, "greating" is spelled greeting.
    p.getGreating() = change; //produces "unexpected type" errorI'm not sure about that one. But, you can split that statement up into two lines and you won't get a compile error:
    String gr = p.getGreating();
    gr = change;However, I don't think that is going to do what you expect. Try to predict the output of this example:
    class Private
         private String greeting="hello";
         public String getGreeting()
              return greeting;
    public class AATest1
         public static void main(String[]args)
              Private p = new Private();
              String gr = p.getGreeting();
              gr = "Goodbye";
              System.out.println(p.getGreeting()); //Output??
    }

  • Multithread & private variables ?

    Hi,
    I would like to know if we can have private variables when we have multiple threads from the same class : in fact even if i declare a variable private when it is changed it is for all threads together, and for the future thread too : how can this be done please ???

    Hi !
    I'm sorry but really it doesn't work : i'm calling this servlet many times using get and st is everywhere set to carine...then I'm calling the post method that set up st to canard in all threads...but if i call a get again then st is set to carine again and everywhere : that means it is not private variables for each threads, I'm sorry but really I would like to know to do that properly....what's wrong ????
    Thank you for your help
    package servlettest;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class carine
        extends HttpServlet {
      private static class ThreadState {
        public String owner;
      private static ThreadLocal state = new ThreadLocal() {
        protected Object initialValue() {
          return new ThreadState();
      ThreadState st;
      public void init() throws ServletException {
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws
          ServletException, IOException {
        st = (ThreadState) state.get();
        st.owner = "carine";
        synchronized (this) {
          while (true) {
            System.out.println("st contains : " +  st.owner);
            try {
              this.wait(2000);
            catch (InterruptedException ex) {
      public void doPost(HttpServletRequest request, HttpServletResponse response) throws
          ServletException, IOException {
        System.out.println(st.owner);
        st.owner = "canard";
    }

  • Why private variables, while still can be accessed by accessor methods

    Agreed it is well defined way of encapsualtion. But i wonder how it works differently. can any one explain . We declare a varibale as private which can be accessed by accessor (set/get) methods which are usually public. so why dont we say vairbkles itself as Private ??
    Pls explain

    Not only that, but imagine the case where you have an api method, getTotal(). Your first iteratation you have something like:
    double gross;
    double net;
    double commission;
    so to get the total you may want gross - commission = net. Thus your method may look like:
    public double getTotal()
    return gross - commission;
    But later on, iteration 2 or so, you find out you need to account for taxes, so now you don't want to break the code, the result should be the same, the NET total. However, you now need to account for taxes:
    public double getTotal()
    return (gross - commission) + tax;
    Without breaking any code and all while maintaining the actual API definition, you have made a public accessor method provide more functionality. All code using the getTotal() method wont break nor has to be recompiled and even better it now takes into account tax.
    Now, there is one "sticky" issue in the above. Because the getTotal() makes direct use of "private" variables, you may not get the "right" tax. In other words, what if there is state and local tax that need to be added? You may have two variables:
    double localTax,stateTax;
    The problem is, do you want your method like this:
    public double getTotal()
    return (gross - commission) + localTax + stateTax;
    Or would it look (and possibly account for future updates) better like so:
    return (gross - commission) + getTax();
    The thing is, what if later on you have additional tax to handle? Sure, you can simply add it to the end, adding it, what ever. But by making a "helper" method of getTax(), you might have on iteration 2:
    private double getTax()
    return localTax + stateTax;
    and in iteration three, you may have:
    private double getTax()
    return localTax + stateTax + salesTax;
    Now, unless you are calling code in an intensive performance needy loop, making a couple of helper method calls won't hurt performance at all, and it will greatly enhance your code quality because you can easily change the implementation of the method(s) used, without affecting the API.

  • Private variables make it hard to extend TLF classes

    I am making a class that extends EditManager and I wanted to access pendingInsert but it is a private var, so I can not.  Is there a way around this?  Are private vars much better for memory, why not use protected? 

    It would be useful if we could get a public getter for the private _numCharsAdded variable in the PasteOperation class.  It is difficult to derive that value by other means and it seems that a public getter there would not have any implications.
    The _tScrapUnderSelection private variable in PasteOperation would be another candidate.  When doing post-processing of the paste operation via FLOW_OPERATION_END, it would be useful to be able to determine any elements that were modified or removed as a result of the paste.  Currently we have to handle FLOW_OPERATION_BEGIN and create our own text scrap for the selection and keep that around for our post-paste processing.  Would be nice if we didn't have to create that second text scrap.
    In general, where there is information held privately inside of operations that could be useful for those of us who pre/post process operations, it would be good to expose information that we can use to understand the changes the operations are making.  Use of tlf_internal would be acceptable for us also.  A few more examples are _origID in ApplyElementIDOperation and _origStyleName in ApplyElementStyleNameOperation.
    Thanks,
    Brent

  • Private Variables

    What is the use in declaring a variable as private . Because if the user has to modify the variable we have to provide the user with get and set methods .
    He will declare an Object of that class and calls set /get methods. Instead we could have declared that variable as public and allow him to change directly?Is it something to do with "DataHiding" . If so how?

    What is the use in declaring a variable as private .
    Because if the user has to modify the variable we
    have to provide the user with get and set methods .Users don't modify variables. Code does. Often times good design dictates that no code outside the declaring class should be able to directly access a variable. So we make it private. Google for encapsulation or data hiding.
    He will declare an Object of that class and calls set
    /get methods. Instead we could have declared that
    variable as public and allow him to change
    directly?Is it something to do with "DataHiding" . If
    so how?Googlel for "why get and set are evil" or something like that. The author claims that get and set methods are no better than simply making the variables public. His comments are a bit extreme, but there's some truth to what he says.
    If you just blindly add get/set for every variable, then, yes, there's no point in making them private. However, you can do things with public methods on private variables that you can't do with public variables--change the underlying implementation, do validation of set values, compute values on the fly for get values. Get/set don't always have to simply be this.x = x or return x.

  • Accessing a private variable from a public method of the same class

    can anyone please tell me how to access a private variable, declared in a private method from a public method of the same class?
    here is the code, i'm trying to get the variable int[][][] grids.
    public static int[][] generateS(boolean[][] constraints)
      private static int[][][] sudokuGrids()
        int[][][] grids; // array of arrays!
        grids = new int[][][]
        {

    Are you sure that you want to have everything static here? You're possibly throwing away all the object-oriented goodness that java has to offer.
    Anyway, it seems to me that you can't get to that variable because it is buried within a method -- think scoping rules. I think that if you want to get at that variable your program design may be under the weather and may benefit from a significant refactoring in an OOP-manner.
    If you need more specific help, then ask away, but give us more information please about what you are trying to accomplish here and how you want to do this. Good luck.
    Pete
    Edited by: petes1234 on Nov 16, 2007 7:51 PM

  • Recently I changed my apple id but forgot to change my icloud account. I also have Find My IPhone activated. I tried to delete my ICloud account but first I need to switch off my Find My iPhone, to complicate this I can no longer access prev email account

    Recently I changed my apple id but forgot to change my iCloud account.
    I also have Find My Iphone activated. My old apple id was an old work email address no longer in use nor can be accessed.
    I need to be able to turn off Find My Iphone in order to then delete my iCloud account, I need to include my apple id password to turn off Find my Iphone.
    Is there a way around this?
    Thanks in advance.

    helpmeIphone5s wrote:I also have Find My Iphone activated. My old apple id was an old work email address no longer in use nor can be accessed.Thanks in advance.
    Please go to website address: www.idapple.com Go to the blue tab that reads Manage apple id. From there you will have the option to change personal information of your apple id. The fact that the email address you used to create the apple id is no longer accessible as far as an email address goes will not disable you from changing information as part of the apple id account. However to disable the find my device you will need to be able to access this apple id login. Once you are able to access the old apple id account this then will allow you to access the icloud services by going to www.icloud.com from there you will login with your old apple id once logged into icloud.com and you have chosen the correct device you then can erase all contents of the device which then will disable the find my device.
    This is one way of doing it. The other way of course would be for you to login to your icloud on your phone using the old Apple id and from there provided you are able to login with password you then can simply disable the find my device inside the icloud account.
    Good luck Friend.

  • Action on Change of a variable possible? Fe. in combination of checkbox widget.

    Hello,
    I'm using the checkbox wizard with 35 items from wich the user has to select max. 7 items. The checkbox wizard is a great tool that keeps the choices in user variables.
    Is it possible that  for every (de)selection a choice a counter keeps track of the number of choices and perfoms an action when the status of 7 is reached? Or is there an alternative?
    Lucas

    I have been blogging about the checkboxes widgets, you don't tell the version you are using? Because it has been replaced totally by the Checkboxes Learning interaction in CP8 and its latest version allows also to control what is displayed by changing the associated variables.
    However it remains a static widget, which means that it cannot trigger an action, because it doesn't have events: Events and (advanced) Actions - Captivate blog
    Even if it was an interactive widget, it wouldn't have helped. You will need an interactive object like a button to trigger an advanced (or shared action) that will count the number of variables that have a value different from 'null' Where is Null? - Captivate blog. 
    It will never be possible to trigger an action when the counter reaches 7, because the action will only be executed when the interactive object is clicked.
    Alternative: at this moment I only see to create the radio buttons yourself (use shape buttons) and each button can trigger an advanced/shared (use shared if you are on CP8!) action that will increment a counter and store the choice in a user variable, then (second decision in a conditional action) checks if the counter has reached the value of 7 to give a warning that the allowed number of choices has been reached and eventually disables all the shape buttons. I mention a shared action, because you'll need 32 instances of that action.

  • I forgot I changed my passcode and am locked out. How can I get into it if I don't have access to iTunes on a computer

    I forgot I changed my passcode and my iPad is now locked. I have no access to iTunes how can I unlock it?

    Use a friend's computer.
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • BEx: How to change a Query Variable that is not visible in Filters List?

    Hello Experts,
    Good day, I'm currently editing an old query, I am changing the Query Variables with new ones, but I found one variable that I cannot replace.
    Please see the screenshot below, in the Query Properties Window [Variable Sequence Tab (right side of picture)] the Variable that I am trying to replace (Unit) is visible. But when I look for the variable in the "Filter Tab" (left side of picture) under Characteristic Restrictions, it doesn't exist in the list.
    How can I find this Variable and replace it with a new one?
    Other reports are still using this variable so it will impact the other reports if I simply edit the variable. So I need to replace it with a new variable instead.
    Thank you for your time.

    Hi,
            SInce you are searching for a variable for Unit, look into below screenshot and navigate to the variables.
    First click on drop down and select 'Entry for variable' then you will get lisl (after you click on drop down in 'Target Unit' drop down option.
    Normally these type of variable called 'Formula Variable' try editing any of the formula and locate the option as shown below,
    Hope it helps! don't forget to update the final solution and mark the correct/helpful answers.
    Remember it will help others to find the solution and motivate the members to answer your question.
    Thanks,
    Umashankar

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • Essbase server - automatic change of substitution variable from SQL

    Hi,I would like to automaticaly change the substitution variable in Essbase Server. Is it posible to change the substitition variable from external source e.g. SQL statement?Simple sample:I would like to assign value "2003" to "CurYear" substitution variable. But value "2003" I would like to get from SQL:"select year(current date) from table".There are commands in Esscmd and MaxL Shell, see bellow.Esscmd command:CREATEVARIABLE "CurYear" "localhost" "" "" "2003";MaxL Shell:alter system set variable CurYear '2003';Is it possible to get the value '2003' from SQL and pass this value to Esscmd command or MaxL Shell?My system:Windows 2000 Professional Service pack 4Essbase at 6.5.3 levelThanks,Grofaty

    You can create a text file from the SQL server that writes the command like"CREATEVARIABLE "CurrYear" "Servername" "AppName" "DBName" "2005";then you can create a schedule job that would run this script which can update the variable. CREATEVARIABLE creates/replaces the current variable.

  • URL Not Changing Session State Variables Specified

    I am trying to change a variable on a target page with a URL, however, the variable never changes. The variable is set to 8. I send the following URL which should change it to 0 but it does not change.
    We just recently upgraded to 1.6
    Why is this not working. It still works on pages I designed prior to the upgrade, but I can't get it to work since the upgrade.

    I am trying to change a variable on a target page with a URL, however, the variable never changes. The variable is set to 8. I send the following URL which should change it to 0 but it does not change.
    We just recently upgraded to 1.6
    Why is this not working. It still works on pages I designed prior to the upgrade, but I can't get it to work since the upgrade.

Maybe you are looking for

  • How to copy/send text file from FTPS to SAP ECC File Port

    Hi Frdns, I am working on one design, actually my requirement as follows I am receiving financial information document from Banks, which is in the form of BIA2 message format, it looks like text file. This information needs to be sending to SAP ECC s

  • So, Upgrade from CS2 to CS5?

    Okay, I've been through a frustrating install of CS2 on my Win7 64bit machine and in the process I find that CS2 is no longer supported, (no big surprise,) and CS2 may have issues with 64bit.  I only really use Photoshop, so I'm thinking maybe I shou

  • Playing Ps3 on iMac using a thunderbolt

    i have a ps3 and i am trying to use an iMac as a screen all i have is the thunderbolt to HDMI cable but when i connect them it doesn't work. can anyone help?

  • Item Positions

    I have a form containing around 30 Items. All items will not be shown every time. It will depend on the value of a Select List (with Submit) which determines which Items will be shown and which will be hidden. I have set the conditions in all the ite

  • Negative balance in Cash Account

    Is there any way to view only Negative balances in Cash Account???