Creating a cookie, constructor problem...

I have a servlet that creates a cookie when a user registers...
int typeUserInt = Integer.parseInt(typeUserString);
if(typeUserInt == 0) {     
     Cookie cookie = new Cookie("trialUser", customerid);
           cookie.setMaxAge(86400*14);
     response.addCookie(cookie);
     System.out.println("trial user cookie value is "+customerid); //error check
  }     However I am getting this error when I compile...
cannot find symbol
symbol: constructor Cookie(java.lang.String, int)
location: class javax.servlet.http.Cookie
Cookie cookie = new Cookie("trialUser", customerid);
^
Any advice anyone, all my other cookies in servlets are created in the same way and they all work! Why wont this one work?

Some basic thing like you didn't import the class or... hang on a bit, let me look at the documentation... okay, the only constructor for Cookie takes two Strings as its parameters. You aren't passing two Strings.

Similar Messages

  • How to create a custom plugin in Oracle Access Manager to create a cookie

    How to create a custom plugin in Oracle Access Manager to create a cookie or Header Variable..
    Vipin

    Its has more steps which you need to consider in addition to Note:101048.1 which is mentioned by Prashant_Pathak. Both notes have enough information. If not, let's know what else you need to set

  • I get an error message 'Cannot create session cookie'

    Hello,
    This is the exact error message I receive:
    "Time: 2011-04-05 14:47:47
    OUCU: zz767748
    URL: /science.level1ayrf.s104/
    TN: openmark @ ltsweb2
    Status: 403
    Title: Unable to create session cookie
    Message: In order to use this website you must enable cookies in your browser settings."
    Many thanks,
    Rachel

    No idea what causes it, but it does happen. Try this.....
    Go to Settings>General>Date and Time>Set Automatically>Off. Set the date one year ahead. Try to update the apps again. If you get an error message, go back to the settings. Correct the date and time (set automatically) then go back and try to update the apps again.
    Or this ....
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to update again.

  • How to create a cookie in PEI?

    I’m trying to create a cookie in OnAfterLogin event, using the ApplicationData class method SetCookie(string,string), but some reason cookie is not created in the Temporary Internet Files.
    Basically I need to use this cookie in other application to check the portal community access.

    It worked with following code, Cookie values username and ID are getting from the session.
         HttpCookie MyCookie = new HttpCookie("PTUser");                    MyCookie["PTUser"] = USername;          MyCookie["PTUSerID"] =      UserID;          MyCookie.Expires = DateTime.Now.AddDays(1d);                         XPCookie aCookie = new XPCookie(MyCookie);                         _appData.SetCookie(aCookie);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I am surprised to see that Remote Desktop Client update 3.7.1 been updated without my authorisation and creating now lot of problems from December 7, 2013, any one can tell, how?

    Remote Desktop Client update 3.7.1 has been updated without any permission and now creating umpteen number of problems since December 7, 2013. Now my gmail is empty and unable to see any email.  Most of the time my local host is: 92.242.132.27, I do not know why?
    Now I want to uninstall my update 3.7.1.
    I seek help to resolve my problem.
    Traceroute has started...
    traceroute to www.localhost.com (92.242.132.27), 64 hops max, 72 byte packets 1  192.168.1.1 (192.168.1.1)  1.554 ms  0.995 ms  0.972 ms 2  abts-tn-dynamic-001.0.164.122.airtelbroadband.in (122.164.0.1)  28.460 ms 3  abts-tn-static-093.227.95.61.airtelbroadband.in (61.95.227.93)  27.732 ms 4  61.95.240.129 (61.95.240.129)  27.433 ms  28.015 ms  27.758 ms
    5  59.145.7.133 (59.145.7.133)  187.777 ms  186.806 ms  236.866 ms 6  182.79.243.18 (182.79.243.18)  179.356 ms  179.188 ms  178.033 ms 7  182.79.248.234 (182.79.248.234)  178.512 ms  179.033 ms  179.084 ms 8  aes-static-029.37.144.59.airtel.in (59.144.37.29)  178.879 ms  177.540 ms 9  xe-0-0-0-0.edge00.thn.uk.hso-group.net (195.66.224.226)  177.235 ms  178.6
    10  xe-0-0-0.edge00.the.uk.hso-group.net (93.89.91.13)  177.571 ms  177.667 ms 11  ert1-the-gi1-8.router.uk.catalyst2.net (93.89.90.10)  187.420 ms  185.670 12  84.18.192.130 (84.18.192.130)  178.729 ms  178.521 ms  178.316 ms 13  * * *
    14  * * * 15  * * * 16  * * * 17  * * * 18  * * * 19  * * * 20  * * * 21  * * * 22  * * * 23  * * * 24  * * *

    Remote Desktop Client update 3.7.1 has been updated without any permission and now creating umpteen number of problems since December 7, 2013. Now my gmail is empty and unable to see any email.  Most of the time my local host is: 92.242.132.27, I do not know why?
    Now I want to uninstall my update 3.7.1.
    I seek help to resolve my problem.
    Traceroute has started...
    traceroute to www.localhost.com (92.242.132.27), 64 hops max, 72 byte packets 1  192.168.1.1 (192.168.1.1)  1.554 ms  0.995 ms  0.972 ms 2  abts-tn-dynamic-001.0.164.122.airtelbroadband.in (122.164.0.1)  28.460 ms 3  abts-tn-static-093.227.95.61.airtelbroadband.in (61.95.227.93)  27.732 ms 4  61.95.240.129 (61.95.240.129)  27.433 ms  28.015 ms  27.758 ms
    5  59.145.7.133 (59.145.7.133)  187.777 ms  186.806 ms  236.866 ms 6  182.79.243.18 (182.79.243.18)  179.356 ms  179.188 ms  178.033 ms 7  182.79.248.234 (182.79.248.234)  178.512 ms  179.033 ms  179.084 ms 8  aes-static-029.37.144.59.airtel.in (59.144.37.29)  178.879 ms  177.540 ms 9  xe-0-0-0-0.edge00.thn.uk.hso-group.net (195.66.224.226)  177.235 ms  178.6
    10  xe-0-0-0.edge00.the.uk.hso-group.net (93.89.91.13)  177.571 ms  177.667 ms 11  ert1-the-gi1-8.router.uk.catalyst2.net (93.89.90.10)  187.420 ms  185.670 12  84.18.192.130 (84.18.192.130)  178.729 ms  178.521 ms  178.316 ms 13  * * *
    14  * * * 15  * * * 16  * * * 17  * * * 18  * * * 19  * * * 20  * * * 21  * * * 22  * * * 23  * * * 24  * * *

  • Cookie request problem!

    Hi, can you help me?
    I add a cookie in this way:
    Cookie cookie = new Cookie("event_channel_cookie",String.valueOf((vali.getUserID())));
    cookie.setMaxAge(60);
    cookie.setPath("/");
    cookie.setVersion(0);
    cookie.setSecure(false);
    response.addCookie(cookie);
    The problem is when a request the cookies, I obtain my cookie, but cookie.getMaxAge() is equal with -1 (not 60)
    cookie.getPath is null.
    Here is the request code:
    //check for cookie
    cookies = request.getCookies();
    if( cookies != null )
    for(int i=0; i < cookies.length; i++)
    cookieName = cookies.getName();
    Thank you!

    Now try:
    for(int i=0; i<cookies.length; i++)
    cookieName = cookies[ i ].getName();
    maxAge = cookies[ i ].getMaxAge();
    // my [ i ] behind cookies wasnt shown
    // Test # [ i ] # is shown
    // Test # # isnt shown
    hope this helps

  • Public constructor problem

    I am getting the following error
    The applet orderproc.NewUser does not have a public constructor orderproc.NewUser()
    I dont understand this as the rest of my applets have similar code but dont get this problem. Can any of you nice people out there help. Here is my code:
    package orderproc;
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.net.URL;
    import java.sql.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class NewUser extends JApplet implements ActionListener {
    JPanel westPanel;
    JPanel eastPanel;
    JLabel lblFirstName, lblLastName, lblPassword, lblUserName;
    JTextField txtFirstName,txtLastName,txtUserName, txtPassword;
    JButton btnSubmit, btnBack, btnCancel;
    String FN,LN,PS,UID;
    public NewUser()
    GridBagLayout gbl;
    GridBagConstraints gbc;
    gbl = new GridBagLayout();
    gbc = new GridBagConstraints();
    westPanel = new JPanel();
    westPanel.setLayout(gbl);
    eastPanel = new JPanel();
    eastPanel.setLayout(gbl);
    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(westPanel, BorderLayout.CENTER);
    getContentPane().add(eastPanel, BorderLayout.SOUTH);
    lblFirstName = new JLabel("First Name: ");
    lblLastName = new JLabel("Last Name: ");
    lblPassword = new JLabel("Password: ");
    lblPassword = new JLabel("User Name: ");
    txtFirstName = new JTextField(15);
    txtPassword = new JTextField(15);
    txtLastName = new JTextField(15);
    txtUserName = new JTextField(15);
    btnSubmit = new JButton("Submit");
    btnSubmit.addActionListener(this);
    eastPanel.add(btnSubmit);
    btnCancel = new JButton("Cancel");
    btnCancel.addActionListener(this);
    eastPanel.add(btnCancel);
    btnBack = new JButton("<<<<Back");
    btnBack.addActionListener(this);
    eastPanel.add(btnBack);
    gbc.anchor = GridBagConstraints.NORTH; // Align labels
    gbc.gridx = 1;
    gbc.gridy = 1;
    gbl.setConstraints(lblFirstName, gbc);
    westPanel.add(lblFirstName);
    gbc.gridx = 1;
    gbc.gridy = 2;
    gbl.setConstraints(lblLastName, gbc);
    westPanel.add(lblLastName);
    gbc.gridx = 1;
    gbc.gridy = 3;
    gbl.setConstraints(lblPassword, gbc);
    westPanel.add(lblPassword);
    gbc.gridx = 1;
    gbc.gridy = 4;
    gbl.setConstraints(lblUserName, gbc);
    westPanel.add(lblUserName);
    gbc.anchor = GridBagConstraints.NORTHWEST;
    gbc.gridx = 2;
    gbc.gridy = 1;
    gbl.setConstraints(txtFirstName, gbc);
    txtFirstName.setEditable(true);
    westPanel.add(txtFirstName);
    gbc.gridx = 2;
    gbc.gridy = 2;
    gbl.setConstraints(txtLastName, gbc);
    txtPassword.setEditable(true);
    westPanel.add(txtLastName);
    gbc.gridx = 2;
    gbc.gridy = 3;
    gbl.setConstraints(txtPassword, gbc);
    txtPassword.setEditable(true);
    westPanel.add(txtPassword);
    gbc.gridx = 2;
    gbc.gridy = 4;
    gbl.setConstraints(txtUserName, gbc);
    txtUserName.setEditable(true);
    westPanel.add(txtUserName);
    public void actionPerformed(ActionEvent ae) // Action event handling
    if(ae.getSource() == btnBack)
    setVisible(false);
    else if(ae.getSource() == btnCancel)
    txtFirstName.setText(null);
    txtPassword.setText(null);
    txtLastName.setText(null);
    txtUserName.setText(null);
    else if(ae.getSource() == btnSubmit)
    FN = txtFirstName.getText();
    LN = txtLastName.getText();
    PS = txtPassword.getText();
    UID = txtUserName.getText();
    try
    //connect to database
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Drivers loaded");
    String url = "jdbc:odbc:wms";
    Connection con = DriverManager.getConnection(url,"root","");
    System.out.println("Connection established");
    Statement stmt = con.createStatement();
    System.out.println("Statement created");
    ResultSet res = stmt.executeQuery("INSERT INTO login (FirstName, LastName, Password, UserName) VALUES ('"+FN+"','"+LN+"', '"+PS+"','"+UID+"')");
    con.close();
    catch(Exception e)
    txtFirstName.setText(null);
    txtLastName.setText(null);
    txtPassword.setText(null);
    txtUserName.setText(null);
    public void init()
    NewUser myNewUser = new NewUser();

    Why don't you just implement the RSAPrivateKey and RSAPublicKey interfaces?

  • Instantiation attempted on a non-constructor problem

    Hi,
    I've got the following error in my application: "TypeError: Error #1007: Instantiation attempted on a non-constructor".
    I've created a class that represents a 2D Vector. But when I instanciate it inside another class, I get this error.
    Here is a little piece of code of my problem:
    public class Player extends MovieClip {
              private var position:Vector = new Vector();
              public function Player() {
                        // constructor code
    public class Vector {
              public var xValue:Number;
              public var yValue:Number;
              public function Vector() {
                        // constructor code
                        xValue = 0;
                        yValue = 0;
    These 2 classes are in separated files. The Player's class is a Movie Clip in the library, while Vector's class is just a class file. What can I be doing wrong?

    Vector is a native top level class in AS3.

  • Regarding Safari cookie size problem (RFC 2109)

    Latest Safari versions do not comply with RFC 2109 regarding cookies size.
    RFC 2109 6.3  Implementation Limits
       Practical user agent implementations have limits on the number and
       size of cookies that they can store.  In general, user agents' cookie
       support should have no fixed limits.  They should strive to store as
       many frequently-used cookies as possible.  Furthermore, general-use
    user agents should provide each of the following minimum capabilities
       individually, although not necessarily simultaneously:
    * at least 300 cookies
    * at least 4096 bytes per cookie (as measured by the size of the
            characters that comprise the cookie non-terminal in the syntax
            description of the Set-Cookie header)
    * at least 20 cookies per unique host or domain name
    User agents created for specific purposes or for limited-capacity
       devices should provide at least 20 cookies of 4096 bytes, to ensure
       that the user can interact with a session-based origin server.
    Latest Safari violates this RFC and has 4 KB limit on total size of all cookies for each domain.
    It causes severe problems with many Web Applications including Web Applications which use Microsoft SAML2 federated security.
    Safari must support up to 20 cookies per domain and each cookie must be at least 4096 bytes long.
    Where can I get a fix fro Safari.
    This was tested with Safari for MS Windows, but people reported same problem for many other platforms.

    You can provide feedback to Apple here >  Apple - Safari - Feedback

  • Rectangle constructor problem

    Ok, i've seen a couple posts on this in other threads, but it seemed like people were asking for you guys to complete their homework for them. This is an assignment calling for us to construct 2 rectangles, modify the second, then verify that the first remained unaltered. This is my main code here:
    public static void main(String[] args)
              // Creates object "rectangle A"
              Rectangle rectangleA = new Rectangle();
              // Tests rectangle A's components
              System.out.println("Rectangle A's componenets are as follows:");
              System.out.println("Height: " + rectangleA.getHeight());
              System.out.println("Width: " + rectangleA.getWidth());
              System.out.println("Color: " + rectangleA.getColor());
              // Creates object "rectangle B"
              Rectangle rectangleB = new Rectangle(2, 2, "Blue");
              // Tests rectangle B's components
              System.out.println('\n' + "Rectangle B's components are as follows:");
              System.out.println("Height: " + rectangleB.getHeight());
              System.out.println("Width: " + rectangleB.getWidth());
              System.out.println("Width: " + rectangleB.getColor());
              // Checks setComponent methods on rectangle B for functionality
              rectangleB.setHeight(3);
              rectangleB.setWidth(4);
              rectangleB.setColor("Azul");
              // Checks the changes to rectangle B
              System.out.println('\n' + "Rectangle B's new components are as follows:");
              System.out.println("Height: " + rectangleB.getHeight());
              System.out.println("Width: " + rectangleB.getWidth());
              System.out.println("Color: " + rectangleB.getColor());
              // Prints components of rectangle A to verify that it has remained unaltered
              System.out.println('\n' + "Rectangle A's components are still:");
              System.out.println("Height: " + rectangleA.getHeight());
              System.out.println("Width: " + rectangleA.getWidth());
              System.out.println("Color: " + rectangleA.getColor());
    }Here is the second class, including the completed (as correct as I could come haha) rectangle constructors and methods:
    public class Rectangle
         private double width = 1;
         private double height = 1;
         private static String color = "White";
         public Rectangle()
         public Rectangle(double width, double height, String color)
              this.width = width;
              this.height = height;
              this.color = color;
         public double getWidth()
              return width;
         public void setWidth(double width)
              this.width = width;
         public double getHeight()
              return height;
         public void setHeight(double height)
              this.height = height;
         public static String getColor()
              return color;
         public static void setColor(String color)
              Rectangle.color = color;
         public double findArea()
              return (this.getHeight() * this.getWidth());
    }We are supposed to use each rectangle constructor once, then use a series of print statements to check each method/constructor in the Rectangle class. I will add findArea to the main class later.
    So... my problem is that the second rectangle object's "color" property is messing with the first rectangle's color as well, when I run the program, rectangle A ends up with a color of "Azul" instead of "White."
    Any ideas?

    Ok, after reading the link, static is a class variable, meaning that it encompasses the whole class, and any alteration to it sticks. Any reference to it after that will return the new value, as it is supposed to. So, how can I temporarily change the color without reassigning it to the whole class? The instructor intentionally made it static, so I think he meant for us to try to work around that.
    Looking back at my code, I am, indeed, changing the variable itself, rather than a property of the current object. it seems to me the problem lies within this bit of code.
    public static void setColor(String color)
              Rectangle.color = color;
         }Message was edited by:
    mchenj

  • Creating pl/sql procedure problems

    Dear all,
    I have problems with creating a procedure which select returns more then one row.
    CREATE OR REPLACE PROCEDURE ECM_DATA.check_padrones_datos
    IS
      v_padron_check   VARCHAR2(50);
      v_padron_number   VARCHAR2(50);
    BEGIN
       SELECT count(pd.estado)
       INTO v_padron_check
       FROM par6.padrones_datos pd, par6.padrones p, par6.FECHAS f
         where pd.estado not in ('2000','8000')
         AND PD.ARCHIVO = P.ARCHIVO
         AND P.FECHA = F.datum_s;
        DBMS_OUTPUT.PUT_LINE('Št. neuspešnih zapisov :  ' || v_padron_check);
        SELECT distinct pd.archivo
       INTO v_padron_number
       FROM par6.padrones_datos pd, par6.padrones p, par6.FECHAS f
         where pd.estado not in ('2000','8000')
         AND PD.ARCHIVO = P.ARCHIVO
         AND P.FECHA = F.datum_s;
        DBMS_OUTPUT.PUT_LINE('Padron št. :  ' || v_padron_number);
      EXCEPTION
        WHEN NO_DATA_FOUND THEN
         v_padron_number := 'Vsi padroni so OK';
         DBMS_OUTPUT.PUT_LINE('Padron št. :  ' || v_padron_number);
    END;
    Error ->  -01422: exact fetch returns more than requested number of rows
    Select returns 2 or more rows.
    SELECT distinct pd.archivo
        FROM par6.padrones_datos pd, par6.padrones p, par6.FECHAS f
         where pd.estado not in ('2000','8000')
         AND PD.ARCHIVO = P.ARCHIVO
         AND P.FECHA = F.datum_s;
    How to write correct syntax in pl/sql. I apologize in advance for rookie questions. Any help would be appreciated.
    Regards,
    Robert

    The exact implementation depends on the use case.
    You can loop through the results
    FOR r IN (
        SELECT  DISTINCT pd.archivo
        FROM    par6.padrones_datos pd
               ,par6.padrones p
               ,par6.fechas f
        WHERE   pd.estado not in ('2000','8000')
        AND     pd.archivo = p.archivo
        AND     p.fecha = F.datum_s
    LOOP
        dbms_output.put_line('Padron št. :  ' || r.archivo);
    END LOOP;
    Or maybe you can process all results in one step, e.g. if you want to update a table based on the select.
    Regards
    Marcus

  • Pdf's created in Indesign having problem in "Black" color when it overlap with other color.

    Hi all,I
    Please respond to this as soon as possible since this is now in printing stage we need to send it immediately.
    Adobe disabled attachment, I just made a screenshot and sending you the image as attachment for your reference.
    The design has "Black" overlapping on "Blue" giving transparent on Blue color, see the pdf for reference.
    Please not that there is no transparency in "Black" or any other color used in that page.
    This is related to "preserve overprint" problem, when I switch off the preserve overprint in "distiller" setting I am getting the correct result but "Black" become "Knockout" instead of "overprint".
    Is there is any way to solve this problem.
    Please advice.
    Kaviya

    When you Knockout the colour it should cut a hole in the shapes below it -
    Start by creating a New Black Swatch
    Then Apply that swatch to your black frame
    Below I have turned off the Black Separation, and you can see that it has knocked a hole right through the items below - I've also shown you the Attributes Panel - you can see in the Spearations panel to that the black is still 100%
    Below is what happens when you have Black set to Overprint
    YOu can clearly see that the values are added up - You now have a 284% ink coverage here - so anywhere the black goes over the green here the values are added together and that gives you a different shade of black, because the Black is PRINTING OVER the other colours and adding, as ink is transparent, not opaque.
    If the black frame goes off into the white it will be 100% for whatever is touching the white, and then 284% when hitting the green here, so you get two distinct shades of black.

  • Learning to create a cooking recipe App

    I would like to learn how to create a Mac app for managing cooking recipes similar to MacGourmet.  Over the years I have used many Windows and Mac cooking programs.  Most are good but I would like to assemble features I prefer.  I assume it must be database driven.  I know how to write websites (but not  javascript) using Dreamweaver and I took a few SQL classes years ago. I do enjoy working with computers. With Lion coming soon, I would like to learn using the latest OS.  Eventually I would like to distribute and perhaps sell my program. 
    I must wait until the upcoming fall semester to enroll in any college courses.  I thought about starting at lynda.com with Objective-C Essential Training or perhaps a few books. 
    Any help to get started would be appreciated. Thank you.

    You've stated your goals....what help do you need from others here, specifically?
    Seen this? iPhone Developer Beginner Resource Guide
    Books on Cocoa...ok. Books on iOS...don't bother. Pay the dev fees and use the resources there.
    Good luck in any case.

  • Create Web Photo Album Problem

    Please help!!!!!! I have the Adobe Web Premium Suite CS3 so I
    have all the programs loaded on my computer.
    I have been working on this for 2 days and cannot get this
    command to work. I have 15 folders of pics that need to be put up
    and I want family to be able to click on the thumbnail and open up
    to a larger pic. There are over 100 pics in there. I loaded all the
    pics in their own folders; I have tried jpg, tiff, jpeg, psd and
    gif pics; (I separated them by file name so there are none mixed in
    the folders) I put the pic folders inside my web page folder, then
    I tried it on my desktop and I tried to use My Pictures folder.
    This is how I am doing this:
    I have the index.html page open on Dreamweaver CS3
    I hit Command > Create Web Photo Album >
    fill out "Photo album title:
    fill out "Subheading info:
    fill out "Other info:
    In the "Source images folder:" when I Browse I go to the
    folder and
    I click on it and when that opens there are no pics in there.
    Nothing shows up at all.
    I finish up the rest and an error message shows up "An error
    occurred".
    Anyone know what I am doing wrong????
    Thank you.... Linda

    Hello Do you happen to know if you get the same problem with windows 7
    Thanks

  • Creating a spatial index problem

    Hi there
    I have to create a table in Oracle Spatial and use it with MapInfo MapX 4.51 OCX to insert some features in it.
    I read a thread in the MapX forum where I learnt that I had to create my table (CREATE TABLE statement), add a record in MAPINFO_MAPCATALOG table, and then add a line to the SDO_GEOM_METADATA_TABLE table. With this, I can add some features in the table by MapInfo, and I can use the INSERT clause in Oracle. Well. But when I try to use the table in MapX, I can't even load it nor insert a feature : I have an Oracle error saying "ORA-13226 interface not supported without a spatial index".
    When creating a spatial index in Oracle, I have got this message :
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    The index is still created but marked at FAILED, so it is now impossible to insert features in it (even by INSERT clause).
    The newly created table is empty, and it was created on the basis of another existing table. The records added in SDO_GEOM and MAPINFO_MAPCATALOG were copies of the records concerning the source table.
    And I have finally granted SELECT and UPDATE on SDO_GEOM_METADATA_TABLE table and USER_SDO_GEOM_METADATA view to the user doing the operations.
    Any clue ? I am using MapX 4.51 and Oracle 9.2.0.1.0.
    Thank you for any idea. I am puzzled.

    Hi,
    There is something wrong with accessing metadata.
    To identify where the problem is:
    - run the create-index from sqlplus (and not from mapx)
    - check whether the user creating the index can
    see the metadata from user_sdo_geom_metadata. (This
    user also needs create-table, create-sequence privs).
    Let us know what happens.
    - Ravi.

Maybe you are looking for

  • Unknown error when trying to set up aol mail

    AOL just stopped working as of 10am today!  I sent mails this morning and now I cannot get AOL to work.  I deleted the account and tried to set up AOL Mail again and I keep getting an "Unknown Error" message!  HELP......

  • Adobe has taken over my scanner.  Used to scan and it would come to my computer as a

    Adobe has taken over my scanner.  I used to scan and it would go to a file.  It asked me to update and it came up with a bunch of choices, I asked someone which to chose and they suggested whatever I have.  On the side it comes up with =  Export, Cre

  • Can you buy a 3G iPad and not activate?

    Just curious if you can get one without activating. If I find a 3G before I find a WiFi only I may just buy it, but I don't need the 3G. Message was edited by: gwforeman

  • Help needed for 8i limitation

    Hi, The target is 8i and won't be upgrate to 9i in near future. This let me feel painful when using OWB generated scripts of mapping. The main issue of 8i is that PL/SQL not allow me using nor CASE WHEN neither decode() so most of the mapping scripts

  • OEM is not getting started after changing the Server name

    Hello DBAs Recently I installed Oracle database 10g on my a windows machine. It was working fine. Integrated OEM was also working fine. But now I have changed the machine name. Now Oracle Database has come up after updating the listener.ora & tnsname