Oracle BPEL: Query with IN statement
Hi,
I would like to know how does BPEL pass in multiple values in a query statement.
For eg, select * from table1 where column1 in ('A','B','C')
I've tried creating a variable with 'A','B','C' and pass to the query statement but the DB takes it as a single string.
I've found a solution here with a quite complex query --> Dynamic SQL query in DB Adapter
I would like to ask if BPEL has a more efficient or native way to do this?
Thank you.
Hi,
There is no simple solution to this as by default whatever goes in the IN clause is interpreted as STRING. However, this complex query breaks down your input string into a sort of result set that gets fed to the Adapter at runtime and it works. Follow this for more details and let us know how you get along.
http://neeraj-soa-tips.blogspot.co.uk/2012/05/multiple-in-parameters-in-db-adapter.html
http://neeraj-soa-tips.blogspot.co.uk/2011/07/pass-multiple-parameters-dynamic-query.html
Regards,
Neeraj Sehgal
Similar Messages
-
Select Query with Like statement
Hi every one,
My requirement is, user will enter part of the employee name.I need to search the employees whose name contains the word entered by the user.For that I have used the following query.Functionality wise,It is working fine.But its taking more time.Please kindly advise me how can I improve the performance.
concatenate '%' user_input '%' into v_user_inp_pattern .
Select emp_name from <Database table> into table <internal table> where emp_name like v_user_inp_pattern.
Thanks,
SelvaHi Selva,
if that is your only where condition...
Select emp_name from <Database table> into table <internal table> where emp_name like v_user_inp_pattern.
depending on db... and indexes you have to do one of this 4 options:
a big range scan (with client, if the table is client dependent) -> expensive
a full table scan
a full index scan
a fast full index scan
the last one would probably be the fastest... and only possible if you are
running on ORACLE and your index contains emp_name.
If you could change your wild card to:
concatenate user_input '%' into v_user_inp_pattern .
it would be different... and faster solutions would become possible.
Kind regards,
Hermann
However all options have to touch ALL records... (in index blocks and or table blocks) -
Hello, I have this problem,
I use php for read data from oracle table,
all works right, I have any problem whith varchar number type data, but when I must read geometry data like
(type MDSYS.SDO_GEOMETRY)
I can't display it on the web page.
esemple of spatial query that I use:
select GEOMETRY_1
from table_a
where
ID = 970;
If I use sql plus I have this result
SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1), SDO_ORDINATE_ARRAY(1, -0, -
0, 580094, 4998494, -1))
but blank page when I use php sentence.
I use PHP Version 4.4.0
modules load are:
extension=php_sdo.dll
extension=php_oci8.dll
But I don't know which other module I need and also which php function to use for read array of array. at the moment I use @OCIFetchInto.
Someone can help me?
My English is very bad please reply easy.
Thanks for all!
AngeloThank you very much CJ.
Now there isn't any problems: you and this link (Re: PHP and spatial data and Adamo Bozzetti helped me
I have used SDO_UTIL.GETVERTICES
my complete php script is:
$conn = @OCILogon("xxxxxx", "xxxxx", "xxxxx") or die
( "Non riesco a connettermi al server $host ");
$query = "select
TABLE_A.tipo_via,
TABLE_A.nome_via,
c.codice_via,
t.X,
t.Y
from TABLE B c, TABLE_A , TABLE(SDO_UTIL.GETVERTICES(c.geometry1)) t
where c.codice_via = 830
and c.codice_via = TABLE_A.id_via
$istruzione = @OCIParse($conn, $query);
@OCIExecute($istruzione);
$nrows = @OCIFetchInto($istruzione, $results);
$trovati = 0;
while(@OCIFetchInto($istruzione, $results))
$trovati++;
?>
<table border width="800" >
<tr>
<td align="center" width="80" bgcolor ="#aaffee"><?echo trim($results[0]);?></td>
<td align="center" width="150" bgcolor ="#eeffee"><?echo trim($results[1]);?></td>
<td align="center" width="50" bgcolor ="#eeffee"><?echo trim($results[2]);?></td>
<td align="center" width="50" bgcolor ="#eeffee"><?echo trim($results[3]);?></td>
<td align="center" width="50" bgcolor ="#eeffee"><?echo trim($results[4]);?></td>
</tr>
</table>
<?
} //fine While
@OCIFreeStatement($istruzione);
@OCILogOff($conn); -
ORACLE SQL Query with Parent and Child structure
I have 2 tables which are Account tbl and Customer tbl, the structure is like below:
Account tbl
Customer_ID Account_ID Parent_Account_ID
3780952 3780952 3780952
3780997 3780997 3780997
3781004 3781004 3780997
Customer tbl (Customer_Group have different value, but im only interest on Personal)
Customer_ID Customer_Group
3781004 Personal
3780997 Personal
3780952 PersonalThe rule to determine PS/NonPS, Principle, Supp as per below:
**PS/NonPs**
Customer_ID equal to Parent_Account and Parent_Account is unique (not exist more than 1) then NonPs.
Customer_ID equal to Parent_Account and Parent_Account is non unique OR - Customer_ID is not equal to Parent_Account then PS
**Principle** IF NonPS then Principle is Null IF PS - If Customer_ID equal to Parent_Account then Principle is Y else N
**Supp** IF NonPS then Supp is Null IF PS - If Customer_ID not equal to Parent_Account then supp is Y else N The final output should be like this
Customer_ID Account_ID Parent_Account_ID PS/NonPS Principle Supp
3780952 3780952 3780952 NonPS Null Null
3780997 3780997 3780997 PS Y N
3781004 3781004 3780997 PS N Y I alredy tried many times but still cant get the output..anyone can help ?hi,
i hope this is what you want , this query matches all of your mentioned requirements .
WITH accounts AS
(SELECT 3780952 AS customer_id, 3780952 AS account_id,
3780952 AS parent_account_id
FROM DUAL
UNION ALL
SELECT 3780997 AS customer_id, 3780997 AS account_id,
3780997 AS parent_account_id
FROM DUAL
UNION ALL
SELECT 3781004 AS customer_id, 3781004 AS account_id,
3780997 AS parent_account_id
FROM DUAL),
customer AS
(SELECT 3781004 AS customer_id, 'Personal' AS customer_group
FROM DUAL
UNION ALL
SELECT 3780997 AS customer_id, 'Personal' AS customer_group
FROM DUAL
UNION ALL
SELECT 3780952 AS customer_id, 'Personal' AS customer_group
FROM DUAL)
SELECT customer_id, account_id, parent_account_id, "PS/NonPS",
CASE
WHEN "PS/NonPS" = 'NonPS'
THEN NULL
WHEN customer_id = parent_account_id
THEN 'Y'
WHEN customer_id <> parent_account_id
THEN 'N'
END principle,
CASE
WHEN "PS/NonPS" = 'NonPS'
THEN NULL
WHEN "PS/NonPS" = 'PS' AND customer_id <> parent_account_id
THEN 'Y'
WHEN "PS/NonPS" = 'PS' AND customer_id = parent_account_id
THEN 'N'
END SUM
FROM (SELECT t1.customer_id, t1.account_id, t1.parent_account_id,
CASE
WHEN t1.customer_id = t1.parent_account_id
AND (SELECT COUNT (*)
FROM accounts
WHERE parent_account_id = t1.parent_account_id) = 1
THEN 'NonPS'
ELSE 'PS'
END "PS/NonPS"
FROM accounts t1, customer t2
WHERE t1.customer_id = t2.customer_id
ORDER BY t1.customer_id)
output
CUSTOMER_ID ACCOUNT_ID PARENT_ACCOUNT_ID PS/NonPS PRINCIPLE SUM
3780952 3780952 3780952 NonPS
3780997 3780997 3780997 PS Y N
3781004 3781004 3780997 PS N YThanks,
P Prakash
Edited by: prakash on Jan 17, 2012 3:38 AM -
Oracle BPEL Designer with JDev
Can I suggest that the JDev BPEL designer checks for process name validity BEFORE all other error checking?
Otherwise, a poor developer might find that their entire project is unusable because they've introduced a period in the project name...
Still, it's not like I'm not used to restarting projects over and over again because one little change breaks the entire project...
bah.
Ahem. Thanks.dansp,
thank you for the feedback, and yes we have changed this for 10.1.3.1 (being beta soon)
reg. clemens -
Oracle sql query with data aggregation
Hi,
I need help to aggregate sql result as given below
Result what I get :
Project Id | Project Name | Employee ID | Task Count
1 :::::::::::| Project01 ::::::| 254 :::::::::::::| 20
1 :::::::::::| Project01 ::::::| 266 :::::::::::::| 32
1 :::::::::::| Project01 ::::::| 654 :::::::::::::| 12
2 :::::::::::| Project02 ::::::| 741 :::::::::::::| 54
2 :::::::::::| Project02 ::::::| 266 :::::::::::::| 31
3 :::::::::::| Project03 ::::::| 877 :::::::::::::| 8
3 :::::::::::| Project03 ::::::| 955 :::::::::::::| 19
Result should come like this :
Project Id | Project Name | Employee ID | Task Count
1 :::::::::::| Project01 ::::::| 254 :::::::::::::| 20
::::::::::::::| ::::::::::::::::::::| 266 :::::::::::::| 32
::::::::::::::| ::::::::::::::::::::| 654 :::::::::::::| 12
2 :::::::::::| Project02 ::::::| 741 :::::::::::::| 54
::::::::::::::| ::::::::::::::::::::| 266 :::::::::::::| 31
3 :::::::::::| Project03 ::::::| 877 :::::::::::::| 8
::::::::::::::| ::::::::::::::::::::| 955 :::::::::::::| 19
I need to know whether this is possible using only sql and how to do ? (Please ignore the colons)
Thanksplease learn how to use tags
[code]
Project Id | Project Name | Employee ID | Task Count
1 | Project01 | 254 | 20
| | 266 | 32
| | 654 | 12
2 | Project02 | 741 | 54
| | 266 | 31
3 | Project03 | 877 | 8
| | 955 | 19
[/code] -
Can't login Oracle BPEL console
Oracle BPEL PM shows 2 errors:
1、<2009-03-05 15:20:35,383> <ERROR> <default.collaxa.cube.engine> <DomainObserverRegistry::load> Failed to locate observer class oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager
2、<2009-03-05 14:59:24,836> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://pce-01:9700
then i can't login Oracle BPEL console with domain "default" and default pwd "bpel".
How can i solve this problem and login BPEL console ?For the errors :
Oracle BPEL PM shows 2 errors:
1、<2009-03-05 15:20:35,383> <ERROR> <default.collaxa.cube.engine> <DomainObserverRegistry::load> Failed to locate observer class oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager
2、<2009-03-05 14:59:24,836> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://pce-01:9700
You may be having a have a DNS entry issue:
http://pce-01:9700/BPELConsole
Change on your workstation the hosts file; c\windows\system32\drivers\etc\hosts
add the entry
127.0.0.1 pce-01.<fully quaified domain name>
127.0.0.1 pce-01
Restart the SOA Suite.
Also, regarding the BPEL Console login, generally by default its welcome1, unless you have given a different password at the time of installation when running the irca.sh scripts to create orabpel/oraesb/orawsm schemas.(for SOA Adv install). However, in SOA Basic install, they get installed in olite db, so welcome1 is generally the default password.
Hope this helps!
Regards
Anirudh Pucha -
Configuring BPEL PM with Oracle XE database
Hi,
I have been using my BPEL PM with default olite db quite a days ago and it was running fine. Now I have changed the dehydration to Oracle XE database and chnaged the corresponding data-source.xml files.
I can access the default domain from BPEL console and I can see the processes.
But I am getting the error when am creating an instance of the process and also I am not able to login to the worklist application.
The error I got is shown below.
<2005-12-26 12:38:57,375> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cu
be delivery": Cannot fetch a datasource connection.
The process domain was unable to establish a connection with the datasource with the connection URL "loc/BPELServerDat
aSource". The exception reported is: Cannot fetch a datasource connection.
The process domain was unable to establish a connection with the datasource with the connection URL "loc/BPELServerDat
aSource". The exception reported is: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
152.69.213.27:1521:xe
Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that th
e datasource connection parameters (user/password) is currently valid.
Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that th
e datasource connection parameters (user/password) is currently valid.
<2005-12-26 12:38:57,515> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to hand
le dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeI
nstanceMessage"; the exception is: Cannot fetch a datasource connection.
The process domain was unable to establish a connection with the datasource with the connection URL "loc/BPELServerDataSource". The exception reported is: Cannot fetch a datasource connection.
The process domain was unable to establish a connection with the datasource with the connection URL "loc/BPELServerDataSource". The exception reported is: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
152.69.213.27:1521:xe
Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that th
e datasource connection parameters (user/password) is currently valid.
Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that th
e datasource connection parameters (user/password) is currently valid.
Waiting for any idea to solve this issue.
Thanks in advance
AkiSimilar problems, in my case I was trying out the DatabaseServer on an Oracle XE database using the Embedded OC4J A/S bundled with RC3; this combination turns out explosive :)
The service was simply doing a select statement and the number of connections kept growing and growing during my tests; you can see them from the command line when typing `netstat -t` - eventually it just stopped working while I was testing; in the web service it reported:
ORA-12519, TNS:no appropriate service handler found
But my listner was running !!! I tried the connection from JDS and it complained about the same thing - then eventually I tried it from sqlplus and it showed:
ORA-00020: maximum number of processes (%s) exceeded
So now finally we're getting somewhere - after googling I found this web site; a good laugh:
http://it.newinstance.it/2007/06/01/ora-12519-tnsno-appropriate-service-handler-found/
So basically I did from the command line the following:
lsnrctl stop;
sqlplus "/as sysdba"
shutdown immediate;
startup;
alter system set processes=150 scope=spfile;
shutdown immediate;
startup;
lsnrctl start;
Now hopefully this will solve it; I'd still like to know how to change the OC4J connection pool settings for the SOA stuff - is this possible at all or does it have some kind of minimum requirement ?
After restarting and testing a few times; my service is actually working so I'm very pleased :)
Regards -
Error message when listing activities with Oracle BPEL Control and Java API
I'm implementing some BPEL processes in an Oracle Application server 10.1.3.3 environment.
I use the Oracle BPEL Process Manager Client Java API to access some BPEL instances but when I want to list their activities with IInstanceHandle.listActivities() (I've tested the IInstanceHandle and it contains an open process instance) I receive the following error message:
"Activity error:ORABPEL-04003 Cannot find work items. An attempt to fetch the work items using the where condition "cikey = ? AND ( wi_state = 1 OR wi_state = 2 OR wi_state = 3 ) " from the datastore has failed. The exception reported is: [ODBC S1002] invalid column number Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid. sql statement: SELECT * FROM admin_list_wi WHERE ci_domain_ref = 0 AND cikey = ? AND ( wi_state = 1 OR wi_state = 2 OR wi_state = 3 )"
When I try to use the BPEL control to list the activities I also receive an error, which I think is related:
"[javax.servlet.ServletException]
Cannot find work items.
An attempt to fetch the work items using the where condition "" from the datastore has failed. The exception reported is: [ODBC S1002] invalid column number
Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
sql statement: SELECT * FROM admin_list_wi WHERE ci_domain_ref = 0 ORDER BY wi_modify_date desc"
Has anyone found a solution to this error? There are a couple of developers in our team that has the same problem and also have a similar problem when trying to purge instances from the BPEL control. The problem started when we patched to 10.1.3.3.When you upgraded to 10.1.3.3 did you run the SQL scripts that modified the SOA suite schemas?
SOA_ORACLE_HOME/bpel/system/database/scripts/upgrade_10131_10133_oracle.sql
cheers
James -
Strange results with Insert statement having select query
Hi all,
I am facing a strange issue with Insert statement based on a select query having multiple joins.
DB- Oracle 10g
Following is the layout of my query -
Insert into Table X
Select distinct Col1, Col2, Col3, Col4, Function(Col 5) from Table A, B
where trunc(updated_date) > = trunc(sysdate-3)
and join conditions for A, B
Union
Select Col1, Col2, Col3, Col4, Function(Col 5) from Table C, D
trunc(updated_date) > = trunc(sysdate-3)
and join conditions for C, D
Union
.... till 4 unions. all tables are residing in the local Database and not having records more than 50,000.
If I execute above insert in a DBMS job, it results into suppose 50 records where as if I execute the select query it gives 56 records.
We observed following things-
a) no issue with size of tablespace
b) no error while inserting
c) since query takes lot of time so we have not used Cursor and PLSQL block for inserting.
d) this discrepancy in number of records happens frequently but not everytime.
e) examined the records left out from the insert, there we couldn't find any specific pattern.
f) there is no constraint on the table X in which we are trying to insert. Also tables A, B, C....
I went through this thread -SQL insert with select statement having strange results but mainly users are having either DB Links or comparison of literal dates, in my case there is none.
Can somebody explain why is the discrepancy and what is the solution for it.
Or atleast some pointers how to proceed with the analysis.
Edited by: Pramod Verma on Mar 5, 2013 4:59 AM
Updated query and added more details>
Since I am using Trunc() in the where clause so timing should not matter much. Also I manually ruled out records which were updated after the job run.
>
The first rule of troubleshooting is to not let your personal opinion get in the way of finding out what is wrong.
Actually this code, and the process it represents, is the most likely CAUSE of the problem.
>
where trunc(updated_date) > = trunc(sysdate-3)
>
You CANNOT reliably use columns like UPDATED_DATE to select records for processing. Your process is flawed.
The value of that column is NOT the date/time that the data was actually committed; it is the date/time that the row was populated.
If you insert a row into a table right now, using SYSDATE (8am on 3/5/2013) and don't commit that row until April your process will NEVER see that 3/5/2013 date until April.
Here is the more typical scenario that I see all the time.
1. Data is inserted/updated all day long on 3/4/2013.
2. A column, for example UPDATED_DATE is given a value of SYSDATE (3/4/2013) in a query or by a trigger on the table.
3. The insert/update query takes place at 11:55 PM - so the SYSDATE values are for THE DAY THE QUERY BEGAN
4. The data pull begins at 12:05 am (on 3/5/2013 - just after midnight)
5. The transaction is COMMITTED at 12:10 AM (on 3/5/2013); 5 minutes after the data pull began.
That data extract in step 4 will NEVER see those records! They DO NOT EXIST when the data pull query is executed since they haven't been committed.
Even worse, the next nights data pull will not see them either! That is because the next pull will pull data for 3/5/2013 but those records have a date of 3/4/2013. They will never get processed.
>
Job timing is 4am and 10pm EST
>
Another wrinkle is when data is inserted/updated from different timezones and the UPDATED_DATE value is from the CLIENT pc or server. Then you can get even more data missed since the client dates may be hours different than the server date used for the data pull process.
DO NOT try to use UPDATED_DATE type columns to do delta extraction or you can have this issue. -
Create Lead with Oracle BPEL process using Siebel CRMOD web service
I'm trying to create a lead in the siebel OD (hosted) with a oracle BPEL process and using the siebel web service (2.0). In my bpel process I've been able to
1. Login to OD and get a session id
2. create the partner link using Siebel OD (version 2.0) wsdl for Lead
3. Assign the session id to the partner link
4. Assign the inputs (lastname, firstname, leadowner, viewMode=Personal, lovLanguageMode=LDC) to lead
5. Call the leadInsert operation on the partner link
However, when I deploy and execute the bpel process it breaks after calling the leadInsert with the following error message:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
</part><part name="summary"><summary>The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</summary>
</part><part name="detail"><detail><detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:logfilename xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">OnDemandServicesObjMgr_enu_138636.log</siebelf:logfilename>
<siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:error xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:errorcode xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">(SBL-DAT-00494)</siebelf:errorcode>
<siebelf:errorsymbol xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
<siebelf:errormsg xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</detail>
</part></remoteFault>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any feedback as to what I'm doing worng woull be greatly appreciated.
Thanks,
--manojHi,
We are also using BPEL to send data out to SIEBEL CRMOD.
I've created a proxy that deals with authentication and session management.
All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
Code is here:
http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
Regards,
Fred. -
Linking Access tables, creating a query with using both Access and Oracle
Hello,
I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
I will appreciate if you guys help me. I look forward to hearing from you guys.
Thanks,
PinarPinar,
to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
And there's also a dedicated Forum: Heterogeneous Connectivity -
How to install Oracle BPEL Process Manager with the BEA WebLogic
Hi ,
I will install Oracle BPEL Process Manager with BEA WebLogic 9.2(MP2). I have download orabpel_10133_WebLogic.zip ,then Modify the following mandatory installation properties in the orabpel_10133_WebLogic\bpelDomain.properties file:
# BEA_HOME is the path where Weblogic is Installed
BEA_HOME=/opt/bea
# JAVA_HOME is the path of jdk folder inside your weblogic
JAVA_HOME=/opt/bea/jrockit90_150_10
# DOMAIN_HOME is the path where you wish to create your domain called BPELDomain
DOMAIN_HOME=/opt/bea/user_projects/domains
# APPS_HOME is the path where you wish to copy your applications and adapters that are required for oracleBPELServer
APPS_HOME=/opt/bea/user_projects/apps
# BEA_HOME is the path where BPEL PM is Installed
BPEL_HOME=/home/oracle/bpel/product/10.1.3.1/OraBPEL_1/bpel
# DRIVER_TYPE is the datasource class that installable use to create a datasources for oracleBPELServer
DRIVER_TYPE=oracle.jdbc.xa.client.OracleXADataSource
# DB_URL is the url to connect to orabpel schema
DB_URL=jdbc:oracle:thin:@16.157.134.17:1521:orcl
# DB_USER is the user Id for orabpel shema in database
DB_USER=ORABPEL
#DB_PASSWORD is the password for orabpel schema in database
DB_PASSWORD=bpel
#BPEL_SERVER_NAME is the server i.e. to be created under BPELDomain
BPEL_SERVER_NAME=oracleBPELServer
#PROXY_HOST is the Host name of the proxy server
PROXY_HOST=www-proxy.us.oracle.com
#PROXY_HOST=
#PROXY_PORT is the Port where the proxy server is running
PROXY_PORT=80
#PROXY_PORT=
#NON_PROXY_HOST is the list of non proxy hosts that are divided by a | symbol
#NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com
NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com|16.157.134.135
When I run the setup.sh , it will report
BUILD FAILED
/opt/software/WL_Installables/build.xml:131: Traceback (innermost last):
File "./wl_scripts/bpelDomain.py", line 22, in ?
File "./wl_scripts/createGroupsAndUsers.py", line 4, in ?
weblogic.management.utils.AlreadyExistsException: [Security:090267]Group BpelGroup
Actully ,there is no BpelGroup in Weblogic. Does anybody know how to solve it ?MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
#!/bin/sh
unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
unset CLASSPATH JAVA_HOME
export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
export BEA_HOME=/appl/oracle/products/9.2/weblogic
Marc
http://orasoa.blogspot.com -
Problem with Versions - where can I Download Oracle BPEL PM 10.1.3
Dear Experts,
I have to develop my Oracle BPEL Process in JDeveloper 10.1.3 & I couldn't see corresponding Oracle BPEL PM server 10.1.3 instead I am having 10.1.3.1. Is it right way of use. Or please suggest me from where I can download Oracle BPEL PM 10.1.3.0 or 10.1.3.
Note: Strictly my requirement is to develop bpel process with 10.1.3 standards.
Thanks,
RajeshHi Rajesh,
We understand your requirement abut BPEL 10.1.3 standards. For this you can either download a BPEL standalone or 10.1.3.1.0 SOA Suite from http://www.oracle.com/technology/products/ias/bpel/index.html.
Please note that SOA 10.1.3.1.0 is the base release where you have al the required BPEL standards you are looking for. Then, you might want to upgrade to 10.1.3.4 patchset and download the 10.1.3.4 JDeveloper to develop your BPEL processes.
Regards
A -
Query in Insert statement with JDBC Rx adapter
Hi,
This is a FILE to JDBC scenario.
My target datatype is like this with sample payload values
statement_s
statement_s
action='INSERT"
access
A=1234
B=1002
key
A=1234
B ="10%"
compareOperation= LIKE
A(1..1) is primary key in DB and B(0..1) colunm is an optional one.
I want to know if such kind of Insert query with(LIKE operator) is possible.
Please reply me ASAP.
Edited by: ram pranav on Feb 18, 2009 10:28 PMHi Ram,
IN case of "UPDATE_INSERT", you can use the KEY tag in your structure. Also you can provide LIKE as an attribute to the KEY element as follows :
<key1>
<col4 compareOperation=u201DLIKEu201D>val%</col4>
</key1>
But when you are trying to insert the data_, the <key> tags will be ignored and only <access> will be considered._
action=UPDATE_INSERT
The statement has the same format as for the UPDATE action. Initially, the same action is executed as for UPDATE. If no update to the database table can be made for this action (the condition does not apply to any table entry), values of the table described in the <access> element are inserted in accordance with the description of the action INSERT. <key> elements are ignored in this case.
The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:
Go through the link I have provided earlier.
Thanks,
Pooja Pandey
Maybe you are looking for
-
I am fairly new to Macs as a whole except the iphone. Recently bought an Apple TV and a Mac mini. Having real difficulties using Airplay when watching movies over to the Apple TV. They freeze, are jumpy ect,ect. We have a Thomson wireless modem from
-
Need MM flow and MM document Flow
Hi all, can anybody tell me whats the mm fliow and also i need whats the document flow for each Order in MM, and also i need MM Document flow . please can any body help me, regards, dhanush
-
FBS1 and RFBIBL00 Flat File Creation
Hello All, I am creating a file for processing by RFBIBL00 I am using the data structures that are supposed to be used by the program to consume the file created. They are: data: lv_session TYPE BGR00, - Session Var lv_hdr TYPE BBKPF,
-
What is causing my stalled UPD processes?
We have been experiencing an occasional situation where all of our UPD processes go to sleep for long periods of time creating rather horrible response time for the end-users. SM13 UPDATE RECORDS shows a growing list of items waiting for those UPD p
-
Ukrainian language instatllation in ECC 5 (Unicode system)
Hi, I need to install Ukrainian language in ECC 5, this is Unicode system. I have simulated and activated Ukrainian language in the RSCPINST report. but still in the SMLT the Ukrainian language is not there............. Any body can suggest how to pr