IM server - store user data in files or directory?

Is there a document that explains the advantages and disadvantages of storing user data in files vs the directory? Is one recommended above the other for new installations?

JesseThompson wrote:
Is there a document that explains the advantages and disadvantages of storing user data in files vs the directory? AFAIK no such document exists
Is one recommended above the other for new installations?
This depends upon your deployment

Similar Messages

  • How to store xml data into file in xml format through java program?

    HI Friends,
    Please let me know
    How to store xml data into file in xml format through java program?
    thanks......
    can discuss further at messenger.....
    Avanish Kumar Singh
    Software Engineer,
    Samsung India Development Center,
    Bangalore--560001.
    [email protected]

    Hi i need to write the data from an XML file to a Microsoft SQL SErver database!
    i got a piece of code from the net which allows me to parse th file:
    import java.io.IOException;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import org.apache.xerces.parsers.SAXParser;
    import java.lang.*;
    public class MySaxParser extends DefaultHandler
    private static int INDENT = 4;
    private static String attList = "";
    public static void main(String[] argv)
    if (argv.length != 1)
    System.out.println("Usage: java MySaxParser [URI]");
    System.exit(0);
    String uri = argv[0];
    try
    XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    MySaxParser MySaxParserInstance = new MySaxParser();
    parser.setContentHandler(MySaxParserInstance);
    parser.parse(uri);
    catch(IOException ioe)
    ioe.printStackTrace();
    catch(SAXException saxe)
    saxe.printStackTrace();
    private int idx = 0;
    public void characters(char[] ch, int start, int length)
    throws SAXException
    String s = new String(ch, start, length);
    if (ch[0] == '\n')
    return;
    System.out.println(getIndent() + " Value: " + s);
    public void endDocument() throws SAXException
    idx -= INDENT;
    public void endElement(String uri, String localName, String qName) throws SAXException
    if (!attList.equals(""))
    System.out.println(getIndent() + " Attributes: " + attList);
    attList = "";
    System.out.println(getIndent() + "end document");
    idx -= INDENT;
    public void startDocument() throws SAXException
    idx += INDENT;
    public void startElement(String uri,
    String localName,
    String qName,
    Attributes attributes) throws SAXException
    idx += INDENT;
    System.out.println('\n' + getIndent() + "start element: " + localName);
    if (localName.compareTo("Machine") == 0)
    System.out.println("YES");
    if (attributes.getLength() > 0)
    idx += INDENT;
    for (int i = 0; i < attributes.getLength(); i++)
    attList = attList + attributes.getLocalName(i) + " = " + attributes.getValue(i);
    if (i < (attributes.getLength() - 1))
    attList = attList + ", ";
    idx-= INDENT;
    private String getIndent()
    StringBuffer sb = new StringBuffer();
    for (int i = 0; i < idx; i++)
    sb.append(" ");
    return sb.toString();
    }// END PRGM
    Now , am not a very good Java DEv. and i need to find a soln. to this prob within 1 week.
    The next step is to write the data to the DB.
    Am sending an example of my file:
    <Start>
    <Machine>
    <Hostname> IPCServer </Hostname>
    <HostID> 80c04499 </HostID>
    <MachineType> sun4u [ID 466748 kern.info] Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz) </MachineType>
    <CPU> UltraSPARC-IIi at 360 MHz </CPU>
    <Memory> RAM : 512 MB </Memory>
    <HostAdapter>
    <HA> kern.info] </HA>
    </HostAdapter>
    <Harddisks>
    <HD>
    <HD1> c0t0d0 ctrl kern.info] target 0 lun 0 </HD1>
    <HD2> ST38420A 8.2 GB </HD2>
    </HD>
    </Harddisks>
    <GraphicCard> m64B : PCI PGX 8-bit +Accel. </GraphicCard>
    <NetworkType> hme0 : Fast-Ethernet </NetworkType>
    <EthernetAddress> 09:00:30:C1:34:90 </EthernetAddress>
    <IPAddress> 149.51.23.140 </IPAddress>
    </Machine>
    </Start>
    Note that i can have more than 1 machines (meaning that i have to loop thru the file to be able to write to the DB)
    Cal u tellme what to do!
    Even better- do u have a piece of code that will help me understand and implement the database writing portion?
    I badly need help here.
    THANX

  • Setup is unable to store configuration data in the LDAP directory

    I am attempting to install the Sun One Directory Server 5.1 on my Windows 2000 machine. At the conclusion of the installation process, I recieve these back to back pop up windows:
    Error:
    Setup is unable to store configuration data in the LDAP directory.
    Error:
    Unable to create administration server configuration.
    Error:
    Could not authenticate ldap connection, "Unknown error".
    Error:
    Unable to set ACI in Configuration Directory Server
    Setup
    Setup's Post-Install mode failed for the Sub Component admin belonging to the component admin. Do you want to continue.
    What am I doing wrong?

    Hi,
    Can you please send me logconv.pl code to [email protected] I am unable to find the file

  • Store user data row in modle session

    All,
    My use case is after successful login, i get a row in the VO. i don't want to store separate attributes in the model layer session and HTTP Session. How can i store the entire Row in the session and how do i access it. In my model layer i can do something like this
    getSession().getUserData().put("currentUserDetailsRow",  getVO.getFirst());but my problem is i will be writing the session syn code in a root class of the application module. So how do i get access to the VO there and how do i get the view object in all the other VOs ?
    hope i am clear here
    thnks
    jdev 11..1.15

    I would recommend to think again about the use case. You normally store this info on the client side in a session bean and pass the info needed to the model layer as method parameter.
    If you really want to store the info in the model layer too you always end up with separate stage l storage of the info. In addition you need to take care of activation and passivation of the user data.
    Timo

  • Mountain Lion Server- Profile Manager- No such file or directory

    When trying to start Profile Manager I recieve this message:
    I have tried the following fix provided by Apple:
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB. sh
    However, my problem seems to exist a step before this is even useful. I have been all over the Apple Support Community and web looking for an answer, but everyone seems to assume all problems exist at a point where you don't receive the following from the Console:
    ProfileManager[29045]: devicemgrd: Terminating on unhandled exception No such file or directory - /var/devicemgr/ServiceData/Data/migration at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devi cemgrd:238:in `initialize'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `new'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `SetupRails'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:158:in `Run'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:851
    com.apple.launchd[1]: (com.apple.devicemanager[29045]) Exited with code: 1
    com.apple.launchd[1]: (com.apple.devicemanager) Throttling respawn: Will start in 9 seconds
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    ProfileManager[29053]: Failed to delete '/var/devicemgr/ServiceData/Data/tmp'. No such file or directory - /var/devicemgr/ServiceData/Data/tmp
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    ProfileManager[29053]: devicemgrd: Terminating on unhandled exception No such file or directory - /var/devicemgr/ServiceData/Data/migration at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devi cemgrd:238:in `initialize'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `new'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `SetupRails'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:158:in `Run'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:851
    com.apple.launchd[1]: (com.apple.devicemanager[29053]) Exited with code: 1
    com.apple.launchd[1]: (com.apple.devicemanager) Throttling respawn: Will start in 9 seconds
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    ProfileManager[29061]: Failed to delete '/var/devicemgr/ServiceData/Data/tmp'. No such file or directory - /var/devicemgr/ServiceData/Data/tmp
    serveradmin[28989]: servermgr_devicemgr: response statusCode: 503
    serveradmin[28989]: servermgr_devicemgr: waiting for devicemgr to respond
    ProfileManager[29061]: devicemgrd: Terminating on unhandled exception No such file or directory - /var/devicemgr/ServiceData/Data/migration at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devi cemgrd:238:in `initialize'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `new'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:238:in `SetupRails'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:158:in `Run'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:851
    com.apple.launchd[1]: (com.apple.devicemanager[29061]) Exited with code: 1
    com.apple.launchd[1]: (com.apple.devicemanager) Throttling respawn: Will start in 9 seconds
    serveradmin[28989]: posting dist not
    ProfileManager[29069]: Failed to delete '/var/devicemgr/ServiceData/Data/tmp'. No such file or directory - /var/devicemgr/ServiceData/Data/tmp
    I'm looking for a solution that doesn't involve reinstalling Mountain Lion if that is at all possible. It seems to me like it should, as that's not so much a solution as just starting over. If you need more from Console, just let me know. Also, I have tried all the threads that relate to restarting, rebooting, or reconfiguring Device Manager and none of them work; at the end I still get the message "No such file or directory."
    Thanks for the help!

    Finally figured the problem out on my own. Thank you to the apple support community for all your help. Full story, I installed OSX Server and then changed the Service Data location to an external hard drive. After that the Profile Manager immediately stopped working. Several reinstallations later and still not working. The problem was not even a little related to /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh, which is the answer everyone else on the internet was giving. The problem was that Profile Manager was no longer installed/installing for whatever reason. So, I went in and reinstalled just Profile Manager from the Server.app and now everything is working great. If things stop working I'll update this post. This is how:
    To begin, delete /private/var/devicemgr. This file is created during the install and if it already exists, the install won't work.
    Open terminal and copy sudo /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/80-devicemgrcommon.sh
    That is all I had to do and Profile Manager works great for me now. Hope this helps someone.

  • Exchange 2007 - User getting 404 File or directory not found

    Exchange 2007 OWA 404 - File or directory not found. I have two database on the same server and this problem is only affecting one database and the user in the other database is fine.  I did a test and move the user to the other database and I gave
    myself  full access to the user mailbox and use OWA (Change mailbox) to access other user and later login as the user itself and everything is fine.  I have thousands of user, and doing this is time consuming.  Anythough on this?

    Hi Tony,
    According to the description, I notice that you have a problem on OWA. When logon OWA with users from specific database, get error "Exchange 2007 OWA 404 - File or directory not found".
    I suggest check following points.
    1. Please make sure OWA Virtual Directory in IIS is available.
    2. Please make sure the OWA Virtual Directory in IIS has configured Basic Authentication by default.
    3. Please try to re-build OWA VD for testing. I saw someone solved this issue by re-building OWA VD.
    4. Since you have tested, moving mailbox to another database can auto-fix this issue, please also try to follow Ed to solve this issue.
    Thanks
    Mavis Huang
    TechNet Community Support

  • How to store ASO dat file in different location

    Hello Everyone,
    i have a requirement where I need to store the .dat(ASO) file in a location other than the folder where the application artifcats are stored. In BSO, We can right click the database, edit, properties and in Storage tab we can choose where Data and Index files have to be stored. Do we have similar option for ASO too? because, the space we have for the application folders are limited and we have a separate SAN drive for storing data and index file and thats where BSO .pag files are stored. Since our ASO cube is growing I want to move the data to a location where BSO data is stored, i mean to the designated drive for data. Any suggestions will be much appreciated.
    Thanks.

    Yes, ASO has the concept of 'tablespaces'. There are four (default, temp, log and metadata) but you probably just want to move the 'default' and 'temp' tablespaces to your SAN location. Temp will look really small (i.e. empty) until you run a restructure or aggregation and then it'll explode to the size of the default tablespace so it's important not to miss.
    See the section on 'Managing Storage for ASO Databases' here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/asysadmn.html, or the 'alter tablespace' MaxL command here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_alttabl.html.
    EDIT: Actually, looking at the documentation, I see that you can't move the metadata or log tablespaces. But you're probably only going to care about 'default' and 'temp' anyway.

  • How to store the XML data? file or database?

    i'm frustrate at it.
    If store XML data into files, then when i query any data,how can i search data using relationship as SQL?
    But if store XML data into database.How can i transform the xml data to the data table?
    Can any one give me an clear example.

    XML is perfect for data interchange and readability. However, to make it searchable you should resolve it properly into tables, in accordance of your own choice of model.
    1. Investigate the XML files and resolve the model
    <Person sex="male">John
    <Pet animal="dog">Doggy</Pet>
    <Pet animal="cat">Catty</Pet>
    </Person>
    2. Create the tables in your database, let one or several tables keep the raw xml for retrieval of original xml data.
    --- XMLDocument ---
    id XML_data
    --- Person ---
    id XML_Document_id sex name
    (foreign key)
    --- Pet ---
    id Person_id animal name
    (foreign key)
    3. Resolve data from the xml files and insert it into the database. Do this through your ContentHandler, or from your DOM model.
    --- XMLDocument ---
    id XML_data
    0 <Person>...</Person>
    --- Person ---
    id XML_Document_id sex name
    0 0 male John
    --- Pet ---
    id Person_id animal name
    0 0 dog Doggy
    1 0 cat Catty
    Gil

  • Does Robohelp Server store all of its data in the backend database?

    Does RoboHelp Server store all data in the database and only code and templates on the web server?

    We need a separate web server and database server. All the content must be in the database. It looks like RoboHelp Server might not be the right architecture.
    Web Server > XSLT
                                            > Client Web Page XSLT/XML
    Database Server > XML
    ~J

  • Old beta user data won't go away

    I'd been playing with some of the Snow Leopard betas (that I wasn't supposed to have, sure) but I had a weird issue where I'd be asked for an admin name and password if I tried to install anything. Then it wouldn't accept my correct admin user name/pass. The installer would often start working actually while the OS continued to pop up the 'incorrect' dialog. It was strange and I just ignored it as par for the downloaded-beta course. Now I've bought the retail version of SL and can't seem to make it do a clean install to the same drive that the beta was on. I've deleted everything system- or user-related off that drive, there are only media files left on there but the installer still is finding the old user data somewhere. My primary 10.5.8 boot drive has different user folders but that's not what it's reading from. Where the heck is this old user data coming from and how do i delete it? Actually I wouldn't mind the old user data coming back if I could get my retail SL install to not keep giving me that 'login/pass incorrect" dialog that I got from the betas.
    Does the OS store user data anywhere but in the Users folder? Unless it's got something hidden on a different boot drive or in some area I'm not privy to I'm truly baffled at this point.

    Chuck it up to a lesson learned and then wipe the disk.

  • How does firefox guarantee User data privacy and protection?

    As I understand Firfox Sync Service will store user data on its personal servers, i have 2 doubts then -
    1: If a user stores his passwords to Firfox server and there is a security breach on that server and User's private data has gone to wrong hands then who would take responsibility of such incidence?
    How secure is the server that firfox uses in general !!
    2: Once this data store grows in size, Firfox would have to use better and reliable technology, that comes with a cost tag, so would Firfox start charging those users who have no idea of this right now?

    With only the password it is impossible to read the data that is on the servers since the data is encrypted. The data is encrypted on your computer before it is sent to the Mozilla servers, and if downloading the data from Mozilla it is decrypted on your computer. To encrypt and decrypt the data the secret phrase is required, and that is on your computer.
    As far as I am aware Firefox sync will always be free.

  • There is a file or directory that is crrupted and unreadable. There was an error in the iTunes Store. Please try again soon..

    I am having trouble accessing my purchases and upgrades for apps.
    One Error message is
    Could not purchase. the File or directory is corrupted and unreadable. There was an error in the iTunes store. Please try again later.
    another error message was
    The app '_____' was not installed on the iPhone "____ iPhone" because you are not authorised for it on this computer.
    To authorise this computer for itmes purchased from the iTunes Store choose Store>Authorise this computer.
    Then This message appears
    We could not complete your iTunes Store request. The file or directory is corrupted and unreadable. There was an error in the iTunes Store. Please try again later.
    This also came up last night while I had my iPad connected to the computer. Can someone please tell me what has happened and how I can fix it. I have already uninstalled and reinstalled iTunes.

    Did you ever get an answer?

  • Store User specific data in Secure file in EP

    Hi
        I wanted to store User specific data into Secure file .Please help me to access JAVA Secure Storage API 's of SAP netweaver
    Regards
    Ganesan S

    sorry, wrong post

  • An OS-Intergrated place to store per-user application configuration files.

    A Chairde,
    I'm developing an application that could be deployed on multiple platforms. I'm looking for a location to store per-user configuration files in a OS-integrated way.
    I use a utility class to determine the OS of the users machine. I know from experience that Windows NT5+ likes to store per-user settings/configurations in the %APPDATA% path (which is usually C:\Users\<username>\Appdata\Roaming\<vendor>\<software> etc.) I'm using a call to the environment labels to determine it's location.
    I'm a linux user myself, so I'm aware that most UNIX based Operating Systems like to store personal configurations in hidden folders in the user's home directory (ex /home/<username>/.<application> etc.), Obviously, I'm using a call to the system property user.home to determine that location.
    My Question is in relation to Mac OS and Mac OS X, where would it be a safe location to store per-user configurations? I know OS X is BSD/UNIX based so is it safe to assume to store them as a hidden subfolder of the user.home directory? What about Mac OS classic? Where are per-user settings stored, or is it like Windows 9x and NT4 and lacks proper multi-user setups (although NT4 is somewhat more prepared then 9x) ?
    It would be much appreciated if anybody has any ideas.
    Is Mise,
    Seán Mac Aodha
    PS. I'm not using Javas Property files etc. I've rolled my own exchangeable format for storing key,value pairs.

    I've used databases in the past to store local files but clients have sometimes run into trouble when the database daemon goes down or doesnt start-up normally because of a "improper" shutdown etc.
    In my own implementation of "Settings Files" i have serialized hashtables marked with appropriate metadata stored to the users "application data", a backup or original copy of those settings in the common directory shared by my application framework and then in a networked enviroment, the Settings can be hosted on a database server, so the user can travel between client machines and keep their settings (and files) with them.
    I have, with a bit of googling, come across the most obvious page i should have looked at in regards to Apple Mac OS X
    http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html
    According to Apple's guidlines, the most suitable place to store User configuration files is in the ~/Library/Application Support/<Application Name> directory.
    and for System-wide configuration files, /Library/Application Support/<Application Name> rather then storing them with the application in the /Applications directory.

  • OpenSSO 8.0 - Windows Server 2003 User Store

    The following is taken from the installation guide - does this mean that Windows Server 2003 Forest Functional Level must be at 2003. If not, what does it mean?
    Requirements For ActiveDirectory as theUser Data Store
    To configure and use Active Directory as the user data store, your deployment must meet these requirements:
    &#9632; OpenSSO Enterprise 8.0 is installed on a supported web container.
    &#9632; Active Directory 2003 is installed on Windows Server 2003 R2 with “Windows Server forest
    functional level” enabled. For more information, see:
    http://support.microsoft.com/?id=322692#4
    &#9632; You have not made any changes to the OpenSSO Enterprise schema, attributes, or XML
    files.

    I have installed 9i successfully on machines with AMD64 cpus and 64bit Xeons without any problems.
    Cheers,
    R

Maybe you are looking for

  • How do I click on a PDF link and get a dialogue asking me what to do?

    Read this. More confused: https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them?esab=a&s=unable+to+rename+PDF+download&r=2&as=s In Safari, I can Cmd-click on a link that is a link to a PDF document, and I get a popup as

  • BPM ODATA Service to start process

    Hi, Can any one help how to use BPM Odata service to start process? Regards, Pavani

  • How to determine which file descriptor opened my driver?

    Suppose a user process opens my driver twice. How does open() determine which file descriptor opened the device? In Linux, the kernel will pass a pointer to a structure which represents the open file descriptor. However, Solaris only passes the devic

  • RFC Error for TMSADM After Executing RSRFCCHK

    Hi, I'm using ECC6 and running RSRFCCHK to check our RFC destinations. Everything is working fine except that I'm getting an RFC no authority error for function group SYST for TMSADM. I've reset the buffer by using RSET and even executed report RSUSR

  • URGENT:Problems with OJMS

    Hi, I have a problem with OJMS and MDBs. The problem is that I receive messages correctly, but messages are not dequeued from database. I have followed MDB's developer guide from oracle, the only difference is that I'm using stardard JMS interface in