[HELP] About Sql Service Broker ==True ?
i coding in other project, need copy oitm data to project, so sql set service broker ==>true,
and use of ado.net sqlDependency to implement this function
but company db service broker is false. if i change true,will cause problems in sap business one data???
or other better solution to replicate sap data in real time???
Hi
I have 'Broker enabled' option set to True and SAP B1 works as usual so I presume that it's safe.
Kind regards,
Radek
Similar Messages
-
[HELP] About SAP Business one DB SET Sql Service Broker ==True ?
i coding in other project, need copy oitm data to project, so sql set service broker ==>true,
and use of ado.net sqlDependency to implement this function
but company db service broker is false. if i change true,will cause problems in sap business one data???
or other better solution to replicate sap data in real time???Hi
I have 'Broker enabled' option set to True and SAP B1 works as usual so I presume that it's safe.
Kind regards,
Radek -
Anyone can help with the below issue please? Much appreciated.
We have about 2k+ messages in sys.transmission_queue
Telnet to the ports 4022 is working fine.
Network connectivity has been ruled out.
The firewalls are OFF.
We also explicitly provided the permissions to the service account on Server A and Server B to the Service broker end points.
GRANT
CONNECT ON
ENDPOINT <broker> <domain\serviceaccount>
Currently for troubleshooting purposes, the DR node is also out of the Availability Group, which means that we right now have only one replica the server is now a traditional cluster.
Important thing to note is when a SQL Server service is restarted, all the messages in the sys.transmission queue is cleared immediately. After about 30-40 minutes, the errors are continued to be seen with the below
The
connection was
closed by the
remote end,
or an
error occurred while
receiving data:
'64(The specified network name is no longer available.)'We were able to narrow down the issue to an irrelevant IP coming into play during the data transfer. We tried ssbdiagnose runtime and found this error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>SSBDIAGNOSE -E RUNTIME -ID 54F03D35-1A94-48D2-8144-5A9D24B24520 Connect to -S <SourceServer> -d <SourceDB> Connect To -S <DestinationServer> -d <DestinationDB>
Microsoft SQL Server 11.0.2100.60
Service Broker Diagnostic Utility
An internal exception occurred: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
P 29830 Could not find the connection to the SQL Server that
corresponds to the routing address tcp://XX.XXX.XXX.199:4022. Ensure the tool is connected to this server to allow investigation of runtime events
The IP that corresponds to routing address is no where configured within the SSB. We are yet unsure why this IP is being referred despite not being configured anywhere. We identified that this IP belongs to one of nodes other SQL Server cluster, which has
no direct relation to the source server. We failed over that irrelevant SQL Server cluster and made another node active and to our surprise, the data from sys.transmission_queue started flowing. Even today we are able to reproduce the issue, if we bring
back this node [XX.XXX.XXX.199] as active. Since, its a high business activity period, we are not investigating further until we get an approved downtime to find the root cause of it.
When we get a approved downtime, we will bring the node [XX.XXX.XXX.199] as active and we will be running Network Monitor, Process Monitor and the SSB Diagnose all in parallel to capture the process/program that is accessing the irrelevant IP.
Once, we are able to nail down the root cause, I will share more information. -
Hi All,
I have 3 tables. DEV,APPS,DISC
DEV Contains data as follows.
Cardnum Stat Flag
324657 A GAPPS contains as follows.
Cardnum Stat balance Product
324657 A 90 HYG
3276890 D 0 BNH
32675 S 89 HGF
DISC contains
Cust_Num Num
898777 1
231321 2
38927 898now I have written SELECT query as follows.
SELECT c.cardnum, cust_num
FROM tmp.ccard_gen g,
tmp.ccard_tmp c,
ods.phonenr p
WHERE flag = 'V'
AND c.cardnum = g.cardnum
AND '32' || p.num = c.cardnum
AND c.balancel > 0
AND c.product = 'SEWING';I don't have product SEWING in DISC and flag 'V'. so I am going to Insert those two values into two tables and then trying to retrieving the records by using above mentioned SELECT Statement.
But I want to write a single query for Inserting records into those 2 tables and retrieving the records.
can any one please help me out to writ a query for the issue.
Thank you,You can't insert records with a query. These are two different things.
What you can do is generate records on the fly
e.g.
SQL> ed
Wrote file afiedt.buf
1 with myemps as (select empno, ename, sal from emp
2 union all select 8000, 'FRED', 1000 from dual
3 union all select 8001, 'BOB', 1200 from dual)
4 --
5 select *
6* from myemps
SQL> /
EMPNO ENAME SAL
7369 SMITH 800
7499 ALLEN 1600
7521 WARD 1250
7566 JONES 2975
7654 MARTIN 1250
7698 BLAKE 2850
7782 CLARK 2450
7788 SCOTT 3000
7839 KING 5000
7844 TURNER 1500
7876 ADAMS 1100
7900 JAMES 950
7902 FORD 3000
7934 MILLER 1300
8000 FRED 1000
8001 BOB 1200
16 rows selected.
SQL> -
I need some helps about Web Services & Entity Bean
Hi everybody,
Using Jbuilder I can create Web Services object from Session Bean (with Weblogic 8.1).
I am wondering that: Can I create Web Service object from Entity Bean? Eg: with BMP or CMP?
If anyone knows how to do, please help me or give me the documents I can refer to!
Thanks in advance!Hi everybody,
Using Jbuilder I can create Web Services object from Session Bean (with Weblogic 8.1).
I am wondering that: Can I create Web Service object from Entity Bean? Eg: with BMP or CMP?
If anyone knows how to do, please help me or give me the documents I can refer to!
Thanks in advance! -
Hi, I want to search for account balance that is less than $10.00 from my database. My account balance is in 'varchar'.
I try to use the following sql statemennt but it's not working, can anybody tell me the correct sql statement?
String balance="10.00";
SELECT * FROM ACCOUNT WHERE balance < '"+balance+"'Hi, thanks mohan for answering my question. I solve my problem in another way. Bu now , I have problem with the following sql statement, please check for me.
I want to display the account info where the account balance is less than 10.00.
my ACCCOUNT table
account number customer_id admin_id balance interest_rate start_date
123456 1234 1 5.00 3.21 5/11/2001
<%@ page import="java.sql.*"%>
<%try
String url = "jdbc:jrun:sqlserver://127.0.0.1:1433;databaseName=bank";;;
Class.forName("allaire.jrun.jdbc.JRunDriver").newInstance();
Connection conn=
DriverManager.getConnection(url,"sa","bepyng");
String sql = "SELECT customer_id,account_num,balance,start_date,interest_rate FROM ACCOUNT WHERE balance < 10.00";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(sql);
while(rs.next())
String id = rs.getString(1);
%>
<%=id%>
<table width="63%" border="0" align="center" bordercolor="#000000" bgcolor="#FFFFFF">
<tr>
<td>Customer ID</td>
<td><%=rs.getString("customer_id")%></td>
</tr>
<tr>
<td width="42%">Account Number</td>
<td width="58%"><%=rs.getString("account_num")%></td>
</tr>
<tr>
<td>Balance</td>
<td><%=rs.getString("balance")%></td>
</tr>
<tr>
<td>Start Date</td>
<td><%=rs.getDate("start_date")%></td>
</tr>
<tr>
<td>Interest Rate</td>
<td><%=rs.getString("interest_rate")%></td>
</tr>
</table>
<%}
catch(Exception e)
System.out.println("An error occurred while connecting to onlinebanking database!"+e.getMessage());
%>
but I don't get anything, why?
Thanks in advance. -
Hi All,
We use jdev 9i for the apps development.
We are integrating many applications to talk to each other and get the data .
For which we are planning to use web services too.
My question is : Is it possible to call web services from OAF using 9i jdev ?.
Can any body point me to some docs or tech urls to start with knowing these web services from OAF.See this thread in this reference.
Re: calling web service in Oracle Applications...
Avaneesh -
There is one table AA£º
A varchar2(10);--goods name
B number(30);--amount
C date;--date
There are millions of records in the table, now to calculate the top ten good's acount and total amount, could you pls tell me how to do it?
by using
select A,count(A),sum(B) from AA group by A order by sum(B)
it's extermely slow. Could you pls tell me how to optimize it, Thank you very muchNow I understand better your concern. It's about "to use, or not to use" a materialized view for your query.
I listed bellow a basic example of using of a materialized view, reusing the tables from my previous sample. Note that the table "bb" has a MV, while table "bb1" is without MV.
The results are very clear simple, and similar results can be expected for many similar cases. Note that the Oracle manuals warn us about this, but it is using words which are not strong enough.
1. The INSERT is about 20 times slower in the presence of MVs. The usage of many small transactions is probably slower then fewer and larger transactions. Note that the MVs usage increase considerably the duration of locking, affecting negatively the level of concurrency, and increases the storage requirements.
2. The SELECT from your aggregate query is about 15 times faster when using a dedicated MV. But many other other SELECT queries are not made faster by this MV, obviously.
This is the reason for which the MVs are generally not well suited in transactional environments, with a lot of frequent data updates and many different queries, but play a major role in DSS environments. The MVs are still useful in some transactional applications, where long running queries are executed frequently (but your query does not seem to be in this situation).
create table bb0 as select * from bb where rownum <= 1000000;
truncate table bb;
create table bb1 as select * from bb0 where rownum < 1
create materialized view log on bb
with sequence, rowid
(a, b)
including new values;
create materialized view bb_mv
build immediate refresh fast on commit
as (select a, count(*) c, count(*) c1, sum(b) s from bb group by a);
insert into bb
select *
from (select * from bb0 order by b)
where rownum <= 1000000;
1000000 rows inserted
executed in 180.579 seconds <<==
commit;
executed in 123.838 seconds <<==
insert into bb1
select *
from (select * from bb0 order by b)
where rownum <= 1000000;
1000000 rows inserted
executed in 15.182 seconds <<==
commit;
executed in 0.01 seconds
select *
from (select a, c, s from bb_mv order by 3 desc)
where rownum <= 10;
10 rows selected
executed in 0.16 seconds <<==
select *
from (select a, count(a), sum(b) from bb1 group by a order by 3 desc)
where rownum <= 10;
10 rows selected
executed in 2.373 seconds <<== -
Configuring Service Broker between SQL Server 2008 and 2012 on Intranet
Hello, I would need help in configuring Service broker. As both servers are on the intranet, I wanted to remain the most simple so I used no certificates and allowed anonymous access but still, using SSBDiagnose, I can see errors.
I would like to paste here my configuration and my usage of SSBDiagnose, I already asked a question about SSBDiagnose usage but this new question is rather on the usage of certificates and the configuration of SSB, for me to know if I am doing this in the
best possible way.
Reading on the web, I have read in few places that certificates are not mandatory and that Windows Authentication only can be used. Then, I read that even if endpoints don't request certificates, the communication between two servers will still requires
certificates so I am wondering where is the truth...
I have two servers:
EmployeesSvr (SQL Server 2012 Enterprise Edition with Always On, EmployeesSvr is the listener name in front of two virtual servers)
CREATE MESSAGE TYPE [//E/S/ETChanged] VALIDATION = WELL_FORMED_XML
CREATE CONTRACT [//E/S/ECContract] ([//E/S/ETChanged] SENT BY INITIATOR)
CREATE QUEUE [dbo].[ECQueue] WITH STATUS = ON , RETENTION = OFF , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = [dbo].[SSB_ECQueueProc] , MAX_QUEUE_READERS = 1 , EXECUTE AS N'dbo' )
CREATE SERVICE [//E/S/ECService] ON QUEUE [dbo].[ECQueue] ([//E/S/ECContract])
CREATE ROUTE [RouteToSECService] WITH SERVICE_NAME = N'//S/S/ECService' , BROKER_INSTANCE = N'F...' , ADDRESS = N'TCP://SoftwaresSrv.test.com:4022'
CREATE REMOTE SERVICE BINDING [SECServiceBinding] TO SERVICE N'//S/S/ECService' WITH USER = [domain\SvcBrokerTestUser] , ANONYMOUS = ON
CREATE ENDPOINT [ESBEndpoint] STATE=STARTED AS TCP (LISTENER_PORT = 4022, LISTENER_IP = ALL) FOR SERVICE_BROKER (MESSAGE_FORWARDING = DISABLED, MESSAGE_FORWARD_SIZE = 10, AUTHENTICATION = WINDOWS NEGOTIATE, ENCRYPTION = DISABLED)
SoftwaresSvr (SQL Server 2008 R2)
CREATE MESSAGE TYPE [//E/S/ETChanged] VALIDATION = WELL_FORMED_XML
CREATE CONTRACT [//E/S/ECContract] ([//E/S/ETChanged] SENT BY INITIATOR)
CREATE QUEUE [dbo].[ECQueue] WITH STATUS = ON , RETENTION = OFF , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = [dbo].[SSB_ECQueueProc] , MAX_QUEUE_READERS = 1 , EXECUTE AS N'dbo' )
CREATE SERVICE [//S/S/ECService] ON QUEUE [dbo].[ECQueue] ([//E/S/ECContract])
CREATE ROUTE [RouteToECService] WITH SERVICE_NAME = N'//E/S/ECService' , BROKER_INSTANCE = N'2...' , ADDRESS = N'TCP://EmployeesSvr.test.com:4022'
CREATE REMOTE SERVICE BINDING [EECServiceBinding] TO SERVICE N'//E/S/ECService' WITH USER = [domain\SvcBrokerTestUser] , ANONYMOUS = ON
CREATE ENDPOINT [SSBEndpoint] STATE=STARTED AS TCP (LISTENER_PORT = 4022, LISTENER_IP = ALL) FOR SERVICE_BROKER (MESSAGE_FORWARDING = DISABLED, MESSAGE_FORWARD_SIZE = 10, AUTHENTICATION = WINDOWS NEGOTIATE, ENCRYPTION = DISABLED)
My SSBDiagnose command :
ssbdiagnose -E CONFIGURATION
FROM SERVICE //E/S/ECService
-S EmployersSvr
-d EmployersDB
TO SERVICE //S/S/ECService
-S SoftwaresSvr
-d SoftwaresDB
ON CONTRACT //E/S/ECContract
The result :
Microsoft SQL Server 10.50.1600.1
Service Broker Diagnostic Utility
D 29978 EmployersSvr EmployersDB
No valid certificate was found for user domain\SvcBrokerTestUser
D 29977 SoftwaresSvr SoftwaresDB
The user domain\SvcBrokerTestUser from database EmployersDB on EmployersSvr cannot be mapped into this database using certificates
D 29933 SoftwaresSvr SoftwaresDB
The routing address TCP://EmployeesSvr.test.com:4022 for service //E/S/ECService does not match any of the IP addresses for EmployersSvr
An internal exception occurred: An exception occurred while executing a Transact-SQL statement or batch.
Thank you for any help, I am searching for several answers :
Can I use the setup as I defined, with no certificate ? Is it risky ?
Is there too many objects defined ? Is it mandatory to have a Route and a Remote Service Binding ? I don't understand how those two are working togheter...
Is it ok to use the same windows account on each side, do they only need an 'Open' access rigth or do they need to be db_owner ?
Best regards,
ClaudeHi Claude,
1.Can I use the setup as I defined, with no certificate ? Is it risky ?
Service broker does not have to use certificate. The Certificate is necessary when you want to use dialog security, by which you can encrypt all messages sent outside a SQL Server instance.
http://technet.microsoft.com/en-us/library/ms166036(v=SQL.105).aspx
2.Is there too many objects defined ? Is it mandatory to have a Route and a Remote Service Binding ?
Remote Service Binding is used to privde dialog security. If you donnot need the dialog security, the Remote Service Binding is not mandatory.
http://technet.microsoft.com/en-us/library/ms166042(v=SQL.105).aspx
By default, each database contains a route that specifies that messages for any service which does not have an explicit route are delivered within the SQL Server instance. Since you have communications between different instances, creating a route between
them is necessary.
http://technet.microsoft.com/en-us/library/ms166032(v=SQL.105).aspx
3.Is it ok to use the same windows account on each side, do they only need an 'Open' access rigth or do they need to be db_owner ?
The windows account must own the certificate used for authentication. You can find more information below.
http://technet.microsoft.com/en-us/library/ms166045(v=SQL.105).aspx
http://technet.microsoft.com/en-us/library/ms186278(v=sql.105).aspx
Best regards, -
SQL Server Service Broker Updating Stored procedure
how can you update the service broker stored procedure. when i update the stored procedure the changes dont come into affect. i have tried to alter the queue, waited for all jobs to finish, but some how still the old stored procedure is running. is there any
way i can force changes to the stored procedure.
i have tried sql profiler tracing but that didnt show any changes.
I cannot alter the service broker stored procedure, when I update the stored procedure it does not show any error and successfully gets updated but the changes does not come into affect.
Is it because I need to stop the queue of the service broker on both databases before the changes could come into affect?
Note: the service broker stored procedures produce and read xmls.Presumably, this is because the procedure is executing when you alter the procedure. And if the procedure never exits, the old code will keep on running. One way to address this is to have the procedure to return if a new message has not been picked up in,
say, 1000 milliseconds.
Here is a repro to shows what I'm talking about.
------------------------------- Service Broker Objects ------------------------------------------
CREATE MESSAGE TYPE OrderRequest VALIDATION = NONE
CREATE MESSAGE TYPE OrderResponse VALIDATION = NONE
go
CREATE CONTRACT OrderContract
(OrderRequest SENT BY INITIATOR,
OrderResponse SENT BY TARGET)
go
CREATE QUEUE OrderRequests WITH STATUS = OFF
CREATE QUEUE OrderResponses WITH STATUS = ON
go
CREATE SERVICE OrderRequests ON QUEUE OrderRequests (OrderContract)
CREATE SERVICE OrderResponses ON QUEUE OrderResponses (OrderContract)
go
-- Procedure to send a message and receive a response.
CREATE PROCEDURE send_and_get_answer AS
DECLARE @handle uniqueidentifier,
@binary varbinary(MAX)
SELECT @binary = CAST (N'Kilroy was here' AS varbinary(MAX))
BEGIN DIALOG CONVERSATION @handle
FROM SERVICE OrderResponses
TO SERVICE 'OrderRequests'
ON CONTRACT OrderContract
WITH ENCRYPTION = OFF
;SEND ON CONVERSATION @handle
MESSAGE TYPE OrderRequest (@binary)
WAITFOR (RECEIVE TOP (1)
@handle = conversation_handle,
@binary = message_body
FROM OrderResponses)
SELECT cast(@binary AS nvarchar(MAX)) AS response
END CONVERSATION @handle
go
-- Procedure to process a message
CREATE PROCEDURE ProcessOrders AS
SET NOCOUNT, XACT_ABORT ON
DECLARE @DialogHandle uniqueidentifier,
@MessageType sysname,
@binarydata varbinary(MAX)
-- Get next message of the queue.
WAITFOR (
RECEIVE TOP (1) @DialogHandle = conversation_handle,
@MessageType = message_type_name,
@binarydata = message_body
FROM OrderRequests
SELECT @binarydata = CAST( reverse( CAST( @binarydata AS nvarchar(MAX) )) AS varbinary(MAX))
; SEND ON CONVERSATION @DialogHandle
MESSAGE TYPE OrderResponse (@binarydata)
END CONVERSATION @DialogHandle
go
-- Make this an activaton procedure.
ALTER QUEUE OrderRequests WITH
STATUS = ON,
ACTIVATION (STATUS = ON,
PROCEDURE_NAME = ProcessOrders,
MAX_QUEUE_READERS = 1,
EXECUTE AS OWNER)
go
-------------------------------- Send a message -------------------------------------------
EXEC send_and_get_answer
go
------------------------ Change the procedure --------------------------------
ALTER PROCEDURE ProcessOrders AS
SET NOCOUNT, XACT_ABORT ON
DECLARE @DialogHandle uniqueidentifier,
@MessageType sysname,
@binarydata varbinary(MAX)
-- Get next message of the queue.
WAITFOR (
RECEIVE TOP (1) @DialogHandle = conversation_handle,
@MessageType = message_type_name,
@binarydata = message_body
FROM OrderRequests
SELECT @binarydata = CAST( upper( CAST( @binarydata AS nvarchar(MAX) )) AS varbinary(MAX))
; SEND ON CONVERSATION @DialogHandle
MESSAGE TYPE OrderResponse (@binarydata)
END CONVERSATION @DialogHandle
go
-------------------------------- Send new message -------------------------------------------
EXEC send_and_get_answer -- Still produces a message in reverse.
EXEC send_and_get_answer -- Now we get the expected result.
go
DROP SERVICE OrderRequests
DROP SERVICE OrderResponses
DROP QUEUE OrderRequests
DROP QUEUE OrderResponses
DROP PROCEDURE ProcessOrders
DROP PROCEDURE send_and_get_answer
DROP CONTRACT OrderContract
DROP MESSAGE TYPE OrderRequest
DROP MESSAGE TYPE OrderResponse
go
Erland Sommarskog, SQL Server MVP, [email protected] -
How to use Service Broker, where and when we gonna use it.
Hi all,
I have task to implement SQL service broker for some insert statement, am bit confused where i start and how to implement like it may in Database or Server side(ASP.Net- c#), some where.
What the main advantage of using SQL Service broker?
Thanks,
Jai.There is more than one place where Service Broker fits in. Generally, one can say that Service Broker permits you to implement things asynchronously. For instance, when a row is updated in a table a mail should be sent to someone. Rather than having a trigger
that sends the mail on the spot, the trigger could post a message on a Service Broker queue. Then there could be an activation procedure which reacts to this message and composes and sends the mail. This activation can be in the same database - but it can
also be on a completely different server which does not even have a direct connection to the actual server.
Activation can also be external. That is, there is an application that polls the queue, and again this could be on an other server, and when there is a message in the queue the application processes it.
Roger Wolter's book is an excellent introduction to Service Broker:
http://www.amazon.com/Rational-Server-Service-Broker-Guides/dp/1932577270/ref=sr_1_1?ie=UTF8&qid=1420025225&sr=8-1&keywords=Roger+Wolter+service+broker
Also, don't overlook Remus Rusanu's blog, which is an excellent resource for development patterns with Service Broker:
http://rusanu.com/?s=service+broker
Both Roger and Remus worked on the development of Service Broker, so they know what they are talking about.
Erland Sommarskog, SQL Server MVP, [email protected] -
Can service broker work between SQL Server 2008 and 2012, ssbdiagnose returned an error !
Hello,
We have a setup of three applications that sends and receive messages using Service Broker.
One part is on a server, we'll call 'S' have Microsoft SQL Server 2008 (SP3) - 10.0.5512.0 (X64)
The other part, we'll call 'E' use to have Microsoft SQL Server 2008 (SP3) - 10.0.5512.0 (X64).
But I am migrating these apps to a new server, we'll call 'C' that has: Microsoft SQL Server 2012 (SP1) - 11.0.3339.0 (X64)
I have used this command line tool to test it :
ssbdiagnose -E CONFIGURATION FROM SERVICE "//E/S/CService" -S "ServerC" -d EDatabase TO SERVICE "//S/S/ECService" -S ServerS -d SDatabase ON CONTRACT //E/S/ECContact
It returned:
An internal exception occurred: Cannot read property ServiceBrokerGuid.
This property is not available on SQL Server 7.0.
So, I am wondering, is it supposed to work between these two versions ?
As more info, in the previous setup, it was using certificates but I have changed the Endpoints to use only Windows Authentication.
Thanks for any advice.
ClaudeHello,
Many thanks to you and Fanny for looking at my question.
In fact I was unclear, please let me provide you with more details.
Maybe the use of "always on" plays a role here... I will use different names so it might be clearer...
ServerSoftware2008 server has SoftwareDB database.
ServerEmployees2008 server has EmployeesDB database.
Service broker use to work fine between those two above, with certificates.
The new server comes in, two virtual servers with SQL Server 2012 Enterprise Edition with Always On.
I call it ServerEmployeesC but this is the listener. Behind, there is ServerEmployees2012_A and ServerEmployees2012_B and of course, both have a EmployeesDB database.
So, to use SSBDiagnose, I wonder if I need to use quotes around values and if I can use the listener name with FQDN. Concerning the use of instance name in the syntax, there is only one instance per server, is it best practice to use it on the command
line ?
Here is again, my command :
ssbdiagnose -E CONFIGURATION FROM SERVICE "//E/S/E" -S "ServerEmployeesC.sub.acme.com" -d EmployeesDB TO SERVICE "//S/S/E" -S "ServerSoftware2008.sub.acme.com" -d SoftwareDB ON CONTRACT //E/S/E
Again, many thanks for any help you will be able to provide, the people who configured this application at first are no longer here and I am trying to configure the new server in a task of migrating to SQL Server 2012 for one of the two servers involved
and I am having a lot of problems doing it.
Best regards,
Claude -
Hi All,
I have requirement to implement SQL server service broker in SQL server 2008, please guide me for that, how and why we use for that, then have any other option to achieve.
Please give any good stuff to learn service broker.
Thanks,
Jai.This is a very good book to learn about Service Broker:
http://www.amazon.com/Rational-Server-Service-Broker-Guides/dp/1932577270/ref=sr_1_1?ie=UTF8&qid=1418942042&sr=8-1&keywords=%22roger+wolter%22+%22service+broker%22&pebp=1418942044114
In difference from many other computer books, this is not a brick, but only 220 pages.
Also, Remus Rusanu's blog covers many important concepts with Service Broker:
http://rusanu.com/?s=service+broker
Erland Sommarskog, SQL Server MVP, [email protected] -
Need help about using sqlplus_exec_template.sql
I tried to use sqlplus_exec_template.sql to execute our deployed mapping. At dos prompt I typed :
C:\>sqlplus username/[email protected] @C:\OWB\owb\rtp\sql\sqlplus_exec_template.sql
rtschema localhost SQL_LOADER CRD_APPL_MAPPING SKIP=0,LOAD=0,LOG_FILE
NAME=cvcpmapl.log,DIRECT=true,PARALLEL=false,ERRORS=50,ROWS=200,READSIZE=65536,BINDSIZ E=50000,AUDIT=true,PURGEGROUP=wb,target_store_uoid=F0E49963A42E4DB6AFF
85FFF8E05AB9E
SQL*Plus: Release 9.2.0.1.0 - Production on Fri May 16 18:32:25 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Session altered.
Role set.
Stage 1: Decoding Parameters
| location_name=localhost:1521:odb
| task_type=SQL_LOADER
| task_name=CRD_APPL_MAPPING
Stage 2: Opening Task
declare
ERROR at line 1:
ORA-20001: Task not found - Please check the Task Type, Name and Location are
correct.
ORA-06512: at line 261
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
=================================================
I am quite sure the task name and task type is correct. The task name is same as the one I saw in runtime repository schema -> table WB_RT_TASKS -> column TASK_NAME
, but I am very doubt about what should be the correct input for LOCATION, system parameter and custom parameter.
Can anyone give some help about where could I find the correct input for those parameter?
Thx in advance.
Rds
CHI 've tried to use :
sqlplus username/[email protected] @C:\OWB\owb\rtp\sql\sqlplus_exec_template.sql
rtschema OWBLOCATION SQL_LOADER CRD_APPL_MAPPING "," ","
where OWBLOCATION I have used the deploy location of the mapping for my case, created within OWB. The value is CCS_DEPLOY.
But the error is the same :
======================================================
Stage 1: Decoding Parameters
| location_name=CCS_DEPLOY
| task_type=SQL_LOADER
| task_name=CRD_APPL_MAPPING
Stage 2: Opening Task
declare
ERROR at line 1:
ORA-20001: Task not found - Please check the Task Type, Name and Location are
correct.
ORA-06512: at line 261
========================================================
could you tell me the SQL used by WB_RT_API to get the task from runtime schema. So that I could check the correct location myself.
Or how could I view the pl/sql of WB_RT_API_EXEC which is wrapped.
Thx for your help.
Rg.
CH -
Alert: SQL Server Service Broker or Database Mirroring Transport stopped
Hi Team,
I got this error message even no one DB configured as mirroring ???
Alert: SQL Server Service Broker or Database Mirroring Transport stopped Priority: 0 Severity: 2 Resolution state: New
Alert description: The Database Mirroring protocol transport has stopped listening for connections.Can you check the rule. By default the configurations are disabled state that is the reason you are getting the alert.
If it's not configured properly then you might need to override it
--Prashanth
Maybe you are looking for
-
How to burn/convert VIDEO_TS from Mac The Ripper??
Ok, I just used MacTheRipper to rip a DVD with Video_Ts and Audio_TS folders. Now my question is, how can I convert these into a disk-image, or how can I now burn this to a DVD? Thanks in advance
-
Adding more than one video effect
I have a short clip that I want to give both the "aged film" look to as well as make it black and white. Both these effects are available under Window > Clip Adjustments, but I can't figure out if it's possible to use both at the same time. Anyone kn
-
I recently bought a dvd that had a digital copy to transfer onto my iphone. iv tarnsfered it and its in my itunes library but when i sync my iphone i cant find it on the phone to watch.
-
Sort() function used in HashMap, ArrayList or Collections?
I need some testing codes for similar function like sort() for HashMap, Arraylist or Collection objects. Thanks in advance for help!
-
Typing A or Q makes my 5s flash black
This only happens in SMS in the landscape mode. It was fine up until the upgrade to iOS7.1. It won't accept either the q or a keys. Has anyone else experienced this? It is super frustrating. Thanks