Deprecated Message

Why when I use:
<jsp:forward page = "<%= FormatUtils.nvl(request.getParameter("servico"), "") %>">
<jsp:param name = "matricula" value = "<%= FormatUtils.nvl(request.getParameter("matricula"), "") %>" />
<jsp:param name = "senha" value = "<%= FormatUtils.nvl(request.getParameter("senha"), "") %>" />
<jsp:param name = "competencia" value = "<%= FormatUtils.nvl(request.getParameter("competencia"), "") %>" />
</jsp:forward>
I receive:
"Documentos.jsp": Warning #: 368 : method encode(java.lang.String) in class java.net.URLEncoder has been deprecated

"deprecated" means you're not supposed to use that function anymore. You probably upgraded to a more up-to-date version of Java, which has broken all of your old code.
Go to the Java API documentation websites, look up the function that's giving you problems. Make sure you're looking up the section for the version you're using. Most of the time, all they did was change the name of the method to something more "kool." Such as "enabled" vs. "isEnabled". "putValue" vs. "setAttribute". That kind of crap. Other times, they moved the functionality to a completely different object. "Date" vs. "Calendar". In any event, the documentation generally explains what the "new improved" way of accomplishing something has become.
Remember, Java people don't give a rats tail for backwards compatibility.

Similar Messages

  • Recompile with -Xlint :deprecation for details

    hi, i'm new in java
    i had tried to write one simple java applet, but when
    i compiled this message was come out:
    c:> javac applet1.java
    Note:applet1.java uses or overrides a depreciated API
    Note: recompile with -Xlint :deprecation for details

    hi, i'm new in java
    i had tried to write one simple java applet, but
    when
    i compiled this message was come out:
    c:> javac applet1.java
    Note:applet1.java uses or overrides a depreciated
    API
    Note: recompile with -Xlint :deprecation for detailsThis is a warning that means that a class or method that you are using in your code is deprecated. A class or a method can be deprecated for several reasons:
    e.g. the class/method could contain an error which makes the code unstable, the class/method could be written in a non standard way, the class/method could have been replaced by a more efficient/better/improved class/method
    The deprecation message is only a warning. The code will compile even when deprecated. However, most code is deprecated for a reason, so you should try to find out what the substitution is (if one exists).
    To find out what the problem is, the java compiler suggests you recompile using -Xlint: deprecation.
    So instead of compiling using
    javac YourClass.java
    type
    javac YourClass.java -Xlint:deprecation
    You should get a message such as:
    C:\Jenjava\Test\PacMan.java:56: warning: [deprecation] isFocusTraversable() in java.awt.Component has been deprecated
         public boolean isFocusTraversable(){
    Look up the offending method in the API at http://java.sun.com/j2se/1.5.0/docs/api/
    It says:
    isFocusTraversable
    @Deprecated
    public boolean isFocusTraversable()Deprecated. As of 1.4, replaced by isFocusable().
    So, to get rid of the warning (and use the current method) we replace the isFocusTraversable() with isFocusable().
    Make sense?
    :) jen

  • "RDLParser.java": java.io.StringBufferInputStream in java.io deprecated

    Hi I tried to compile a piece of Java code and received the below warning :
    "RDLParser.java": java.io.StringBufferInputStream in java.io has been deprecated at line 48, column 23
    The piece of code until the point of the warning is:
    package Parser;
    import java.io.*;
    public class RDLParser implements RDLParserConstants {
    static java.util.Stack paramStack = new java.util.Stack();
    static java.util.Stack opStack = new java.util.Stack();
    public static void main(String args[]) {
    RDLParser parser;
    ParseNode result;
    if (args.length == 1) {
    try {
    parser = new RDLParser(new java.io.FileInputStream(args[0]));
    } catch (java.io.FileNotFoundException e) {
    System.out.println("RDL Parser Version 0.1: File " + args[0] + " not found.");
    return;
    } else {
    System.out.println("RDL Parser Version 0.1: Usage is :");
    System.out.println(" java RDLParser inputfile");
    return;
    try {
    result = parser.tree_exp();
    System.out.println(result.toString());
    System.out.println("RDL Parser Version 0.1: parsed successfully.");
    } catch (ParseException e) {
    System.out.println("RDL Parser Version 0.1: Encountered errors during parse: " + e.toString());
    public static ParseNode parse (InputStream inStream)
    ParseNode result = null;
    RDLParser parser = new RDLParser( inStream );
    try {
    result = parser.tree_exp();
    //System.out.println("RDL Parser Version 0.1: parsed successfully.");
    } catch (ParseException e) {
    System.out.println("RDL Parser Version 0.1: Encountered errors during parse: " + e.toString());
    return result;
    public static ParseNode parse (String inString)
    return parse (new StringBufferInputStream(inString)); //WARNING
    Any ideas?

    Whenever I get a deprecation message, the first thing I do is look in the API docs for the class and method that is deprecated. If you look at the API docs, it will tell you why the class or method is deprecated and suggest other ways to accompish the same.

  • Folder Actions will not work - tried everything

    Recently Folder Actions simply stopped working on 10.6.4. They worked fine before then recently just stopped working.
    I've tried everything I can think of, including:
    1. completely removing enabling & disabling & enabling folder actions through the setup app.
    2. trashing folder actions plist files in user domain and relaunching
    3. disabling related launchd processes with lingon
    4. trashing launch agents in user domain and also trying to unload them in terminal
    5. trying to kill the folder actions dispatcher process in activity monitor (just relaunches, as it should)
    6. emptying system caches including dyld shared cache using cocktail
    7. doing most of the above and restarting
    It's driving me nuts. Any other ideas?
    here's some entries from syslog:
    8/2/10 9:31:37 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 6 seconds
    8/2/10 9:37:29 AM Folder Actions Setup[4403] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 9:43:37 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.enabled[309]) Exited: Killed
    8/2/10 9:46:23 AM [0x0-0x3a03a].com.apple.systemevents[360] com.apple.FolderActions.enabled: Already loaded
    8/2/10 9:52:07 AM Folder Actions Setup[1083] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 9:52:16 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 7 seconds
    8/2/10 9:53:02 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 1 seconds
    8/2/10 9:56:18 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 10 seconds
    8/2/10 10:00:58 AM Folder Actions Setup[2190] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 10:01:01 AM com.apple.FolderActions.enabled[2236] launchctl: Error unloading: com.apple.FolderActions.folders
    8/2/10 10:01:30 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 10 seconds
    8/2/10 10:01:42 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 9 seconds
    8/2/10 10:05:03 AM sudo[2622] lryter : TTY=ttys000 ; PWD=/Users/lryter ; USER=root ; COMMAND=/bin/launchctl unload -w /Users/lryter/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    8/2/10 10:10:25 AM Folder Actions Setup[676] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 10:10:27 AM com.apple.FolderActions.enabled[680] launchctl: Couldn't stat("/Users/lryter/Library/LaunchAgents/com.apple.FolderActions.folders.plist"): No such file or directory
    8/2/10 10:10:27 AM com.apple.FolderActions.enabled[680] nothing found to unload
    8/2/10 10:10:38 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 8 seconds
    8/2/10 10:13:17 AM sudo[943] lryter : TTY=ttys000 ; PWD=/Users/lryter ; USER=root ; COMMAND=/bin/launchctl unload -w /Users/lryter/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    8/2/10 10:14:01 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 4 seconds
    8/2/10 10:14:14 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 1 seconds

    I finally go Folders Action to work, after being unable to use it even for a simple beep for years now.
    Here is what I did:
    1. Changed permissions to 755 for the following folder and two contained files (note that 775 didn't work for me)
    ~/Library/LaunchAgents/
    ~/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    ~/Library/LaunchAgents/com.apple.FolderActions.folders.plist
    2. Changed the following lines within ~/Library/LaunchAgents/com.apple.FolderActions.enabled.plist (using TextWrangler)
    from:
    <key>OnDemand</key>
    <false/>
    to:
    <key>OnDemand</key>
    <true/>
    Prior to the permissions changes within #1 above, the value of <true/> kept getting changed back to <false/> by something in the system... and though
    there was improvement by the permissions changes, the following console message appeared until false was changed to true.
    com.apple.FolderActions.enabled[4127] launchctl: Error unloading: com.apple.FolderActions.folders
    At this point true is staying true, and not being changed by unknown forces to false, and the above message is not appearing.
    3. The only other thing I did prior to #1 and #2 above, was to run the script (unsaved),
    tell application "/System/Library/CoreServices/Folder Actions Dispatcher.app" to tick
    This little tell line caused something to occur where my Folder Action surprised me and worked for the first time though it took about 30 seconds and was erratic,
    sometimes performing, sometimes not, though if I would do move something into the folder to trigger the action that should occur, and did not occur, then at the point
    running the above tell line or script would cause the action to occur.
    4. At this point I don't fool with the tell line or script from #3, and it seems that systemevents has gotten involved, as well as launchd, and with my simple Folder Action script
    I'm getting the folder action within 10 seconds compared to 30 to 45 if ever seconds.
    5. This is still too early to tell if this is the wonder pill I've needed since Leopard, and now Snow Leopard (and maybe Tiger as well: I forget when I even tried Folder Actions).
    There was a time when I moved things around, so that the items normally found in the former AppleScript folder, were placed elsewhere in subfolders, so I don't know if that lead to this...
    because I could get Folder Actions to work on Macs in the Applestore, but not my own Mac. Watching the console messages was helpful. I don't think it's a big concern that
    deprecated messages are found sometimes. That's a just a normal part of the constantly rebuilding of things that goes on. It's more like a reminder that we've got an upgraded
    OEM part were going to start using, and the older part won't be available after such and such date, so program accordingly, and in the meantime drive.

  • REDIRECT JDBC URL WHEN USING DYNAMIC JDBC CREDENTIALS SO NOT HARDCODED

    I have taken over an application that uses row-level security and ADF (using
    dynamic JDBC Credentials). I have been able to set the internal_connection to
    a JDBCDatasource, but cannot set the Connection Type in the Oracle Business
    Component Configuration to a JDBCDatasource. When I do, I receive errors that
    tables are not found. When I set the value back to a JDBC URL, everything
    works fine again.
    I am looking for a solution where the userid and password are not hardcoded in
    the BC4J.xcfg or a way to redirect this information, as we change our system
    passwords every nighty days. Otherwise, I will have to redeploy the
    application every nighty days.
    I did not create this application, but I am sure that you could simply follow
    the "How to Support Dynamic JDBC Credentials" article. From that point, you
    will probably be where I am, where I have the internal_connection set to a
    JDBCDataSource and working properly, but cannot set the Connection Type to
    anything where the userid and password will not be hardcoded or cause failure.
    I wanted to let you know that I have
    found the updated How to Support Dynamic JDBC Credentials
    (http://www.oracle.com/technology/products/jdev/howtos/bc4j/howto_dynamic_jdbc.h
    tml) and was going to run through the "Advanced: Supporting Dynamic JDBC URLs",
    but once I was done keying in
    env.remove(ConnectionStrategy.DB_CONNECT_STRING_PROPERTY); I received a
    depreciation message on the DB_CONNECT_STRING_PROPERTY. (Note: I am coding in
    JDeveloper 10.1.3, so this may be depreciated as of then, but the ADF Libraries
    for JDeveloper 10.1.3 are on our Oracle 10gAS 10.1.2 server.)
    I thought maybe this would resolve my issue, but I can't be sure as the
    deprecation message leads me to believe that this solution may not be viable in
    the future.
    UPDATE
    =======
    The article you are referencing is definitely an older version.
    There is a newer article for 10g at:
    http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html
    Please see if that helps.
    I have already reviewed this article.
    In fact, I have reviewed many versions of this document. I have not seen one
    created yet for 10.1.3 though (especially without JSF as our 10.1.2 AS server
    will not support it). I need to find an example or documentation that shows
    how we can keep from having the JDBC URL stored in the BC4J.xcfg or a way to
    use dynamic JDBC credentials with a JDBCDataSource. We do not want to store
    the userid and password in the application, rather, we would like to setup
    something that can be configurable from the application server.
    I think we need to use the dynamic JDBC credentials because we are using the
    row-level security, where we setup a database context for the user and only
    allow certain records of a database table to be returned to the browser based
    on that context.
    Might there be a way to still use the JDBCDataSource?

    I understand that the user provides the userid and password and that these values are setup using the Configuration class.
    However, when I am to deploy the ADF Business Module with my application, I have to specify either a JDBC URL or a JDBC DataSource in the Oracle Business Component Configuration.
    When I use JDBC DataSource, the code does not work properly, almost like the user's credentials are not used for the connection (I get errors like table or view does not exist).
    When I use the JDBC URL, the bc4j.xcfg stores a reference in the JDBCName attribute to a ConnectionDefinition in the same file. It is in this tag of the bc4j.xcfg where the userid, sid, and password (encrypted) is stored and used when retrieving the initial context of the ADF business components.
    It is these values that I want to have stored else where so that the application does not have to be redeployed in order for the password (or sid, or other connection information) to be change.

  • Problems with ClientSession.getQuery()

    hi folks,
    i have a problem with TopLink 10.1.3/ Oracle db 9.2.0.5.0/ oracle oci client 9.2.0.1.0/ WebSphere 5.1/ IBM java SDK 1.4.2
    is there any reason why i am observing the following:
    I have created a named query in the mapping workbench...
    for any ClientSession cs.....
    cs.executeQuery("myNamedQuery", MyClass.class) works as expected. giving me a Vector of obejcts of my target class
    but...
    cs.getQuery("myNamedQuery") gives me null
    Using my debugger, I can see that the hashmap of queries that belongs to my ClientSession (and the owning ServerSession) are both empty. Am I missing something?
    I want to set some partial object parameters on the named query before I execute it so I can't just use the executeQuery(...) call.
    any help appreciated.
    cheers
    paul

    excellent...works great. thanks!!
    the only problem is that the solution uses deprecated methods.
    i am seeing lots of deprecation messages in this area, but not all deprecations have replacement instructions in the javadoc.
    Last time I used toplink was pre-oracle so maybe I just have 'the old way' stuck in my mind?? however.......
    DatabaseQuery query = relationalDescriptor.getQueryManager().getQuery(queryName);
    maybe the RelationalDescriptor.getQueryManager();
    shouldn't return the deprecated DescriptorQueryManager (the one in oracle.toplink.publicinterface) but the one in the new oracle.toplink.descriptors package instead?)

  • Startup problem - OS seems to be missing

    I restarted my computer this morning and reset the PRAM on startup. When the computer restarted it behaved as though it was new - asked for language then went into OS X Utilities. What went wrong? I use Time Machine' so I do have a backup.

    Have you upgraded to sp1? There was upgrade in sp1 regarding URLResources, so that
    class is definitively included in weblogic.jar.
    "Mark Meyer" <[email protected]> wrote:
    >
    I have the evaluation version of WebLogic 7.0, and I was trying to install
    the
    Sample Security Providers to see how to do non-WebLogic authorization.
    When I
    try to compile SampleAuthorizerDatabase.java, I get the message "cannot
    resolve
    symbol", the symbol being class URLResource. I looked in my weblogic.jar,
    and
    it seems to have all the classes of the weblogic.security.service package,
    except
    URLResource. I also got a message about deprecation, but I don't know
    what's
    deprecated, and I don't know how to tell weblogic.management.commo.WebLogicBeanMaker
    to show deprecation messages.<p>
    Is URLResource important, and if so, how do I get it into my server?

  • My URLResource class seems to be missing

    I have the evaluation version of WebLogic 7.0, and I was trying to install the
    Sample Security Providers to see how to do non-WebLogic authorization. When I
    try to compile SampleAuthorizerDatabase.java, I get the message "cannot resolve
    symbol", the symbol being class URLResource. I looked in my weblogic.jar, and
    it seems to have all the classes of the weblogic.security.service package, except
    URLResource. I also got a message about deprecation, but I don't know what's
    deprecated, and I don't know how to tell weblogic.management.commo.WebLogicBeanMaker
    to show deprecation messages.<p>
    Is URLResource important, and if so, how do I get it into my server?

    Have you upgraded to sp1? There was upgrade in sp1 regarding URLResources, so that
    class is definitively included in weblogic.jar.
    "Mark Meyer" <[email protected]> wrote:
    >
    I have the evaluation version of WebLogic 7.0, and I was trying to install
    the
    Sample Security Providers to see how to do non-WebLogic authorization.
    When I
    try to compile SampleAuthorizerDatabase.java, I get the message "cannot
    resolve
    symbol", the symbol being class URLResource. I looked in my weblogic.jar,
    and
    it seems to have all the classes of the weblogic.security.service package,
    except
    URLResource. I also got a message about deprecation, but I don't know
    what's
    deprecated, and I don't know how to tell weblogic.management.commo.WebLogicBeanMaker
    to show deprecation messages.<p>
    Is URLResource important, and if so, how do I get it into my server?

  • When I start my program my JFrame shows but...

    it doesn't show any controls on it till I expand it. I'm using:
    setSize(500,500);
    show();
    Is there a reason because of this and can I fix it. The size is set so it should be big enough to show the controls but it doesn't.

    oups, I made an error consider this :
    1)I am surprise that you don't have a deprecated message.
    The show method is an old one, rest for the compatibility, prefer use the method setVisible(boolean), true to show, false to hide.
    2)In my opignon, You souldn't fix the size, I will replace
    setSize(500,500);
    show();By the lines bellow:
    pack(); //To make the best size to the JFrame
    Dimension screenSize=Toolkit.getDefaultToolkit().getScreenSize();//The size of the screen
    Dimension size=getSize();//The calculated size by pack
    if(size.width>screenSize.width)
          size.width=screenSize.width;
    if(size.height>screenSize.height)
          size.height=screenSize.height;
    setSize(size);
    setLocation((screenSize.width-size.width)/2,(screenSize.heigh-size.height)/2);//to center the frame
    setVisible(true);//show the frameIt's more longer, but more proper.
    JHelp

  • Newbie needs help on compiling error

    I'm reading java 2 programming for dummies, but can't get this example working. I get an error on line 4, but when I remove 'public' from in front of 'class', Iexplore tells me I need a public constructor. I also get errors on line 94 and 98 where the compilator says that the java.awt.Component has been deprecated. I have no clue what that means..
    Please help me! I'm stuck...
    Here is my code:
    /*line 0*/
    import java.applet.Applet;
    import java.awt.*;
    public class PixApplet extends Applet{
         public void init() {
              Rectgl r = new Rectgl(10,5,Color.red);
              Square s = new Square(10,Color.blue);
              Circle c = new Circle(20,Color.yellow);
              Square s2 = new Square(40,Color.green);
              add(r);
              add(s);
              add(c);
              add(s2);
              add(new PixLabel(r));
              add(new PixLabel(s));
              add(new PixLabel(c));
              add(new PixLabel(s2));
    /*Rectgl*/
    class Rectgl extends Pix {
         /*Constructor*/
         public Rectgl(int width, int height, Color c) {
              myDimension.width = width;
              myDimension.height = height;
              setColor(c);
         /*Draw shape*/
         public void Paint(Graphics g) {
              g.fillRect(0,0,myDimension.width,myDimension.height);
         /*Return area*/
         public double getArea() {
              return (myDimension.width * myDimension.height);
         /*Return perimeter */
         public double getPerimeter() {
              return (myDimension.width + myDimension.height) * 2;
         /*Return kind of shape*/
         public String getKind() {
              return "Rectangle";
    /*Square*/
    class Square extends Rectgl {
         /*Constructor*/
         public Square(int side,Color c) {
              super(side,side,c);
         /*Return kind of shape*/
         public String getKind() {
              return "Square";
    abstract class Pix extends Canvas {
         Dimension myDimension = new Dimension();
         /*Constructor*/
         public void Pix() {
         /*Set object's forground color*/
         public void setColor(Color c) {
              setForeground(c);
         public void paint(Graphics g) {
         public double getArea() {
              return 0;
         public double getPerimeter() {
              return 0;
         public String getKind() {
              return "unknown shape";
    /*line 93*/
         public Dimension preferredSize() {
              return myDimension;
    /*line 97*/
         public Dimension minimumSize() {
              return myDimension;
    class Circle extends Pix {
         private int myRadius;
         /*Constructor*/
         public Circle(int radius, Color c) {
              myRadius = radius;
              setColor(c);
              myDimension.height = myDimension.width = 2 * radius;
         /*Draw shape*/
         public void paint(Graphics g) {
              g.fillArc(0,0,(2 * myRadius),(2 * myRadius),0,360);
         /*Return area*/
         public double getArea() {
              return (Math.PI * (myRadius * myRadius));
         /*Return perimeter*/
         public double getPerimeter() {
              return 2 * Math.PI * myRadius;
         /*Return kind of shape*/
         public String getKind() {
              return "Circle";
    class PixLabel extends TextArea {
         /*Constructor*/
         public PixLabel(Pix s) {
              super( "I am a " + s.getKind() + "\nMy perimeter is " + Double.toString(s.getPerimeter()) + "\nMy area is " + Double.toString(s.getArea()),3,15,SCROLLBARS_NONE);
    }

    OK. You do not need to worry too much about the deprecated messages. They are only warnings and will not stop the program compiling.
    What is the name of the java file that your code is in. It should be PixApplet.java
    How are you compiling it, something like
    javac *.java or javac PixApplet.java
    What is the error you get when you try to compile

  • Error message: AgServerMigration ERROR Using store provider as a session is deprecated.

    Hi.  I'm using a MacBook Pro, OS X 10.6.5.  I have been opening files in Lightroom, editing them, and then doing finishing touches in CS5.  When I save the file in CS5 and close it, my Mac returns the above message in Console eight times:
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    I have no idea what this means, or whether it is a problem.  Does anyone know what this is?
    Thanks.

    I see the same thing and have done for some time. The actual file is being saved back. etc. So, in that respect both Lr and Ps are working fine. IOW, ignore it.

  • Error message when posting revaluation "deprecation not posted completely"

    Hi Gurus
    When I am trying to post revaluation to an asset, using AR29, I get an error message APERB027 "deprecation not posted completely".
    I have run AFAB for period 01/2010 and the entry in TABA is correct.
    Can any one help me solve this?
    Thanks
    Gil

    Hi
    I am trying to post revaluation for 31.01.2010 (asset was capilized on 01.01.2010)
    I have ran AFAR, and it didn't have any effect

  • Information Message-Values for Ordinary deprec. have changed in dep. area 0

    We had changed the scrap value for few assests and when ever we goto AW01N i.e asset explorer ,it displays the message -
    Values for Ordinary deprec. have changed in dep. area 01 in fiscal year XXXX.
    The user doesnt this message  popping up every time we look at an asset now.

    Hi,
    start transaction AFAR for the company code as real run. That will recalculate all asset values and should solve the problem.
    Alternative would be to go to AS02 and choose "edit -> recalculate values" from the system menu.
    Regards,
    Markus

  • Getting deprecated: Function message all over web page

    I've gotten the following message all over a web page:Deprecated: Function eregi_replace() is deprecated in /home/hfqmjsoe/domains/tutsforps.com/public_html/Photoshop-Tutorials/index.php on line 107. The message is all over the site and varies but the deprecated: function is repeated. Is this a problem with my Mac or the website? I am using Mountain Lion. Had logic board, hardrive, processors and keyboard replaced and am wondering if I still have a defective laptop. Yes, I have the 2010 Macbook Pro 15" lemon.
    Thanks for any help and/or advice.
    Linda

    Force Quit if you have to.
    http://support.apple.com/kb/HT3411
    Hold the shift key down and launch Safari.
    For more info:
    http://www.thesafemac.com/arg/

  • Message Mapping activation error-Source code has syntax errors in UDF

    Hi all,
    I wrote a small UDF for sum of 2 numbers:
    import
    udf.*
    public String getsum(String a, String b, Container container) throws StreamTransformationException{
    int c = Integer.parseInt(a);
    int d = Integer.parseInt(b);
    int e = packageDemo.getSum(c,d);
    return e+"";}
    In imported archives, i imported pack.jar
    In D:\udf , I have packageDemo.java, packageDemo.class, aii_map_api.jar, pack.jar(has the other 3)
    packageDemo.java :-
    package udf;
    public class packageDemo{   
        public static int getSum(int a,int b)
            int c= a+b;
            return c;
    Did i miss anything?? Icant activate message mapping for 2 errors:-
    1.package udf does not exist
    2.Function getsum, Line 3:
    cannot find symbol symbol : variable packageDemo location: class com.sap.xi.tf._xml_mm_int e = packageDemo.getSum(c,d); ^Note: /usr/sap/P7R/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd4214d3099dc11dd9470001d090e4bbe/source/com/sap/xi/tf/_xml_mm_.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: /usr/sap/P7R/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd4214d3099dc11dd9470001d090e4bbe/source/com/sap/xi/tf/_xml_mm_.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.2 errors
    Edited by: NagaDurga Nannapaneni on Oct 16, 2008 1:07 PM

    Hi ,
    Think the error is coming because the content in imported archive is not being taken into message mapping at all...so package, class, method ..nothing is identified.
    Can anyone suggest the solution..
    Thanks,
    Durga

Maybe you are looking for