Check an instance of a jframe
i have a login in screen(jframe) with username and password, i try to run it from one console(windows command promt) its opening, but what i need is when i run the same jframe from another console how can i check whether this frame is already opened(in memory) or not.
this does look like a jni work
why?
u open two instances of the same application, the OS keeps
an instense of the threads
Similar Messages
-
Hi All,
I have started receiving this error in the logs for the last 10 days and the Schedules Jobs for the database have stopped running. My MS CRM application is working fine.
Can anyone guide me what could be the problem.
Date 17/4/2014 2:04:20 PM
Log SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
Message
[298] SQLServer Error: 10061,
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct
and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
Date 17/4/2014 2:11:55 PM
Log SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
Message
[298] SQLServer Error: 10061,
A network-related or instance-specific error
has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
see SQL Server Books Online. [SQLSTATE 08001]
Date 7/4/2014 11:00:31 AM
Log SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
Message
[298] SQLServer Error: 10061,
A network-related or instance-specific error
has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
see SQL Server Books Online. [SQLSTATE 08001]Check this link
http://social.msdn.microsoft.com/Forums/en-US/906da9b5-2482-468c-a424-ae099da2d96b/sql-server-agent-service-account-error?forum=sqlsetupandupgrade
Regards, RSingh -
How to check java instance in solaris
Dear All,
I am running one java client application in solaris machine.
Now my query is that if my application is already running ,how can i check that instance that whether that application is already running on machine or now so that i can restrict the operator to run multiple java application.
Waiting for your reply
GauravOpen a ServerSocket with a fixed port number.
-
How to check running instance of a program, when its run by a job
Hello,
I have a report run by a job, twice a day. The thing is, the second run cannot start, if the first one hasn't finished (quite possible).
So i would like in my report to check if an instance of this report is already running.
I tried the solutions supplied by Rich Heilman with:
'ENQUEUE_E_TRDIR' and 'ENQUEUE_ESINDX'
i also tried locking an entry in table TVARV
One more thing is, if the program stops with an error, or doesnt finish execution, it shouldnt need any manual reseting - i though of making an entry in tavrv and correcting it at the end of execution, but that would be the issue.
Thanks for any help,
Edited by: Michal Szczerbowski on Nov 17, 2008 3:08 PMInstead of locking the entry and leaving it unattented incase of error, you may give a try to implement solution like:
1. Get the all running processes on the server by executing the FM TH_WPINFO.
2. Check the Exporting table WPLIST with:
WP_ITYPE = 4
WP_REPORT = program_name_for_job
If you find any entry in the table WPLIST that gives you the running instance of the that program in the job.
Regards,
Naimesh Patel -
Check ABAP Instance or Java Instance
Hi
How to Check whether our SAP Server contain ABAP Instance or Java Instance ?
Regards
GunjanHi,
1. Check with Tcode SM51
2. Check with RZ20
Regards,
Srini Nookala -
Hello All,
Can anyone please let me know how can we check in a UNIX shell command that whether OEM is configured for a Oracle database instance for a particular server or not.
Your Suggestions will be helpful.
Thanks
RahulYou probably could parse the $OH/sysman/emd/targets.xml file. Where the $OH is the home of the intelligent agent on that server.
Don't ask me how to parse the file. That's a question for another forum. :) -
show sga
show parameter pgawhat other method to check the memory of one instance?select * from v$sga
col component format a30
select component,sum(current_size), sum(current_size/(16*1024*1024))as Granuals from v$sga_dynamic_components
group by rollup (component)
select sum(value) "Max Sga Size" from v$sga
select sum(bytes) as SUM_SGA_STAT from v$sgastat
select sum(current_size) "Sum of dynamic components" from v$sga_dynamic_components
SELECT current_size as "Current Free Memory" FROM V$SGA_DYNAMIC_FREE_MEMORY
SELECT (
(SELECT SUM(value) FROM V$SGA) -
(SELECT CURRENT_SIZE FROM V$SGA_DYNAMIC_FREE_MEMORY)
) "SGA_TARGET"
FROM DUAL
select sum(current_size) "Current Buffer Size", sum(buffers) "Sum of the Buffers" from v$buffer_pool
select trunc(
(select sum(value) "Max Sga Size" from v$sga) -
(select sum(current_size) from v$sga_dynamic_components)
/(16*1024*1024)
as "Available Granual Size" from dual
/ -
Is this possible to Move window, inherited from JWindow instead of JFrame
Hi
This is Khurram, I have constructed a class that extends JWindow indtead of JFrame, I m trying to move it on screen (changing Location) through KeyListener (with arow keys). But the Listener is not working,
I tried very much time,
If I change just the base class from JWindow to JFrame(dont change any thing else), then all works properly as I required.
I m pasting the code below,(two files)
LocationManager.java is required to run MainApp.java.
The Following MainApp.java is extends JWindow, that is not working properly
please also check after changing it to JFrame. which will work properly
------required keys on keyboard--
NUMPAD '+' key
NUMPAD '-' key
' - ' key
' + ' key
Arrow Keys 'up','down','left','right'
==========================================================
MainApp.java
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class MainApp extends JWindow {
static LocationManager appLoc = new LocationManager();
public MainApp() {
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
public static void main(String[] args) {
MainApp frm = new MainApp();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int width = screenSize.width;
int height = 45;
//frm.setFocusable(true);
frm.setSize(width, height);
frm.setLocation(appLoc.setAppAtBottomCentered(width, height));
frm.setLocation(appLoc.moveAppUpward(100));
frm.setVisible(true);
private void jbInit() throws Exception {
this.getContentPane().setBackground(Color.white);
addKeyListener(new java.awt.event.KeyAdapter(){
int moveSpeed = 4;//must be even
public void keyPressed(KeyEvent e){
//JOptionPane.showMessageDialog(null,""+e.getKeyCode());
if(e.getKeyCode() == KeyEvent.VK_SHIFT)
if(moveSpeed==4)
moveSpeed = 12;
else
moveSpeed = 4;
if(e.getKeyCode() == KeyEvent.VK_UP)
setLocation(appLoc.moveAppUpward(moveSpeed));
else if(e.getKeyCode() == KeyEvent.VK_DOWN)
setLocation(appLoc.moveAppDownward(moveSpeed));
else if(e.getKeyCode() == KeyEvent.VK_LEFT)
setLocation(appLoc.moveAppToLeft(moveSpeed));
else if(e.getKeyCode() == KeyEvent.VK_RIGHT)
setLocation(appLoc.moveAppToRight(moveSpeed));
else if(e.getKeyCode() == 107) {//NUMPAD '+' Key For Vertically Increasing
setSize(appLoc.increaseSize(0,moveSpeed));
setLocation(appLoc.updateLocation());
else if(e.getKeyCode() == 109) {//NUMPAD '-' Key For Vertically Decreasing
setSize(appLoc.decreaseSize(0,moveSpeed));
setLocation(appLoc.updateLocation());
else if(e.getKeyCode() == 61) {// '+' Key For Horizontal Increasing
setSize(appLoc.increaseSize(moveSpeed,0));
setLocation(appLoc.updateLocation());
else if(e.getKeyCode() == 45) {// '-' Key For Horizontal Decreasing
setSize(appLoc.decreaseSize(moveSpeed,0));
setLocation(appLoc.updateLocation());
===END MainApp.java=========================================
=========================================================
LocationManager.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.sql.*;
public class LocationManager {
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
static Point newPoint = new Point();
static Dimension newDim = new Dimension();
static Dimension minDim = new Dimension();
/** Creates a new instance of LocationManager */
public LocationManager() {
public LocationManager(int width, int height){
this.setAppCenteredWithDim(width, height);
public Point setAppCenteredWithDim(int width, int height){
//Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
newDim.width = width;
newDim.height = height;
int sWidth = screenSize.width;
int sHeight = screenSize.height;
newPoint.x = (sWidth-width)/2;
newPoint.y = (sHeight-height)/2;
return newPoint;
//return new Point(this.x, this.y);
public Point setAppAtTopCentered(int width, int height){
//Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
newDim.width = width;
newDim.height = height;
int sWidth = screenSize.width;
int sHeight = screenSize.height;
newPoint.x = (sWidth-width)/2;
newPoint.y = 0;
return newPoint;
//return new Point(this.x, this.y);
public Point setAppAtBottomCentered(int width, int height){
//Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
newDim.width = width;
newDim.height = height;
int sWidth = screenSize.width;
int sHeight = screenSize.height;
newPoint.x = (sWidth-width)/2;
newPoint.y = (sHeight-height);
return newPoint;
//return new Point(this.x, this.y);
public Point setAppAtRightCentered(int width, int height){
//Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
newDim.width = width;
newDim.height = height;
int sWidth = screenSize.width;
int sHeight = screenSize.height;
newPoint.x = 0;
newPoint.y = (sHeight-height)/2;
return newPoint;
//return new Point(this.x, this.y);
public Point setAppAtLeftCentered(int width, int height){
//Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
newDim.width = width;
newDim.height = height;
int sWidth = screenSize.width;
int sHeight = screenSize.height;
newPoint.x = (sWidth-width);
newPoint.y = (sHeight-height)/2;
return newPoint;
//return new Point(this.x, this.y);
public Point moveAppUpward(int step){
newPoint.y -= step;
return newPoint;
//return new Point(this.x, this.y);
public Point moveAppDownward(int step){
newPoint.y += step;
return newPoint;
//return new Point(this.x, this.y);
public Point moveAppToLeft(int step){
newPoint.x -= step;
return newPoint;
//return new Point(this.x, this.y);
public Point moveAppToRight(int step){
newPoint.x += step;
return newPoint;
//return new Point(this.x, this.y);
public Dimension increaseSize(int w, int h){
minDim.width = 116;
minDim.height = 56;
newDim.width += w;
newDim.height +=h;
if(w==0 && newDim.height > minDim.height)
newPoint.y -= h/2;
else if(newDim.width > minDim.width )
newPoint.x -= w/2;
return newDim;
public Dimension decreaseSize(int w, int h){
minDim.width = 116;
minDim.height = 56;
if(newDim.width > minDim.width )
newDim.width -= w;
if(newDim.height > minDim.height)
newDim.height -= h;
if(w==0 && newDim.height > minDim.height)
newPoint.y += h/2;
else if(newDim.width > minDim.width)
newPoint.x += w/2;
return newDim;
public Point updateLocation(){
return newPoint;
//return new Point(this.x, this.y);
=============END LocationManager.java=====================================Hi,
There was a problem with using a JWindow without owner : this window can't be focused, so it can't retrieve key events.
Here is a solution (with some modifications specially with using InputMap and ActionMap) :
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MainApp extends JFrame {
static LocationManager appLoc = new LocationManager();
public MainApp() {
setUndecorated(true);
getContentPane().setBackground(Color.white);
registerKeyboardActions();
public static void main(String[] args) {
MainApp frm = new MainApp();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int width = screenSize.width;
int height = 45;
frm.setSize(width, height);
frm.setLocation(appLoc.setAppAtBottomCentered(width, height));
frm.setLocation(appLoc.moveAppUpward(100));
frm.setVisible(true);
private void registerKeyboardActions() {
JComponent component = getRootPane();
InputMap im = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
ActionMap am = component.getActionMap();
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "moveUp");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "moveDown");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0), "moveLeft");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), "moveRight");
im.put(KeyStroke.getKeyStroke(107, 0), "increaseWidth");
im.put(KeyStroke.getKeyStroke(109, 0), "decreaseWidth");
im.put(KeyStroke.getKeyStroke(61, 0), "increaseHeight");
im.put(KeyStroke.getKeyStroke(45, 0), "decreaseHeight");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.SHIFT_DOWN_MASK), "moveUpFast");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, InputEvent.SHIFT_DOWN_MASK), "moveDownFast");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_DOWN_MASK), "moveLeftFast");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_DOWN_MASK), "moveRightFast");
im.put(KeyStroke.getKeyStroke(107, InputEvent.SHIFT_DOWN_MASK), "increaseWidthFast");
im.put(KeyStroke.getKeyStroke(109, InputEvent.SHIFT_DOWN_MASK), "decreaseWidthFast");
im.put(KeyStroke.getKeyStroke(61, InputEvent.SHIFT_DOWN_MASK), "increaseHeightFast");
im.put(KeyStroke.getKeyStroke(45, InputEvent.SHIFT_DOWN_MASK), "decreaseHeightFast");
am.put("moveUp", new MoveAction(0, 4));
am.put("moveDown", new MoveAction(1, 4));
am.put("moveLeft", new MoveAction(2, 4));
am.put("moveRight", new MoveAction(3, 4));
am.put("increaseWidth", new ResizeAction(0, 4, 0));
am.put("decreaseWidth", new ResizeAction(1, 4, 0));
am.put("increaseHeight", new ResizeAction(0, 0, 4));
am.put("decreaseHeight", new ResizeAction(1, 0, 4));
am.put("moveUpFast", new MoveAction(0, 12));
am.put("moveDownFast", new MoveAction(1, 12));
am.put("moveLeftFast", new MoveAction(2, 12));
am.put("moveRightFast", new MoveAction(3, 12));
am.put("increaseWidthFast", new ResizeAction(0, 12, 0));
am.put("decreaseWidthFast", new ResizeAction(1, 12, 0));
am.put("increaseHeightFast", new ResizeAction(0, 0, 12));
am.put("decreaseHeightFast", new ResizeAction(1, 0, 12));
private final class MoveAction extends AbstractAction {
private int direction;
private int speed;
public MoveAction(int direction, int speed) {
this.direction = direction;
this.speed = speed;
public void actionPerformed(ActionEvent event) {
switch (direction) {
case 0 :
setLocation(appLoc.moveAppUpward(speed));
break;
case 1 :
setLocation(appLoc.moveAppDownward(speed));
break;
case 2 :
setLocation(appLoc.moveAppToLeft(speed));
break;
case 3 :
setLocation(appLoc.moveAppToRight(speed));
break;
default :
break;
private final class ResizeAction extends AbstractAction {
private int type;
private int width;
private int height;
public ResizeAction(int type, int width, int height) {
this.type = type;
this.width = width;
this.height = height;
public void actionPerformed(ActionEvent event) {
switch (type) {
case 0 :
setSize(appLoc.increaseSize(width, height));
setLocation(appLoc.updateLocation());
validate();
break;
case 1 :
setSize(appLoc.decreaseSize(width, height));
setLocation(appLoc.updateLocation());
validate();
break;
default :
break;
}I hope this helps,
Denis -
JFrame - MouseEvent handling, 2nd
Hi,
the following code has a JFrame, which opens via the JButton a second JFrame, which holds a JTable:
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class FrameTester {
private void createAndShowGUI() {
// Create and set up the window.
JFrame frame = new JFrame("This is a Frame.");
// Show the frame
int width = 300;
int height = 300;
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(width, height);
frame.getContentPane().setLayout(new GridLayout(3, 3));
frame.addMouseListener(new MouseListener() {
public void mouseClicked(MouseEvent e) {
System.out.println("Frame clicked.");
public void mousePressed(MouseEvent e) {
public void mouseReleased(MouseEvent e) {
public void mouseEntered(MouseEvent e) {
public void mouseExited(MouseEvent e) {
JButton b1 = new JButton("OK");
b1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
new FrameTable();
JLabel jL1 = new JLabel();
JLabel jL2 = new JLabel();
JLabel jL3 = new JLabel();
JLabel jL4 = new JLabel();
JLabel jL5 = new JLabel();
JLabel jL6 = new JLabel();
JLabel jL7 = new JLabel();
JLabel jL8 = new JLabel();
frame.getContentPane().add(jL1);
frame.getContentPane().add(jL2);
frame.getContentPane().add(jL3);
frame.getContentPane().add(jL4);
frame.getContentPane().add(b1);
frame.getContentPane().add(jL5);
frame.getContentPane().add(jL6);
frame.getContentPane().add(jL7);
frame.getContentPane().add(jL8);
// Display the window.
frame.setVisible(true);
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
FrameTester ft = new FrameTester();
ft.createAndShowGUI();
} import java.awt.GridLayout;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTable;
public class FrameTable {
FrameTable() {
// Create and set up the window.
JFrame frame = new JFrame("This frame has a JTable.");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLayout(new GridLayout(2, 1));
String[] columnNames = { "First Name", "Last Name", "Id" };
Object[][] data = { { "Mary", "Campione", new Integer(5) },
{ "Alison", "Huml", new Integer(3) } };
JTable table = new JTable(data, columnNames);
JLabel jL1 = new JLabel();
frame.getContentPane().add(jL1);
frame.getContentPane().add(table);
// Display the window.
frame.pack();
frame.setVisible(true);
}First of all, I'm wondering why the first frame closes as well, if the second one is closed by the support button for closing?
But now my main questions:
The second JFrame has a JTable. When I edit a cell, for example the ID cell (3rd column) of the first row, and hit the enter key or click inside another cell of the JTable, the current value of the edited cell is stored automatically by the JTable. But if I edit a cell and click somewhere outside the cell, for example
1. Above the cell (where in this example a JLable is placed)
2. Close the second JFrame by clicking the support button for closing
3. Click inside the first JFrame
I would like that the current edited cell stores the current value as well. How to achieve this?
Thx!but I thought, that each instance of a JFrame is closed independently...It is if you choose the appropriate close operation. So again I ask why did you choose "exit" instead of one of the other options? Did you read the API to understand what all the options mean?
but no change in behavior. I found some posts that this worked for other code samples, but why not here? Then no focus lost event was generated. If you click on a label it doesn't gain focus so focus is still on the editor. If you click on a panel of the frame a panel doesn't gain focus either. So I'm not sure what you expect to happen but I guess you need to use the second approach of manually stopping cell editing when you click on another component.
If you click on the close button, the same problem is that the table doesn't lose focus. So I guess you need to add a WindowListener to the frame and manually stop editing in the windowClosing() method. You can check out my "Closing an Application" entry from the above blog. -
How to call a instance method without creating the instance of a class
class ...EXCH_PRD_VERT_NN_MODEL definition
public section.
methods CONSTRUCTOR
importing
value(I_ALV_RECORDS) type ..../EXCH_VBEL_TT_ALV
value(I_HEADER) type EDIDC .
methods QUERY
importing
I_IDEX type FLAG
i_..........
returning
value(R_RESULTS) type .../EXCH_VBEL_TT_ALV .
Both methods are instance methods.
But in my program i cannot created instance of the class unless i get the results from Query.
I proposed that Query must be static, and once we get results we can create object of the class by pasing the result table which we get from method query.
But i must not change the method Query to a static method.
Is there any way out other than making method Query as static ?
Regards.You can't execute any instance method without creating instance of the class.
In your scenario, if you don't want to process your method of your class, you can check the instance has been created or not.
Like:
IF IT_QUERY IS NOT INITIAL.
CRATE OBJECT O_QUERY EXPORTING......
ENDIF.
IF O_QUERY IS NOT INITIAL.
CALL METHOD O_QUERY->QUERY EXPORTING....
ENDIF.
Regards,
Naimesh Patel -
Shadow Instance Not starting during upgrade Pre-processing
Hi All,
I am upgrading CRM Dev system from 6.0 to 7.02. I am getting an error during the start of shadow system in pre-processing phase in MAIN_SHDPREPUT/START_SHDI_PREPUT! Please help ASAP.
Last error code set: Shadow instance couldn't be started, check 'STARTSSC.LOG' and 'DEVTRACE.LOG': Process F:\SUM\SUM\abap\exe/sapcontrol.exe exited with 2, see 'F:\SUM\SUM\abap\log\SAPup.ECO' for details.
STARTSSC:
1 ETQ399 SYSTEM HEALTH MANAGER: check for instance processlist.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: SAPCRMDEV and instance: 04
3 ETQ120 20150113094015: PID 4656 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -format script -prot PIPE -host SAPCRMDEV -nr 04 -function GetProcessList', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094015: PID 4656 exited with status 4 (time 0.000 real)
1 ETQ399 SAPCONTROL MANAGER: get parameter value
3 ETQ120 20150113094015: PID 6968 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -prot PIPE -host SAPCRMDEV -nr 04 -function ParameterValue SAPSYSTEMNAME', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094015: PID 6968 exited with status 0 (time 0.000 real)
1 ETQ399 SYSTEM HEALTH MANAGER: running postCheck for instance 04 on host SAPCRMDEV
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '04', GwService = 'sapgw04' Client = '000'
1 ETQ359 RFC Login to: System="CRD", AsHost="SAPCRMDEV" Nr="04", GwHost="SAPCRMDEV", GwService="sapgw04"
2EETQ231 RFC Login failed
2 ETQ399 SYSTEM HEALTH MANAGER: Checking instance number 4 for used ports on host 'SAPCRMDEV'.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3204 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3304 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3604 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3904 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 8104 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 30401 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 50419 appears to be unused.
1 ETQ399 SAPCONTROL MANAGER: restartService with kernelstate: 0
3 ETQ120 20150113094040: PID 8848 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -prot PIPE -host SAPCRMDEV -nr 04 -function RestartService', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094040: PID 8848 exited with status 0 (time 0.000 real)
1 ETQ399 SYSTEM MANAGER: SAPControl tries to control all instances.
1 ETQ399 SYSTEM MANAGER: Calling getInstances.
1 ETQ399 SYSTEM MANAGER: found instance for action START : Instance Number: 04
1 ETQ399 SYSTEM MANAGER: ControlInstance with SAPCONTOL action START for instance 04.
1 ETQ399 SYSTEM HEALTH MANAGER: running preCheck for instance 04 on host SAPCRMDEV.
2 ETQ399 SYSTEM HEALTH MANAGER: Checking instance number 4 for used ports on host 'SAPCRMDEV'.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3204 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3304 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3604 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3904 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 8104 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 30401 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 50419 appears to be unused.
1 ETQ399 SYSTEM HEALTH MANAGER: call test rfc.
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '04', GwService = 'sapgw04' Client = '000'
1 ETQ359 RFC Login to: System="CRD", AsHost="SAPCRMDEV" Nr="04", GwHost="SAPCRMDEV", GwService="sapgw04"
2EETQ231 RFC Login failed
1 ETQ399 SYSTEM HEALTH MANAGER: check for instance processlist.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: SAPCRMDEV and instance: 04
3 ETQ120 20150113094113: PID 8484 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -format script -prot PIPE -host SAPCRMDEV -nr 04 -function GetProcessList', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094113: PID 8484 exited with status 4 (time 0.000 real)
1 ETQ399 SYSTEM HEALTH MANAGER: System is down, go on with start action
1 ETQ399 SAPCONTROL MANAGER: startWait with host: SAPCRMDEV and instance: 04
3 ETQ120 20150113094113: PID 7860 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -prot PIPE -host SAPCRMDEV -nr 04 -function StartWait 300 10', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094153: PID 7860 exited with status 2 (time 0.000 real)
1 ETQ399 SYSTEM MANAGER: SAPControl action START failed for instance 04 ('SAPCONTROL MANAGER: call (sapcontrol.exe) failed with return code '-1'
1 ETQ399 SYSTEM MANAGER: CheckSystemStatus.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: SAPCRMDEV and instance: 04
3 ETQ120 20150113094153: PID 8728 execute 'F:\SUM\SUM\abap\exe\sapcontrol.exe -format script -prot PIPE -host SAPCRMDEV -nr 04 -function GetProcessList', output written to 'F:\SUM\SUM\abap\log\SAPup.ECO'.
3 ETQ123 20150113094153: PID 8728 exited with status 0 (time 0.000 real)
1EETQ399 SYSTEM MANAGER: START of mandatory instance 04 on server SAPCRMDEV has failed
2EETQ399 Starting shadow instance failed
1EETQ399 Last error code set is: Shadow instance couldn't be started, check 'STARTSSC.LOG' and 'DEVTRACE.LOG': Process F:\SUM\SUM\abap\exe/sapcontrol.exe exited with 2, see 'F:\SUM\SUM\abap\log\SAPup.ECO' for details
1EETQ204 Upgrade phase "START_SHDI_PREPUT" aborted with severe errors ("20150113094153")
DEVTRACE:
trc file: "dev_disp", trc level: 1, release: "721"
sysno 04
sid CRD
systemid 562 (PC with Windows NT)
relno 7210
patchlevel 0
patchno 400
intno 20020600
make multithreaded, Unicode, 64 bit, optimized
profile F:\SUM\SUM\abap\system\CRD\SYS\profile\CRD_DVEBMGS04_SAPCRMDEV
pid 8608
kernel runs with dp version 139000(ext=121000) (@(#) DPLIB-INT-VERSION-139000-UC)
length of sys_adm_ext is 592 bytes
*** SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (04 8608) [dpxxdisp.c 1323]
shared lib "dw_xml.dll" version 400 successfully loaded
shared lib "dw_xtc.dll" version 400 successfully loaded
shared lib "dw_stl.dll" version 400 successfully loaded
shared lib "dw_gui.dll" version 400 successfully loaded
shared lib "dw_mdm.dll" version 400 successfully loaded
shared lib "dw_rndrt.dll" version 400 successfully loaded
shared lib "dw_abp.dll" version 400 successfully loaded
shared lib "dw_sym.dll" version 400 successfully loaded
shared lib "dw_aci.dll" version 400 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3904
rdisp/dynamic_wp_check : 0
rdisp/calculateLoadAverage : 1
Tue Jan 13 08:53:56 2015
*** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 6525]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
display_tcp_ip: 0
Set Check Logoff Flags to 0x0
DpIPCInit2: write dp-profile-values into sys_adm_ext
DpIPCInit2: start server >SAPCRMDEV_CRD_04 <
DpShMCreate: sizeof(wp_adm) 42864 (2256)
DpShMCreate: sizeof(tm_adm) 5517056 (27448)
DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1392064/1392080
DpShMCreate: sizeof(comm_adm) 1392080 (2768)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (296)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (80)
DpShMCreate: sizeof(vmc_adm) 0 (2160)
DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: sizeof(j2ee_adm) 3952
DpShMCreate: SHM_DP_ADM_KEY (addr: 00000000073B0050, size: 7182832)
DpShMCreate: allocated sys_adm at 00000000073B0060
DpShMCreate: allocated wp_adm_list at 00000000073B30B0
DpShMCreate: allocated wp_adm at 00000000073B32A0
DpShMCreate: allocated tm_adm_list at 00000000073BDA20
DpShMCreate: allocated tm_adm at 00000000073BDA70
DpShMCreate: allocated wp_ca_adm at 0000000007900980
DpShMCreate: allocated appc_ca_adm at 0000000007910390
DpShMCreate: allocated comm_adm at 000000000791FDA0
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 0000000007A73B80
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated gw_adm at 0000000007A73C30
DpShMCreate: allocated j2ee_adm at 0000000007A73C70
DpShMCreate: allocated ca_info at 0000000007A74BF0
DpShMCreate: allocated wall_adm at 0000000007A74C80
DpCommAttachTable: attached comm table (header=000000000791FDA0/ft=000000000791FDB0)
DpSysAdmIntInit: initialize sys_adm
rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
dia token check not active (8 token)
MBUF state OFF
DpCommInitTable: init table for 500 entries
DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
rdisp/queue_size_check_value : -> on,50,30,40,500,50,500,80
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> EsILock: use Mutex for locking
<ES> InitFreeList
<ES> block size is 4096 kByte.
<ES> Info: em/initial_size_MB( 8191MB) not multiple of em/blocksize_KB( 4096KB)
<ES> Info: em/initial_size_MB rounded up to 8192MB
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
*** ERROR => <EsNT> CreateFileMapping name=Global\ES_SEG_04_003 ,size=2044 MB, error=1455 [esnti.c 1278]
* Memory diagnostic *
Systeminformation
Processor-Typ : Processor-Count : 4
Operating System : NT 6.1, Build 7601
Service Pack : Service Pack 1
NT Pagefile Informations
Config. minimum size : 0 K
Config. maximum size : 0 K
Avail. maximum size : 0 K
| Num|Pagefile | Min.Size| Max.Size| Avail.Max| Curr.Size|
|----|------------------------------|----------|----------|----------|----------|
NT Task Manager Informations
Total Handles : 42631
Total Threads : 1579
Total Processes : 124
Commit Charge Total : 38104688 K
Commit Charge Limit : 39413172 K
Commit Charge Peak : 38104688 K
Phys.Memory Total : 16776696 K
Phys.Memory Available : 4975120 K
File Cache : 260104 K
Kernel Memory Total : 370268 K
Kernel Memory Paged : 284740 K
Kernel Memory Nonpaged : 85528 K
Memory usage of current process
Total virt.address space : 0000008589934464 K
Avail.virt.address space : 0000008588857984 K
Private Pages : 0 K
Total heap size : 14399 K
Virtual memory regions : 42 K
Uncommitted heap memory : 5660 K
Allocated heap memory : 7949 K
Moveable heap memory : 0 K
DDE shared heap memory : 4372 K
Memory usage of all processes
| PID|Image |Instance | Work.Set| WS Peak|Priv.Pages| PP Peak|Pg Fault|
|----|--------------------|-----------|----------|----------|----------|----------|--------|
|5088|conhost.exe | | 1228 K| 3148 K| 1204 K| 7952 K| 0|
|6672|conhost.exe | | 1228 K| 3156 K| 1204 K| 35924 K| 0|
|6416|conhost.exe | | 1228 K| 3144 K| 1204 K| 35924 K| 0|
|5148|taskhost.exe | | 6320 K| 10896 K| 7908 K| 8600 K| 235|
|2576|rdpclip.exe | | 6224 K| 8708 K| 2968 K| 3008 K| 3|
|5664|Dwm.exe | | 3564 K| 5576 K| 1884 K| 2064 K| 8|
|7232|Explorer.EXE | | 28532 K| 45316 K| 30488 K| 32508 K| 26|
|5860|vmtoolsd.exe | | 6004 K| 12512 K| 6204 K| 6296 K| 13|
|3824|MagicDisc.exe | | 3208 K| 6812 K| 3000 K| 3176 K| 1|
|5600|mmc.exe | | 9244 K| 28268 K| 21772 K| 21892 K| 14|
|7952|msg_server.EXE |[MS] CRD_00| 27324 K| 32816 K| 34368 K| 34636 K| 8|
|8020|conhost.exe | | 1244 K| 3152 K| 1216 K| 1332 K| 0|
|5756|disp+work.EXE |[DP] CRD_00| 25144 K| 126440 K| 107700 K| 109536 K| 32|
|3588|igswd.EXE |[**] CRD_00| 3740 K| 7808 K| 5252 K| 6364 K| 2|
|5844|conhost.exe | | 1300 K| 3340 K| 1224 K| 1340 K| 1|
|6536|conhost.exe | | 1244 K| 3172 K| 1216 K| 1332 K| 0|
|7272|igsmux.exe | | 30968 K| 30968 K| 37552 K| 37552 K| 9|
|7636|igspw.exe | | 30356 K| 38880 K| 39248 K| 39404 K| 37|
|1316|igspw.exe | | 30408 K| 38924 K| 39428 K| 39584 K| 37|
| 732|gwrd.EXE |[GW] CRD_00| 11736 K| 20188 K| 15120 K| 15420 K| 7|
|3908|icman.EXE |[**] CRD_00| 109388 K| 118116 K| 116920 K| 117744 K| 29|
|7264|disp+work.EXE |[WP] CRD_00| 139528 K| 444572 K| 133204 K| 242864 K| 2417|
|7620|disp+work.EXE |[WP] CRD_00| 34728 K| 506312 K| 121364 K| 368924 K| 1174|
|3620|disp+work.EXE |[WP] CRD_00| 141068 K| 309044 K| 129432 K| 243256 K| 2035|
|7140|disp+work.EXE |[WP] CRD_00| 148012 K| 289512 K| 125064 K| 257388 K| 2123|
|7296|disp+work.EXE |[WP] CRD_00| 29664 K| 77940 K| 117004 K| 117272 K| 19|
|5884|disp+work.EXE |[WP] CRD_00| 149536 K| 592744 K| 127968 K| 309976 K| 11517|
|5236|disp+work.EXE |[WP] CRD_00| 148264 K| 259552 K| 133824 K| 155352 K| 3329|
|7864|disp+work.EXE |[WP] CRD_00| 130780 K| 307832 K| 135488 K| 294336 K| 2179|
|7980|disp+work.EXE |[WP] CRD_00| 32088 K| 239100 K| 118672 K| 118940 K| 65|
|3996|disp+work.EXE |[WP] CRD_00| 28664 K| 57556 K| 116188 K| 116344 K| 14|
|6140|disp+work.EXE |[WP] CRD_00| 31348 K| 105800 K| 118016 K| 118172 K| 26|
|7968|disp+work.EXE |[WP] CRD_00| 27988 K| 54684 K| 115096 K| 115240 K| 13|
|7584|disp+work.EXE |[WP] CRD_00| 35656 K| 150072 K| 123180 K| 132752 K| 71|
|7856|disp+work.EXE |[WP] CRD_00| 75496 K| 397344 K| 128608 K| 257352 K| 352|
|6992|disp+work.EXE |[WP] CRD_00| 34324 K| 97024 K| 121640 K| 121904 K| 31|
|8032|disp+work.EXE |[WP] CRD_00| 31456 K| 85396 K| 119484 K| 119632 K| 24|
|6196|disp+work.EXE |[WP] CRD_00| 35688 K| 213644 K| 123180 K| 123632 K| 80|
| 628|disp+work.EXE |[WP] CRD_00| 30756 K| 73208 K| 118884 K| 119040 K| 20|
|3684|disp+work.EXE |[WP] CRD_00| 41876 K| 69024 K| 117412 K| 117688 K| 166|
|5456|disp+work.EXE |[WP] CRD_00| 28516 K| 55980 K| 116140 K| 116296 K| 13|
|5580|jcontrol.EXE |[**] CDJ_02| 4960 K| 18960 K| 11776 K| 16620 K| 7|
|3608|igswd.EXE |[**] CDJ_02| 2948 K| 7460 K| 4120 K| 5680 K| 2|
|7480|conhost.exe | | 1236 K| 3168 K| 1212 K| 1332 K| 0|
|4768|conhost.exe | | 1248 K| 3168 K| 1216 K| 1332 K| 0|
|5760|igsmux.exe | | 21512 K| 21512 K| 27372 K| 27372 K| 6|
|6996|igspw.exe | | 30516 K| 39044 K| 39524 K| 39716 K| 37|
|3508|igspw.exe | | 30244 K| 38752 K| 38560 K| 38712 K| 37|
|3368|msg_server.EXE |[MS] CDJ_03| 9588 K| 15004 K| 15408 K| 15560 K| 3|
|7260|enserver.EXE |[**] CDJ_03| 17396 K| 25324 K| 62652 K| 62800 K| 6|
|2376|conhost.exe | | 1240 K| 3144 K| 1212 K| 1332 K| 0|
|6884|conhost.exe | | 1244 K| 3148 K| 1216 K| 1332 K| 0|
|4264|cmd.exe | | 1132 K| 3176 K| 2372 K| 3468 K| 0|
|5196|conhost.exe | | 1472 K| 3840 K| 1332 K| 1452 K| 1|
|5800|jlaunch.exe | | 157752 K| 236956 K| 411928 K| 423684 K| 96|
|3636|jlaunch.exe | | 892232 K| 909720 K| 2438664 K| 2459780 K| 428|
|5216|jlaunch.exe | | 161616 K| 175812 K| 209044 K| 211344 K| 64|
|5928|cmd.exe | | 1176 K| 3156 K| 2408 K| 3504 K| 0|
|7672|conhost.exe | | 1448 K| 3600 K| 1312 K| 1428 K| 1|
|2732|java.exe | | 300320 K| 328740 K| 405232 K| 422776 K| 161|
|5192|iexplore.exe | | 16248 K| 31204 K| 11508 K| 12872 K| 11|
|6364|IEXPLORE.EXE | | 16700 K| 35472 K| 15356 K| 19092 K| 11|
| 256|javaw.exe | | 130904 K| 187428 K| 293136 K| 355476 K| 288|
|2812|SAPup.exe | | 151960 K| 372148 K| 150948 K| 367436 K| 848|
|6876|conhost.exe | | 1112 K| 3032 K| 1176 K| 3180 K| 0|
|2276|saposcol.exe | | 18312 K| 22844 K| 20364 K| 1390432 K| 71|
|6908|sapstartsrv.exe | | 84424 K| 84424 K| 109840 K| 169528 K| 52|
|9108|sapcontrol.exe | | 12176 K| 12176 K| 9588 K| 9588 K| 3|
|3504|conhost.exe | | 3072 K| 3072 K| 1196 K| 34964 K| 0|
|5628|msg_server.EXE |[MS] CRD_04| 14264 K| 14264 K| 15384 K| 15388 K| 3|
|5572|conhost.exe | | 3108 K| 3108 K| 1212 K| 1212 K| 0|
|8888|enserver.EXE |[**] CRD_04| 41128 K| 41128 K| 17576 K| 17580 K| 10|
|8412|conhost.exe | | 3104 K| 3104 K| 1216 K| 1216 K| 0|
|8608|disp+work.EXE | | 49264 K| 49264 K| 80656 K| 85836 K| 20|
|9088|conhost.exe | | 3116 K| 3116 K| 1212 K| 1212 K| 0|
|----|--------------------|-----------|----------|----------|----------|----------|--------|
| |Sum | | 3883240 K|**********| 7343856 K|**********|********|
Tue Jan 13 08:53:57 2015
*** Error 11 while initializing OS dependent part.
*** ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 10995]
*** ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 10909]
*** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit
*** DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Jan 13 08:54:07 2015
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Jan 13 13:54:07 2015
========================
No Type Pid Status Cause Start Rstr Err Sem Time Program Cl User Action Table
Dispatcher Queue Statistics Tue Jan 13 13:54:07 2015
===========================
+------+--------+--------+--------+------------+------------+
| Typ | now | high | max | writes | reads |
+------+--------+--------+--------+------------+------------+
| NOWP | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| DIA | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| UPD | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| ENQ | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| BTC | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| SPO | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
| UP2 | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+------------+------------+
max_rq_id 0
wake_evt_udp_now 0
wake events total 0, udp 0 ( 0%), shm 0 ( 0%)
since last update total 0, udp 0 ( 0%), shm 0 ( 0%)
Dump of tm_adm structure: Tue Jan 13 13:54:07 2015
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Jan 13 13:54:07 2015
=============================
Slots: 1000, Used: 0, Max: 0
+------+--------------+----------+-------------+
| id | owner | pid | eyecatcher |
+------+--------------+----------+-------------+
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Jan 13 08:54:12 2015
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >SAPCRMDEV_CRD_04 < (normal)
DpJ2eeDisableRestart
DpHalt: switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
DpHalt: stop work processes
DpHalt: terminate gui connections
DpHalt: wait for end of work processes
DpHalt: not attached to the message server
DpHalt: cleanup EM
EsCleanup( )
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 8608) [dpxxdisp.c 11819]
DpHalt: Good Bye .....
trc file: "dev_ms", trc level: 1, release: "721"
[Thr 8464] Tue Jan 13 08:53:49 2015
[Thr 8464] ms/http_max_clients = 500 -> 500
[Thr 8464] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
systemid 562 (PC with Windows NT)
relno 7210
patchlevel 0
patchno 327
intno 20020600
make multithreaded, Unicode, 64 bit, optimized
pid 5628
[Thr 8464] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 5628) [msxxserv.c 2305]
[Thr 8464] MsInitAclInfo: acl file F:\SUM\SUM\abap\system\CRD\SYS\global\ms_acl_info.DAT not found, unrestricted access
[Thr 8464] MsGetOwnIpAddr: my host addresses are :
[Thr 8464] 1 : [192.168.200.142] SAPCRMDEV.CRESTRON.CRESTRON.com (HOSTNAME)
[Thr 8464] 2 : [127.0.0.1] SAPCRMDEV.CRESTRON.CRESTRON.com (LOCALHOST)
[Thr 8464] MsHttpInit: full qualified hostname = SAPCRMDEV.CRESTRON.CRESTRON.com
[Thr 8464] HTTP logging is switch off
[Thr 8464] MsHttpOwnDomain: own domain[1] = CRESTRON.CRESTRON.com
[Thr 8464] *** I listen to port 3604 (3604) ***
[Thr 8464] *** I listen to internal port 3904 (3904) ***
[Thr 8464] CUSTOMER KEY: >G0021204657<
[Thr 8464] build version=721.2014.07.17
Thanks,
Kavitha Rajan.Hi Kavitha,
Hope you are doing good.
Looks like a memory issue:
EsNT> Memory Reset disabled as NT default
*** ERROR => <EsNT> CreateFileMapping name=Global\ES_SEG_04_003 ,size=2044 MB, error=1455 [esnti.c 1278]
Tue Jan 13 08:53:57 2015
*** Error 11 while initializing OS dependent part.
*** ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 10995]
*** ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 10909]
*** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit
First restart Windows and then try to start the SAP system from the MMC.If that doesn't help then increase the pagefile size and restart the Windows.
Kind Regards,
Hemanth
SAP AGS -
Problem using DG4ODBC with named SQL Server instance
I am running DG4ODBC on a 64 bit LINUX machine with the Microsoft SQL Server driver installed. I have successfully tested this with a SQL Server instance that was not named (GENERALI_DSN).The named instance gives the following when trying to query:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Microsoft][SQL Server Native Client 11.0]Login timeout expired {HYT00}[unixODBC][Microsoft][SQL Server Native Client 11.0]SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. {08001,NativeErr = -1}[unixODBC][Microsoft][SQL Server Native Client 11.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. {08001,NativeErr = -1}
ORA-02063: preceding 2 lines from DEVMISC
odbc.ini
[GENERALI_DSN]
Driver = SQL Server Native Client 11.0
Server = CLTDMJCWBYZ.eu.scor.local
User = everest
Password = everest
Database = Everest_Generali
[DEVMISC_DSN]
Driver = SQL Server Native Client 11.0
Server = [USVCLTDEVSQL02\DEVMISC]
User = link_user
Password = password1
Database = DBA
initDG4ODBC2.ora
# HS init parameters
HS_FDS_CONNECT_INFO = DEVMISC_DSN
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
listener.ora
SID_LIST_LISTENER_GW =
(SID_LIST =
(SID_DESC =
(SID_NAME=DG4ODBC)
(ORACLE_HOME=/home/oracle/product/11.2.0)
(ENV=LD_LIBRARY_PATH=/usr/lib64:/home/oracle/product/11.2.0/lib:/opt/micro
soft/sqlncli/lib)
(PROGRAM=dg4odbc)
(SID_DESC =
(SID_NAME=DG4ODBC2)
(ORACLE_HOME=/home/oracle/product/11.2.0)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/home/oracle/product/11.2.0/lib:/opt/micr
osoft/sqlncli/lib)
(PROGRAM=dg4odbc)
LISTENER_GW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = usvcltprdoragw)(PORT = 1521))
tnsnames.ora
DG4ODBC =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=usvcltprdoragw)(PORT=1521))
(CONNECT_DATA=(SID=DG4ODBC))
(HS=OK)
DG4ODBC2 =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=usvcltprdoragw)(PORT=1521))
(CONNECT_DATA=(SID=DG4ODBC2))
(HS=OK)
I can't figure out why the named instance does not work but the other one does. Any help would be greatly appreciated!Did you check with the ODBC test utility isql (it is installed by default when you install the unixODBC Driver manager) if your ODBC driver can connect at all to that named instance? I have some doubts that it will work either as there was a blog commented by a MS engineer:
Introducing the new Microsoft ODBC Drivers for SQL Server - Microsoft SQLNCli team blog - Site Home - MSDN Blogs
who states that named instance connections are not supported using that driver.
- Klaus -
How to set Minimum size of JFrame?
Hi,
I want to set minimum size of my JFrame. How can i set it?
I want to maintain a minimum size while resizing the JFrame. The user should not resize beyond the minimum size of JFrame.
Any body knows solution, please post it.
Thanks in Advance.One posible solution is to add a ComponentListener to the
JFrame that implements ... (struggles to remember) ...
componentResized().
Inside componentResized(), check the size of your JFrame,
and if it is smaller than your preferred minimal dimension,
resize it up to your minimum.
// in the constructor, perhaps, or initialization routine
addComponentListener(
newComponentAdapter()
public void componentMoved(ComponentEvent e)
Dimension size = e.getComponent().getSize();
size.width = Math.max(size.width, myMinimalWidth);
size.height = Math.max(size.height, myMinimalHeight);
e.getComponent.setSize(size);
}); Pity there's no setMinimumSize() like the JComponent class.
Best of luck !
Eric -
Fresh install of 11.1 and "sqlplus user@instance/password" does not work
new server, windows server 2008, fresh install of 11.1.0.7 with local instance.
can connect to the instance using "sqlplus user/password" since ORACLE_SID is set,
can connect to a 9.2 remote instance using "sqlplus user@remoteinstance/password".
can't connect using "sqlplus user@localinstance/password".
<command>
l:path>set oracle_sid=localinstance
l:path>sqlplus username/password
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:02 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.1.0.7.0 - Production
SQL> exit
Disconnected from Oracle Database 11g Release 11.1.0.7.0 - Production
l:\path>sqlplus username@localinstance/password
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:21 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
l:\path>
l:\path>sqlplus username@remoteinstance/password
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:45 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
l:\path>
</command>
what am i doing wrong?
many thanks in advance,
stephen.=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
Now, when you issue a connect, say like this:
$> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
$> export ORACLE_SID=fred
$> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
check executing instances to get the SID
[oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
oracle 4236 1 0 10:30 ? 00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
[oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
SQL> exit
[oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Enter user-name: Now set ORACLE_SID to null, and try to connect
[oracle@vmlnx01 ~]$ export ORACLE_SID=
[oracle@vmlnx01 ~]$ sqlplus /scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
===================================== -
Hi guys,
I am getting this error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.ankix.snapxplorer.gui.pane.explorer.events.MenuBarActionListenerImpl$1.run(MenuBarActionListenerImpl.java:134)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)While on this:
public class MenuBarActionListenerImpl implements ActionListener
// CLASS MEMBERS
private Component objRef;
private ProcessPane objProcessPane;
private UsersPane objUsersPane;
// CLASS CONSTRUCTOR
public MenuBarActionListenerImpl(Component pComponent) //pComponent instance of JMenuBar
this.objRef = pComponent;
// CLASS METHODS
public void actionPerformed(ActionEvent e)
if(((JMenuItem)e.getSource()).getText() == "Logout")
this.objProcessPane = null;
this.objUsersPane = null;
SwingUtilities.invokeLater(new Runnable()
public void run()
((javax.swing.JFrame)objRef.getParent().getParent().getParent().getParent()).setContentPane(new LoginPane((javax.swing.JFrame)objRef.getParent().getParent().getParent().getParent()));
((javax.swing.JFrame)objRef.getParent().getParent().getParent().getParent()).validate();
((javax.swing.JFrame)objRef.getParent().getParent().getParent().getParent()).repaint();
}I know "objRef.getParent().getParent().getParent().getParent()" is the instance of the JFrame I am looking for so I can't figure out wthe problem.
Any ideas why this is happening?
Many Thanks,
MeTitusAehm, it might be easier to track down your problem by rewriting that actionPerformed:public void actionPerformed( ActionEvent e )
if ("Logout".equals(((JMenuItem)e.getSource()).getText()))
this.objProcessPane = null;
this.objUsersPane = null;
final Window w = SwingUtilities.getWindowAncestor(objRef);
if (w instanceof JFrame)
final JFrame frame = (JFrame)w;
frame.setContentPane(new LoginPane(frame));
frame.validate();
frame.repaint();
}Less method invocations per line narrow down the possibilities for NPEs!
BTW - do not use == to compare Strings!
Maybe you are looking for
-
Nokia N97mini Firmware update problems
As I understood there are more than one firware update version: Version 12.0.110 v4.0 and version 12.0.110 v4.01 How is possible to make the update, if phone autoamatically downloads from network provider wrong version? Nokia 1611, 2210, 3110, 5110,
-
Display Image and Download the same in PDF
Hi... We have requirement to display the Image of materials in the Web using the Web Dynpro ABAP. We have the images in web server and URL for each image. Once the image is visible in the web, user shoud be able to download the output in PDF copy wit
-
Display duration of timeline selection
I'm surprised this isn't available that I can find, and it's understandably difficult to search the forums for a solution. I'm looking for a way to display the duration of the current selection on the timeline, whether it's one or multiple clips, or
-
An issue with Dynamic SQL within Package using REF CURSOR
Hi there, In the following package first two procedures works file but since I have added the third one ( GET_CONTRACT_BY_DYN_SQL) it does not work for me. When I try to compile and save it gives below error. "Error(6,15): PLS-00323: subprogram or cu
-
I miss photoshop 3.0 !
I have used ADOBE PHOTOSHOP 3.0 for years. I now have a new computer that has Windows VISTA Premium and for some reason I cannot load my photoshop 3.0. I have tried several other products and cannot find a program as simple to use as this one.