About to use my friggin tree for firewood  :o(

I was wondering if someone could maybe clue me into a problem that I am having with my DefaultMutableTree. See, I call a recursive method to get the file system of the computer, which is what is added to the tree. So the user is looking at a tree structure of the file system of their computer. My problem is that when I compile and run my program the tree shows up fine, with no hitches. I have given my code to other friends, and for some of them it does not show up, and throws a null pointer exception at the internal interface of this recursive method. I was wondering what might be causing this? My friends that have problems with the code are running either WIN XP, or Mac OS 10.1.4. Here is the code for the initialization of the tree (This will look ugly on the post, so I would hope that you would take the time to copy and paste this into your editor :D)
//code start.
import java.io.*;
import java.io.File;
import java.lang.*;
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.beans.*;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.event.TreeSelectionListener;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.tree.TreeSelectionModel;
public class File_Encryptor extends JFrame {
private JFrame thisFrame = this;
private JTree tree;
private JMenuBar jMenuBar1 = new JMenuBar();
private JMenuItem menuOpen = new JMenuItem("Open");
private JMenuItem menuSave = new JMenuItem("Save");
private JMenuItem menuClose = new JMenuItem("Close");
private JMenuItem menuQuit = new JMenuItem("Quit");
private JMenuItem menuAbout = new JMenuItem("About this software...");
private JMenuItem menuAdd = new JMenuItem("Add key and user");
private JMenuItem menuChange = new JMenuItem("Change buddy key");
private JMenuItem menuSend = new JMenuItem("Send your buddy key");
private JMenuItem menuDelete = new JMenuItem("Delete selected buddy key");
private JMenuItem menuReset = new JMenuItem("Reset your key");
private JMenuItem menuChangeLogin = new JMenuItem("Change Login");
private JMenuItem menuHelp = new JMenuItem("Help...");
private JButton openDir = new JButton("Open path");
private JTextField jTextField1 = new JTextField();
private JScrollPane treeView;
private JScrollPane imageView;
private JScrollPane textView;
private String ROOT;
private File root;
private DefaultMutableTreeNode top;
final private DefaultMutableTreeNode FILLER = new DefaultMutableTreeNode(new FileInfo ("about:blank", "about:blank"));
public File_Encryptor() throws FileNotFoundException, InterruptedException, IOException, ClassNotFoundException {
super("FILE ENCRYPTOR 1.0");
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
ROOT = getRoot(System.getProperty("user.home"));
root = new File(ROOT);
try{
//Create the nodes.
top = unfold(root);
top.setUserObject(new FileInfo(ROOT,ROOT));
tree = new JTree(top);
tree.getSelectionModel().setSelectionMode
(TreeSelectionModel.SINGLE_TREE_SELECTION);
Object nodage = top.getNextNode().getUserObject();
FileInfo leaf = (FileInfo) nodage;
tree.addTreeSelectionListener(new TreeSelectionListener() {
public void valueChanged(TreeSelectionEvent e) {
DefaultMutableTreeNode node = (DefaultMutableTreeNode)
tree.getLastSelectedPathComponent();
if (node == null) return;
try{
Object nodeInfo = node.getUserObject();
FileInfo temp = (FileInfo) nodeInfo;
if((node.isLeaf()) && (!(node.isRoot())))
System.out.println(temp.Path());
//figure out how to place file in editor pane.
else
return;
catch(Exception fubar)
fubar.printStackTrace();
treeView = new JScrollPane(tree);
treeView.setSize(150,450);
jTextField1.setMaximumSize(new Dimension(50, 100));
jTextField1.setText("PATH");
this.getContentPane().add(jTextField1, BorderLayout.EAST);
this.getContentPane().add(treeView, BorderLayout.WEST);
catch(Exception e) {
e.printStackTrace();
jMenuBar1.setBorder(BorderFactory.createEtchedBorder());
JMenu menu = new JMenu("File");
JMenu about = new JMenu("Help");
JMenu keys = new JMenu("Keys");
JMenu change = new JMenu("Login");
menuQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.META_MASK));
menuQuit.setEnabled(true);
menuQuit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
menu.add(menuQuit);
jMenuBar1.add(menu);
jMenuBar1.add(keys);
jMenuBar1.add(change);
jMenuBar1.add(about);
this.setJMenuBar(jMenuBar1);
public class FileInfo {
private String path = "";
private String name = "";
public FileInfo(String p , String n){
path = p;
name = n;
public String toString(){
return name;
public String Path(){
return path;
public static String getFileEx(String po){
String ext = "";
int i = po.lastIndexOf('.');
if(i > 0)
ext = po.substring(i-1);
else
ext = null;
return ext;
private DefaultMutableTreeNode unfold(File path) {
DefaultMutableTreeNode node = new DefaultMutableTreeNode("");
Vector Files = new Vector();
Vector Direc = new Vector();
if((path.isDirectory()) && (path.list().length != 0))
node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
File [] childs = path.listFiles();
for(int j = 0; j < childs.length; j++)
if(childs[j].isDirectory())
Direc.addElement(childs[j]);
else
Files.addElement(childs[j]);
for(int g = 0; g < Files.size(); g++)
Direc.addElement((File)Files.elementAt(g));
for(int i = 0; i < Direc.size(); i++)
node.add(unfold((File)Direc.elementAt(i)));
else if(!(path.isDirectory()))
node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
else
node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
node.add(new DefaultMutableTreeNode(new FileInfo(null,"<EMPTY FOLDER>")));
return node;
public static String getRoot(String path)
int find = path.indexOf(System.getProperty("file.separator"));
String root = path.substring(0,find + 1);
return root;
public static void main( String [ ] args )throws FileNotFoundException, InterruptedException, IOException, ClassNotFoundException {
File_Encryptor show = new File_Encryptor();
show.setSize(700, 500);
show.setResizable(false);
//show.setLocation(100,100);
show.setVisible(true);
//code end.
//well there it is. Hope someone can help me with my problem.
//I know this code is ugly, but I was trying a bunch of different
//things hoping something would work. but ehh no such luck.
//I am running windows 98, yea that's prolly my problem.
//thank you for your time.

So you consider this exact post appropriate for both the Advanced Language Topics and New to Java Technology? Did you post this question anywhere else? Don't double post.
Anyway, check the post in NtJT. The answer is there.

Similar Messages

  • About to use my tree for firewood

    I was wondering if someone could maybe clue me into a problem that I am having with my DefaultMutableTree. See, I call a recursive method to get the file system of the computer, which is what is added to the tree. So the user is looking at a tree structure of the file system of their computer. My problem is that when I compile and run my program the tree shows up fine, with no hitches. I have given my code to other friends, and for some of them it does not show up, and throws a null pointer exception at the internal interface of this recursive method. I was wondering what might be causing this? My friends that have problems with the code are running either WIN XP, or Mac OS 10.1.4. Here is the code for the initialization of the tree (This will look ugly on the post, so I would hope that you would take the time to copy and paste this into your editor :D)
    //code start.
    import java.io.*;
    import java.io.File;
    import java.lang.*;
    import java.util.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.beans.*;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.tree.TreeSelectionModel;
    public class File_Encryptor extends JFrame {
    private JFrame thisFrame = this;
              private JTree tree;
    private JMenuBar jMenuBar1 = new JMenuBar();
              private JMenuItem menuOpen = new JMenuItem("Open");
              private JMenuItem menuSave = new JMenuItem("Save");
              private JMenuItem menuClose = new JMenuItem("Close");
              private JMenuItem menuQuit = new JMenuItem("Quit");
              private JMenuItem menuAbout = new JMenuItem("About this software...");
              private JMenuItem menuAdd = new JMenuItem("Add key and user");
              private JMenuItem menuChange = new JMenuItem("Change buddy key");
              private JMenuItem menuSend = new JMenuItem("Send your buddy key");
              private JMenuItem menuDelete = new JMenuItem("Delete selected buddy key");
              private JMenuItem menuReset = new JMenuItem("Reset your key");
              private JMenuItem menuChangeLogin = new JMenuItem("Change Login");
              private JMenuItem menuHelp = new JMenuItem("Help...");
              private JButton openDir = new JButton("Open path");
              private JTextField jTextField1 = new JTextField();
              private JScrollPane treeView;
              private JScrollPane imageView;
              private JScrollPane textView;
              private String ROOT;
              private File root;
              private DefaultMutableTreeNode top;
              final private DefaultMutableTreeNode FILLER = new DefaultMutableTreeNode(new FileInfo ("about:blank", "about:blank"));
         public File_Encryptor() throws FileNotFoundException, InterruptedException, IOException, ClassNotFoundException {
    super("FILE ENCRYPTOR 1.0");
                   addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
                        System.exit(0);
                   ROOT = getRoot(System.getProperty("user.home"));
                   root = new File(ROOT);                    
                   try{
                   //Create the nodes.
                   top = unfold(root);
                   top.setUserObject(new FileInfo(ROOT,ROOT));
                   tree = new JTree(top);
                   tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
                   Object nodage = top.getNextNode().getUserObject();
                   FileInfo leaf = (FileInfo) nodage;
                   tree.addTreeSelectionListener(new TreeSelectionListener() {
    public void valueChanged(TreeSelectionEvent e) {
    DefaultMutableTreeNode node = (DefaultMutableTreeNode)
    tree.getLastSelectedPathComponent();
    if (node == null) return;
              try{
                        Object nodeInfo = node.getUserObject();
                        FileInfo temp = (FileInfo) nodeInfo;
                        if((node.isLeaf()) && (!(node.isRoot())))
                             System.out.println(temp.Path());
                             //figure out how to place file in editor pane.
                        else
                             return;
                   catch(Exception fubar)
                        fubar.printStackTrace();
                   treeView = new JScrollPane(tree);
                   treeView.setSize(150,450);
                   jTextField1.setMaximumSize(new Dimension(50, 100));
                   jTextField1.setText("PATH");
                   this.getContentPane().add(jTextField1, BorderLayout.EAST);
                   this.getContentPane().add(treeView, BorderLayout.WEST);
    catch(Exception e) {
    e.printStackTrace();
                   jMenuBar1.setBorder(BorderFactory.createEtchedBorder());
                   JMenu menu = new JMenu("File");
                   JMenu about = new JMenu("Help");
                   JMenu keys = new JMenu("Keys");
                   JMenu change = new JMenu("Login");
                   menuQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.META_MASK));
                   menuQuit.setEnabled(true);
                   menuQuit.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             System.exit(0);
                   menu.add(menuQuit);
                   jMenuBar1.add(menu);
                   jMenuBar1.add(keys);
                   jMenuBar1.add(change);
                   jMenuBar1.add(about);
                   this.setJMenuBar(jMenuBar1);
              public class FileInfo {
              private String path = "";
              private String name = "";
              public FileInfo(String p , String n){
                   path = p;
                   name = n;
              public String toString(){
                   return name;
              public String Path(){
                   return path;
              public static String getFileEx(String po){
              String ext = "";
              int i = po.lastIndexOf('.');
              if(i > 0)
                   ext = po.substring(i-1);
              else
                   ext = null;
              return ext;
              private DefaultMutableTreeNode unfold(File path) {
                   DefaultMutableTreeNode node = new DefaultMutableTreeNode("");
                   Vector Files = new Vector();
                   Vector Direc = new Vector();
                   if((path.isDirectory()) && (path.list().length != 0))
                        node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
                        File [] childs = path.listFiles();
                        for(int j = 0; j < childs.length; j++)
                             if(childs[j].isDirectory())
                                  Direc.addElement(childs[j]);
                             else
                                  Files.addElement(childs[j]);
                        for(int g = 0; g < Files.size(); g++)
                             Direc.addElement((File)Files.elementAt(g));
                        for(int i = 0; i < Direc.size(); i++)
                             node.add(unfold((File)Direc.elementAt(i)));
                   else if(!(path.isDirectory()))
                        node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
                   else
                        node = new DefaultMutableTreeNode(new FileInfo(path.getPath(),path.getName()));
                        node.add(new DefaultMutableTreeNode(new FileInfo(null,"<EMPTY FOLDER>")));
                   return node;
              public static String getRoot(String path)
                   int find = path.indexOf(System.getProperty("file.separator"));
                   String root = path.substring(0,find + 1);
                   return root;
    public static void main( String [ ] args )throws FileNotFoundException, InterruptedException, IOException, ClassNotFoundException {
    File_Encryptor show = new File_Encryptor();
    show.setSize(700, 500);
    show.setResizable(false);
    //show.setLocation(100,100);
    show.setVisible(true);
    //code end.
    //well there it is. Hope someone can help me with my problem.
    //I know this code is ugly, but I was trying a bunch of different
    //things hoping something would work. but ehh no such luck.
    //I am running windows 98, yea that's prolly my problem.
    //thank you for your time.

    This will make the code less ugly.
    > //code start.
    import java.io.*;
    import java.io.File;
    import java.lang.*;
    import java.util.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.beans.*;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.tree.TreeSelectionModel;
    public class File_Encryptor extends JFrame {
    private JFrame thisFrame = this;
              private JTree tree;
    private JMenuBar jMenuBar1 = new JMenuBar();
              private JMenuItem menuOpen = new JMenuItem("Open");
              private JMenuItem menuSave = new JMenuItem("Save");
    private JMenuItem menuClose = new
    w JMenuItem("Close");
              private JMenuItem menuQuit = new JMenuItem("Quit");
    private JMenuItem menuAbout = new JMenuItem("About this software...");
    private JMenuItem menuAdd = new JMenuItem("Add key and user");
    private JMenuItem menuChange = new JMenuItem("Change buddy key");
    private JMenuItem menuSend = new JMenuItem("Send your buddy key");
    private JMenuItem menuDelete = new JMenuItem("Delete selected buddy key");
    private JMenuItem menuReset = new JMenuItem("Reset your key");
    private JMenuItem menuChangeLogin = new
    w JMenuItem("Change Login");
    private JMenuItem menuHelp = new
    w JMenuItem("Help...");
              private JButton openDir = new JButton("Open path");
              private JTextField jTextField1 = new JTextField();
              private JScrollPane treeView;
              private JScrollPane imageView;
              private JScrollPane textView;
              private String ROOT;
              private File root;
              private DefaultMutableTreeNode top;
    final private DefaultMutableTreeNode FILLER = new
    w DefaultMutableTreeNode(new FileInfo ("about:blank",
    "about:blank"));
    public File_Encryptor() throws FileNotFoundException,
    InterruptedException, IOException,
    ClassNotFoundException {
    super("FILE ENCRYPTOR 1.0");
                   addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e)
    dowEvent e) {
                        System.exit(0);
                   ROOT = getRoot(System.getProperty("user.home"));
                   root = new File(ROOT);                    
                   try{
                   //Create the nodes.
                   top = unfold(root);
                   top.setUserObject(new FileInfo(ROOT,ROOT));
                   tree = new JTree(top);
                   tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
                   Object nodage = top.getNextNode().getUserObject();
                   FileInfo leaf = (FileInfo) nodage;
    tree.addTreeSelectionListener(new
    ew TreeSelectionListener() {
    public void
    public void valueChanged(TreeSelectionEvent e) {
    DefaultMutableTreeNode node =
    TreeNode node = (DefaultMutableTreeNode)
    tree.getLastSelectedPathComponent();
    if (node == null) return;
              try{
                        Object nodeInfo = node.getUserObject();
                        FileInfo temp = (FileInfo) nodeInfo;
                        if((node.isLeaf()) && (!(node.isRoot())))
                             System.out.println(temp.Path());
                             //figure out how to place file in editor pane.
                        else
                             return;
                   catch(Exception fubar)
                        fubar.printStackTrace();
                   treeView = new JScrollPane(tree);
                   treeView.setSize(150,450);
    jTextField1.setMaximumSize(new Dimension(50,
    0, 100));
                   jTextField1.setText("PATH");
    this.getContentPane().add(jTextField1,
    1, BorderLayout.EAST);
    this.getContentPane().add(treeView,
    w, BorderLayout.WEST);
    catch(Exception e) {
    e.printStackTrace();
                   jMenuBar1.setBorder(BorderFactory.createEtchedBorder
                   JMenu menu = new JMenu("File");
                   JMenu about = new JMenu("Help");
                   JMenu keys = new JMenu("Keys");
                   JMenu change = new JMenu("Login");
                   menuQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEv
    nt.VK_Q, ActionEvent.META_MASK));
                   menuQuit.setEnabled(true);
                   menuQuit.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             System.exit(0);
                   menu.add(menuQuit);
                   jMenuBar1.add(menu);
                   jMenuBar1.add(keys);
                   jMenuBar1.add(change);
                   jMenuBar1.add(about);
                   this.setJMenuBar(jMenuBar1);
              public class FileInfo {
              private String path = "";
              private String name = "";
              public FileInfo(String p , String n){
                   path = p;
                   name = n;
              public String toString(){
                   return name;
              public String Path(){
                   return path;
              public static String getFileEx(String po){
              String ext = "";
              int i = po.lastIndexOf('.');
              if(i > 0)
                   ext = po.substring(i-1);
              else
                   ext = null;
              return ext;
              private DefaultMutableTreeNode unfold(File path) {
    DefaultMutableTreeNode node = new
    ew DefaultMutableTreeNode("");
                   Vector Files = new Vector();
                   Vector Direc = new Vector();
    if((path.isDirectory()) && (path.list().length !=
    != 0))
    node = new DefaultMutableTreeNode(new
    new FileInfo(path.getPath(),path.getName()));
                        File [] childs = path.listFiles();
                        for(int j = 0; j < childs.length; j++)
                             if(childs[j].isDirectory())
                                  Direc.addElement(childs[j]);
                             else
                                  Files.addElement(childs[j]);
                        for(int g = 0; g < Files.size(); g++)
                             Direc.addElement((File)Files.elementAt(g));
                        for(int i = 0; i < Direc.size(); i++)
                             node.add(unfold((File)Direc.elementAt(i)));
                   else if(!(path.isDirectory()))
    node = new DefaultMutableTreeNode(new
    new FileInfo(path.getPath(),path.getName()));
                   else
    node = new DefaultMutableTreeNode(new
    new FileInfo(path.getPath(),path.getName()));
    node.add(new DefaultMutableTreeNode(new
    new FileInfo(null,"<EMPTY FOLDER>")));
                   return node;
              public static String getRoot(String path)
    int find =
    =
    path.indexOf(System.getProperty("file.separator"));
                   String root = path.substring(0,find + 1);
                   return root;
    public static void main( String [ ] args
    ] args )throws FileNotFoundException,
    InterruptedException, IOException,
    ClassNotFoundException {
    File_Encryptor show = new
    show = new File_Encryptor();
    show.setSize(700, 500);
    show.setResizable(false);
    //show.setLocation(100,100);
    show.setVisible(true);
    //code end.

  • Why am I not about to use my Apple ID for iMessage? I have typed the password correctly and the only thing that appeared was "Could not sign in. Please check your network connection and try again"

    I am not able to use my iMessage after updating to iOS 7.0.2. Although I have tried to sign in as many times as possible, a sign writing "could not sign in. Please check your network connection and try again". My network bar is 4-5/5 but I still could not sign in.

    Hi Dinowenwen,
    Thanks for visiting Apple Support Communities.
    If you're not able to sign into Messages, the steps in this article can help:
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/ts3970
    Cheers,
    Jeremy

  • Problem in using AdvanceDataGrid as tree with drag n drop functionality

    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.

    Please don’t use this forum for support questions, go use flexcoders or the Adobe forums instead.
    Matt
    On 2/10/09 11:21 PM, "rakess" <
    [email protected]> wrote:
    A new discussion was started by rakess in
    Developers --
      Problem in using AdvanceDataGrid as tree with drag n drop functionality
    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.  
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.
    View/reply at Problem in using AdvanceDataGrid as tree with drag n drop functionality <
    http://www.adobeforums.com/webx?13@@.59b7e11c>
    Replies by email are OK.
    Use the unsubscribe <
    http://www.adobeforums.com/webx?280@@.59b7e11c!folder=.3c060fa3>  form to cancel your email subscription.

  • About the support of commsuite 7 for two tree LDAP

    Hi all,
    We are giong to move our old IMS LDAP (ver 5.2) to a new hardware with DS version 6.3.1. Existing DS version 5.2 holds enterprise
    data in a two tree structure. ( Ex : dc=example,dc=com and o=isp) . Both trees carry user data. Documents released for
    commsuite 7 says the following,
    "Messaging Server and Calendar Server have introduced a one-tree structure, where there is no Domain Component (DC) Tree.
    All domain information is held in domain nodes in the Organization Tree."
    Paralley to the LDAP move the IMS version will also be upgraded to commsuite7. In this scenario how can I manage
    this whole process with the existenace of two tree structure. Any document regarding this issue?
    Appreciate your guidance..........
    Thanks

    nusagnar wrote:
    ### User data should not exist in the Domain Component tree.
    Yes. True. I knew it. Sorry about my bad terminology used in writing the sentence " Both trees
              carry user data.". Think this two-tree structure as a one configured properly. As I obeserved
              ( In Installation log files) this system uses schema 2. Not schema 1. How can I confirm which schema it used?Which system are you referring to? The iMS5.2 system or the Comm-Suite-7 system?
    iMS5.2 only supported Schema 1.
    For Comm-Suite-7 you can check by running:
    -bash-3.00# ldapsearch -b "o=comms-config" objectclass=sunCommsMetaData
    version: 1
    dn: cn=CommServers,o=comms-config
    objectClass: top
    objectClass: sunCommsMetaData
    sunkeyvalue: dssetup_ver=6.4
    sunkeyvalue: dssetup_rev=5.05
    sunkeyvalue: dcsuffix=o=isp
    sunkeyvalue: ugsuffix=o=isp
    sunkeyvalue: mlsuffix=o=mlusers
    sunkeyvalue: schematype=2
    cn: CommServersNote: "schematype=2"
    ### Which documents? Please provide the URL.
    Please read the title " Changes in the DIT Structure" in
    http://wikis.sun.com/display/CommSuite/Understanding+Communications+Suite+Product+Requirements+and+Considerations
    If you are using Access Manager then you need to use Schema 2. If you aren't using Access Manager then you can use Schema 1 or Schema 2. This is clearly stated in the "Schema Requirements" section of that document.
    ### Schema 2 is a single-tree structure. Comm-Suite-7 supports Schema 1.
    I understood it differently in this way after referring the doc above. Both schema 1 and 2 supports one-tree
         and two-tree systems.( I can create a new suffix with DC components ( Ex: dc=example,dc=com) in DS version 6.3
         with schema 2 ).I haven't come across any customers who are using a two-tree Schema 2 environment. So going down this path is potentially risky.
    But support for two-tree system depends on the LDAP parameters specified when preparing the DS
         using comm_dssetup.pl. Can you please guide me to find a good document on this?I don't understand your issue. If you are preparing a fresh Directory Server install with the comm_dssetup.pl tool and you want to use schema 1, then simply choose schema 1 when asked.
    ### Lets imagine there is a two tree structure ( whether it is schema1 or schema2 will depend on your next reply )
    and required to migrate to a DS system with schema 2 for commsuite 7. What is the possibility of doing it ? Do you have a specific requirement for using Schema 2 or not?
    Regards,
    Shane.

  • I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    The license did not have use restrictions Licenses and terms of use | Adobe
    BUT... when your one year Education account ends, I do not think you will be able to renew at the Education rate

  • I'm about to purchase Lion.  My husband and I each have a desktop, iPad and iPhone.  We currently use one Apple ID for iPad/phone purchases.  Can we purchase 2 copies of Lion with one Apple ID?

    I'm about to purchase Lion.  My husband and I each have a desktop, iPad and iPhone.  We currently use one Apple ID for iPad/phone purchases.  Can we purchase 2 copies of Lion with one Apple ID or do we have to use different Apple IDs for the purchase?  If we use the different Apple IDs can we still use the same ID for all of our purchases.

    And just in case you were wondering, installing one purchased copy on all the Macs you own is specifically called out as allowed in the Mac OS X Lion license.
    If you do not want to download multiple times, just copy the Applications -> Install Lion app to a safe place BEFORE you do the first install.  Then copy that copy to any Mac you own where you want to install Lion.

  • HT4061 I never set up a paascode and haven't used my ipad in about 2 wks. now its asking for a passcode to unlick. help

    I never set up a paascode and haven't used my ipad in about 2 wks. now its asking for a passcode to unlick. help

    LOST PASSCODE
    You should be able to remove the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    Otherwise read this
    If that doesn’t work  you will need to perform a factory restore to remove it. Or read:
    Enter Wrong passcode
    http://support.apple.com/kb/ht1212

  • Question about using ZFS root pool for whole disk?

    I played around with the newest version of Solaris 10/08 over my vacation by loading it onto a V210 with dual 72GB drives. I used the ZFS root partition configuration and all seem to go well.
    After I was done, I wondered if using the whole disk for the zpool was a good idea or not. I did some looking around but I didn't see anything that suggested that was good or bad.
    I already know about some the flash archive issues and will be playing with those shortly, but I am curious how others are setting up their root ZFS pools.
    Would it be smarter to setup say a 9gb partition on both drives so that the root ZFS is created on that to make the zpool and then mirror it to the other drive and then create another ZFS pool from the remaining disk?

    route1 wrote:
    Just a word of caution when using ZFS as your boot disk. There are tons of bugs in ZFS boot that can make the system un-bootable and un-recoverable.Can you expand upon that statement with supporting evidence (BugIDs and such)? I have a number of local zones (sparse and full) on three Sol10u6 SPARC machines and they've been booting fine. I am having problems LiveUpgrading (lucreate) that I'm scratching my head to resolve. But I haven't had any ZFS boot/root corruption.

  • I have not used my CS3 version for about 3-4 years.  I tried to use it recently and I get a message about activation.  Called the phone number recommended but no longer in use.  How do I start using MY version I paid for?  Using PC

    I have not used my CS3 version for about 3-4 years.  I tried to use it recently and I get a message about activation.  Called the phone number recommended but no longer in use.  How do I start using MY version I paid for?  Using PC

    Can you activate CS3. If you lost your serial you can retrieve it from Adobe.com. Sign in at Adobe.com the use this link https://www.adobe.com/account/my-products-services.html When your Adobe Product list is displayed click on your CS3 product your serial number should be displayed.

  • I have macbook pro 2012. I 'm using netbeans 7.2 for using programming. It took about 700mb when I use this application.

    I have macbook pro 2012 4gb ram. I 'm using netbeans 7.2 for using programming. It took about 700mb.

    I'm runing out of memeory when I use other applicaiton such as safari with netbens and inactive memory not clearing when not enough memory for other application.Why is this happing? Does netbens application leak memory?

  • When I down load books, can I read them on my iPad and iPhone? I went to open a book on my phone but I got a message that aid something about the bill already associated with an appleid. I use the same id for both devices.

    When I down load books, can I read them on my iPad and iPhone? I went to open a book on my phone but I got a message that aid something about the bill already associated with an appleid. I use the same id for both devices.

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • Folder Chooser reference (which uses a tree for selection)

    is there a recommendation for a folder chooser which uses a tree for selection? all i've found so far are either:
    * 3rd party folder choosers
    * the file open dialog box of java where you use setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY);
    i can't believe there is currently no folder chooser which uses a tree for selection in standard java. so probably i didn't find it. before i write my own, i thought i'd ask.
    thanks for the help!

    No, it doesn't exist in the standard Java API. What's wrong with third party solutions, especially when some of them are open source? Google found quite a few.
    db

  • I have used my iphone 6 for about a month. It asked for an upgrade of ios, and know it shows red screen itunes and apple logo. What to do??

    I have used my iphone 6 for about a month. It asked me for an upgrade of ios to 8.1.3, and know it shows red screen, itunes and apple logo in a infinite loop. I tried to update/restore it, but pc just do not recognize it with the screen changing. Does anyone solved this issue with apple store or yourself?? what to do?

    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • I deleted all downloaded songs from my iphone but under Settings/About it still shows songs on my phone. How do I fix this?  I need to use that storage space for other things.

    I deleted all downloaded songs from my iPhone but under
    Settings/About it still shows songs on my phone.
    How do I fix this?  I need to use that storage space for other things.

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

Maybe you are looking for

  • Select query in a report

    Hi! Is it possible to modify a select query for a report in the following way: I have created two fields where users input values and operators. Operators selection is a static list consisting of: =, like , in Value field is a text field. The current

  • File not opening after format computer.

    Dear Sir,   i had purchase 40 windows 7 and windows 8 licnese. after format the system when i open files its show error you dont have permition to open this file. Access Denied. please help. thanks rajpal

  • How do i take a snapshot on my macbook pro

    how do i take a snapshot on my macbook pro, anyone can help? thank you in advance, I am sure its very simple

  • TS1208 question: conflicting dhcp range

    Hi out there Am after a basic language easy to follow instrution to resolve the above I have a TC as my main wifi router, with an extreme and express as part of the network.  I have the above message on my TC, and I have absolutely no idea how to res

  • Accessing property of one managed bean to another in request scope

    Right now my applications managed beans are in session scope. I want to change them to request scope .But the problem is how to access the bean methods to another if they are in request scope