Instance status BLOCKED
system: ORACLE RAC 9i on Solaris 9. have 2 databases (4 instances).
problem: can connect 3 instances but unable to connect 4th. following error.
ORA-12521: TNS:listener could not resolve INSTANCE_NAME given in connect descriptor.
when I check listener status its shows following.
Service "BODB.world" has 2 instance(s).
Instance "BODB1", status READY, has 2 handler(s) for this service...
Instance "BODB2", status READY, has 1 handler(s) for this service...
Service "DB.world" has 2 instance(s).
Instance "DB1", status READY, has 2 handler(s) for this service...
Instance "DB2", status BLOCKED, has 1 handler(s) for this service...
how can I change instance status BLOCKED to READY?
Hi,
it very nice your solve your problem but one of possible reason when database configure in SHARED SERVER mode. or we received ORA-12520 error.
Oracle Version : 10.1.0.2.0
OS : Windows XP sp2
Database configure in Shared Server Mode.
SQL> show parameter dispatchers
NAME TYPE VALUE
dispatchers
string
(PROTOCOL=TCP)
max_dispatchers integer
SQL> show parameter shared_servers
NAME TYPE VALUE
max_shared_servers integer
shared_servers integer 1
---------------------------------------------------------after change shared server = 0 then i got error "ora-12520".
SQL> alter system set shared_servers = 0;
System altered.
SQL> conn scott/tiger@sh
ERROR:ORA-12520: TNS:listener could not find available handler for requested type ofserver
C:\>lsnrctl services
Service "sh" has 1 instance(s).
Instance "sh", status READY, has 2 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
"D000" established:3 refused:0 current:2 max:1002 state:blocked
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=alwarid-taj.fakhruddin.local)(PORT=3348))
For above error you have to check configure two parameters.
1.Shared_servers
2.Dispatchers
SQL> alter system set shared_servers = 1;
System altered.
SQL> alter system set dispatchers = "(PROTOCOL=TCP)" ;
System altered.
Service "sh" has 1 instance(s).
Instance "sh", status READY, has 2 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
"D000" established:4 refused:0 current:2 max:1002 state:ready
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=alwarid-taj.fakhruddin.local)(PORT=3348))
The command completed successfullyregards
Taj
Message was edited by:
M. Taj
Similar Messages
-
Instance status "BLOCKED" and ora-12528
Oralce 10.2.0.1 -- SUN SPARC 10 64bit
instance is in nomount state, can connect using "sys/passwd@string as sysdba" on node 1 but unable to connect from 2nd node. following error received.
Node:2
connect sys/passwd@string as sysdba;
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Listener state on node 1 is following:
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "string" has 1 instance(s).
Instance "string", status BLOCKED, has 1 handler(s) for this service...
Service "string" has 1 instance(s).
Instance "string", status UNKNOWN, has 1 handler(s) for this service...
Service "string_XPT" has 1 instance(s).
Instance "string", status BLOCKED, has 1 handler(s) for this service...
Message was edited by:
jeestnsnames.ora file is same on both nodes and tnsping is working fine.
Following is listener.ora on node1........
LISTENER_DB01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.20)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01-dg)(PORT = 1521)(IP = FIRST))
SID_LIST_LISTENER_DB01 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/asm)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = string)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db)
) -
Status BLOCKED for instance - is it bad?
Hi,
1st of all please forgive me if such a topic exists being solved, give me a link then, I could't find...
1) I encountered strange problem when issuing lsnrctl status (the problematic lines are bold):
/home/oracle> lsnrctl status
LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 16-JAN-2007 21:16:16
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.1.0.3.0 - Production
Start Date 03-DEC-2006 07:47:28
Uptime 44 days 13 hr. 28 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/OraHome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/OraHome_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "B" has 1 instance(s).
Instance "B", status READY, has 1 handler(s) for this service...
Service "BXDB" has 1 instance(s).
Instance "B", status READY, has 1 handler(s) for this service...
Service "Oracle8" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "d.zone1" has 1 instance(s).
Instance "d", status UNKNOWN, has 1 handler(s) for this service...
Service "a" has 3 instance(s).
Instance "a", status UNKNOWN, has 1 handler(s) for this service...
Instance "a", status READY, has 1 handler(s) for this service...
Instance "a", status BLOCKED, has 1 handler(s) for this service...
Service "aXDB" has 1 instance(s).
Instance "a", status READY, has 1 handler(s) for this service...
The command completed successfully
Is this state ok? I mean: are these three instances at the same time good? And what does it mean?
When, for example, I try to use exp I get error:
EXP-00056: ORACLE error 1033 encountered
ORA-01033: ORACLE initialization or shutdown in progress
and I think the problem is in these 3 instances. My listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = d.zone1)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = d)
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = ORCL)
(SID_DESC =
(GLOBAL_DBNAME = a)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = a)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
2) And one more: my listener.log is now 1260M big. Can I rename it to e.g. listener.old and create new one (as oracle user: touch listener.log)? Do I have to stop listener?
Thanks in advance, if more info is needed, give me a sign.
Reveler
Message was edited by:
revelerYeap, I've restarted lsnrctl. And I can see the new file is growing, so this problem is solved, thanks again.
As to sqlplus: it seems to work ok:
==========================
/home/oracle> sqlplus / as sysdba
SQL*Plus: Release 10.1.0.3.0 - Production on Wed Jan 17 15:17:45 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.1.0.3.0 - Production
==========================
The problem occurs if I try eg.:
==========================
/home/oracle> exp
Export: Release 10.1.0.3.0 - Production on Wed Jan 17 15:19:35 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Username: sys
Password:
EXP-00056: ORACLE error 1033 encountered
ORA-01033: ORACLE initialization or shutdown in progress
==========================
In fact our application connecting to "a" works well, no user has reported a problem. But these 3 instances are still a stone in my eye :) and I'm not sure if in the future other application won't say "sorry", like exp says it now....
Thanks for help,
Reveler -
lsnrctl status listener_name give me this BLOCKED status of this instance, wondering what's the fix?
Service "hdev.world" has 2 instance(s).
Instance "hdev", status UNKNOWN, has 1 handler(s) for this service...
Instance "hdev", status BLOCKED, has 1 handler(s) for this service...
Service "hdev_XPT.world" has 1 instance(s).
Instance "hdev", status BLOCKED, has 1 handler(s) for this service...
Service "hdmo.world" has 2 instance(s).You may need to Increase the value for PROCESSES.
beuase the dedicated process is waiting to get new processs.
--Girish -
Instance "db01", status BLOCKED
hi to every one,
after passing lsnrctl command i saw the error
Service "db01" has 1 instance(s).
Instance "db01", status BLOCKED, has 1 handler(s) for this service...If status is blocked it means the instance is either
in nomount or mount state.To be precise BLOCKED means NOMOUNT only :
SYS@db102 SQL> startup nomount
ORACLE instance started.
Total System Global Area 201326592 bytes
Fixed Size 1218508 bytes
Variable Size 180357172 bytes
Database Buffers 16777216 bytes
Redo Buffers 2973696 bytes
SYS@db102 SQL> !lsnrctl serv
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 27-APR-2007 16:04:27
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "db102" has 1 instance(s).
Instance "db102", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
SYS@db102 SQL> alter database mount;
Database altered.
SYS@db102 SQL> !lsnrctl serv
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 27-APR-2007 16:05:09
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "db102" has 1 instance(s).
Instance "db102", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
SYS@db102 SQL> -
Listener Error Instance "cdeAS", status BLOCKED
when I issue startup command as sysdba I get Error
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - 64bit Production
With the Partitioning, OLAP and Data Mining options
this is new istalled database for OID and was never been shutdown before.Hi Martin here is the result :
$ sqlplus " / as sysdba"
SQL*Plus: Release 10.1.0.4.2 - Production on Wed Jan 17 13:37:35 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/10gAS/dbs/initcdeas.ora' -
ORA-12528: TNS: listener: all appropriate instances are blocking new connec
Hi this is kumar,
i am getting the below error .
ORA-12528: TNS: listener: all appropriate instances are blocking new connections
please find my alertlog file ,in alert log file we are getting opertaion timed out.
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.254.254.32)(PORT=1599))Hi,
thank you for your quick responce.
$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1526
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1526
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1526
$ lsnrctl status LISTENER_SCAN1
LSNRCTL for HPUX: Version 11.2.0.2.0 - Production on 22-APR-2013 20:38:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
STATUS of the LISTENER
Alias LISTENER_SCAN1
Version TNSLSNR for HPUX: Version 11.2.0.2.0 - Production
Start Date 30-JAN-2013 01:46:21
Uptime 82 days 18 hr. 52 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/11.2.0/grid/log/diag/tnslsnr/dccdb01/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.44.83.111)(PORT=1526)))
Services Summary...
Service "instance" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceXDB" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instance" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceXDB" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this service...
Service "instanceoltp" has 2 instance(s).
Instance "instance1", status READY, has 1 handler(s) for this service...
Instance "instance2", status READY, has 1 handler(s) for this ser
$
ABCD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dccdb-cluster-scan)(PORT = 1526))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ABCD)
ADCDE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dccdb-cluster-scan)(PORT = 1526))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ADCDE)
we didn't do any changes from the database side,now only my user had raised a complaint -
RMAN: -TNS:listener: all appropriate instances are blocking new connections
Hi all,
we are trying the some rman recoveries on test machine when we are trying to restore the conrolfile thru rman
what they have mentioned in docs id shutdown abort of the target database and then startup no mount thru rman then restore controlfile and open the database.
Now what i want to know is after shutdown i can t able to connect thru rman target since it is showing
TNS:listener: all appropriate instances are blocking new connections
how can i connect when thru rman in this stage when the database is down when i m trying to startup command thru RMAN prompt also it throw me the same error. for this i cant move further can pls anybody help this..
Thanks
M.Murali..D:\>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2009 16:17:58
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "BKPRMANXDB" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: INP1MFDDB, pid: 936>
(ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1826))
Service "BKPRMAN_XPT" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:90 refused:0 state:ready
LOCAL SERVER
Service "MFUNDXDB" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: INP1MFDDB, pid: 1876>
(ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1054))
Service "MFUND_XPT" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
Service "bkprman" has 1 instance(s).
Instance "bkprman", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:90 refused:0 state:ready
LOCAL SERVER
Service "mfund" has 1 instance(s).
Instance "mfund", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:25 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Edited by: Balamurali on May 20, 2009 4:33 PM -
TNS: listener: all appropriate instances are blocking new connections.
Hello,
when I start up my freshly installed developerday VB appliance, and try to connect to the database, following the tutorial in "Hands-on lab" - "SQL developer", as well as with any other attempt, the connection would not establish. I always get a message ORA-12528: TNS: listener: all appropriate instances are blocking new connections.
I cannot find any Readme or Tutorial which explains this appearance.
Weird, that obviously nobody else runs into this problem, otherwise this forum would be full of it. But isn't the VB appliance byte-for-byte the same for anybody?
Any ideas?
Edited by: pestw2000 on 23.12.2010 01:06Hi Marco, thanks for replying. You can read the OS version from the lsnctl output. The OS of the host system of the Virtual Box is Windows7 64-bit. Hmm... "HOST=0.0.0.0" looks suspicious, doesn't it?
Wolfgang
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 24-DEC-2010 01:31:40
Uptime 0 days 0 hr. 1 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=80))(PROTOCOL_STACK=(PRESENTATION=HTTP)(SESSION=RAW)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=21))(PROTOCOL_STACK=(PRESENTATION=FTP)(SESSION=RAW)))+
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully -
ORA-12528: TNS:listener: all approriate instances are blocking new connecti
HI all ,
i am getting this error while log on on database 10g on operating system is WINDOW XP
ORA-12528: TNS:listener: all approriate instances are blocking new connection
Please GUide me how to resolve this issue
Thanks And regards
Vikas Singhalvikas singhal wrote:
HOw to find listener to see if the service is in BLOCKED state:
Thanks And Regards
Vikas SinghalYou can use lsnrctl services as
C:\Documents and Settings\chinar>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.2.0 - Production on 13-JUL-2010 14:30
:26
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=chinar.bank.local)(PORT=
1521)))
Services Summary...
Service "+ASM_XPT" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "+asm" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "TEST" has 2 instance(s).
Instance "TEST", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:387 refused:0
LOCAL SERVER
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "TESTXDB" has 1 instance(s).
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: CHINAR, pid: 7472>
(ADDRESS=(PROTOCOL=tcp)(HOST=chinar.bank.local)(PORT=4790))
Service "TEST_XPT" has 1 instance(s).
Instance "test", status RESTRICTED, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "chinar.bank.local" has 1 instance(s).
Instance "SB", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
C:\Documents and Settings\chinar> -
Billing not Possible- Overall Status Blocked
Hello All,
I have a problem while creation of the Billing document based on Order. Our Scenario is of Service Billing i.e. Contract->Order--> Billing.
Problem: While creating Billing -Error Log is created stating " Document xxxxxxxx blocked for billing'
When I checked the Sales Order for any blocks, the Header Status shows Overall blkd status as Blocked.
The Sales document is also released for Credit., the Customer has no blocks set.
Can you help me in tracing out the reason.
Regards,
Karthik.Hello All,
Thanks for your responses. The Problem is not of Billing Block. The Issue is Overall Status block.
We have line item wise Billing block, which is removed first and then the Order release is done by VKM3.
So even after the Credit release is done the Status shows Overall Status as blocked.
Regards,
Karthik. -
TopLink 9.04 status block updates....
Hi,
We are using Toplink 9.04.
Each class in the domain model has an status block containing UpdatedProcessId, lastUpdatedBy, Date etc.
It would be really useful to be able to update this stuff automatically rather than having to do it by hand when an attribute of an entity is updated as developers are likely to forget etc.
I was hoping to be able to use one of the events through the event manager interface i.e. postCalculateUnitOfWorkChangeSet, to get the objects which had been updated within the unit of work and then either
1) Modify the entity field values before the exact changes had been identified by TopLink i.e. before the contents of the changeset has been calculated.
2) Modify the field values and get toplink to re-assess the object modifications and update the ChangeSet
3) insert the extra values into the changeset
Is there a way to do this or is there anything else which could help.....
Thanks
Paul.This is definitely do-able, lots of people use this approach. You don't have to get involved with ChageSets.
Map your lastUpdatedBy, etc, fields as usual, but then don't worry about updating them in your app logic.
Use the pre insert/update events to set the values. These events are triggered before SQL is calculated (about-to events are triggered after SQL is calculated), so all you need to do is update the object in the pre insert/update event.
- Don -
Help required understanding the purpose of having instance Init blocks
I want to know exactly what the purpose of having instance initialization blocks in Java. As in static init blocks, we can execute some commands before creating an instance of a class.
And also in instance init blocks, we are executing some commands which we can do in a constructor. So Im little bit confused of the purpose of having this concept instance init blocks without writing it in the constructor itself.
Really appreciate if anyone can explain this ASAP as I am still a beginner who is studying for SCJP exam.
Thanks in advance.The instance initialization blocks are always executed before the constructor code is executed. This may be used for some activity which is common to all constructors (in case constructors are overloaded).
-
Need help in Solution Manager System Monitoring-activating Instance Status
I would like to use System Monitoring with Solution Manager.
The agents CCMSPING and SAPCCM4X are installed on the monitored system and CCMS is configured
I've already created a solution and a logical component. Now i would like to activate Instance Status in the tree when i enter in Setup System Monitoring .... but i get a red alert an the following Message Instance status is no performance alert. Thresholds have been deleted ... how can i activate this Instance Status?
I am going my first steps in SAP SolMan and tried to solve this problem but i had no success. Can someone please help me? What i am doing wrong?
thanks...
Edited by: Satish Machavarapu on Dec 15, 2009 12:46 PM
Edited by: Satish Machavarapu on Dec 15, 2009 1:04 PMHi,
If you want to monitor the Availability status of the instance then check the below docs
[http://help.sap.com/saphelp_nw70/helpdata/EN/38/9e100dd7980fffe10000009b3810a5/frameset.htm]
[CCMSPING config|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/d547f687-0901-0010-07a9-ce64cc044215]
[CCMS Agent config|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/40ef0688-814a-2a10-afb1-89b40d83d0e0]
regards
Naveen
Edited by: Naveen Kumar on Dec 15, 2009 1:07 PM -
Status blocked with workflow in purchase order
hi colleagues
I have a purc.order with status blocked at release indicator
I don´t know why is 'blocked , and not released or rejected
the release code says sap workflow
what should I do?
thanksHi,
It seems the release procedure for PO is through workflow. Just note down currently at which
level (release code) release should happen.Then go to release configuration in SPRO for PO
and there by clicking 'Workflow' you can check which user has been assigned to this release code
IMG - Materials Management - Purchasing - Purchase Order - Release Procedure for Purchase Orders - Define Release Procedure for Purchase Orders - Workflow
Then you can go & check in that user SAP inbox (SO01/SBWP transaction) for workitem.Open
that workitem and release.Do the same for pending release levels and PO will be completely released.
Regards,
Partha.
Maybe you are looking for
-
Mozilla Firefox 20.0.1 keeps crashing for weeks on end
Ever since 2 or 3 updates ago, my Firefox browser has been crashed every 15 minutes. I have sent numerous crash reports to Mozilla, yet they don't take any action whatsoever to fix the problem. I even submitted my email for them to get back in touch
-
Hi Since I have updated to IOS7 I keep getting a window coming up asking me to sign in to icloud. However the icloud icon is showing my old email address and doesn't match up to my Apple ID, so the passwards do not match, and this box keeps appearing
-
Transfer Records onto Computer using MacBook?
Hello, I have a lot of old records, and an old record player. I just bought a brand new MacBook (the standard MacBook, not the Pro). It is the 2.16 ghz black MacBook with 2 gigs of RAM. I am wondering if it is possible to transfer my old records onto
-
Mail notification from recipient
Is there a way in 10.5.1 Mail for OS X that I can be notified when a recipient (s) has read an email that I have sent them? If not, is there a mail plugin or some kind of utility that will perform this action?
-
Window 7 is not supported (screen brightness issue)?
I called Lenovo tech support to find out if they had a solution for the inability to dim the screen in Windows 7. The suport person told me to load the latest drivers. I did, then called back with my case number. I told them that the suggestion di