AQ$_ QUEUE_TABLE_NAME _NR
Hello,
I created a Multiple_Consumers queue table and a AQ$_<QUEUE_TABLE_NAME>_NR has been created as well. What does this table stand for ?
Regards,
Guillaume
Begining with AQ$ and you table name is VIEW created for your table by default.
You can use it in big way. You will need them sooner or later. Its very helpfull. Try browsing the view and check the information of the messages you have sent. Browse both, simple Q table that you created and the view that got created and compare the data in them. You will find view more informative and might like to use in you select statments.
Cheers!!
sanju.
Similar Messages
-
SAP system doesn't automatically start after restart (but manual start ok)
Hi,
We've got a new production line of SAP EP 7.0 systems, which have CI on HP-UX and DIs on windows. The version is NW2004s SPS09.
What we see is that after a restart of the windows servers (usually because of windows patching), the SAP system doesn't automatically start up. It doesn't start up if I restart the SAP<SID>_<instance> service either.
However, I've got no problem starting the system with the MMC.
Any idea what I am missing here? is it as simple as a profile parameter ?
As far as I can see the profile used seem ok.
After a restart of the windows server the following files have log entries in the c:\usr\sap\<SID>\J<instance>\work folder
sapstartsrv.log
trc file: "sapstartsrv.log", trc level: 0, release: "700"
Fri Nov 17 15:51:26 2006
<<- ERROR: SapSSLInit(read_profile=1)==SSSLERR_LIB_NOT_FOUND
sapstart.log
Starting WebService thread
SapSSLInit failed => https support disabled
Webservice named pipe thread started, listening on port
.\pipe\sapcontrol_97
Webservice thread started, listening on port 59713
sapstart.trc
Starting WebService thread
SapSSLInit failed => https support disabled
Webservice named pipe thread started, listening on port
.\pipe\sapcontrol_97
Webservice thread started, listening on port 59713
The windows event log have the application events
(first)SAP Service SAP<SID>_<instance> successfully started.
(at the same time)
Failed to update service environment from user (STATOIL-NET\<sid>adm) environment. [ntservmgr.cpp 201]
(note that this doesn't happen for all systems which have this problem, for other there is no entry like this)
I see no failed login attemps in the security event log, but see the that a login is performed for SAPService<SID>.
Since it also fails to automatically startup when I restart the service, I am able to use filemon to see what happens at a file level. Here I see that it can access the shared file system without any problems, and can read the profile and everything.
MOM is running on the server and gets some Access denied errors since it doesn't have access to the shared file system, but I don't think that matters.
Cheers
Dagfinnhi we are using sap bw 3.5 . database is oracle 9i
i applied a kernel patch and when i tried to start the services . there was no problem with the oracle services and saposcol but the service sap<sid>_nr did not start .
when i went to check the error in work folder ..
it say " SapSSLinit failed => https support disabled .
then i tried to start sap from cmd pmt . din`t work .
is there a way to statrt this ...
thanks alot.
arjun -
When I have an error in my Actionscript, I get a nice red X
next to the the line where the error occurred. Unfortunately,
unlike in an Eclipse Java project, the file tab does not show an
error icon, nor does the navigator. Can someone suggest how to
enable this functionality?
thanks
PS. perhaps I am expecting more from flex in Eclipse, but as
an Eclipse user for Java Programming, are many of the nice features
not going to be present?Check to ensure that your propagation subscriber is correctly set up.
select * from AQ$_<queue_table_name>_S;
You should be able to detect the differences between your local and propagation subscribers. -
I am trying to setup propagation from a queue on one database, to a queue on a different database. Both instances are 9.2.0.6 on HP-UX.
Job_queue_processes is set to 7 and aq_tm_processes is set to 1.
When I add a propagation schedule I get an error in the alter logs (no messages are propagated):-
*** SESSION ID:(32.933) 2005-09-21 11:14:56.539
kwqjaq: Exception Occured
kwqjschupd: schedule not found, unschedule assumed
*** 2005-09-21 11:14:56.546
ORA-12012: error on auto execute of job 392
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 5636
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 6061
ORA-06512: at "SYS.DBMS_AQADM", line 895
ORA-06512: at line 1
Has anyone got any idea what is causing this?
Thanks.Check to ensure that your propagation subscriber is correctly set up.
select * from AQ$_<queue_table_name>_S;
You should be able to detect the differences between your local and propagation subscribers. -
Unable to register one extract,but the other twos are ok.
Enviroment:
OS:Windows Server 2003 64bit
GG:
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829
Windows x64 (optimized), Oracle 11g on Apr 19 2013 17:38:40
There are three extract on the same server.Now I'd like to register for the three extracts.The other twos are ok,but there is a one extract,meet the below error message:
2013-12-22 21:43:50 ERROR OGG-01755 Cannot register or unregister EXTRACT E_
ZF_K because of the following SQL error: OCI Error ORA-00001: unique constraint
(SYSTEM.LOGMNR_SESSION_UK1) violated
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 453
ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 289
ORA-06512: at line 1 (status = 1). See Extract user privileges in the Oracle Gol
denGate for Oracle Installation and Setup Guide.
What should I do?And I also want to know the detailed cause of this error.Thanks in acvance!Hi,
Ongoing DDL operations on the Oracle database do not allow the PL/SQL PackageDBMS_CAPTURE_ADM.BUILD to build the LogMiner Data Dictionary, as part of the GGSCI REGISTER EXTRACT command.
NOTE: The DBMS_CAPTURE_ADM.BUILD procedure is the same as the DBMS_LOGMNR_D.BUILD procedure.
exec dbms_goldengate_auth.grant_admin_privilege('USER_NAME');
Connect to the Oracle database as SYSDBA # sqlplus /nologin
SQL> connect / as sysdba
In the SYSDBA session, determine that there are no EXCLUSIVE DDL sessions.
(Summary) SQL> select mode_held, count(*) from dba_ddl_locks group by mode_held;
(In detail) SQL> select mode_held, name, type from dba_ddl_locks where mode_held = 'Exclusive' order by mode_held;
(To identify a specific user process) select l.name, l.type, l.mode_held, s.sid, s.program, s.username, p.spid, p.pidfrom dba_ddl_locks l, v$session s, v$process p where l.mode_held = 'Exclusive' and l.session_id = s.sid and s.paddr = p.addr;
When there are no EXCLUSIVE mode DDL locks, re-run the GGSCI REGISTER EXTRACT command.
In case this is not working then try for following steps,
1. turn on sql trace
2. identify SQL and its bind variables:
declare
extract_name varchar2(100) := :1;
source_global_name varchar2(4000) := :2;
firstScn number := :3;
outbound_server_name varchar2(30);
outbound_capture_name varchar2(30);
capture_queue_name varchar2(30);
queue_table_name varchar2(30);
outbound_comment varchar2(125);
BEGIN
dbms_xstream_gg_adm.wait_for_inflight_txns := 'n';
dbms_xstream_gg_adm.synchronization := 'none';
dbms_xstream_gg_adm.is_goldengate := true; /* Construct the queue table name */
queue_table_name := SUBSTR('OGG$Q_TAB_' || extract_name, 1, 30); /* Construct the capture queue name */
capture_queue_name := SUBSTR('OGG$Q_' || extract_name, 1, 30); /* create capture queue */
dbms_streams_adm.set_up_queue(queue_table => queue_table_name, queue_name => capture_queue_name); /* Construct the outbound capture name */
outbound_capture_name := SUBSTR('OGG$CAP_' || extract_name, 1, 30); /* create capture specifying the first scn */ DBMS_XSTREAM_GG.SET_GG_SESSION();
dbms_capture_adm.create_capture(queue_name => capture_queue_name,
capture_name => outbound_capture_name,
first_scn => firstScn,
source_database => source_global_name); /* Construct the outbound server name */
outbound_server_name := SUBSTR('OGG$' || extract_name, 1, 30); /* Construct the comment assosciated with this outbound server */ outbound_comment := extract_name || ' GoldenGate Extract';
DBMS_XSTREAM_GG_ADM.ADD_OUTBOUND(server_name => outbound_server_name,
capture_name=> outbound_capture_name,
source_database=> source_global_name,
committed_data_only => FALSE,
wait_for_inflight_txns => 'N',
synchronization => 'NONE',
start_scn => firstScn,
comment => outbound_comment);
DBMS_XSTREAM_GG.SET_GG_SESSION(FALSE);
END;
3. run the sql manually under sqlplus.
it hits:
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01502: index 'SYS.I_WRI$_OPTSTAT_TAB_OBJ#_ST' or partition of such index is
in unusable state
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 746
ORA-06512: at line 16
4.
SQL> select owner,status from dba_indexes where index_name='I_WRI$_OPTSTAT_TAB_OBJ#_ST';
OWNER STATUS
SYS UNUSABLE
5.rebuild th index, but it did not help:
alter index I_WRI$_OPTSTAT_H_OBJ#_ICOL#_ST rebuild;
6. drop and recreate the index. Then the extract can be registered
Thanks,
GG Lover -
Mix overview and detail records in same report
Hello, in substance I need to mix results from overview table and records from details table in same report.
For creating the scenario:
CREATE TABLE ALPHA
ALPHA_ID NUMBER,
ALPHA_NR NUMBER,
ALPHA_TOTCT NUMBER,
ALPHA_FUND NUMBER
ALTER TABLE ALPHA ADD (
CONSTRAINT ALPHA_PK PRIMARY KEY (ALPHA_ID));
ALTER TABLE ALPHA ADD (
CONSTRAINT ALPHA_NR_UNI UNIQUE (ALPHA_NR));
INSERT INTO ALPHA(ALPHA_ID, ALPHA_NR)
VALUES( 1, 7 );
INSERT INTO ALPHA(ALPHA_ID, ALPHA_NR)
VALUES( 2, 11 );
INSERT INTO ALPHA(ALPHA_ID, ALPHA_NR)
VALUES( 3, 15 );
INSERT INTO ALPHA(ALPHA_ID, ALPHA_NR)
VALUES( 4, 17 );
CREATE TABLE HIST
HIST_ID NUMBER,
HIST_NR NUMBER,
HIST_ALPHA_NR NUMBER,
HIST_CT NUMBER,
HIST_VAL NUMBER,
HIST_DATE DATE
ALTER TABLE HIST ADD (
CONSTRAINT HIST_PK PRIMARY KEY (HIST_ID));
ALTER TABLE HIST ADD (
CONSTRAINT HIST_NR_UNI UNIQUE (HIST_NR));
ALTER TABLE HIST ADD (
CONSTRAINT HIST_ALPHA_NR_FK FOREIGN KEY (HIST_ALPHA_NR) REFERENCES ALPHA ( ALPHA_NR ) );
TRUNCATE TABLE HIST;
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 1 ,1 ,7 ,1 ,10 , TO_DATE('01.02.2009' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 2 ,6 ,7 ,1 ,10 , TO_DATE('01.05.2009' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 3 ,3 ,7 ,3 ,30 , TO_DATE('01.02.2010' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 4 ,4 ,11 ,1 ,10 , TO_DATE('01.03.2009' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 5 ,5 ,11 ,-2 ,-20 , TO_DATE('01.06.2010' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 6 ,8 ,11 ,1 ,10 , TO_DATE('01.02.2011' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 7 ,2 ,15 ,2 ,20 , TO_DATE('01.03.2009' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 8 ,7 ,15 ,5 ,50 , TO_DATE('01.06.2010' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 9 ,9 ,15 ,-4 ,-40 , TO_DATE('01.02.2011' , 'dd.mm.yyyy' ) );
INSERT INTO HIST( HIST_ID ,HIST_NR ,HIST_ALPHA_NR ,HIST_CT ,HIST_VAL ,HIST_DATE )
VALUES ( 10 ,10 ,17 ,1 ,10 , TO_DATE('01.03.2011' , 'dd.mm.yyyy' ) );For updating the overview table, I used a view
CREATE OR REPLACE VIEW HIST_AGG ( HIST_ALPHA_NR, TOT_CT , TOT_VAL )
AS
SELECT HIST_ALPHA_NR
,SUM ( NVL(HIST_CT, 0 ) ) TOT_CT
,SUM( NVL(HIST_VAL, 0) ) TOT_VAL
FROM HIST
GROUP BY HIST_ALPHA_NR;
DECLARE
CURSOR cur
IS
SELECT
HIST_ALPHA_NR
,TOT_CT
,TOT_VAL
FROM HIST_AGG
BEGIN
FOR rec IN cur
LOOP
UPDATE ALPHA
SET ALPHA_TOTCT = rec.TOT_CT
, ALPHA_FUND = rec.TOT_VAL
WHERE ALPHA_NR = rec.HIST_ALPHA_NR;
END LOOP;
END;First report should the overview line from table alpha followed by all detail records from
table HIST, and this for each alpha_nr. At the end of the report a total from the overview
table alpha.
"SUMMARY";"ALPHA_NR";"ALPHA_TOTCT";"ALPHA_FUND";
;7;5;50;
;7;1;10;01.02.2009
;7;1;10;01.05.2009
;7;3;30;
;11;0;0;
;11;1;10;01.03.2009
;11;-2;-20;01.06.2010
;11;1;10;01.02.2011
;15;3;30;
;15;2;20;01.03.2009
;15;5;50;01.06.2010
;15;-4;-40;01.02.2011
;17;1;10;
;17;1;10;01.03.2011
"TOTAL_ALPHA_NR";4;9;90;Second report should display the overview per time period (year), but the records from
e.g. year 2009 start counting in year 2010. At the end of each year again a summary for
the actual status.
"YEAR";"ALPHA_NR";"ALPHA_TOTCT";"ALPHA_FUND"
2009;7;0;0
;11;0;0
;15;0;0
;17;0;0
"Total 2009";4;0;0
2010;7;2;20
;11;1;10
;15;2;20
;17;0;0
"Total 2010";4;5;50
2011;7;5;50
;11;-1;-10
;15;7;70
;17;0;0
"Total 2011";4;11;110
2012;7;5;50
;11;0;0
;15;3;30
;17;1;10
"Total 2012";4;9;90Hi,
This is quite a different problem from what you first posted.
wucis wrote:
This is what I want to get
ALPHA_DATE ALPHA_NAME ALPHA_NR ALPHA_TOTCT ALPHA_FUND TRANS_DATE
01.01.2009 seven 7 5 50
7 1 10 01.02.2009
7 1 10 01.05.2009
7 3 30 01.02.2010
01.03.2009 eleven 11 0 0
11 1 10 01.03.2009
11 -2 -20 01.06.2010
11 1 10 01.02.2011
03.05.2010 twelve 12 0 0
02.02.2009 fifteen 15 3 30
15 2 20 01.03.2009
15 5 50 01.06.2010
15 -4 -40 01.02.2011
10.10.2010 seventeen 17 1 10
17 1 10 01.03.2011
TOTAL_ALPHA_NR 5 9 90
Do you really want to include alphr_nr=12? If so, what do you mean when you say
I have an approach but there are "unnecessary" rows ( the line with just alpha_nr = 12 ) and why don't you want alpha_nr=13?
so my join is buggyExactly! The join
... from hist, alpha b
WHERE b.alpha_nr = hist.hist_alpha_nr (+) ...means "include all rows from alpha, whether of not they have any corresponding rows in hist or not". If you want to exclude alpha_nrs 12 and 13, you probably want to do an inner join there.
You don't need any sub-queries to do that:
SELECT CASE
WHEN GROUPING (h.hist_alpha_nr) = 0
AND GROUPING (h.hist_date) = 1
THEN MAX (a.alpha_date)
END AS alpha_date
, CASE
WHEN GROUPING (h.hist_alpha_nr) = 1
THEN 'TOTAL_ALPHA_NR'
WHEN GROUPING (h.hist_date) = 1
THEN MAX (a.alpha_name)
END AS alpha_name
, CASE
WHEN GROUPING (h.hist_alpha_nr) = 0
THEN h.hist_alpha_nr
ELSE COUNT (DISTINCT (alpha_nr))
END AS alpha_nr
, SUM (h.hist_ct) AS alpha_totct
, SUM (h.hist_val) AS alpha_fund
, h.hist_date AS trans_date
FROM hist h
, alpha a
WHERE h.hist_alpha_nr = a.alpha_nr
AND a.active = 'Y'
GROUP BY ROLLUP ( hist_alpha_nr
, hist_date
ORDER BY GROUPING (h.hist_alpha_nr)
, h.hist_alpha_nr
, GROUPING (h.hist_date) DESC
, h.hist_date
;Output:
ALPHA ALPHA ALPHA
ALPHA_DATE ALPHA_NAME _NR _TOTCT _FUND TRANS_DATE
01.01.2009 seven 7 5 50
7 1 10 01.02.2009
7 1 10 01.05.2009
7 3 30 01.02.2010
01.03.2009 eleven 11 0 0
11 1 10 01.03.2009
11 -2 -20 01.06.2010
11 1 10 01.02.2011
02.02.2009 fifteen 15 3 30
15 2 20 01.03.2009
15 5 50 01.06.2010
15 -4 -40 01.02.2011
10.10.2010 seventeen 17 1 10
17 1 10 01.03.2011
TOTAL_ALPHA_NR 4 9 90If this is not what you want (e.g., if you want alpha_nr=12 in the results) then point out where these results are wrong, post the correct results, and explain how you get the correct results in those places. -
Clean up AQ$_CT_capturename_P table
I have async distributed hotlog cdc setup on 9.2 databases. There are many changes capture daily on the source database and I notice that the AQ$_CT_capturename_P in the source cdc schema is growing extremely fast. It's at 8GB with 5 millions record and is growing 500MB a day. What is this table for and how can I clean it up? Thanks.
Thank you SOOOOO much for a reply!
I have a question regarding how to to clean up the messages in a queue.
Within OEM, the queue table shows up in two places.establish
policies
Under the users schema->tables->{queue_table_name}
and under
Distributed->Advanced Queues->Queue Tables->{queue_table_name}
Which options do you suggest I choose to establish
policies?
When right clicking under schema->tables->{queue_table_name} the choices are:
Create
Create Like
Create Using Wizard
View/Edit Details
Enable All Constraints
Disable All Constraints
Show Dependencies
Show Object DDL
Create Index On
Grant Privileges On
Create Synonym For
Data Management->Export, Import, Load
Analyze
Reorganize
Change Management->Clone ..., Compare..., Capture..
Find Database Object
And under Distributed->Advanced Queues->Queue Tables->{queue_table_name} the choices are:
Create
Create Like
View/Edit Details
Remove
Display Messages
Show Object DDL
Create Queue
Find Database Objects -
Replication in a Cluster of 2 machines
Hi again,
I have a cluster of 2 m/c , Requests are being served by A and I bring A
Down
'B' takes over , but when I bring up A again , both fail !
I need some help !
The Stack traces on A and B are :
The Stack on A is :
++++++++++++++++
<Jul 31, 2002 5:00:15 PM PDT> <Error> <HTTP Session> <Error looking up
session for id:9I4trxgFdltJ7Yzz3YjvhEPJd1A5XnlCPm
4nzIwGny1sytuNGPMT!-388044873!167772203!7001!7002!NONE
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
at
weblogic.servlet.internal.session.SessionData.getContext(SessionData.java:34
1)
at
weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(Repl
icatedSessionData.java:167)
at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
at
weblogic.cluster.replication.ReplicationManager$wroManager.create(Replicatio
nManager.java:352)
at
weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.ja
va:1083)
at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
at
weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
java:85)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:136)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy152.create(Unknown Source)
at
weblogic.cluster.replication.ReplicationManager.trySecondary(ReplicationMana
ger.java:880)
at
weblogic.cluster.replication.ReplicationManager.createSecondary(ReplicationM
anager.java:835)
at
weblogic.cluster.replication.ReplicationManager.getPrimary(ReplicationManage
r.java:799)
at
weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.ja
va:425)
at
weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInterna
l(ReplicatedSessionContext.java:2
68)
at
weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestI
mpl.java:2186)
at
weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.j
ava:1948)
at
weblogic.servlet.security.ServletAuthentication.weak(ServletAuthentication.j
ava:266)
at
weblogic.servlet.security.internal.BasicSecurityModule.checkAuthenticateHead
er(BasicSecurityModule.java:65)
at
weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(Servle
tSecurityManager.java:119)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2518)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
At B its :
++++++
<Jul 31, 2002 5:00:18 PM PDT> <Warning> <Dispatcher> <RuntimeException
thrown by
rmi server: 'weblogic.rmi.internal.BasicServerRef@10 - jvmid:
'3432093889910090
597S:10.0.0.33:[7001,7001,7002,7002,7001,7002,-1]:admindomain:server2', oid:
'16
', implementation: 'weblogic.cluster.replication.ReplicationManager@398fe1''
java.lang.NullPointerException
at
weblogic.servlet.internal.session.SessionData.getContext(SessionData.
java:341)
at
weblogic.servlet.internal.session.ReplicatedSessionData.becomeSeconda
ry(ReplicatedSessionData.java:167)
at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
at
weblogic.cluster.replication.ReplicationManager$wroManager.create(Rep
licationManager.java:352)
at
weblogic.cluster.replication.ReplicationManager.create(ReplicationMan
ager.java:1083)
at
weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I hope you are right,
But its no longer a problem for me after I changed the stuff..
Thanks though,
_NR
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]...
> First of all the following NPE has nothing to do with using
> weblogic.servlet.proxy.HttpClusterServlet or
> weblogic.servlet.internal.HttpClusterServlet. For backward compatibility
> purposes you can still use weblogic.servlet.internal.HttpClusterServlet
>
> The following NPE is a known issue in SP2 and is fixed in SP3.
>
> --
> Kumar
>
> [email protected] wrote:
>
> > hmmm....
> >
> > Again figured it out myself..
> >
> > I was using the (depreicated)
weblogic.servlet.internal.HttpClusterServlet
> > in the web.xml (Default app for Admin)
> >
> > I changed it to weblogic.servlet.proxy.HttpClusterServlet and everythin
> > works fine !!
> >
> > thought this info might be useful !
> >
> > --Naggi
> > PS: Now running WLS 6.1 SP3 with CR081194_61sp3.jar
> >
> >
> >
> >
> > <[email protected]> wrote in message
news:[email protected]...
> >
> >>Hi again,
> >>I have a cluster of 2 m/c , Requests are being served by A and I bring
A
> >>Down
> >>'B' takes over , but when I bring up A again , both fail !
> >>
> >>I need some help !
> >>
> >>The Stack traces on A and B are :
> >>
> >>The Stack on A is :
> >>++++++++++++++++
> >><Jul 31, 2002 5:00:15 PM PDT> <Error> <HTTP Session> <Error looking up
> >>session for id:9I4trxgFdltJ7Yzz3YjvhEPJd1A5XnlCPm
> >>4nzIwGny1sytuNGPMT!-388044873!167772203!7001!7002!NONE
> >>
> >>java.lang.NullPointerException:
> >>
> >>Start server side stack trace:
> >>
> >>java.lang.NullPointerException
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.session.SessionData.getContext(SessionData.java:34
> >
> >>1)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(Repl
> >
> >>icatedSessionData.java:167)
> >>
> >>at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager$wroManager.create(Replicatio
> >
> >>nManager.java:352)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.ja
> >
> >>va:1083)
> >>
> >>at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
> >>Source)
> >>
> >>at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> >>
> >>at
> >>
> >>
> >
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
> >
> >>at
> >>
> >>
> >
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
> >
> >>2)
> >>
> >>at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >>
> >>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >>
> >>End server side stack trace
> >>
> >>at
> >>
> >>
> >
weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
> >
> >>java:85)
> >>
> >>at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:136)
> >>
> >>at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
> >>
> >>at $Proxy152.create(Unknown Source)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager.trySecondary(ReplicationMana
> >
> >>ger.java:880)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager.createSecondary(ReplicationM
> >
> >>anager.java:835)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager.getPrimary(ReplicationManage
> >
> >>r.java:799)
> >>
> >>at
> >>
> >>
> >
weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.ja
> >
> >>va:425)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInterna
> >
> >>l(ReplicatedSessionContext.java:2
> >>
> >>68)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestI
> >
> >>mpl.java:2186)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.j
> >
> >>ava:1948)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.security.ServletAuthentication.weak(ServletAuthentication.j
> >
> >>ava:266)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.security.internal.BasicSecurityModule.checkAuthenticateHead
> >
> >>er(BasicSecurityModule.java:65)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(Servle
> >
> >>tSecurityManager.java:119)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
> >
> >>ntext.java:2518)
> >>
> >>at
> >>
> >>
> >
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> >
> >>:2260)
> >>
> >>at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >>
> >>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >>
> >>
> >>
> >>At B its :
> >>++++++
> >>
> >><Jul 31, 2002 5:00:18 PM PDT> <Warning> <Dispatcher> <RuntimeException
> >>thrown by
> >> rmi server: 'weblogic.rmi.internal.BasicServerRef@10 - jvmid:
> >>'3432093889910090
> >>597S:10.0.0.33:[7001,7001,7002,7002,7001,7002,-1]:admindomain:server2',
> >>
> > oid:
> >
> >>'16
> >>', implementation:
> >>
> > 'weblogic.cluster.replication.ReplicationManager@398fe1''
> >
> >>java.lang.NullPointerException
> >> at
> >>weblogic.servlet.internal.session.SessionData.getContext(SessionData.
> >>java:341)
> >> at
> >>weblogic.servlet.internal.session.ReplicatedSessionData.becomeSeconda
> >>ry(ReplicatedSessionData.java:167)
> >> at
> >>
> > weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:34)
> >
> >> at
> >>weblogic.cluster.replication.ReplicationManager$wroManager.create(Rep
> >>licationManager.java:352)
> >> at
> >>weblogic.cluster.replication.ReplicationManager.create(ReplicationMan
> >>ager.java:1083)
> >> at
> >>weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
> >> Source)
> >> at
> >>weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> >> at
> >>weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
> >>a:274)
> >> at
> >>weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
> >>.java:22)
> >> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
>
-
I am using Oracle 11.2.0.3. I have point to point persistent queue implemented through PL/SQL API. I have set retention of the queue for 12 months. However, none of the queue tables/view has information on which server dequeued the message. How can I audit such information?
Also, I had tried following audit but I do not see anything in dba_audit_object when i dequeue a message. Am I doing anything wrong?
audit DEQUEUE ANY QUEUE by access;Hi,
Looks like same query is reported in other open thread.
Messages are exchanged between a client and the Oracle Database server or between two Oracle Database servers using Oracle Net Services. Oracle Net Services also propagates messages from one Oracle Database queue to another.
You may need to check what all subscribers added to it.
select subscriber_id, queue_name, name, address, subscriber_type from aq$_<queue_table_name>_s;
Thanks,
Renu -
JMSBridgesXA/xa-compliant-oracleaq - how do TX work? StartupClass questions
Hallo all,
yesterday we called in our (very simple) MDB sessionContext.setRollbackOnly().
Expected behavior: Oracle AQ should resend the JMS message after a while (queue_table still needs to have the message).
Seen behavior: The JMS message was removed from Oracle AQ queue table and has not been resent. It got lost completely.
Question: What do we have to do, that the MDB supports JMS transactions? We already defined Required in the deployment descriptor and referenced "AQXAJMSConnectionFactory" as factory in weblogic-ejb.jar.xml.
Is there the requirement to use resource-ref's (probably this is not the case for incoming MDB's. Only interesting if doing a JMS send inside a MDB or Stateless Session EJB?).
How does the JMSBrdigesXA project work together with BEA JTA TransactionManager?
DipsStartupClass: What does it do exactly?
It seems to instantiate the required AQ Factory and Queue classes and binds them to BEA JNDI.
But also it creates a AQjmsConnection, AQjmsSession and Destination and starts the Connection and Session! (e.g createXAQueueConnection).
Why does it have to do this?
MDB's deployed to BEA JMS and referencing a JMSConnectionFactory don't need a StartupClass, so the normal factories seem to establish the connection internally (is BEA pooling JMS resources here internally in addition???)
Does it make any difference using in Constants "thin" or "oci8"?
The class DipsAQXAQueueConnection and method createXAQueueSession() creates an OracleXAConnection by passing getOCIConnectionPool().getConnection().
What does this mean? Why OCI? Is the "thin" property working nevertheless?
Does the DipsStartupClass create ONE Oracle connection to Oracle AQ or do we have to specify somewhere any Oracle pool size?
What would we have to do if multiple MDB's have to listen to different queues?
Looks like that we need multiple StartupClasses because of queue_table_name and queue bindings (JNDI AQJMSQueue).
But what does this mean to the AQXAJMSConnectionFactory?
Would we have to bind it multiple times under different names (e.g 3 MDB's, 3 factories)?
How many Oracle AQ DB connections have to be open?
Is there a new DipsAQXAConnectionFactory / DipsAQConnectionFactory which does all the things internally on the fly so we can deploy MDB's as we would work with BEA JMS (besides StartupClass for the "Referencable" solution)?
What did you change for your tests the oracle.jms.DipsAQXAQueueSession constructor to? The current sources of JMSBridgesXA Oracle AQ look incompatible with aqapi13.jar (I tried also aqapi.jar and aqapi11.jar)!
AQjmsSession needs a fith argument java.sql.Connection.
Shall we call:
super(aqjc, sessAck, flag, j, oraXAConn.getConnection())
or
super(aqjc, sessAck, flag, j, null)
May be the first (we did that) be the reason of the NON TX behavior if java.sql.Connection is set to AutoCommit by default to true?
Somewhere in this weblogic.developer.interest.jms forum I read that only Oracle 10g aqapi.jar is XA cabable?
We have to use Oracle 9.2.0.6 and I defenitly have to use TX's.
I even would have to get this working:
1. MDB recieves AQ JMS message
2. does some business logic
3. send a JMS message to another queue
4. commits if 2 and 3 was successful by removing the JMS message from the Oracle AQ.
However, a MDB rollback MUST ensure, that the received Oracle AQ/JMS message won't be lost.
With best regards
Thomas Heiss
Message was edited by:
Thomas.Heiss
Message was edited by:
Thomas.HeissDear Eric,
Thank you very much for your input.
Unfortunately also a RuntimeException does not rollback/keep the message in AQ queue in our test MDB environment.
So TX is still some open issue for us.
Today we made the decision to go with a MapMessage (instead of Oracle custom data type) and do all AQ receive/send stuff manually (because of time running away).
Meanwhile I also tried Oracle 10g R2 database aqapi13.jar; has a completely different constructor in AQjmsSession which does not seem to be compatible anymore with DipsStartupClass package.
I wonder how aqapi13.jar from Oracle 10g should work without DipsStartupClass.
Oracle 10g application server may provide an adapter solution; but I would need to find, check and test it with BEA MDB's first.
Today we found out, that AQ propagation needs queues defined to be multi_consumer queues.
Unfortunately settings multi_consumer TRUE and a DEQUEUE (in aqapi13.jar with DipsStartupClass) does not play well together. It's missing a consumer name.
Then it will only work with recipient list.
I hope next weeks I will find some Oracle AQ guru which may show me a way out of all this disaster :)
Regards
Thomas Heiss -
CDC and using OdiWaitForLogData
Hello,
I am trying to set up CDC through ODI by following the Rittmann ODI guide(An Introduction to Real Time Data Integration :http://www.oracle.com/technology/pub/articles/rittman-odi.html)
I have had ODI go through and successfully do the CDC setup, if I poke around the source schema I can see the CDC views and I can see the change set that ODI created, on my source schema ( named CDC_SOURCE_PUB ), I can query
select set_name, set_description, change_source_name, apply_name, queue_name, queue_table_name
from change_sets
where publisher = 'CDC_SOURCE_PUB';
and it returns this record:
Set Name q
SAMS_INTEG_SOURCE Sunopsis change set for model : SAMS_INTEG_SOURCE HOTLOG_SOURCE CDC$A_SAMS_INTEG_SOURCE CDC$Q_SAMS_INTEG_SOU CDC$T_SAMS_INTEG_SOUHello,
I am trying to set up CDC through ODI by following the Rittmann ODI guide(An Introduction to Real Time Data Integration :http://www.oracle.com/technology/pub/articles/rittman-odi.html)
I have had ODI go through and successfully do the CDC setup, if I poke around the source schema I can see the CDC views and I can see the change set that ODI created, on my source schema ( named CDC_SOURCE_PUB ), I can query
select set_name, set_description, change_source_name, apply_name, queue_name, queue_table_name
from change_sets
where publisher = 'CDC_SOURCE_PUB';
and it returns this record:
Set Name q
SAMS_INTEG_SOURCE Sunopsis change set for model : SAMS_INTEG_SOURCE HOTLOG_SOURCE CDC$A_SAMS_INTEG_SOURCE CDC$Q_SAMS_INTEG_SOU CDC$T_SAMS_INTEG_SOU -
Hi
We have to identify a mechanism for monitoring messages in Oracle AQ in following scenarios
1. Messages from AQ are being consumed by Oracle SOA AQ adaptor. The consumed messages are not deleted from queue table
2. Messages from AQ are propagated to AQ on another Oracle instance.
One of the ways to monitor AQ operations is to query the underlying queuetable to check Dequeue time.
However I wanted to understand
What are other mechanisms to monitor AQ proactively and build error notifications for failed messages or if the messages are not picked up for long period (a threshold)?
What are the features offerred by out of box AQ monitor? The documentation on how does it work and what all features are offerred is very limited.
Thanks
MehulHello,
What version you are using will determine what views you have access to in order to monitor the system. So what version are you using? Is this RAC or single instance?
You query the aq$queue_table view to determine the states of messages and which consumers have consumed them rather than the underlying objects.
Assuming that this is a multi-consumer queue you should issue something like
select count(*), msg_state, consumer_name, address from aq$queue_table_name group by msg_state, consumer_name, address;
to confirm the state of the messages.
In terms of propagation you can use dba_queue_schedules to monitor propagation throughput.
Thanks
Peter -
Hi all,
We are planning to use a WL Proxy for teh cluster and I was wondering if I
could use the Admin server for that ...
Also how intensive in terms of memory and CPU usage is the Admin server's
job (in a cluster of 2 managed servers).
Also does BEA have any take on that ?
Any help would be appreciated,
_NR
It's not a recommended practise to use Admin server other than
configuration & deployment purposes. Regarding the memory and cpu usage,
it depends on the deployments and tools used to gather runtime statistics
Otherwise the footprint should be pretty much in the range of 64mb.
For testing purposes it's ok to use admin server as proxy server but i
wouldn't
recommend the same for production.
Kumar
[email protected] wrote:
> Hi all,
> We are planning to use a WL Proxy for teh cluster and I was wondering if I
> could use the Admin server for that ...
> Also how intensive in terms of memory and CPU usage is the Admin server's
> job (in a cluster of 2 managed servers).
> Also does BEA have any take on that ?
>
> Any help would be appreciated,
> _NR
-
we recently did system refresh of CE7.1 with oralce database but finally restarted system after all changes but none of logs are generating in work directory.
please find logs of startsap_saphostagent.log
pushProfiles() start: @=ERS /usr/sap/EE2/SYS/profile/EE2_ERS??_llssap221
_TEMPINST=ERS??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2SMDA??_llssap221
_nrProfiles=1
Isetinstance=SMDA
pushProfiles() start: @=SMDA /usr/sap/EE2/SYS/profile/EE2_SMDA??_llssap221
_TEMPINST=SMDA??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2D?*??_llssap221
_nrProfiles=1
Isetinstance=D?*
pushProfiles() start: @=D?* /usr/sap/EE2/SYS/profile/EE2_D?*??_llssap221
_TEMPINST=D?*??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2JC??_llssap221
_nrProfiles=1
Isetinstance=JC
pushProfiles() start: @=JC /usr/sap/EE2/SYS/profile/EE2_JC??_llssap221
_TEMPINST=JC??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2D??_llssap221
_nrProfiles=1
Isetinstance=D
pushProfiles() start: @=D /usr/sap/EE2/SYS/profile/EE2_D??_llssap221
_TEMPINST=D??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2J??_llssap221
_nrProfiles=1
Isetinstance=J
pushProfiles() start: @=J /usr/sap/EE2/SYS/profile/EE2_J??_llssap221
_TEMPINST=J??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2JMS??_llssap221
_nrProfiles=1
Isetinstance=JMS
pushProfiles() start: @=JMS /usr/sap/EE2/SYS/profile/EE2_JMS??_llssap221
_TEMPINST=JMS??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2G??_llssap221
_nrProfiles=1
Isetinstance=G
pushProfiles() start: @=G /usr/sap/EE2/SYS/profile/EE2_G??_llssap221
_TEMPINST=G??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2TRX??_llssap221
_nrProfiles=1
Isetinstance=TRX
pushProfiles() start: @=TRX /usr/sap/EE2/SYS/profile/EE2_TRX??_llssap221
_TEMPINST=TRX??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2W??_llssap221
_nrProfiles=1
Isetinstance=W
pushProfiles() start: @=W /usr/sap/EE2/SYS/profile/EE2_W??_llssap221
_TEMPINST=W??
pushProfiles() done
PROFILES=/usr/sap/EE2/SYS/profile/EE2V??_llssap221
_nrProfiles=1
Isetinstance=V
pushProfiles() start: @=V /usr/sap/EE2/SYS/profile/EE2_V??_llssap221
_TEMPINST=V??
pushProfiles() done
NINST=
INSTFOUND=1
NINSTFOUND=0
hasABAP=0
hasJava=0
hasSpecial=1
set_instance() done
set_sapdbhost() start
_PROFILE=/usr/sap/EE2/SYS/profile/DEFAULT.PFL
SAPDBHOST=llssap221
set_sapdbhost() done
set_db_local() start
VHOST=llssap221
set_dblocal: DBLOCAL=1
set_dblocal: SAPDBHOST=llssap221
set_db_local() done
set_db_sid() start: @=1
DB_SID=EE2
set_db_sid() done
set_db_running() start
DB_RUNNING=0
JDB_RUNNING=
set_db_running() done
set_sapjdbhost() start
SAPJDBHOST=llssap221
set_sapjdbhost() done
set_jdb_local() start
VHOST=llssap221
set_jdb_local: JDBLOCAL=1
set_jdb_local: SAPJDBHOST=llssap221
set_jdb_local() done
set_jdb_running() start
JDB_RUNNING=0
_INST=
_PROFILE=
SAPSYSTEMNAME=EE2
set_jdb_running() done: rc = 0
DB_LOCAL=1
DB_RUNNING=0
hasABAP=0
hasJava=0
hasSpecial=1
TASK=ALL
JDB_LOCAL=1
JDB_RUNNING=0
Jee_database() start: @=start
getExePath() start: @=startj2eedb
EXEDIR=/usr/sap/EE2/SYS/exe/uc/rs6000_64
EXECMD=/usr/sap/EE2/SYS/exe/uc/rs6000_64/startj2eedb
getExePath() done: 0
J2ee_database() done
Instance() start: @=start
instance: INST=SCS00
getExePath() start: @=sapcontrol SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sapcontrol
getExePath() done: 0
instance_do() start: @=start SCS00
LOGFILE=/home/ee2adm/startsap_SCS00.log
init_log /usr/sap/EE2/SYS/exe/uc/rs6000_64/startsap start SCS00
getExePath() start: @=sapcontrol SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sapcontrol
getExePath() done: 0
_SAPCONTROL=/usr/sap/EE2/SCS00/exe/sapcontrol
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
getSapsystemNr() start: @=SCS00
getExePath() start: @=sappfpar SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sappfpar
getExePath() done: 0
_SAPPFPAR=/usr/sap/EE2/SCS00/exe/sappfpar
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
INSTPROFILE=EE2_SCS00_llssap221
restore_path() start
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
NR=00
getSapsystemNr() done
_NR=00
sapstartsrv_do() start: @=start SCS00
Starting Startup Agent sapstartsrv
getExePath() start: @=sapstartsrv SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sapstartsrv
getExePath() done: 0
_SAPSTARTSRV=/usr/sap/EE2/SCS00/exe/sapstartsrv
STARTPROFILE=/usr/sap/EE2/SYS/profile/START_SCS00_llssap221
INSTANCEPROFILE=/usr/sap/EE2/SYS/profile/EE2_SCS00_llssap221
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
/usr/sap/EE2/SCS00/exe/sapstartsrv pf=/usr/sap/EE2/SYS/profile/EE2_SCS00_llssap221 -D
wait sleep 10 while service is starting
_returncode=0
sapstartsrv_do() done: 0
wait for starting sapstartsrv
starting SAP Instance SCS00
/usr/sap/EE2/SCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
wait sleep 10 while instance is starting
instance_do() done
Instance() done
sapccm4x() start: @=start
getSapsystemNr() start: @=SCS00
getExePath() start: @=sappfpar SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sappfpar
getExePath() done: 0
_SAPPFPAR=/usr/sap/EE2/SCS00/exe/sappfpar
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
INSTPROFILE=EE2_SCS00_llssap221
restore_path() start
LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
NR=00
getSapsystemNr() done
getExePath() start: @=sappfpar SCS00
set_path() start: @=/usr/sap/EE2/SCS00/exe
N_PATH=/usr/sap/EE2/SCS00/exe
LIBPATH=/usr/sap/EE2/SCS00/exe:/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
O_LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
set_path() done
DIREXECUTABLE=/usr/sap/EE2/SCS00/exe
restore_path() start
LIBPATH=/usr/sap/EE2/SYS/exe/uc/rs6000_64:/oracle/client/10x_64/instantclient
restore_path() done
EXEDIR=/usr/sap/EE2/SCS00/exe
EXECMD=/usr/sap/EE2/SCS00/exe/sappfpar
getExePath() done: 0
f=/usr/sap/EE2/SYS/profile/EE2SCS00_llssap221
CCMS_DIRLOGGING=/usr/sap/EE2/SCS00/log
CCMS agent SAPCCM4X not configured
runSaphostagent() start
LOGFILE=/home/ee2adm/startsap_saphostagent.log
_SAPHOSTAGENTPATH=/usr/sap/hostctrl/exe/hostexecstart not found
runSaphostagent() start: 0
startsap.trc: END
Regards,
kumarHello Kumar,
Can you paste startsap.log here? Please verify instance number, SID and hostname details in profiles.
Thanks,
Siva Kumar -
Some AQ managed tables aren't cleared and contain loads of rows
Hi,
I have been running a system made up of two nodes (Oracle XE 10gR2) connected by queues for a couple of years without too much hassle up to date.
Yesterday I found that two of the tables created at the time of the creation of the queue contained a few hundred thousands rows whereas the same tables in a test environment that runs almost the same data were empty. I am talking of AQ$_queue_table_name_H and $AQ_queue_table_name_I.
I stopped the propagation and when the queue was empty I truncated the content of the two tables without problems, but the question is, is there some internal Oracle process that is supposed to take care of this and for some reason is not working?
I checked the documentation but I don't find much details about housekeeping jobs.
Is the monitoring of these tables something that the DBA should add to his/her tasks?
Thanks
FlavioHi,
Sorry I missed the XE thing.
So, when you say aq_tm_processes is set to zero as recommended I'm assuming you mean it is defaulted and not explicitly set to zero? You can check using this:
connect / as sysdba
set serveroutput on
declare
mycheck number;
begin
select 1 into mycheck from v$parameter where name = 'aq_tm_processes' and value = '0'
and (ismodified != 'FALSE' OR isdefault='FALSE');
if mycheck = 1 then
dbms_output.put_line('The parameter ''aq_tm_processes'' is explicitly set to 0!');
end if;
exception when no_data_found then
dbms_output.put_line('The parameter ''aq_tm_processes'' is not explicitly set to 0.');
end;
/If it is explicitly zero then remove it:
alter system reset aq_tm_processes scope=spfile sid='*';
--restart the databaseIf it isn't then check that the background processes are running:
select sid,type,program,event from v$session where program like '%(Q%';sys.dbms_aqadm.aq$_propaq handles propagation not queue cleanup activities, the cleanup process should be removing data if the retention is set to 0, this is a background process so its frequency is defined internally.
Can you also check for orphaned messages on your queue?
select count(*)
from AQ$_<queue_table_name>_I i
where not exists (select t.msgid
FROM <queue_table_name> t where i.msgid = t.msgid);
select count(*)
from AQ$_<queue_table_name>_T i
where not exists (select t.msgid
FROM <queue_table_name> t where i.msgid = t.msgid);
select count(*)
from AQ$_<queue_table_name>_H i
where not exists (select t.msgid
FROM <queue_table_name> t where i.msgid = t.msgid);Thanks
Paul
Edited by: pdtill2508 on May 23, 2012 9:55 AM
Maybe you are looking for
-
Issue with instead of trigger on a view
Gurus, I have an issue with an instead of trigger on a view. The trigger is listed below. The insert and update seem to be working fine but the delete section is not. From the application, we have a screen on which we attach images. We trigger of an
-
ISE integration with Mobile Device Management ( MDM ) help required
Dear Techies, Am here bring to your notice an different issue and no much resources to support even in PEC or Cisco Document. We are conduction a Proof Of Concept (PoC) on Secure Bring Your Own Device ( BYOD ) using Cisco ISE and gonna tes
-
Post Author: cmilkosk CA Forum: Charts and Graphs Does Crystal Reports support sparkline graphs? If anyone is familiar with Ed Tufte's work in the visual display of quantitative information, you'll know what I mean. Basically sparkline graphs are t
-
I have real problems A with syncing and B with dates beeing displayed i Reminders.
the date for 15 october is reading 289/42/2012 which is the the number for the day and the week of the year!!
-
UID key in TreeMap causing ClassCastException
Hello all, I'm trying to use the UID class as a key in a TreeMap, but I'm running into a ClassCastException when I try to lookup using a UID as a key. From the docs, I see that a ClassCastException is thrown when the "key cannot be compared with the