Error in Adding new vritual machine server to HaA cluster ???
Hi
when i adding new Server to my cluster i see this error
Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
2009-11-29 12:16:33 Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
2009-11-29 12:16:46 During adding servers ([192.168.20.253]) to server pool (karkas), Cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.20.254 for operation HA Setup for Oracle VM Agent 2.2.0 failed: errcode=50006, errmsg=Do 'clusterm_init_root_sr' on servers ('192.168.20.253') failed. )
but when edited again see solved problem but not HA feature work correctly(when shutdown server pool virtual machine is goes down )
i test is with nfs server but not work i user iscsci target on RHEL5 for create iscsi server
i see ha work correctly same az this
2009-11-29 12:25:44 Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
2009-11-29 12:25:50 Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
Select Server Pool Name Status High Availability Status Servers Users Logs
Select karkas Active Enabled Total: 2 Total: 1 View Logs
and no error in /var/log/ovs/*.log
but when add new server i see in status "error in adding server "" and when edited again see server add and active state
1-i have no ocfs2 partition on my machine use iscsi initiator
2-all server use root cluster id /var/ovs/mount/disk_id
3-all permission set for everybody and 777
any idea for solve this problem
thanks
hi
and very thanks for your reply
every this work good
[root@OVS2-253-32 ~]# service o2cb online
Starting O2CB cluster ocfs2: OK
[root@OVS2-253-32 ~]# service o2cb start
Starting O2CB cluster ocfs2: OK
[root@OVS2-253-32 ~]#
but see :
During adding servers ([192.168.20.253]) to server pool (jojo), Cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.20.254 for operation HA Setup for Oracle VM Agent 2.2.0 failed: errcode=50006, errmsg=Do 'clusterm_init_root_sr' on servers ('192.168.20.253') failed. )
Select Server Host/IP Server Name Server Type Status Server Location Server Pool Name Logs
Select 192.168.20.254 254 Server Pool Master,Utility Server,Virtual Machine Server Active jojo View Logs
Select 192.168.20.253 253 Virtual Machine Server Error jojo View Logs
but edit this server work fine. i use doc in step by step configure and no error occur in configuration but still see this error on adding new server and HA can't works correctly (only when i power off virtual quest machine after 15 second this server goes up and live migration not work correctly )when i shutting down one virtual machine server guest still wait for powering up this server
ocfs2 kernel module load correctly
cat /var/log/ovs-agent/ovs_root.log
StackTrace:
File "/opt/ovs-agent-2.3/OVSXCluster.py", line 115, in clusterm_init_root_sr
sr.initialize()
File "/opt/ovs-agent-2.3/_storage/OVSFileSR.py", line 127, in initialize
self.sp.mount(mp)
File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 209, in mount
fs_spec = self.get_fs_spec()
File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 184, in get_fs_spec
tgt_dev = get_dev_spec(self.fs_uuid, self.fs_spec)
File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 82, in get_dev_spec
raise Exception("No device found: dev_uuid=%s" % dev_uuid)
are you have any idea for solve this problem ???
very thanks
Similar Messages
-
Error while adding new OVM in server pool
Hi,
I have to add a new OVM server to the existing server pool.
while doing test connecting at the time of adding server in server pool, it is contacting. however, it is showing error with " check the agent connectivity" while clicking OK.
ovs agent server is running.
can any one assit me on thisHi,
Did the subscriber database used for replication before?
Check the MSDistribution_history table in the distribution database. It contains history rows for the Distribution Agents.
In case you encounter the “One or more subscriptions have been marked inactive. Drop and re-create all subscriptions for this node that are failing with this error.” in the Replication Monitor after restarting the Distribution
Agent.
This means that the Distribution Agent is unable to delivery data due to some errors or the job was stopped and the Agent will go into an infinite retry logic.
The Agent will stay in retry mode until the Distribution Cleanup job removes the “cached” transactions from the Distribution Database. At this point the Distribution Agent will no longer have the data needed to “catch
up” the subscriber. As result, the Subscriber will be marked “inactive” and post the following error in the MSrepl_errors table in the Distribution database.
Subscription Expiration and Deactivation
http://technet.microsoft.com/en-us/library/ms151188.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Error in adding package to WebLogic Server 7.0...
Hi All,
May I know how can I add a new package to the WebLogic Server ?
I have attempted to do so but WebLogic Server failed to start up due to error
in loading the package. The error message generated is
Starting WebLogic Server...
<Oct 21, 2002 11:43:50 AM SGT> <Notice> <Management> <140005> <Loading configura
tion D:\bea\USER_P~1\APSWSV1\.\config.xml>
<Oct 21, 2002 11:43:57 AM SGT> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception
Throwable: javax.xml.parsers.FactoryConfigurationError: weblogic.xml.jaxp.Regist
rySAXParserFactory
javax.xml.parsers.FactoryConfigurationError: weblogic.xml.jaxp.RegistrySAXParser
Factory
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
The WebLogic Server did not start up properly.
Exception raised:
javax.xml.parsers.FactoryConfigurationError: weblogic.xml.jaxp.RegistrySAXParser
Factory
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Reason: Fatal initialization exception
Throwable: javax.xml.parsers.FactoryConfigurationError: weblogic.xml.jaxp.Regist
rySAXParserFactory
javax.xml.parsers.FactoryConfigurationError: weblogic.xml.jaxp.RegistrySAXParser
Factory
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
D:\bea\USER_P~1\APSWSV1>ENDLOCAL
D:\bea\USER_P~1\APSWSV1>popd
D:\bea\user_projects\APSWSV1>ENDLOCAL
D:\bea\USER_P~1\APSWSV1>exit
Please advise and many thanks in advance.
Regards,
Boon KeongThanks anyway. I have already solved the problem. Just need to add the path to
the jar file in startWLS.cmd in addition to adding it to the workshop properties
file.
Boon Keong
"Mark Griffith" <[email protected]> wrote:
http://edocs.bea.com/wls/docs70/faq/xml.html
Dont know about Workshop. Sorry, cc'ing their newsgroup.
cheers
mbg
"Boon Keong" <[email protected]> wrote in message
news:[email protected]...
Hi,
Sorry for not being clear in my question.
Let me explain my situation:
I was trying to use an XML parser from Apache (Packageorg.apache.xerces.* - xerces.jar)
within the WebLogic Workshop environment. I have included to path tothis
jar
file in Workshop
properties and do not have any problem importing the package in designenvironment.
However, when I tried to compile the web service in Workshop, it generatesthe
error message "Package org.apache.xerces".
I am clueless of how to resolve the above problem and thought thatI might
need
to add xerces.jar to the directory "d:\bea\jdk131_03\jre\lib\ext" sothat
it can
be loaded by WebLogic Server and resolve my problem. However, by doingso,
WebLogic
Server generates the error message as mentioned in my previous posting.
In conclusion, my problem is how can I resolve the compilation errorin
Workshop.
Thanks in advance.
Regards,
Boon Keong
"Mark Griffith" <[email protected]> wrote:
Boon:
I am not sure what you mean when you say, "add a package"?
Package of what?
What is the entry in your server log that says: java.class.path
D:\bea\USER_P~1\APSWSV1\$SERVER_NAME\$SERVER_NAME.log
cheers
mbg
"Boon Keong" <[email protected]> wrote in message
news:[email protected]...
Hi All,
May I know how can I add a new package to the WebLogic Server ?
I have attempted to do so but WebLogic Server failed to start up
due
to
error
in loading the package. The error message generated is
Starting WebLogic Server...
<Oct 21, 2002 11:43:50 AM SGT> <Notice> <Management> <140005> <Loadingconfigura
tion D:\bea\USER_P~1\APSWSV1\.\config.xml>
<Oct 21, 2002 11:43:57 AM SGT> <Emergency> <WebLogicServer> <000342><Unable to
initialize the server: Fatal initialization exception
Throwable: javax.xml.parsers.FactoryConfigurationError:weblogic.xml.jaxp.Regist
rySAXParserFactory
javax.xml.parsers.FactoryConfigurationError:weblogic.xml.jaxp.RegistrySAXParser
Factory
atjavax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at
com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
The WebLogic Server did not start up properly.
Exception raised:
javax.xml.parsers.FactoryConfigurationError:weblogic.xml.jaxp.RegistrySAXParser
Factory
atjavax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at
com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Reason: Fatal initialization exception
Throwable: javax.xml.parsers.FactoryConfigurationError:weblogic.xml.jaxp.Regist
rySAXParserFactory
javax.xml.parsers.FactoryConfigurationError:weblogic.xml.jaxp.RegistrySAXParser
Factory
atjavax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
157)
at
com.octetstring.vde.schema.InitSchema.init(InitSchema.java:50)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
D:\bea\USER_P~1\APSWSV1>ENDLOCAL
D:\bea\USER_P~1\APSWSV1>popd
D:\bea\user_projects\APSWSV1>ENDLOCAL
D:\bea\USER_P~1\APSWSV1>exit
Please advise and many thanks in advance.
Regards,
Boon Keong -
TableSorter errors when adding new data
so here is the deal:
I am using the TableSorter.java helper class with DefaultTableModel
from: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
It works great when the data is static and I get it for the first time. however, occationally, when adding new data I get a NullPointerException error.
in use:
DefaultTableModel.addRow()
DefaultTableModel.removeRow() and
DefaultTableModel.insertRow() methods.
Error:
java.lang.ArrayIndexOutOfBoundsException: 5
at com.shared.model.TableSorter.modelIndex(TableSorter.java:294)
at com.shared.model.TableSorter.getValueAt(TableSorter.java:340)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)...
code problem I:
public Object getValueAt(int row, int column)
return tableModel.getValueAt(modelIndex(row), column);
}code problem II:
public int modelIndex(int viewIndex)
return getViewToModel()[viewIndex].modelIndex;
}TableSroter class:
package com.shared.model;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.util.List;
import javax.swing.*;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.*;
* TableSorter is a decorator for TableModels; adding sorting
* functionality to a supplied TableModel. TableSorter does
* not store or copy the data in its TableModel; instead it maintains
* a map from the row indexes of the view to the row indexes of the
* model. As requests are made of the sorter (like getValueAt(row, col))
* they are passed to the underlying model after the row numbers
* have been translated via the internal mapping array. This way,
* the TableSorter appears to hold another copy of the table
* with the rows in a different order.
* <p/>
* TableSorter registers itself as a listener to the underlying model,
* just as the JTable itself would. Events recieved from the model
* are examined, sometimes manipulated (typically widened), and then
* passed on to the TableSorter's listeners (typically the JTable).
* If a change to the model has invalidated the order of TableSorter's
* rows, a note of this is made and the sorter will resort the
* rows the next time a value is requested.
* <p/>
* When the tableHeader property is set, either by using the
* setTableHeader() method or the two argument constructor, the
* table header may be used as a complete UI for TableSorter.
* The default renderer of the tableHeader is decorated with a renderer
* that indicates the sorting status of each column. In addition,
* a mouse listener is installed with the following behavior:
* <ul>
* <li>
* Mouse-click: Clears the sorting status of all other columns
* and advances the sorting status of that column through three
* values: {NOT_SORTED, ASCENDING, DESCENDING} (then back to
* NOT_SORTED again).
* <li>
* SHIFT-mouse-click: Clears the sorting status of all other columns
* and cycles the sorting status of the column through the same
* three values, in the opposite order: {NOT_SORTED, DESCENDING, ASCENDING}.
* <li>
* CONTROL-mouse-click and CONTROL-SHIFT-mouse-click: as above except
* that the changes to the column do not cancel the statuses of columns
* that are already sorting - giving a way to initiate a compound
* sort.
* </ul>
* <p/>
* This is a long overdue rewrite of a class of the same name that
* first appeared in the swing table demos in 1997.
* @author Philip Milne
* @author Brendon McLean
* @author Dan van Enckevort
* @author Parwinder Sekhon
* @version 2.0 02/27/04
public class TableSorter extends AbstractTableModel
protected TableModel tableModel;
public static final int DESCENDING = -1;
public static final int NOT_SORTED = 0;
public static final int ASCENDING = 1;
private static Directive EMPTY_DIRECTIVE = new Directive(-1, NOT_SORTED);
public static final Comparator COMPARABLE_COMAPRATOR = new Comparator()
public int compare(Object o1, Object o2)
return ((Comparable) o1).compareTo(o2);
public static final Comparator LEXICAL_COMPARATOR = new Comparator()
public int compare(Object o1, Object o2)
return o1.toString().compareTo(o2.toString());
private Row[] viewToModel;
private int[] modelToView;
private JTableHeader tableHeader;
private MouseListener mouseListener;
private TableModelListener tableModelListener;
private Map columnComparators = new HashMap();
private List sortingColumns = new ArrayList();
public TableSorter()
this.mouseListener = new MouseHandler();
this.tableModelListener = new TableModelHandler();
public TableSorter(TableModel tableModel)
this();
setTableModel(tableModel);
public TableSorter(TableModel tableModel, JTableHeader tableHeader)
this();
setTableHeader(tableHeader);
setTableModel(tableModel);
private void clearSortingState()
viewToModel = null;
modelToView = null;
public TableModel getTableModel()
return tableModel;
public void setTableModel(TableModel tableModel)
if (this.tableModel != null)
this.tableModel.removeTableModelListener(tableModelListener);
this.tableModel = tableModel;
if (this.tableModel != null)
this.tableModel.addTableModelListener(tableModelListener);
clearSortingState();
fireTableStructureChanged();
public JTableHeader getTableHeader()
return tableHeader;
public void setTableHeader(JTableHeader tableHeader)
if (this.tableHeader != null)
this.tableHeader.removeMouseListener(mouseListener);
TableCellRenderer defaultRenderer = this.tableHeader.getDefaultRenderer();
if (defaultRenderer instanceof SortableHeaderRenderer)
this.tableHeader.setDefaultRenderer(((SortableHeaderRenderer) defaultRenderer).tableCellRenderer);
this.tableHeader = tableHeader;
if (this.tableHeader != null)
this.tableHeader.addMouseListener(mouseListener);
this.tableHeader.setDefaultRenderer
new SortableHeaderRenderer(this.tableHeader.getDefaultRenderer())
public boolean isSorting()
return sortingColumns.size() != 0;
private Directive getDirective(int column)
for (int i = 0; i < sortingColumns.size(); i++)
Directive directive = (Directive)sortingColumns.get(i);
if (directive.column == column)
return directive;
return EMPTY_DIRECTIVE;
public int getSortingStatus(int column)
return getDirective(column).direction;
private void sortingStatusChanged()
clearSortingState();
fireTableDataChanged();
if (tableHeader != null)
tableHeader.repaint();
public void setSortingStatus(int column, int status)
Directive directive = getDirective(column);
if (directive != EMPTY_DIRECTIVE)
sortingColumns.remove(directive);
if (status != NOT_SORTED)
sortingColumns.add(new Directive(column, status));
sortingStatusChanged();
protected Icon getHeaderRendererIcon(int column, int size)
Directive directive = getDirective(column);
if (directive == EMPTY_DIRECTIVE)
return null;
return new Arrow(directive.direction == DESCENDING, size, sortingColumns.indexOf(directive));
private void cancelSorting()
sortingColumns.clear();
sortingStatusChanged();
public void setColumnComparator(Class type, Comparator comparator)
if (comparator == null)
columnComparators.remove(type);
else
columnComparators.put(type, comparator);
protected Comparator getComparator(int column)
Class columnType = tableModel.getColumnClass(column);
Comparator comparator = (Comparator) columnComparators.get(columnType);
if (comparator != null)
return comparator;
if (Comparable.class.isAssignableFrom(columnType))
return COMPARABLE_COMAPRATOR;
return LEXICAL_COMPARATOR;
private Row[] getViewToModel()
if (viewToModel == null)
int tableModelRowCount = tableModel.getRowCount();
viewToModel = new Row[tableModelRowCount];
for (int row = 0; row < tableModelRowCount; row++)
viewToModel[row] = new Row(row);
if (isSorting())
Arrays.sort(viewToModel);
return viewToModel;
public int modelIndex(int viewIndex)
return getViewToModel()[viewIndex].modelIndex;
private int[] getModelToView()
if (modelToView == null)
int n = getViewToModel().length;
modelToView = new int[n];
for (int i = 0; i < n; i++)
modelToView[modelIndex(i)] = i;
return modelToView;
// TableModel interface methods
public int getRowCount()
return (tableModel == null) ? 0 : tableModel.getRowCount();
public int getColumnCount()
return (tableModel == null) ? 0 : tableModel.getColumnCount();
public String getColumnName(int column)
return tableModel.getColumnName(column);
public Class getColumnClass(int column)
return tableModel.getColumnClass(column);
public boolean isCellEditable(int row, int column)
return tableModel.isCellEditable(modelIndex(row), column);
public Object getValueAt(int row, int column)
return tableModel.getValueAt(modelIndex(row), column);
public void setValueAt(Object aValue, int row, int column)
tableModel.setValueAt(aValue, modelIndex(row), column);
// Helper classes
private class Row implements Comparable
private int modelIndex;
public Row(int index)
this.modelIndex = index;
public int compareTo(Object o)
int row1 = modelIndex;
int row2 = ((Row) o).modelIndex;
for (Iterator it = sortingColumns.iterator(); it.hasNext();)
Directive directive = (Directive) it.next();
int column = directive.column;
Object o1 = tableModel.getValueAt(row1, column);
Object o2 = tableModel.getValueAt(row2, column);
int comparison = 0;
// Define null less than everything, except null.
if (o1 == null && o2 == null)
comparison = 0;
} else if (o1 == null)
comparison = -1;
} else if (o2 == null)
comparison = 1;
} else {
comparison = getComparator(column).compare(o1, o2);
if (comparison != 0)
return directive.direction == DESCENDING ? -comparison : comparison;
return 0;
private class TableModelHandler implements TableModelListener
public void tableChanged(TableModelEvent e)
// If we're not sorting by anything, just pass the event along.
if (!isSorting())
clearSortingState();
fireTableChanged(e);
return;
// If the table structure has changed, cancel the sorting; the
// sorting columns may have been either moved or deleted from
// the model.
if (e.getFirstRow() == TableModelEvent.HEADER_ROW)
cancelSorting();
fireTableChanged(e);
return;
// We can map a cell event through to the view without widening
// when the following conditions apply:
// a) all the changes are on one row (e.getFirstRow() == e.getLastRow()) and,
// b) all the changes are in one column (column != TableModelEvent.ALL_COLUMNS) and,
// c) we are not sorting on that column (getSortingStatus(column) == NOT_SORTED) and,
// d) a reverse lookup will not trigger a sort (modelToView != null)
// Note: INSERT and DELETE events fail this test as they have column == ALL_COLUMNS.
// The last check, for (modelToView != null) is to see if modelToView
// is already allocated. If we don't do this check; sorting can become
// a performance bottleneck for applications where cells
// change rapidly in different parts of the table. If cells
// change alternately in the sorting column and then outside of
// it this class can end up re-sorting on alternate cell updates -
// which can be a performance problem for large tables. The last
// clause avoids this problem.
int column = e.getColumn();
if (e.getFirstRow() == e.getLastRow()
&& column != TableModelEvent.ALL_COLUMNS
&& getSortingStatus(column) == NOT_SORTED
&& modelToView != null)
int viewIndex = getModelToView()[e.getFirstRow()];
fireTableChanged(new TableModelEvent(TableSorter.this,
viewIndex, viewIndex,
column, e.getType()));
return;
// Something has happened to the data that may have invalidated the row order.
clearSortingState();
fireTableDataChanged();
return;
private class MouseHandler extends MouseAdapter
public void mouseClicked(MouseEvent e)
JTableHeader h = (JTableHeader) e.getSource();
TableColumnModel columnModel = h.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(e.getX());
int column = columnModel.getColumn(viewColumn).getModelIndex();
if (column != -1)
int status = getSortingStatus(column);
if (!e.isControlDown())
cancelSorting();
// Cycle the sorting states through {NOT_SORTED, ASCENDING, DESCENDING} or
// {NOT_SORTED, DESCENDING, ASCENDING} depending on whether shift is pressed.
status = status + (e.isShiftDown() ? -1 : 1);
status = (status + 4) % 3 - 1; // signed mod, returning {-1, 0, 1}
setSortingStatus(column, status);
private static class Arrow implements Icon
private boolean descending;
private int size;
private int priority;
public Arrow(boolean descending, int size, int priority)
this.descending = descending;
this.size = size;
this.priority = priority;
public void paintIcon(Component c, Graphics g, int x, int y)
Color color = c == null ? Color.GRAY : c.getBackground();
// In a compound sort, make each succesive triangle 20%
// smaller than the previous one.
int dx = (int)(size/2*Math.pow(0.8, priority));
int dy = descending ? dx : -dx;
// Align icon (roughly) with font baseline.
y = y + 5*size/6 + (descending ? -dy : 0);
int shift = descending ? 1 : -1;
g.translate(x, y);
// Right diagonal.
g.setColor(color.darker());
g.drawLine(dx / 2, dy, 0, 0);
g.drawLine(dx / 2, dy + shift, 0, shift);
// Left diagonal.
g.setColor(color.brighter());
g.drawLine(dx / 2, dy, dx, 0);
g.drawLine(dx / 2, dy + shift, dx, shift);
// Horizontal line.
if (descending) {
g.setColor(color.darker().darker());
} else {
g.setColor(color.brighter().brighter());
g.drawLine(dx, 0, 0, 0);
g.setColor(color);
g.translate(-x, -y);
public int getIconWidth()
return size;
public int getIconHeight()
return size;
private class SortableHeaderRenderer implements TableCellRenderer
private TableCellRenderer tableCellRenderer;
public SortableHeaderRenderer(TableCellRenderer tableCellRenderer)
this.tableCellRenderer = tableCellRenderer;
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Component c = tableCellRenderer.getTableCellRendererComponent(table,
value, isSelected, hasFocus, row, column);
if (c instanceof JLabel) {
JLabel l = (JLabel) c;
l.setHorizontalTextPosition(JLabel.LEFT);
int modelColumn = table.convertColumnIndexToModel(column);
l.setIcon(getHeaderRendererIcon(modelColumn, l.getFont().getSize()));
return c;
private static class Directive
private int column;
private int direction;
public Directive(int column, int direction)
this.column = column;
this.direction = direction;
}any input will be appreciated.
thanks
PeterThe code you posted doesn't help us at all. Its just a duplicate of the code from the tutorial. The custom code is what you have written. For example do you update the TableModel from the Event Thread? Do you update the SortModel or the DefaultTableModel? If you actually provide your test code and somebody has already downloaded the sort classes, then maybe they will test your code against the classes. But I doubt if people will download the sort classes and create a test program just to see if they can duplicate your results (at least I know I'm not about to).
-
Error whille adding new mapping into FDM
Hi,
When i am trying to add new account mapping into account(The account already having 4000 mappings already) in FDM am getting error like, "Error: Error adding new record.
Detail: An invalid value was entered for the dimension (Customer)" .
What should I correct for this situation?
Thanks so much!!!Loading a target system member that does not exist in the target application is only going to cause you an error when loading to the target system. I would not recommend this approach. Either update the maps to a valid member or add the member to the target application.
-
InfoPath 2013 error when adding new infoPath form
Hi
I have created an infoPath form and published it to a SharePoint 2013 site - form library (timerequest). the form was saved and publish successfully. but when I try to add new document (form), I got the error below and I hope someone can explain
to me how each URL in the error is reported by either infoPath or SharePoint as I hope with that information i can trace where my problem is.
background:
SharePoint 2013 farm with 2 servers: spserverfe1 and
spserverapp1 (not load balancing)
web application URL is http://spserverfe1
All managed path site collection I created start with http://spserverfe1/sites/.....
The correct URL for the form library is http://spserverfe1/sites/spsite/InfoPath/Timerequest (this showed correctly in the manifest file)
what I don't understand is when the error occurred, the error URL showed both the app server spserverapp1 and the wfe server
spserverfe1
here is the error:
The following location is not accessible, because it is in a different site collection: http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn?SaveLocation=http://spserverfe1/sites/spsite/InfoPath/timerequest/&Source=http://spserverfe1/sites/spsite/InfoPath/timerequest/Forms/AllItems.aspx&ClientInstalled=true&OpenIn=Browser&NoRedirect=true&XsnLocation=http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn
Thanks in advance for your comments and advices
SwanlHi Swan,
For troubleshooting your issue, please create an Alternate Access Mapping for the site at
http://WFEServerName/ to ensure this site can be resolved by InfoPath.
For more information, you can have a look at the thread:
https://social.msdn.microsoft.com/Forums/en-US/a75c3ba8-b41a-4c44-abc4-49a3dde68b1c/the-following-location-is-not-accessible-because-it-is-in-a-different-site-collection?forum=sharepointcustomizationlegacy
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Error while adding new security group in content server
Hi,
When i am trying to add new security group in UCM using User Admin applet i am getting following error:
Event generated by user 'weblogic' at host 'vpunvfpctnsz-07.ad.infosys.com:16200'. Unable to execute service ADD_GROUP and function insertGroupRow.
Unable to execute query 'IroleDefinition(INSERT INTO RoleDefinition (dGroupName, dRoleName, dPrivilege, dRoleDisplayName)
values ('Test_111', 'admin', 0, ''))'. ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated. [ Details ]
An error has occurred. The stack trace below shows more information.
!csUserEventMessage,weblogic,vpunvfpctnsz-07.ad.infosys.com:16200!$!csServiceDataException,ADD_GROUP,insertGroupRow!$!csDbUnableToExecuteQuery,IroleDefinition(INSERT INTO RoleDefinition (dGroupName\, dRoleName\, dPrivilege\, dRoleDisplayName)<br> values ('Test_111'\, 'admin'\, 0\, ''))!$ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated<br>!syJavaExceptionWrapper,java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated<br>
intradoc.common.ServiceException: !csServiceDataException,ADD_GROUP,insertGroupRow!$
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2071)
at intradoc.server.Service.buildServiceException(Service.java:2207)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2201)
at intradoc.server.Service.createServiceException(Service.java:2196)
at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1736)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1691)
at intradoc.server.Service.doAction(Service.java:476)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
at intradoc.server.Service.doActions(Service.java:471)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1371)
at intradoc.server.Service.executeActions(Service.java:457)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:723)
at intradoc.server.Service.doRequest(Service.java:1865)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1332)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1678)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:221)
at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1592)
at idcservlet.IdcFilter.doFilter(IdcFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: intradoc.data.DataException: !csDbUnableToExecuteQuery,IroleDefinition(INSERT INTO RoleDefinition (dGroupName\, dRoleName\, dPrivilege\, dRoleDisplayName)
* values ('Test_111'\, 'admin'\, 0\, ''))!$ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated* at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2441)
at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:584)
at intradoc.server.UserService.insertGroupRow(UserService.java:1201)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:549)
at intradoc.server.Service.doCode(Service.java:504)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
... 39 more
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OCS.PK_ROLEDEFINITION) violated
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1028)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)
at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:5846)
at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleStatement.java:5989)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2012)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1958)
at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:301)
at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:503)
at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:564)
... 50 more
I checked in database , the security group Test_111 is not present in ROLEDEFINITION table.
What could be the issue?
Regards,
Minal1) Try importing CMU bundle with 'Overwrite Duplicates' option unchecked .
2) In the CMU bundle, open file roles_guest.hda and see if 'guest' role has access to any group that start with special character or group you haven't created in the system..
Eg: guest
#AppsGroup
0
Also open securitygroups folder in CMU bundle, and see if you can find any groups that starts with special character or group you haven't created in the system.
3) Identify that group and execute below query in the UCM database.
select * from roledefinition where dgroupname= '#AppsGroup';
Replace '#AppsGroup' with the groupname you identified.
4) Solution would be to delete all the rows with dgroupname= '#AppsGroup' from the 'roledefinition' table.
delete from roledefinition where dgroupname= '#AppsGroup';
Replace '#AppsGroup' with the groupname you identified. -
Error when adding new service invoice with DI Server, error -1114
<b>Hi everybody.
I'm trying to add an serviceinvoice (DocType = 'Service Transaction') with DI Server AddObject method.
The xml-request document looks like this:</b>
<?xml version='1.0' encoding='UTF-16' ?>
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header>
<SessionID>........</SessionID>
</env:Header>
<env:Body>
<dis:AddObject xmlns:dis='http://www.sap.com/SBO/DIS'>
<BOM>
<BO>
<AdmInfo>
<Object>oInvoices</Object>
</AdmInfo>
<Documents>
<row>
<DocNum>1241</DocNum>
<HandWritten>1</HandWritten>
<DocDate>10/08/2005</DocDate>
<DocDueDate>10/08/2005</DocDueDate>
<CardCode>V1010</CardCode>
<DocType>S</DocType>
</row>
</Documents>
<Document_Lines>
<row>
<Currency>USD</Currency>
<LineTotal>7500,00</LineTotal>
<AccountCode>_SYS00000000001</AccountCode>
<TaxCode>LA</TaxCode>
</row>
<row>
<Currency>USD</Currency>
<LineTotal>-7500,00</LineTotal>
<TaxCode>LA</TaxCode>
</row>
</Document_Lines>
</BO>
</BOM>
</dis:AddObject>
</env:Body>
</env:Envelope>
<b>...But I get error eveytime I try to do it, the response document as follows:</b>
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Receiver</env:Value>
<env:Subcode>
<env:Value>-1114</env:Value>
</env:Subcode>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Schema Validation Failed</env:Text>
</env:Reason>
<env:Detail>
<ErrorList>
<Error>System Id = 193271344, Line Number = 1, Column Number = 359, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error><Error>System Id = 193271344, Line Number = 1, Column Number = 488, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error>
</ErrorList>
<Object>13</Object>
<ObjectIndex>1</ObjectIndex>
<Command>AddObject</Command>
<SessionID>............</SessionID>
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
<b>Why? Which fields are missing or which field values of those I'm sending might be wrong?</b>Did you try to set the AccountCode also for the 2nd line?
HTH,
Frank -
EVDRE error after adding new member - AFTER installing SQL 2008 R2 SP1 CU2
Hi guys.
We're seeing the same error as detailed in Link:[Re: EVDRE error AFTER expanding on a newly added member, sometimes....;
Basically, any new members that are added appear in the SQL tables, but throw out "EVDRE has encountered a problem..." when trying to use them.
Generally, this problem clear up if we leave the member overnight (although why this should be, I have no idea - the system does nothing extra overnight).
We have tried processing the cube, full processing of the application and even a server reboot, all to no avail.
However, the generally accepted fix for this is to upgrade SQL 2008 R2 to SP1 CU2 (SQL 10.50.2772)
This system was patched to that level before BPC was ever installed, precisely to avoid this problem.
This is not the first time that we have seen this behaviour.
I have experienced it in one other environment, which I keep meaning to rebuild.
These installations are in completely different environments. The only similarities are that they both use Windows Server 2008 R2 and SQL 2008 R2.
The issue only started to appear in this second environment today (we have 3 other environments with the same software version that do not have the problem).
It had been assumed before today that the first problematic environment might need a rebuild due to this issue being caused by some other factor.
However, this is now far too coincidental to be the case.
Has anyone seen similar issues even after patching to v10.50.2772, or does anyone have any suggestions at all.
I could really do with a quick win on this one.
ThanksHi,
i've had the same issue in the same days. I confirm that the issue appear after adding any member and it's clear overnight.
My system is different:
Windows Server 2008 NT 6.0 <X64> (Build 6002: Service Pack 2) Enterprise Edition
and Microsoft SQL Server 2008 Enterprise Edition (SP1) - 10.0.2841.0 (X64)
The issue appears in the last months.
It's occurs only on specific machine (always the same client), in the same moment other machines can open the same input schedule and expand without problem.
I've noted also that when I cancel the added member the issue disappear, the same behaviour with APShell.
I have the same configuration on development and test environment, same version of O.S. and SQL server, but there I don't have problem. The only difference is that these two environments are single server (application and DB server on the same machine) Instead, the production environment is multiserver (2 application server + DB server).
Maybe there is a service that take a long time for sincronization (it's triggered in the night?).
Could you verify if on some machine the evdre works fine and and that when you delete the added member evdre starts to work?
Kind regards
Roberto
Edited by: Roberto Vidotti on Dec 19, 2011 6:01 PM -
TableAdapter Configuration Wizard gives error when adding new TableAdapter
Hi,
I recently downloaded and installed the ODT for visual studio on my computer. I am running VS2008 on Windows 7 64-bit. I am able to create an ODP.NET connection to the Oracle XE 10.2g instance that is running on my computer with no problems and use that connection to browse the database. When I add a DataSet to my project, and start adding TableAdapters to the DataSet, I am getting errors. In an attempt to figure out what the problem is, I have followed various scenarios. I will describe each scenario, and what the end result is, and then after I have described them all, I will explain what I think the problem might be. Here are the different scenarios I have used:
Scenario 1:
From the Server Explorer, highlight ALL of the tables in my schema and drag them to the designer (all table adapters are added with no issues). I can add additional queries to each of the TableAdapters and then change the additional queries by right clicking and choosing "Configure". This all works with no issues. However, on certain TableAdapters, if I try to modify the primary query (Fill,GetData()), I can open the query editor just fine, change various settings, etc, but when I click on "Finish" I get the following error:
Configure TableAdapter TABLENAME failed.
Index was outside the bounds of the array.
Scenario 2:
From the Server Explorer, drag tables from my schema onto the designer one at a time. Some tables get added just fine, but for the rest of them, I get the following error:
Failed to merge object(s).
Index was outside the bounds of the array.
Scenario 3:
On the Dataset Designer, add tables one at a time by right clicking and choosing "Add -> TableAdapter" and then using SQL to define the query for each table. Some tables get added just fine, but for the rest of them, I get the following error:
Failed to add TableAdapter.
Index was outside the bounds of the array.
Ok... now that I have described all of the different scenarios, I will explain what I think the problem is, and why. Based on my research, I believe the underlying problem has to do with Foreign Key Constraints on the various tables. While working on Scenarios 2 & 3, the same exact tables worked just fine in both scenarios. When I started looking at the definitions for the tables in my schema, it turns out that all of the tables that failed had foreign key constraints defined. When I remove the FK constraints from a table, I am then able to add it to my dataset and change the default query with no problems. My original application used the System.Data.OracleClient provided by Microsoft. When adding my tableadapters using the microsoft data provider, the FK relations are automatically generated for me in the designer, but not with the Oracle Data Provider
I would be happy to provide you with the DDL that I used for creating my schema (it is not very big) if needed.
Thanks,
JimSorry let me clarify some of the config a little more.
MAIL101 - Exch 2013
MAIL102 - Exch 2013
AP104 - Witness (strictly a witness nothing else on this machine)
EDGE01 - Exch 2007 Edge
CAS01 - Exch 2007 Hub/CAS load balancer for CAS02/03
CAS02 - Exch 2007 Hub/CAS
CAS03 - Exch 2007 Hub/CAS
MBOX01 - Exch 2007 Mail cluster
MBOX02 - Exch 2007 Mail cluster node
MBOX03 - Exch 2007 Mail cluster node
RDC01, RDC02, RDC03 - all 2008 R2 root domain controllers for rootdomain.rootdomain
DC01, DC02, DC03, DC04 - all 2008 R2 domain controllers for us.rootdomain.rootdomain
All DCs are Global Catalogs.
I can ping all DCs and root DCs fromboth MAIL101 and 102
The Exchange Replication service is running on both MAIL101 and 102.
DC03 is in the same site as the MAIL101/102 servers so I'll run all replication tests from here.
DCDIAG comes back with all tests passed.
repadmin /replsum comes back with 0 fails and no errors largest delta for any intersite communication is 13min.
When I run Test-ReplicationHealth -Identity MAIL101 and also 102 they both come back as everything passed. No errors. -
SMSY generating runtime error on adding new system
In our solution manager system, while trying to add a new system details
via SMSY transaction we are getting the Runtime Errors
OBJECTS_OBJREF_NOT_ASSIGNED.
Please find the dump details.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Exception CX_SY_REF_IS_INITIAL
Date and Time 29.05.2008 10:47:54
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSMSY_ACTUALIZE_DATA" had to be terminated because
it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "UPDATE_HOST_LCR" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "ACCESSOR").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Information on where terminated
Termination occurred in the ABAP program "SAPLSMSY_ACTUALIZE_DATA" - in
"UPDATE_HOST_LCR".
The main program was "SAPLSMSY_MAIN ".
In the source code you have the termination point in line 2013
of the (Include) program "LSMSY_ACTUALIZE_DATAF01".
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "UPDATE_HOST_LCR" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "SAPLSMSY_ACTUALIZE_DATA "; its source code begins
in line
1983 of the (Include program "LSMSY_ACTUALIZE_DATAF01 ".
Source Code Extract
Line SourceCde
1983 FORM UPDATE_HOST_LCR USING IV_HOST STRUCTURE SMSY_HOST.
1984
1985 DATA:
1986 ACCESSOR TYPE REF TO CL_SLD_ACCESSOR,
1987 VALUE TYPE STRING,
1988 VALUE1 TYPE STRING,
1989 EX TYPE REF TO CX_SLD_API_EXCEPTION,
1990 T_INAMES TYPE SLD_T_STRING,
1991 INSTREF TYPE REF TO CL_SLD_CIM_INSTANCE,
1992 SYSTREF TYPE REF TO CL_SLD_CIM_INSTANCE,
1993 CLNTREF TYPE REF TO CL_SLD_CIM_INSTANCE,
1994 LINKREF TYPE REF TO CL_SLD_CIM_INSTANCE,
1995 INSTHANDLE TYPE STRING,
1996 SYSTHANDLE TYPE STRING,
1997 CLNTHANDLE TYPE STRING,
1998 LINKHANDLE TYPE STRING,
1999 T_KEYPROP TYPE SLD_T_VALUELIST,
2000 I TYPE I,
2001 PROPLIST TYPE SLD_T_VALUELIST,
2002 PROPERTY TYPE SLD_S_VALUELIST,
2003 FILTER TYPE REF TO CL_SLD_FILTER.
2004
2005 DATA STRING TYPE STRING.
2006 DATA IV_SYSTEM TYPE SMSY_SYSTEM_SAP.
2007
2008 GET_SLD_TOP_INFO.
2009
2010 * Test the connection to the SLD server:
2011 TRY.
2012
>>>>> ACCESSOR->PING( ).
2014
2015 CATCH CX_SLD_API_EXCEPTION INTO EX.
2016 VALUE = EX->GET_TEXT( ).
2017 MSGMACRO 'SCDT_LIS_IF' 'E' 11 'LCR_ERROR'.
2018 ENDTRY.
2019
2020
2021 * Catch all exceptions potentially triggered by the API:
2022 TRY.
2023
2024
2025 * Create a new instance representation object for class SAP_BCSystem.
2026 * If an accessor object is supplied in the constructor, the object
2027 * reference of the representation can be used in other accessor
2028 * methods.
2029 CREATE OBJECT SYSTREF
2030 EXPORTING
2031 CLASSNAME = 'SAP_ComputerSystem'
2032 ACCESSOR = ACCESSOR.
I am already at the latest support package i.e13
Regards
AnthonyHi Anthony
Is your problem solved . I M facing the same problem . I found another thread which is suggesting to follow SAP note 1042815. But it seems that we need to change Some standard include to get it fixed .
Does SAP suggest to change their own program .
Waiting for your reply . -
Adding new Hub Transport server in existing environment
Hi everyone,
Currently we have 5 exchange servers 2010 :
2 CAS Servers (Virtual)
2 MB and Hub Transport servers (Physical)
1 Edge server in DMZ. (Virtual)
Now I have added 2 more servers
with MB and Hub Tranport Roles (VIRTUAL) and want to configure the mail flow from these new transport servers.
Can anyone help with the steps I should follow. Please note we have 1 existing Edge server in 2010 and email flow should be from Hub Transport to Edge server then from Edge to internet.
Existing environment is working fine without any issues. Main reason to do this is to virtualize the physical servers. Mailbox DB already migrated to new servers.
Thanks.
Manish Kumar MCSA, MCITP Enterprise Admin. MCTS Exchange server 2007, MCITP Virtualization Admin.Dear Manish
Please find your answers below
For mail flow to happen through new hub transport I will make the new edge subscription from new HUB server
to Edge server. Is there any other changes I have to do ?
No other changes is required
Create a new edge subscription and then import it and run start endge sync
So when I will do create the new edge subscription then it will delete the old send connectors and will
create the new one?
IT will create old edge sync and create a new edge sync which will not make any impact on your config
Will there be any downtime while doing this activity ?
Better to do this on after production hours since definitely there will be mail delay and may delay more if you try this on production hours
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish (MVP) -
Error in adding new connection in Smartview
Hi
I am trying to connect to HFM using smartview. I am trying to add a new private connection in Excel and using a admin login which was used to create the application and hence has all the rights.
But i get an error of "user authentication needed" -- in short it does not recognise the user name/password, though i am using the sae login/password to connect to workspace and the application , which works just fine.
Looking at the Event viewer application log, i get the following error:
Error 11; hypdcom; 05/10/2011 14:32:24; Line -1; <?xml version="1.0"?>
<EStr><Ref>{C0938B42-CABF-4016-8B52-C02CF6A97BAE}</Ref><User/><DBUpdate>2</DBUpdate><ESec><Num>-2147216700</Num><Type>1</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr/><File/><Line>-1</Line><Ver>11.1.2.0.0.2762</Ver><DStr>Unable to find SMARTVIEW_PROVIDER_WEBAPP component</DStr></ESec></EStr>
Error 11; hypdcom; 05/10/2011 14:32:24; CHITRegistryWrapper.cpp; Line 899; <?xml version="1.0"?>
<EStr><Ref>{54A41045-6B6E-4179-B515-443DBA1F63EE}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHITRegistryWrapper.cpp</File><Line>899</Line><Ver>11.1.2.0.0.2762</Ver></ESec></EStr>
Error 11; hypdcom; 05/10/2011 14:32:24; CHITRegistryWrapper.cpp; Line 229; <?xml version="1.0"?>
<EStr><Ref>{54A41045-6B6E-4179-B515-443DBA1F63EE}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHITRegistryWrapper.cpp</File><Line>899</Line><Ver>11.1.2.0.0.2762</Ver></ESec><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHITRegistryWrapper.cpp</File><Line>229</Line><Ver>11.1.2.0.0.2762</Ver></ESec></EStr>
Error 11; hypdcom; 05/10/2011 14:32:24; CHFMwHITRegistry.cpp; Line 424; <?xml version="1.0"?>
<EStr><Ref>{54A41045-6B6E-4179-B515-443DBA1F63EE}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHITRegistryWrapper.cpp</File><Line>899</Line><Ver>11.1.2.0.0.2762</Ver></ESec><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHITRegistryWrapper.cpp</File><Line>229</Line><Ver>11.1.2.0.0.2762</Ver></ESec><ESec><Num>-2147216700</Num><Type>0</Type><DTime>5/10/2011 2:32:24 PM</DTime><Svr>PGHHYD02</Svr><File>CHFMwHITRegistry.cpp</File><Line>424</Line><Ver>11.1.2.0.0.2762</Ver></ESec></EStr>
(If it helps, i am am unable to create new forms/ grids/reports,etc too and face similar errors)
Any pointers to what can be causing this and how this can be solved with be a great helpHi ,
Thanks for the path
the install url path is : http://<servernameA>/epmstatic/wspace/SmartView
Path :http://<servernameA>:19000/epmstatic/wspace/SmartView
URL : http://<servername1>/HFMOfficeProvider
servernameA has weblogic/foundation services/EPM workspace/Share services web application
servername1 has FM Webservices web application/FM web sevices IIS web application/FM Smartview IIS web application/FM LCM IIS web application -
Error while adding new field in the Segment type thru WE31.
Hi All,
I want to add one field in the Z segment type using WE31.But i am getting the error message as
'Current segment definition <segment name> can no longer be changed and The current segment definition
is already released.You can either add a new segment definition or cancel the release of the current segment definition'.
The current segment defenition which i am trying to change got the SAP release of 45B. But the system has upgraded to Ecc6 recently.
I tried going to the edit menu and cancel the release, but still it is not allowing.
Whats the impact of the Add button(Add version) and creating a new version?.will it create a new version for ECC6?.
Points will be rewarded
regards,
neslin.Hi
You can create a new version. This will not create any problems. You might not be able to cancel the release because of upgrade.
Thanks
Vijay -
Error while adding new function to HRMS fast formula
Hi,
when i m trying to add a new external function to BG_ABSENCE_DURATION formula, it is getting verified successfully. But when i m trying to save it, it is giving error as below:
APP-FF-33980: Internal error.
A compilation error has been detected while attempting to generate package FFP294_01011900
Please consult your system administrator.
I have compliled the package successfully using TOAD and registered the function using Define Function form. Please help me to resolve this problem.Usually this error occurs when the called function has not been properly defined. You say you have defined it, but check that the parameters are the same in the FF call to the function and the function itself.
If that is OK, I would then create a new FF with all the same code and try to save that
Finally, if all else fails, check MetaLink as thee are a few references to other problems in this area which require patches to solve them.
Regards
Tim
Maybe you are looking for
-
New search functionality in SDN
Hey everybody Since past few days i m seeing a new feature in search functionality on SDN. If i search for any specific term it sorts out the links as per the assigned points/answered questions.I m not really sure if thats the best option coz a lot o
-
What is the best cheap/free search and replace software for .xml files?
Transferring my iTunes library from PC to Mac I have reached the stage where I want to edit the .xml file from PC file paths to Mac ones - which would be the best preferrably free software to do this on?
-
General Ledger Posting Error (GLT2 051) No accounting transaction variant
Hello SAP Gurus- When testing lockbox in FLB2, I received the following error message: General Ledger Posting Error (GLT2 051) No accounting transaction variant assigned to FB01/ /LB We are on ECC 6.0 I created a new Document Type LB I created a new
-
Hello, i have the following SQL-Statement: SELECT /*+ PARALLEL(mytable,16*/ COUNT(*) FROM mytable; Does the database use ALWAYS 16 cores (of course, if 16 cores are free) - even if the cbo (cost based optimizer ) "thinks" that this makes no sense? Or
-
Using Windows 7, have repeatedly (at the urging of the now annoying pop-up) tried to install update. Goes all the way through the process until the almost very end, then undoes it all and gives the following message: Error 1321. The Installer has i