Unable to refresh JTree

Hi!
I am using a TreeModel to manage the content of a JTree.
I provide buttons to add/remove items in the tree. The content is correctly modified (when I do some System.out.println(...)), but I don't see the new items on my displayed tree.
I tried to use
JTree.revalidate();
JTree.repaint();
And the same on the panel containing the JTree, nothing works!
What should I do?
Thanks a lot
Choub

Hi,
you can try with this sample code:
* <p>Adds a new objects in the JTree. </p>
* @param parent - the DefaultMutableTreeNode parent
* @param child - the object to add
* @param shouldBeVisible - if it is true, all the path components in path
* are expanded and scrolls so that the
* node identified by the path is displayed.
* @return a DefaultMutableTreeNode object
* @see javax.swing.tree.DefaultMutableTreeNode
public DefaultMutableTreeNode addObject( DefaultMutableTreeNode parent,
Object child,
boolean shouldBeVisible) {
DefaultMutableTreeNode childNode = null;
switch ( this.levelSelected ) {
case 0: childNode = new DefaultMutableTreeNode(
new IconData( rm.getIcon("db/Computer.gif"), child ) );
break;
case 1: childNode = new DefaultMutableTreeNode(
new IconData( rm.getIcon("db/BCard.gif"), child ) );
break;
case 2: childNode = new DefaultMutableTreeNode(
new IconData( rm.getIcon("db/Thread.gif"), child ) );
break;
if ( null == childNode )
return null;
if ( null == parent ) {
parent = root;
model.insertNodeInto( childNode, parent, parent.getChildCount() );
model.reload();
if ( shouldBeVisible ) {
logicTree.scrollPathToVisible( new TreePath( childNode.getPath() ) );
return childNode;
Regards.

Similar Messages

  • USER UNABLE TO REFRESH DISCOVERER REPORT IN DISCOVERER DESKTOP 10g

    Dear All,
    HELP!!!
    A new user is unable to refresh discoverer Reports in Desktop. All priviledges have been granted to username in Disco Admin and Usre is able to log into oracle Apps.
    On the PC the user logged into someone else can log into Discoverer Desktop and run/refresh discoverer reports without any issues. Hence Ithink neither the PC nor the Discoverer installation is the problem.
    Can anyone help? What setup/profile needs to be completed in order for the user to be able to run Disco reports.
    Pls note that the following has been completed:
    1. Business Areas Assigned to user and his responsibilities.
    2. Desktop/Plus Privileges assigned.
    3. Allow administration - DISABLED - NOT TICKED
    Many thx
    DI

    Does this person just need to run reports? Or does this person also need to create reports? If the person just needs to run reports, try using Viewer for that person, rather than Desktop. This may be something that you need to log a service request with Oracle to get resolved. Pretty strange that can bring items into a new worksheet, but it won't run. Maybe there is an Oracle applications security issue (since logging in as another person does work)? You may be beating your brains out trying to find a Discoverer problem when it might be an application security problem. Though this is a wild guess on my part.
    John Dickey

  • Unable to refresh a report in P21 Activant

    We recently upgraded our Activant P21 (Prophet 21) software which includes Crystal Reports.  Standard P21 canned reports in their software can be viewed, exported and printed.  The P21 software includes a feature to create and link custom reports.  We create the custom reports with Crystal Reports 2008 and set up the external report links.  We can open, view, print and export the custom reports but when we refresh the report with or without an input parameters, we are prompted for a "Database Login" password.  When we enter our password, an error message titled "Crystal Report Windows Forms Viewer"  states "Logon Failed. Please try again".  We have contacted Activant about this issue and they do not find any errors in the set up.  They have told us there is probably an issue with Crystal Reports and asked us to contact your company.  We have also contacted a friendly competitor who uses the same Activant P21 software and create custom reports with Crystal Reports 2008 which include user input parameters.  Their custom reports work without a glitch.  What would prevent us from refreshing a custom Crystal report?

    Hi Don,
    Activant P21 is insisting our issue is a Crystal problem.  We are unable to refresh the reports inside their software.  We have tried every user id and password we know and it still will not refresh our CR report. 
    When we use CR2008 to refresh a report, a window opens titled "OLE DB (ADO)" and asks to choose a data source "ODBC Data Source....Choose a data source from the list"  We select our ODBC DSN: P21 Live and click next.  Another window opens titled "OLD DB (ADO) asking for a password "Connection Information...Provide necessary information to log on to the chosen data source." At this point it does not matter what "User ID" or "Password" we use, the report will refresh.  We have used the Adminstrator with a password, we used my user name and password and we used the administrator without a password and in all three instances, the report refreshed with the correct data.
    I don't see how this is a Crystal problem unless there is something I am missing.  Any help you can provide will be deeply appreciated.
    Bob

  • I have an e trade site and I get a error message on my main page. "unable to refresh chart"

    My site is written below and. Error message says
    "unable to refresh chart"
    http://www.ngkbujimarket.com/index.php
    I need your helps
    Thanks

    Make sure that you do not block cookies from that website.
    * https://support.mozilla.com/kb/Cookies
    * https://support.mozilla.com/kb/Enabling+and+disabling+cookies
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Powerpivot for sharepoint error: Unable to refresh data for a data connection in the workbook

    Hello,
     I have three errors when i try to use a simple powerpivot workbook published in sharepoint: (nothing on google has help me..)
    1-Unable to refresh data for a data connection in the workbook.
    Try again or contact your system administrator. The following connections failed to refresh:
    PowerPivot Data
    2-The embedded PowerPivot data in the workbook cannot be loaded due to a version mismatch
    3-01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel
    Calculation Services     bccc Medium   Session.HandleTrimmedWorkbookReloading: userOperation ApplySlicerSelectionOperation requires BaseWorkbook: "http://crm2011:2020/Marketing%20Reports/test2_excel32bits.xlsx"
    [0x409] [Saturday, 21 January 2012 09:40:18] [BaseWB ID: 2] to be untrimmed if it is currently trimmed. The workbook is currently NOT trimmed. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     f1va Medium   CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.09  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     eq3r Medium   ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://crm2011:2020/Marketing Reports/test2_excel32bits.xlsx, Version=Saturday, 21 January 2012 09:40:18 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     aysl Medium   Succeeded to initialize a chart. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type
    'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32
    externalSourceIndex, Boolean& shouldReportFailure)     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo,
    Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12* w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    UserId: 0#.w|contoso\manager fb614a65-e398-4b97-a98d-fb7b23eab39f
    My server and client olap versions are the same: MSOLAP.5, i used sql server 2008 R2 SP1 and sharepoint 2010 SP1 and reboot or iisreset have no effect
    Thanks in advance for your help

    Hello Challen Fu
    I would be so grateful if you could please help me out
    I have been trying to find a solution to the same error message
    In my case, the power pivot reports were working before on a regular team  site , but then two things changed:
    a)  I  created a toplevel site using the BI Center template. Now I am using a Business Intelligence template , created a power pivot gallery library and uploaded a few powerpivot reports
    b)  On the  backend, the database instance was upgrated to SQL Server 2012 
         Front end Server VDSP01  remains  SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM  
    Now, the reports will display in sharepoing however they will not refresh. the error message i get is the same.
     Scenario recap:
    a- Server VDSP01  uses SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM
    b- On the back end,  the database instance name was replaced with SQL 2012 Server:
               from SQL Server 2008 R 2 (instance DBDEV-COTS\COTS)
               to     SQL Server 2012 ( instance VTSQL01\COTS)
    c-  I was told that:
         From VDSP01, they ran
    CliConfg.exe   to create SQL Server Alias :
           where    BEFORE: vdsharepoint -->  DBDEV-COTS\COTS
                and  AFTER    : vdsharepoint -->  VTSQL01\COTS
     I appreciate in advance any help you can provide<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
      <v:stroke joinstyle="miter">
      <v:formulas>  <v:f eqn="if lineDrawn pixelLineWidth 0">
      <v:f eqn="sum @0 1 0">
      <v:f eqn="sum 0 0 @1">
      <v:f eqn="prod @2 1 2">
      <v:f eqn="prod @3 21600 pixelWidth">
      <v:f eqn="prod @3 21600 pixelHeight">
      <v:f eqn="sum @0 0 1">
      <v:f eqn="prod @6 1 2">
      <v:f eqn="prod @7 21600 pixelWidth">
      <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
     <v:f eqn="sum @10 21600 0">
    </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype> <v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:630pt;height:475.5pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\wlarange\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
    </v:imagedata></v:shape>
    wanda larangeira

  • Brand new Ipod touch bought yesterday - Screen is frozen with an itunes emblem and cable. Unable to refresh or restore ipod. Computer and itunes does not recognize ipod.

    This is first Ipod for me  - I have had less than one day. Screen is frozen with itunes emblem and cable. Unable to refresh/restore or do anything with ipod. I turn off/on and get the same frozen screen. My computer does not recognize ipod. Itunes does not recognize ipod so I cannot restore.... Should I take this ipod back and get a new one? Is this normal?

    Before you can use the iPod you have to activate it by connecting it to a computer with iTunes.  Try the following to get your computer to see the iPod so you can activate the iPod.
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Problem: Stopping cluster due to unhandled exception .. Unable to refresh

    Greetings
    While testing a rolling upgrade of an application that uses Coherence 3.5.2 on 62-jvm cluster hosted on
    11 physical machines, we encountered a situation where after the upgrade was completed, most jvms
    in the system abruptly left the cluster. The physical hosts are running CentOS 5.4, the java used is
    the 64-bit server version 1.6.0_16-b01. The test was run under a scenario that imposed "moderate"
    load, with cpu usage on the physical machines never exceeding 60% busy, network bandwidth never
    exceeding 5%, and with some free physical memory. Swapping did not occur during any time during
    the test. I believe we are using the default tangosol-coherence.xml. We got the error below in
    our coherence.log files on all of the systems, all at about the same time (within 10 milliseconds).
    55 of the jvms left the cluster during the incident. There were 55 copies of the error message in
    the various logs, all nearly identical except for the time and member id.
    My questions include
    - what does the error mean?
    - what could cause it? (I investigated system logs, and found no evidence of the NIC cards
    going off line at the time. Any suggestions about how to look for evidence of broadcast storm?)
    - how can we keep it from happening again?
    Many thanks for your help -
    Mike Murphy
    2011-04-26 17:34:14,629 Coherence Logger@9224544 3.5.2/463 ERROR 2011-04-26 17:34:14.629/1929.311 Oracle Coherence GE
    3.5.2/463 <Error> (thread=PacketListenerN, member=30): Stopping cluster due to unhandled exception: com.tangosol.net.mes
    saging.ConnectionException: Unable to refresh sockets: [UnicastUdpSocket{State=STATE_OPEN, address:port=10.48.88.116:809
    1}, MulticastUdpSocket{State=STATE_OPEN, address:port=224.3.5.2:10013, InterfaceAddress=10.48.88.116, TimeToLive=4}, Tcp
    SocketAccepter{State=STATE_OPEN, ServerSocket=10.48.88.116:8091}]; last failed socket: MulticastUdpSocket{State=STATE_OP
    EN, address:port=224.3.5.2:10013, InterfaceAddress=10.48.88.116, TimeToLive=4}
    at com.tangosol.coherence.component.net.Cluster$SocketManager.refreshSockets(Cluster.CDB:91)
    at com.tangosol.coherence.component.net.Cluster$SocketManager$MulticastUdpSocket.onInterruptedIOException(Cluste
    r.CDB:9)
    at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:33)
    at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketLis
    tener.CDB:19)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.net.SocketTimeoutException: Receive timed out
    at java.net.PlainDatagramSocketImpl.receive0(Native Method)
    at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    at java.net.DatagramSocket.receive(DatagramSocket.java:712)
    at com.tangosol.coherence.component.net.socket.UdpSocket.receive(UdpSocket.CDB:20)
    at com.tangosol.coherence.component.net.UdpPacket.receive(UdpPacket.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketListener.onNotify(PacketLis
    tener.CDB:19)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)

    Hi Mike,
    It looks like you are having problems with multicast. You can run the multicast test described here
    [http://download.oracle.com/docs/cd/E15357_01/coh.360/e15723/tune_multigramtest.htm]
    which will help in diagnosing the problem

  • Unable to refresh data

    I have a web template. There is a button which allows the user to upload a file via web dynpro and a planning sequence. The upload works fine but I'm unable to refresh the web template afterwards so that I can see the data changed by the planning sequence.
    Does anybody have an idea how to refresh the data? Neither REFRESH_DATA nor CHANGE_TEMPLATE or BACK_TO_INITIAL_STATE are working.
    Thanks in advance
    Dirk

    Hi Dirk,
    Greeting.
    In my case, I use tab container.
    1 tab for data uploader, and the other one for seeing the data.
    Once, I've finished uploading the data, than I change the tab, it will be automatically update the data.
    Hopefully it can help you
    Best regards,
    Daniel N.

  • Problem in refreshing JTree inside Jscrollpane on Button click

    hi sir,
    i have problem in refreshing JTree on Button click inside JscrollPane
    Actually I am removing scrollPane from panel and then again creating tree inside scrollpane and adding it to Jpanel but the tree is not shown inside scrollpane. here is the dummy code.
    please help me.
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.tree.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class Test
    public static void main(String[] args)
         JFrame jf=new TestTreeRefresh();
         jf.addWindowListener( new
         WindowAdapter()
         public void windowClosing(WindowEvent e )
         System.exit(0);
         jf.setVisible(true);
    class TestTreeRefresh extends JFrame
         DefaultMutableTreeNode top;
    JTree tree;
         JScrollPane treeView;
         JPanel jp=new JPanel();
         JButton jb= new JButton("Refresh");
    TestTreeRefresh()
    setTitle("TestTree");
    setSize(500,500);
    getContentPane().setLayout(null);
    jp.setBounds(new Rectangle(1,1,490,490));
    jp.setLayout(null);
    top =new DefaultMutableTreeNode("The Java Series");
    createNodes(top);
    tree = new JTree(top);
    treeView = new JScrollPane(tree);
    treeView.setBounds(new Rectangle(50,50,200,200));
    jb.setBounds(new Rectangle(50,300,100,50));
    jb.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
              jp.remove(treeView);
              top =new DefaultMutableTreeNode("The Java ");
    createNodes(top);
              tree = new JTree(top);
                   treeView = new JScrollPane(tree);
                   treeView.setBounds(new Rectangle(50,50,200,200));
                   jp.add(treeView);     
                   jp.repaint();     
    jp.add(jb);     
    jp.add(treeView);
    getContentPane().add(jp);
    private void createNodes(DefaultMutableTreeNode top) {
    DefaultMutableTreeNode category = null;
    DefaultMutableTreeNode book = null;
    category = new DefaultMutableTreeNode("Books for Java Programmers");
    top.add(category);
    book = new DefaultMutableTreeNode("The Java Tutorial: A Short Course on the Basics");
    category.add(book);
    book = new DefaultMutableTreeNode("The Java Tutorial Continued: The Rest of the JDK");
    category.add(book);
    book = new DefaultMutableTreeNode("The JFC Swing Tutorial: A Guide to Constructing GUIs");
    category.add(book);
    book = new DefaultMutableTreeNode("Effective Java Programming Language Guide");
    category.add(book);
    book = new DefaultMutableTreeNode("The Java Programming Language");
    category.add(book);
    book = new DefaultMutableTreeNode("The Java Developers Almanac");
    category.add(book);
    category = new DefaultMutableTreeNode("Books for Java Implementers");
    top.add(category);
    book = new DefaultMutableTreeNode("The Java Virtual Machine Specification");
    category.add(book);
    book = new DefaultMutableTreeNode("The Java Language Specification");
    category.add(book);
    }

    hi sir ,
    thaks for u'r suggession.Its working fine but the
    properties of the previous tree were not working
    after setModel() property .like action at leaf node
    is not working,I'm sorry but I don't understand. I think you are saying that the problem is solved but I can read it to mean that you still have a problem.
    If you still have a problem then please post some code (using the [code] tags of course).

  • Error in Cache Refresh(Unable to refresh cache contents)

    Hi All,
    When i am refreshing Cache from the browser using link CPACache/refresh?mode=full it says success.
    When i do from SXI_CACHE it gives an error.
       Error during last attempt to refresh cache
       Unable to refresh cache contents
    So when i run any schenario in message monitoring i get the following error-
    <i>SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="XICACHE">UPDATE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>http response does not contain a valid XML root tag</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error></i>
    I checked the INTEGRATION_DIRECTORY_HMI connection...
    here the response which im getting is..
    <i> HEADER NAME                HEADER VALUE
    response_line               HTTP/1.0 200
    server_protocol             HTTP/1.0
    status_code                 200
    status_reason
    ragma                       no-cache
    ache-control                no-cache
    ontent-type                 text/html
    ontent-length               87
    HTTP BODY
    TITLE>Error</TITLE>#<BODY>#<H1>Error</H1>#FW-1 at nebula: Unknown WWW s
    rver.</BODY>##
    Time (ms)                                 17</i>
    I believe that is not the right response.
    Everything was working fine yesterday when all of a sudden this error cropped up from no where.
    Regards,
    Rahul

    Hi,
    This is the error it shows there..
    <b>ERROR ID</b>      <i>UPDATE</i>
    <i>http response does not contain a valid XML root tag</i>
    Regards,
    Rahul

  • Unable to refresh one or more data connections in the workbook.

    Hi All,
    I'm Getting below error once i refresh all the connection in Power query.
    External Data Refresh Failed
    An error occurred while working on the Data Model in the workbook. Please try again.
    We were unable to refresh one or more data connections in this workbook.
    Please Suggest..!
    Regards,
    Bhupinder

    These data model issues can be a bit tricky to diagnose. Can you please try disabling "Load to Data Model" and then re-enabling it for the queries that are causing trouble?

  • Unable to refresh config from controller

    After migrating the data from CPI 2.1 to 2.2, I am unable to refresh the config from controllers that are on version 7.0.220.0.  I am able to refresh on the contrlollers that run on version 7.4 and 7.6 successfully.  I checked the compatibiliy metrix and 7.0.220.0 is listed as a supported verison on CPI 2.2.
    I open up a TAC but they have been struggling with this for the past 3 weeks now.
    Please advice what could be the issue.  Thank you.
    Phil.

    Hi. I had this same issue with 9.2. I found that there was a user which was no longer in the AD that was still in planning.
    First thing to check is can you see the users in SS - I suspect not but worth a look. If you can, deprovision them. If you cant (most likely) you will need to use an LDAP browser to clean them out, which is a very messy process.
    Best of luck.
    Sean

  • Unable to refresh from profile

    When I attempt to connect a Solaris 10 Update 4 client to my Sun iPlanet Directory Server 5.2 LDAP server, using the following configuration:
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_SERVERS= 172.16.20.200
    NS_LDAP_SEARCH_BASEDN= ou=SciDevGrid,dc=c-noofs.gc.ca
    NS_LDAP_AUTH= simple;sasl/DIGEST-MD5
    NS_LDAP_SEARCH_REF= FALSE
    NS_LDAP_SEARCH_SCOPE= sub
    NS_LDAP_SEARCH_TIME= 15
    NS_LDAP_CACHETTL= 86400
    NS_LDAP_PROFILE= SciDevGrid
    NS_LDAP_CREDENTIAL_LEVEL= proxy
    NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=People,ou=Default,dc=c-noofs.gc.ca
    NS_LDAP_SERVICE_SEARCH_DESC= group:ou=group,ou=Default,dc=c-noofs.gc.ca
    NS_LDAP_BIND_TIME= 10
    It works fine, and all information the client needs from the server is fully accessible. I can log in as an LDAP user, and the hosts table and automounter are updated properly. However, I receive this error message in the messages log when ldap_cachemgr tries to update the profile:
    Aug 26 11:32:57 CNOOFS01 ldap_cachemgr[21216]: [ID 722288 daemon.error] Error: Unable to refresh from profile:SciDevGrid. (error=2)
    The cachemgr log file (/var/ldap/cachemgr.log) shows:
    Tue Aug 26 11:32:57.7150 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    Tue Aug 26 11:32:57.7262 sig_ok_to_exit(): parent exiting...
    Tue Aug 26 11:32:57.7344 Error: Unable to refresh from profile SciDevGrid (error=2)
    Tue Aug 26 11:32:57.7344 Error: Unable to update from profile
    The SciDevGrid profile in the LDAP server (cn=SciDevGrid,ou=profile,dc=c-noofs.gc.ca) has the following configuration:
    (the passwd and group ou's are inherited from the default profile via serviceSearchDescriptor entries)
    cn = SciDevGrid
    authenticationMethod = simple;sasl/DIGEST-MD5
    bindTimeLimit = 10
    credentialLevel = proxy
    defaultSearchBase = ou=SciDevGrid,dc=c-noofs.gc.ca
    defaultSearchScope = sub
    defaultServerList = 172.16.20.200
    followReferrals = false
    objectClass = DUAConfigProfile
    objectClass = top
    profileTTL = 86400
    searchTimeLimit = 15
    serviceSearchDescriptor = passwd:ou=People,ou=Default,dc=c-noofs.gc.ca
    serviceSearchDescriptor = group:ou=group,ou=Default,dc=c-noofs.gc.ca
    If I go into the LDAP server and modify the SciDevGrid profile to give defaultSearchBase the value "dc=c-noofs.gc.ca", the cachemgr error messages will stop. That leads me to believe this is a configuration problem. Has anyone run across this problem before?
    Basically, what I am trying to achieve is a "default" profile which contains users and groups which apply to all LDAP-connected machines. Other profiles will inherit these attributes from the default profile, while providing additional configuration (automount maps and host table) specific to each compute grid we have.
    Thanks in advance for any advice you can provide,
    Adam Lundrigan
    UNIX SysAdmin, C-NOOFS project
    Biological and Physical Oceanography Section, Science Branch
    Department of Fisheries and Oceans Canada
    [email protected]
    Edited by: C-NOOFS on 27-Aug-2008 9:48 AM

    I am having the same issue. Does anybody can help?

  • SXI_CACHE Error:  Unable to refresh cache contents

    Hello everybody,
    in SXI_CACHE we get the error:
    "Unable to refresh cache contents"
    "Error during last attempt to refresh cache"
    and on double clicking we get the message:
    Error Id: Communication
    if_http_client receive http_communication_failure.
    Any suggestions.
    We can't afford to restart the machines every time.
    Regards Mario

    Mario,
    Please refer to the Trouble SHooting section of this guide,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    Also, check the HTTP Connection INTEGRATION_DIRECTORY_HMI and try a test connection of this. It should return  HTTP Code : 500
    Regards
    Bhavesh

  • Unable to refresh Mat View

    BANNER (ADB)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    BANNER (MDB)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Hello everyone,
    I'm unable to refresh a mat view in MDB which is based on ADB. Even just after creating it everytime the refresh fails.
    Currently I'm re-creating the mat view daily and then point the synonym to new one.
    There are no errors thrown in session. It just times out.
    Below is the script for the same.
    CREATE MATERIALIZED VIEW MDB.MV_APRP_DTL_JUN02
    TABLESPACE MCCI_DATA
    BUILD IMMEDIATE
    USING INDEX
    REFRESH FAST START WITH SYSDATE+12/24 NEXT SYSDATE+1
    WITH ROWID
    AS
    SELECT /*+ PARALLEL (APREP_DTL,6) */ * FROM prp.aprep_dtl@mdb_adb prep_del_dtl;
    Can anybody tell me how can I atleast find what and where the problem is ?
    Thanks
    Jitu J K

    If you currently are dropping and recreating the MV, you don't need the MV Log.
    Drop and recreate the MV Log before you recreate the MV and then retest performance of FAST refresh's. A 600MB MV Log does mean that something has gone wrong. Do you / Did you have other MVs that were also extracting data from the same base table(s) ? If those MVs have stopped refreshing but did not unregister, the MV Log will continue to grow and your current MV's FAST refresh performance will suffer.
    See Oracle Support Note#1031924.6 and
    http://hemantoracledba.blogspot.com/2007/01/large-growing-snapshot-logs-indicate.html
    Note : Before you drop the MV log confirm that there are no other MVs (in the same database or a remote database) that are built on the same base table(s).
    Hemant K Chitale

Maybe you are looking for

  • External Hard Drive No longer Visible Anywhere on Laptop, Yet Still Lit Up

    Hello! So I have a MacBook Pro OS X 10.9.5 and my external hard drive is a Toshiba 1.5 TB Toshiba Canvio Basics 3.0 This morning I was in a rush to pack up my laptop so I went to eject my external hard drive and I wasn't really paying attention when

  • Repeating header in XML publisher template

    iam designing a template in XML publisher for the xml file generated by oracle report i want my header part to repeat on all the pages like if the data is printed across pages the header portion related to the data should be printed on all the pages

  • ICloud Mail has stopped working

    Had to do a PRAM reset on my iMac today because of slow restarting from sleep etc. Now getting error message in Mail that it's "unable to open iCloud" because "Mail was unable to open this mailbox on the server "p02-imap.mail.me.com".  The server ret

  • EPub to iTunes

    I have ePub books in iBooks on my iPhone (not downloaded through iTunes). How do I transfer them to iTunes when connecting my phone to my laptop?

  • My iPod 8GB won't connect to the internet.

    My iPod won't connect to the internet. It says I'm connected to my Wi-Fi connection, but when I try go on Safari it says I'm not connected to the internet. I resetted my iPod and my modem but it didn't help. I tried everything to get it working, but