Facing issues with JCA DB Adapter

Hi,
I have to create a DB Adapter in BPEL on Reporting Database of OSB.
I have a requirement to extract DATA_VALUE from WLI_QS_REPORT_DATA Table stored in BLOB datatype by passing parameters in WLI_QS_REPORT_ATTRIBUTE with a join condition of a common unique ID (MSG_GUID) in both tables.
This DB Adapter files will be imported in OSB to generate Biz Service, which will perform this function.
I have followed all steps as mentioned in this blog :
http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-different-more-integrated-approach/
My query looks like this :
SELECT t0.MSG_GUID, XMLTYPE(t0.DATA_VALUE,nls_charset_id('AL32UTF8')) FROM osb_infra.WLI_QS_REPORT_DATA t0
LEFT OUTER JOIN osb_infra.WLI_QS_REPORT_ATTRIBUTE t1
ON (t0.MSG_GUID = t1.MSG_GUID)
WHERE t1.DB_TIMESTAMP >= ADD_MONTHS(SYSDATE,-1)
AND t1.DB_TIMESTAMP < SYSDATE AND
t1.INBOUND_SERVICE_NAME =#serviceName
AND (SUBSTR(t1.MSG_LABELS,22,10) =#keyValue OR SUBSTR(t1.MSG_LABELS,18,10)=#keyValue)
AND t1.STATE='REQUEST'
This query runs fine when run independently on DB. but gives no response when used in DB adapter generated Biz Service, while testing in OSB Test Console.
I have done trials for this tool by modifying query as following.
1.     Query on 1 table : Report Attribute – Success
2.     Query on 1 table : Report data – Success but no XML data
3.     Query on both tables with ServiceName Hardcoded – Failure
4.     Query on both tables with keyValue hardcoded – Failure
5.     Query on both tables with both params hardcoded – Failure
6.     Query on both tables without XML data, selecting MSG_GUID only - Failure
All the above queries give desired outputs with XML message converted as well when run independently on SQL woksheet.
1.     Query on multiple tables
2.     Fetching of data in XML format as response into OSB pipeline.
I am still trying hard to somehow get data from DATA Table with providing MSG_GUID as parameter, but no progress.
The query I used here is :
SELECT XMLTYPE(DATA_VALUE,nls_charset_id('AL32UTF8')).getClobVal FROM osb_infra.WLI_QS_REPORT_DATA
WHERE MSG_GUID = 'uuid:b2bf9a6e66ba73f5:-7d5e4cfc:13deecde95d:5434'
This query runs fine in SQL Worksheet of JDeveloper with no issue and also extracts XML out of BLOB data.
But no success in getting it inside OSB pipelines.
Output in OSB for dataValue is : <dataValue xsi:nil = "true"/>
Please guide on this.
Thanks
Cheena Malhotra

Are you sure your JAVA_HOME is set correctly? Usually it installs as jdk1.6.0_41 not jdk1.6.0-41. It's an underscore not a dash and there is usually no space between jdk and the version number. I'm basing this on my experience with Unix, Windows may be different.

Similar Messages

  • Issue with Receiver SOAP adapter for synchronous scenario

    Hello All,
    We are facing a strange issue with the SOAP adapter in the interface we have setup. This is the 1st time we are using SOAP adapter in our system (PI 7.11 SP7). We are making a synchronous HTTP call to the web service exposed by another system in our landscape. The payload is send with SOAP envelope and there are no credentials to be maintained in PI settings.
    The issue is that we are always getting timeout exception in PI audit logs after sending the request (3 minutes - standard timeout value, no additional config for this). But target system has confirmed that they are sending the response back. We tested from our server OS level and have received the response back in the same screen (to verify there is no firewall/port issue in between the systems). But when tried from RWB, it is always giving the timeout exception and we are not able to see any other log.
    We have tried checking in the NWA logs as well after increasing the logging level to ALL for com.sap.aii.adapter.soap. But surprisingly, we didn't get any logs at all for the outgoing SOAP call or incoming response and hence we are unable to trace the issue.
    We have setup another synchronous inbound SOAP interface (PI exposing the webservice) and it is working fine. We are also able to trace the logs in both audit log and NWA logs.
    Is there anywhere else we can check for the logs? Audit logs is showing timeout error and we are not able to see anything in NWA logs.
    Does the target system need to maintain PI credentials in the header when they send the synchronous response back?
    Are there any specific settings which should be checked to enable the sync communication? (this should not be the case since the inbound interface is working fine)
    Please help.
    Thanks
    Justin

    Hi Amit,
    Thanks for the reply.
    Yes we had tested successfully via SOAP UI as well (forgot to mention that). We are getting back the expected response in SOAP UI without using any credentials. We got the same response when we tested it through OS commands from PI server.
    The WS is hosted by the target system and they haven't maintained any credentials at their end. So when PI is trying to access, we don't need to provide any credentials. My question is, whether the target system should keep any credentials to send the synchronous response back to PI (java stack). We have tried that as well but since there aren't any logs, we are unable to verify whether the credentials are coming correctly.
    The service interfaces are correct and PI configuration are OK. I will try the XPI inspector for logs as you have suggested.
    Thanks
    Justin

  • Issue with JMS inbound Adapter  and Asynchronous BPEL

    Hi Gurus,
    I am facing the below issue with JMS inbound Adapter and Asynchronous BPEL .
    I have 2 JMS Queues one inbound and one outbound . The Composite has multiple BPEL Components around 4 on an average and i have 4 composites similar to that .
    Totally 4 Composites * 4 BPEL Components = 16 Services
    Propoesd Solution :
    I have used MessageSelector in the JMS Adapter for selecting the incoming message. The BPEL gets invoked if the message selector is true and proceses the Message and writes the response to the other Queue.
    Initially i had no problems but intermittantly the BPEL processes are getting invoked but they are not processing the data ( Bpel process is supposed to invoke an external service and get the response in a sync call) and each BPEL processe instance is in running state for ever . This remains even if i restart the servers .
    The message gets read by the JMS Adapter , BPEL instace gets created but it wont proceed futher and remains in the runnign state for ever.
    If i redeploy the Composite then messages get processed but the issue creeps up again ( i tried to checl the logs but ino cluea about the issue .
    Getting frustrated day by day tried the bpel.config.transaction, increased the JMS Adapter threads , inreased the worker threads but all in vein..
    please let me know if any one has faced similar issue .
    Anticipating a quick response from the gurus.
    Lakshmi.

    We are also facing this issue in 11.1.1.5.
    Breifly the issue is : The BPEL process which polls an inbound JMSAdater ( consume_message) either stays in running state forever ( whatever we do) or go to the recovery queue. It doesnt recover even if i try to recover it. This happens intermittently. Redeploying the application / restarting servers sometime solve the issue but as know we cant do that on prod systems .
    Can some one look into this on priority and help us giving a solution/workaround.

  • I am facing issues with my music on my iOS device. I have five devices connected to my apple id. And out of which a Windows Machine and iPhone is not able to sync the purchased songs on the the Windows machine and the iPhone.

    I am facing issues with my music on my iOS device. I have five devices connected to my apple id. And out of which a Windows Machine and iPhone is not able to sync the purchased songs on the the Windows machine and the iPhone. The iPhone4 shows the songs are not supported and on the Windows Machine the songs do not play completely. Can anyone advice what could have gone wrong ? Because rest of the devices are synced to MacBook and they are able to sync the content normally.  I have even subscribed to iTunes Match but the problem is still not fixed.

    Firstly...  a little Clarity...
    Devices refer to iDevices... iPod... iPhone... iPad. ..   Not Computers.
    Authoriation applies ONLY to Computers... of which there is a Limit of 5 per Apple ID.
    If the issue is with iTunes on your Windows Computer... Perhaps you need to Re-install iTunes...
    See Here... to Uninstall and Re-Install iTunes...
    http://www.apple.com/support/itunes/install/

  • Problem with JCA compliant adapter in XI

    Hi
    I have problem with JCA compliant adapter in XI (SP15).
    Adapter works in PCK but doesn't work in XI (periodically).
    Sometimes messages delivered with successful status but
    very often after send message i have following message in
    Message Display Tool (Detail Display):
    Engine All
    Status System Error
    Repeatable Yes
    Cancelable Yes
    Start 29.03.2006 17:26:57
    End 29.03.2006 17:26:57
    Quality of Service Exactly Once
    Error Category XICACHE
    Error Code COMMUNICATION

    Increase the trace level of AFW components to "info" with the Log Configurator J2EE service using VisualAdmin.
    When the error happens again, crawl into the most recent DefaultTrace, either by opening the file or by using the more confortable NetWeaver Administrator log viewer (defaulttrace), reachable via browser at http://xiboxhostname:5<sysnr>00/nwa
    Good luck.
    Alex

  • Facing issues with oracle client installation 32 bit 10.2.0.1

    Hi ,
    I am facing issues with oracle client installation 32 bit 10.2.0.1
    Windows 2008 R2 enterprise edition 64 bit
    Java 1.6 update 34
    Below is the error recieved:
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
    Function=[Unknown.]
    Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
      at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
      at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
      at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
      at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
      at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
      at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
      at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
      at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
    Dynamic libraries:
    0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
    0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
    0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
    0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
    0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
    0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
    0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
    0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
    0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
    0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
    0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
    0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
    0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
    0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
    0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
    0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
    0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
    0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
    0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
    0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
    0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
    0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
    0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
    0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
    0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
    0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
    0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
    0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
    0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
    0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
    0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
    0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
    0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
    0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
    0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
    0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
    0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
    0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
    0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
    0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
    0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
    0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
    0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
    0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
    0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
    0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
    0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
    0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
    0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
    0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
    0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
    0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
    0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
    0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
    0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
    0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
    0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
    0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
    0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
    0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
    0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
    0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
    0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
      eden space 640K,  13% used [0x10010000, 0x10026448, 0x100b0000)
      from space 64K,   2% used [0x100c0000, 0x100c07a8, 0x100d0000)
      to   space 64K,   0% used [0x100b0000, 0x100b0000, 0x100c0000)
    tenured generation   total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
       the space 8436K,  67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
    compacting perm gen  total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
       the space 12288K,  98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
    Local Time = Thu Aug 22 14:42:03 2013
    Elapsed Time = 40
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    Thanks

    10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
    Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
    http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
    HTH
    Srini

  • Is anyone facing issues with the iphone5 camera

    Is anyone facing issues with the iphone5 camera

    Demo wrote:
    Posting the details takes all of the fun out of guessing, and I feel like I have been guessing for two days now. Must be an epidemic.
    Sorry to go OT.
    Does seem to be a bit of an epidemic of posters thinkng we are all John Edwards clones

  • OSB Error in deploying a project with jca file adapter

    Hi,
    I am facing an issue where I am getting an error when deploying a service from Eclipse. I am using OSB/SOA 11.1.1.5 2 node cluster. I have an OSB service where I am writing to a file and am using file adapater. I created a composite with file adapter to write a file then imported .jac, .wsdl and composite into eclipse and generated a business service out of .jca file. When I deploy the project from eclipse I am getting the below error and am not able to deploy the project.
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    I have FileAdapter deployed and pointed to OSB manage servers cluster. Here is a snippet of config.xml.
    <app-deployment>
        <name>FileAdapter</name>
        <target>SOA_Cluster,OSB_Cluster</target>
        <module-type>rar</module-type>
        <source-path>/app/oracle/fmw/Oracle_SOA1/soa/connectors/FileAdapter.rar</source-path>
        <deployment-order>321</deployment-order>
        <plan-dir xsi:nil="true"></plan-dir>
        <plan-path>/app/oracle/shared/SOA_Cluster/dp/FileAdapterPlan.xml</plan-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
    Also inside console -> deployments  -> FileAdapter -> Targets and OSB_Cluster is checked also.
    Here is the .jca file
    <adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/HAFileAdapter"/>
      <endpoint-interaction portType="Write_ptt" operation="Write">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
          <property name="PhysicalDirectory" value="C:\ORACLE"/>
          <property name="Append" value="false"/>
          <property name="FileNamingConvention" value="a_%SEQ%.doc"/>
          <property name="NumberMessages" value="1"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Any idea what might be wrong.
    Thanks.

    I already have the fileAdapter JNDI is already configured in console. The error I am getting is during the deployment
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Thanks

  • Issues with Seeburger FTP adapter

    Can one of you with Seeburger FTP adapter experience share some information on these issues I'm facing
    1. Do I need to setup resource management in Seeburger workbench. If so, do I need to configure, resource, server and reservations. Do you have more information and what parameters I need here.
    2. In the Seebuger FTP adapter, I have
    Module Key - exit
    Parameter Name - JNDIName
    Paramter Valu - deployedAdapters/SeeXIFTP/shareable/SeeXIFTP
    JNDIName, should I be replacing this with some other name. I'm trying to get Seeburger FTP to work and in the messaging monitor, I see the message as passed to Module Processor but it does go anywhere from there.
    Can one you throw some light on this subject...what to expect from this definition.
    Thank you for all your replies,
    Parimala

    I'm resending this since I did not have any luck with it the first time.
    We also have an oss note waiting to be responded on this subject.
    When I send messages using Seebuger FTP adapter, I see the following information in the SAP message monitor -
    "Message entered module processor exit bean and will be transferred to JCA adapter".
    But does not get to IBM VAN mailbox. How do I trace from this point onwards.
    Should I use Seeburger monitoring tool for this? If so, I don't see anything in Seeburger monitoring (used all criteria).
    Please let me know if you have any information on this subject.
    Thanks,
    Parimala

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • Issues with signal input adaptive filtering, it won't filter the added noise from the input waveform

    Hello,
    I have an issue with my adaptive noise cancellation program. Essentially I want to input a custom wav add noise to it and then filter the noise away in order to gain the custom wav again.
    While doing so I want to read the learning curve and read the adaptive coefficients. Unfortunately I have an issue when it comes to the filtering of the custom wav+noise. It won't filter the signal at all.
    It would be helpful if someone could have a look at it and possibly help me out.
    Thanks!
    Attachments:
    Testing.vi ‏59 KB

    Hey Jan,
    Thanks for the reply. I am currently using the Adaptive Filter Toolkit in order to obtain those VIs. The VIs which are in use are the LMS Adaptive Filter ones. 
    I figured there might be an error with the input of the array. This VI requires a DBL Array but it seems like it can not process it. 
    The "Get Wavefirn Components" works better now but I still have an issue with a time. I put a 9s wav file in but it only computes it in a very short time and I can not play the file while it is computing.
    I added the modified program to the attachments. 
    This program is ought to read a waveform file add noise to it and then use an adaptive filter in order to get the orginal waveform back again and if possible either store or play the final waveform. 
    Thanks for your help.
    Attachments:
    Testing.vi ‏62 KB

  • IExpenses-12.1.3 Facing Issue with 2 custom text fields on the standard OAF

    Dear All,
    We are facing problem where custom text fields on standard OAF page does not retain their values when we traverse back-forth on the OAF page.
    Here is the exact issue details
    1) We added 2 text fields(Attribute5 and Attribute6) through personalization on Mileage Line Details Screen(standard OAF page) of iExpenses 12.1.3.
    2) And business requirement is whenever user enters values into these fields, difference of these values is populated in third field which is standard field on that page.
    Issue
    When user enters values into above 2 fields, difference is calculated correctly however once he clicks on return page and comes back again on the detail page
    then all the standard fields retain their values but 2 custom fields have blank value.
    Is there any issue with personalization? or any other issue? Please suggest.
    Thanks,
    Mahesh

    Thanks Pratap for checking
    There is button named as "Calculate Amount" on the line details page so it is happening in below 2 scenario
    1) When User enters values in 2 fields and clicks on Calculate Amount Button then values get disappeared from custom fields
    2) When user clicks on return button, go to main page and clicks on detail button ( to come back on same line) then all the standard fields have valuece and custom one's disappeared.
    Thanks,
    Mahesh

  • Issue with HAL essbase adapter

    Hi Experts
    I have an issue with HAL,I got the below error when I tried to use essbase adapter, the HAL version is 7
    java.Lang.NoClassDefFoundError
    I know this is known error ...most of the forums are telling this is error related to Environment Variables...but I dont know how to fix as I am unaware of this....java..... classes..bla bla bla..
    I installed HAL in c drive, Can anyone help me ...how to fix this issue....
    Thank You
    M.S

    Go to control panel->system->system properties->advance->environmental variables. You should have something like this "C:\Program Files\Vignette\V7\vbis\Hyperion\EssbaseAdapter" in your classpath variable. Check you installation on your "C:\" drive to get the correct path. Hope this helps.

  • Facing issue with concurrent use of session

    Hi All,
       We are facing concurrent use of session.save call in our LDAP sycn up process. Issue we got while performing performance test for multiple user and issue is at com.day.crx.security.ldap.LDAPUserSync.performUpdate api. Please guide me what could be wrong missing in code due to this Out of box service is showing error.
    Below are logs:
    02.01.2013 14:32:07 WARN SessionState: Attempt to perform session.save() while another thread is concurrently writing to session-system-1. Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session. (SessionState.java, line 149)
    java.lang.Exception: Stack trace of concurrent access to session-system-1
    at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:147)
    at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:355)
    at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:758)
    at com.day.crx.security.ldap.LDAPUserSync.performUpdate(LDAPUserSync.java:230)
    at com.day.crx.security.ldap.LDAPUserSync.syncUser(LDAPUserSync.java:178)
    at com.day.crx.security.ldap.LDAPLoginModule.commit(LDAPLoginModule.java:266)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    Regards,
    Yogesh

    Hey Jorg,
    Your comments are much appreicated!
    question about the statement "it seems, that you import lot of users concurrently from the LDAP".  for us yes we are but the question is should that me problamatic?  We do see that it is causing issues for us  in CQ5.5 with CRX 2.3.15:
    com.day.crx.security.ldap.LDAPLoginModule commit: could not commit: javax.jcr.InvalidItemStateException: property /some/LDAP/group/rep:lastsynced: the property cannot be saved because it has been modified externally.
    However we had no such issue with CQ5.3 with CRX2.0
    -Faraz

  • Duplicate namespace declarations when writing a file with JCA file adapter

    I am using JCA File adapter to write a an XML file. The composite contains a mediator which received and transforms an XML to desired format and then calls a JCA file adapter to write the file.
    The problem that I am having is that the written file has declaration of namespaces repeated with repeating elements instead of a single declaration at root. For ex.
    instead of
    <ns0:Root xmlns:ns0="namespace0"  xmlns:ns1="namespace1" xmlns:ns2="namespace2">
    <ns0:RepeatingChild>
    <ns1:Element1>value1</ns1:Element1>
    <ns2:Element2>value2</ns2:Element2>
    </ns0:RepeatingChild>
    <ns0:RepeatingChild>
    <ns1:Element1>value3</ns1:Element1>
    <ns2:Element2>value4</ns2:Element2>
    </ns0:RepeatingChild>
    </ns0:Root>What I see in the file is:
    <ns0:Root xmlns:ns0="namespace0"  xmlns:ns1="namespace1" xmlns:ns2="namespace2">
    <ns0:RepeatingChild>
    <ns1:Element1 xmlns:ns1="namespace1" xmlns:"namespace1">value1</ns1:Element1>
    <ns2:Element2 xmlns:ns2="namespace2" xmlns:"namespace2">>value2</ns2:Element2>
    </ns0:RepeatingChild>
    <ns0:RepeatingChild>
    <ns1:Element1 xmlns:ns1="namespace1" xmlns:"namespace1">>value3</ns1:Element1>
    <ns2:Element2 xmlns:ns2="namespace2" xmlns:"namespace2">>value4</ns2:Element2>
    </ns0:RepeatingChild>
    </ns0:Root>So basically all the elements which are in different namespace than root element have a namespace declaration repeated even though the namespace identifier is declared at the root elment level.
    Although, the XML is still valid, but this is unnecessarily increasing the filesizes 3-4 times. Is there a way I can write the XML file without duplicate declarations of namespaces?
    I am using SOA Suite 11.1.1.4
    The file adapter has the schema set as above XML.
    I tried the transformation in mediator using XSL and also tried using assign [source(input to mediator) and target(output of mediator, input of file adapter) XMLs are exactly same].
    but no success.

    I used automapper of JDeveloper to generate the schema. The source and target schema are exactly same.
    I was trying to figure it out and I observed that if the namespaces in question are listed in exclude-result-prefixes list in xsl, then while testing the XSL in jDeveloper duplicate namespaces occur in the target and if I remove the namespace identifiers from the exclude-result-prefixes list then in jDeveloper testing the target correctly has only a single namespace declaration at the root node.
    But, when I deployed the same to server and tested there, again the same problem.

Maybe you are looking for

  • ORDER BY using a Non-SELECT list column

    I need to SELECT DISTINCT values from a column and ORDER it by another column in the same table which is not in the SELECT list. When i got ORA-01791: not a SELECTed expression error, I tried various things like putting ORDER BY clause in the outer q

  • Remove leading zeros from table

    Hi everyone, I have a NUMC filed with length 3. my problem is that in WDA Table, the values are displayed with leading zeros: 010, 020, 030 I'd like to get thesevalues without the zeros : 10,20,30, Is this possible somehow? (without modifíing the typ

  • Regarding Httpservlet exception

    Hi, while compiling my servlet i got fallowing errors,please provide me solution to this Javac UploadFilesCreateProjects.java UploadFilesCreateProjects.java:10: package javax.servlet.http does not exist import javax.servlet.http.HttpServletRequest; ^

  • Webcam problem with Thinkpad L530 running Windows 8

    Hi, I have a L530 running windows 8.  I'm trying to activate the webcam with Skype.  Skype doesn't recognize the webcam.  I went into the Start "page" in windows 8 and use the "Camera" win 8 app.  The app displays a big camera with a diagonal line go

  • Refresh a page

    Hi, Page 10 call page 11 to handle some selection list. how do you get page 10 to refresh automatically when page11 completed the selection process ? Page 10 is supposed to show the newly added selection. Currently I am pressing function 5 to refresh