Problem in setting Composite Instance Index in SOA 11G
In SOA 11G the setIndex() xpath function is not working . But It was working in 10G.
If I use this setIndex function in BPEL Java Embedding , in audit trails the function is executed. But If I see the result by querying the DEV_SOAINFRA.COMPOSITE_INSTANCE table INDEX1 column it is empty. No values is inserted into this INDEX columns.
Can anyone please give a solution to set the composite instance index in SOA 11G ?
Thanks in Advance
1. setIndex() Xpath function in SOA 11G is working .
2. syntax : setIndex(1,'anyValue');
3. To view the index value for the instance created , query "DEV_SOAINFRA.CI_INDEXES" table.
Edited by: saba on Dec 6, 2011 6:22 AM
Similar Messages
-
Problem with setting item instances on a tabuler form
I have a tabular form (6i) with a control block that displays 10 (non-database) records at a time. In cases where less than 10 records are displayed, I want to (programmatically) prevent the user from entering any values in the unpopulated text item instances but still be able to enter values in the populated instances. Anyone have any ideas?
Thanks,
JeffFriends--
Below is some updated code. I initially have set the insert_allowed property at the block and item level to "NO" in the property palette for the text items in this block. The number of records displayed is set to 10. The below code runs fine and populates the tabular items in the block and changes the visual attribute in the populated items to blue as designed. However, the insert_allowed is not changed for the populated item instances-- or even the unpopulated item instances for that matter. I set the insert_allowed property to "NO" at the block and item levels initially so that if the cursor populates fewer than 10 rows in the instances, the remaining unpopulated instances will not be insertable-- only the populated ones will be insertable. I am nearly at my wits end with this...ha ha. Let me know what you all think.
DECLARE
v_col varchar2(255);
v_owner varchar2(255);
v_schema varchar2(255) := :ctl2.v_owner;
v_table varchar2(255) := :ctl2.v_table_name;
v_val varchar2(1) default 0;
x int;
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := :System.Cursor_Block;
Cursor matrix_cursor IS
Select column_name
From all_tab_columns
Where owner = upper(v_schema) and
table_name = upper(v_table);
BEGIN
FIRST_RECORD;
go_block('ctl');
clear_block;
OPEN matrix_cursor;
LOOP
FETCH matrix_cursor into v_col;
EXIT when matrix_cursor%notfound;
BEGIN /* loops thorugh the items in the block instance changing the visual attribute and insert_allowed properties... */
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||'.'||cur_itm;
Set_Item_Instance_Property( cur_itm, CURRENT_RECORD,
VISUAL_ATTRIBUTE,'visual_blue');
set_block_property('ctl', insert_allowed, property_true);
set_item_instance_property(cur_itm, current_record,
insert_allowed, property_true);
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP; -- ends inner loop
END;
-- populates the fields for each record...
:ctl.v_field_name := v_col;
:ctl.v_pos_01 := v_val;
:ctl.v_pos_02 := v_val;
NEXT_RECORD;
END LOOP; -- ends outer loop
CLOSE matrix_cursor;
first_record;
End; -
Problem executing migrated BPEL process in Oracle SOA 11g
Hi,
I have migrated a 10g BPEL process to 11g successfully and deployed it. But while trying to invoke the BPEL, I am getting this error while invoking the bpel:
Non Recoverable System Fault :
Error committing transaction:; nested exception is: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: ORA-12899: value too large for column "DEV1_SOAINFRA"."CUBE_INSTANCE"."TITLE" (actual: 1718, maximum: 100) Error Code: 12899 Call: INSERT INTO CUBE_INSTANCE (CIKEY, PARENT_REF_ID, AG_ROOT_ID, TEST_RUN_ID, COMPOSITE_LABEL, STATE, CONVERSATION_ID, EXT_STRING1, SCOPE_USIZE, MODIFY_DATE, STAGE, AT_COUNT_ID, CREATOR, ECID, PARENT_ID, TITLE, PRIORITY, TEST_SUITE, TEST_CASE, METADATA, SCOPE_CSIZE, COMPOSITE_NAME, STATUS, ROOT_ID, DOMAIN_NAME, CMPST_ID, OUTCOME, EXT_INT1, AG_MILESTONE_PATH, COMPONENTTYPE, PROCESS_TYPE, MODIFIER, CREATION_DATE, AT_DETAIL_ID, COMPONENT_NAME, SCOPE_REVISION, EXT_STRING2, AT_EVENT_ID, COMPOSITE_REVISION, TEST_RUN_NAME, CACHE_VERSION) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [10092, null, null, null, soa_f21825b0-dcd6-47c2-8bf0-da63e26a53ea, 5, urn:uuid:b194c638-d9b3-4680-a10f-068c9a1eaa01, null, 415, 2010-06-23 12:38:26.406, null, 0, null, 0000I_ZcdIR95il_Kt9Die1C8BKX00009a, null, Instance #10092 of ProcessOrder GIFBDC IG-GetOrder Order 98347594357 Always 100shij 2009-08-03T16:16:17.390Z 321354564 processCancelBRMOrder Commit 1 2010061001 2010-05-01 VIN2010061001 Address1 CityName CountrySub 456123 US 101 true 12345 0 0 wang chen 1 1 1 1 1 1 Sales_Channel 123 PricePlan 156 2010-05-01 true 101 , 0, null, null, null, 256, ProcessOrder, Log_Fault, null, default, 10006, null, 0, null, bpel, 0, null, 2010-06-23 12:38:06.812, 0, ProcessOrder, 1, null, 0, 1.0, null, null] Query: InsertObjectQuery(com.collaxa.cube.persistence.dto.CubeInstance@1830602)
IS there any problem with the configuration of database? I am using XE for storing the metadata.
Please provide the solution for the issue.
Thanks in advance.Yes it is having a receive activity , it receives the cXML from Ariba Adaapter. I checked the adapter it is up.
I generated the jar and deployed through BPEL console still i get the same error.
I got the below error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log. -
Get Realm form Jdeveloper using Soa 11g PS3
Hi
I've a problem with jdeveloper authentication with a Oracle SOA 11g PS3.
I've successfully installed the DemoSeed Community into the server, i've checked into "secutiry realm->myrealm->users and groups" and i found all the seed users.
During the developing of a simple BPM composite with a Human Task, i try to edit the Roles tab into the Organization function and ad a new role "Productor" but when i've tried to associate Members to this new role jdeveloper does not show any realm or any user form the "Identity Lookup" pop-up window.
I've checked the server log and found an exception referenced to this case, the exception was:
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:
{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet
Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet
Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port: {http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
I've configured 2 different application server connection, one to the admin server and one to the managed server, but both of them gave me that error.
During my searches for an answer i've found a Oracle Documentation PDF which reports a SOAP endpoint for this IdentityService (the url of the soap endpoint is http://hostname:port/integration/services/IdentityService/configuration?WSDL ) but when i invoked it using the IdentityConfigServicePort and the operation "getConfiguration" i got this error:
<env:Fault xmlns:owspe="http://schemas.oracle.com/ws/policy-enforcement-2007-06">
<faultcode>owspe:PolicyAccess</faultcode>
<faultstring>PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI "oracle/no_authentication_service_policy" could not be retrieved. </faultstring>
<faultactor/>
</env:Fault>
I've searched this policy all over the web but i wasn't able to find any clue to solve my problem
Thanks in advice
StefanoHi Stefano,
Is this an upgraded instance of PS3?
I'd check the installation steps again. See http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm
Specifically:
3.8.5.3 Run soa-upgrade.py to Update the Policy Store and Deploy a Shared Library
3.8.9 Adding New OWSM Pre-Defined Policies
Nathan -
Get Realm Jdeveloper Soa 11g PS3
Hi
I've a problem with jdeveloper authentication with a Oracle SOA 11g PS3.
I've successfully installed the DemoSeed Community into the server, i've checked into "secutiry realm->myrealm->users and groups" and i found all the seed users.
During the developing of a simple BPM composite with a Human Task, i try to edit the Roles tab into the Organization function and ad a new role "Productor" but when i've tried to associate Members to this new role jdeveloper does not show any realm or any user form the "Identity Lookup" pop-up window.
I've checked the server log and found an exception referenced to this case, the exception was:
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:
{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet
Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port:{http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid:WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04086> <oracle.fabric.common.PolicyEnforcementException: PolicySet
Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved.
at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:128)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:235)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:155)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:230)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
<Feb 22, 2011 11:55:07 AM CET> <Error> <oracle.webservices.service>
<OWS-04115> <An error occurred for port: {http://xmlns.oracle.com/bpel/services/IdentityService}IdentityConfigServicePort:
oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI
"oracle/no_authentication_service_policy" could not be retrieved. .>
I've configured 2 different application server connection, one to the admin server and one to the managed server, but both of them gave me that error.
During my searches for an answer i've found a Oracle Documentation PDF which reports a SOAP endpoint for this IdentityService (the url of the soap endpoint is http://hostname:port/integration/services/IdentityService/configuration?WSDL ) but when i invoked it using the IdentityConfigServicePort and the operation "getConfiguration" i got this error:
<env:Fault xmlns:owspe="http://schemas.oracle.com/ws/policy-enforcement-2007-06">
<faultcode>owspe:PolicyAccess</faultcode>
<faultstring>PolicySet Invalid: WSM-06102 PolicyReference The policy referenced by URI "oracle/no_authentication_service_policy" could not be retrieved. </faultstring>
<faultactor/>
</env:Fault>
I've searched this policy all over the web but i wasn't able to find any clue to solve my problem
Thanks in advice
StefanoStefano,
You may have better luck asking on one of the SOA Suite forums.
Best,
John -
I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off". I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
Can somebody advice.
ThanksCan you please confirm me the following steps...
Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
Make sure your setting for that composite is not Off, keep inherit or production or development.
Thanks,
N -
Problem in setting default index in Tree Control
hi all,
i am using flex2.0 final release and in my application i am
calling custom function in cretionComplete event
which set the default index in Tree control...but its not
working properly in final flex meanwhile this same thing i am using
in flex beta3 ...at that time its working properly but the problem
occur only in migration time so can any body tell me what happaning
here...
code....//here MailFolderLists is id of tree control
[Bindable]
public var XLC:XML;
public function initList(event:Event) : void
if(mx.utils.ObjectUtil.toString(event.target.lastResult).indexOf("NOK")==-1)
XLC = event.target.lastResult;
if(MailFolderLists.selectedIndex==-1) //its working
MailFolderLists.selectedIndex=0; // its not working
so plz give me solution aasp..
thanks in advancethanks buddy
ur suggestion work ....
one more thing i want to know if u have any idea related to
Tree.expandItem method it will work fine in beta3 but same prob not
work perfectly in final flex.....
i am using
MailFolderLists.expandItem(MailFolderLists.selectedItem,
true);
but not work every time i want the tree in expan position
every when i add and new node/folder into it..
so give me suggestion if u have any idea...
thanks -
Where does OEM store information about SOA composite instances
Hi All,
I am posting this query the third time here. I really and urgently need information on where this OEM 12c Cloud Control stores the information about the SOA composite instances like.. if the instances is completed, running,faulted,terminated in the management repository or it does not store these information at all. But then from where it fetches the information on faulted instances which it shows on a SOA composite home page in OEM console.
I really need some concepts on this.
Please help!!
Thanks in Advance!!This forum is answered on a best effort basis. For time sensitive urgent issues, please log a service request with Oracle Support.
-
Error while monitoring SOA Composite Instances
Hi,
I extended the domain to include the OSB. But since then when I try to monitor the Composite in FMW Console, I get the following error...
**Error retrieving the composite instances. Please view the log file for details.
Not sure if this is related to my extending the domain but any assistance regarding this would be a great help.
Thanks.Hi,
Can you post the error from the log file?
Is it happen to all of the composites in the EM?
It might happen because of an endpoint url is not ava'. Did you try to restart WL?
Arik -
BPM Worklist Problem After Setting Frontend Host and Port
Hi all,
I was following the EDG for SOA 11.1.1.5 and was encountering a problem with the BPM Worklist after setting the Frontend Host and Port. We have a topology that includes a load balancer that terminates SSL, two OHS instances, and two SOA instances on separate VMs. When BPM Worklist was loading, it was calling webservices internally through the load balancer, but WebLogic was expecting them as http://. It was not able to resolve the HTTPS port that was being sent from the load balancer through the 80 to 443 redirect.
What the current EDG does not tell you, is that you have to also turn on "Enable Weblogic Plug-In" for WebLogic to use the OHS plug-in. I did it at the domain level, as all traffic will go through the load balancer. This essentially tells WebLogic that all URLs are https://
Here is an exerpt from the SOA.out log file:
<Sep 8, 2011 9:32:06 PM PDT> <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<.> Service error.
Internal Error; Service error occurs in IdentityService in method lookupUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
ORABPEL-10585
Service error.
Internal Error; Service error occurs in IdentityService in method lookupUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
Caused By: javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
What it is also missing, is that you should also set the SOA Infrastructure ServerURL mbean for the load balancer, to match the frontend host and port. Do this through Fusion Middleware Contol. Otherwise, you could encounter URL mismatches.
I hope this helps someone else.
I've asked Oracle to add this to the EDG for SOA. It's in the IDM guide, but not in any other EDGs.Thanks Josh. It helped me infact in 11.1.1.4 Enable Weblogic Plug-In is not required. But 11.1.1.5 I thing it is mandatory. Oracle should have a clear documentaion.
-
When i try to view the FlowTrace i'm getting the following exception in EM
Unable to display Flowtrace due to exception while initializing object, please review logs for detailed information.
>> Exception occured while retrieving the Flowtrace XML for the Composite Instance; ECID: 0000JzmIFk95EgPquci8UH1HtzlR0000HC
>> java.rmi.UnmarshalException: Problem finding error class; nested exception is:
>>> java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
>>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
>>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
>>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
>>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:79)
>>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:28)
>>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:124)
>>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
>>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
>>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:164)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
>>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
>>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
>>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
>>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
>>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
>>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
>>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>>> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
>>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
>>> at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
>>> at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
>>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
>>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>>> Caused by: java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
>>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:208)
>>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
>>> at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:305)
>>> at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:436)
>>> at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:268)
>>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
>>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>> at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
>>> at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
>>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:235)
>>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
>>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
>>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
>>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:80)
>>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:29)
>>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:125)
>>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
>>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:131)
>>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:102)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:869)
>>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
>>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:552)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
>>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:276)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:77)
>>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
>>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
>>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:166)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
>>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
>>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
>>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
>>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
>>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
>>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
>>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
>>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
>>> ... 9 moreHi Manish,
It seems that you are using a custom security provider and the weblogic server is not able to find the class / jar file that contains the class.
java.lang.ClassNotFoundException: Failed to load class com.msl.security.providers.SessionPrincipal]
Make sure you have all the required jar files in the server classpath.
You can use the JarScan utility to find the jar that contains the class.
Refer the below link regarding the jarScan.
http://weblogic-wonders.com/weblogic/2011/01/26/finding-jar-files-using-jarscan/
Regards,
Anandraj
http://weblogic-wonders.com -
SOA 11g Bundled EM - search instances with wildcard?
Hello~
My apologies if this isn't the right place for this post... it's on a bit of a grey line between SOA and EM.
Anyway, in the EM that comes bundled with SOA Suite 11g, under:Farm > SOA > soa-infra > [partition name] > [composite name] > Instances (tab) the user can search the audit trail entries for instance details that are still in the database.
My question is, if I am searching by Name (which is a field that can be set by calling setInstanceTitle() in a Mediator/BPEL object), is it possible to do that search with a wildcard?
I've tried: myquery% and myquery* but neither give the expected results (all instances with a Name that starts with "myquery").
Thanks in advance for your feedback,
- NathanHi, Damien~
Thanks for the feedback. I'll go ahead and mark your answer correct and the question as answered.
...though, if Oracle happens to be listening, it seems to me that the ability to search instances from EM using wildcards would be a great feature to add to SOA 11g.
- Nathan -
Migration of older version of composite instances to newer version
hi,
i need to migrate the older version of composite instances to new version.
i have deployed a BPEL process to version 1.0 and i have some running instancs in that version
now i have redeployed the same process to another version 1.1. is it possible to migrate the 1.0 instances to 1.1 in oracle SOA 11g?
the problem is, when i redeploy the process to the same version, the process state is getting stale which should not happen
can you pleasae tell to prevent the state going stale on redploy (or)
migration of that instance to new instance version
thanks in advance. expecting a solution at the earliestthanks,
if so,
i have an humantask activity in the process. in revision 1.0 , i have some instances which are running. it is exposed as a service which other services consume.
now, if i redploy to the same revision, the state goes stale, so that we could not act on stale human tasks which should not happen
what should i do in this case if i am unable to migrate to the revision?
pleasse help.. -
Button in Bex Analyser 7.0 - problem with setting up Static Parameters
Hello,
I know a similar problem has been discussed here already, but I am still having problems with setting up Static Parameters of my Button in BEx Analyser 7.0, so that I can pass Variable values from that button to my query.
This is what I do - in Static Parameters of my Button I set the following values:
Name Index Value
DATA_PROVIDER 0 DP_1
CMD 0 PROCESS_VARIABLES
SUBCMD 0 VAR_SUBMIT
VAR_NAME 0 0RMA_FIP
VAR_VALUE 0 004/2010
As a result, I would like the value 004/2010 to be passed to variable 0RMA_FIP (which is mandatory) and the query to be executed with that value. For some reason, however, the value is not passed correctly, and instead the variable is filled with a blank or not filled at all, and I am getting a message "Specifiy value for variable Fiscal year/period". What do I do wrong?
Just to give you a broader picture - I would like to later use this logic to pass more than one variables into a query, including a hierarchy node, and read the values from an Excel worksheet - however, after many attempts to do so, I started playing with just one variable to figure out what the problem was.
I have already seen the following two threads and SAP notes on passing variable values from the button:
Re: Button in BEx Analyzer 7.0
Re: How to set variables values via VBA.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
Can anyone please advise?
Cheers,
ALI managed to figure it out myself!
Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
I will mark this thread as "answered". -
Strange problem while building a secondary index.
Hi,
I have a strange problem in creating a secondary index which is a part of primary data.
I tested my program and a working sample program
My data scheme looks like:
Key = unique string
Data = structure {
time_t timestamp;
Secondary Key = timestamp in data (NOT unique)
My BDB environment flags is "DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL | DB_THREAD"
The primary DB is created as BTREE with a custom key compare function provided by calling DB->set_bt_compare.
int my_key_compare(DB *db, const DBT *key1, const DBT *key2)
const char *k1_v = (const char *)key1->data;
const char *k2_v = (const char *)key2->data;
return strcmp(k1_v, k2_v);
The secondary Index DB is created as BTREE while permitting duplication. (DB_DUPSORT)
It has two custom callback functions; one for data compare, the other for extracting a data from the primary data.
int my_extract_timestamp(DB *db, const DBT *primary_key, const DBT *primary_data, DBT *secdondary_key)
secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
secondary_key->size = sizeof(time_t);
return 0;
int my_secondary_dup_compare(DB *db, const DBT *key1, const DBT *key2)
time_t k1_v = *(time_t *)key1->data;
time_t k2_v = *(time_t *)key2->data;
return k1_v - k2_v;
The function 'my_extract_timestamp' is set by calling DB->associate().
My problem is 'my_secondary_dup_compare' function called with a strange DBT values.
I think the values should point to the value provided from my_extract_timestamp(), but they pointed to
the key which provided when calling DB->put on the primary DB.
Could somebody help me ?
Any help highly appreciated.Hi,
In the secondary database, the key is what you extract and the data is the key of the primary database. As your primary key is a unique string, your data in secondary database is also a unique string. The DB->set_dup_compare sets the comparison function for the duplicate data, so you are comparing time stamps on unique strings, not on what you extract.
As you are comparing the time stamps which are the keys of secondary database, I guess here you want to set the bt_compare function instead of the dup_compare for the secondary database.
Also, about this sentence:
secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
The DBT.data should be an address, but this is a value here instead of an address.
Regards,
Winter, Oracle Berkeley DB
Maybe you are looking for
-
Firefox stops responding and causes Windows to stop responding also
Sorry if this is vague; I just wrote a very, very detailed post on my issues but then the site decided that I didn't have permission to post it and erased everything. My problem is that Firefox freezes and causes Windows to freeze for a while also. a
-
Think this is a good, one... Here is the story: Some apps will crash, that always happens, right? So I did not pay much attention to it until it was way too often. Learned about disk utility, repaired permissions on a regular basis and moved on. But
-
I am using Windows Vista. My itunes launched fine until now. Now I get an error - "The Itunes application could not be opened. The required folder cannot be found". I have no idea what file it is looking for. Has anyone seen this error? I have
-
At the time of go-live, how to adjust the stock in the bins which match- -
Hello, Materials are already distributed in to the bins physically where SAP WH mgt not implemented. When we implement the SAP/(at the time of go-live),we have following issues When we go live, then how to adjust the stock in the system as per actual
-
How to set selected row in alv display?
Hi, How do I select some particular row in alv - say at first display i want to highlight 4th row. How can i do that? Thanks, Sheel