Resource Adapters

The instructions for creating a custom Resource Adapter in the IDM Technical Deployment 5.0 don't come close to working for me. Has anyone used these documents to create a Resource Adapter.
First off, on page 5-19 in Adapter Development, a table makes reference to a component called waveset.properties and says it's located in REF/config. I don't see any directory called config in the REF directory.
Secondly, I have a current JDK and I have set up the ws.sh file which has the WSHOME, JAVA_HOME, and PATH variables. I can't even compile the unaltered SkeletonResourceAdapter.java code successfully.. I get 100 unresolved symbols when I use the supplied command:
javac -d . -classpath %CLASSPATH% SkeletonResourceAdapter.java
Thanks

Yes. I did need to add a classpath. None of this documented in the Technical Deployment 5.0 docs. I also needed to download and install the IBM logging classes for the Skeleton resource to compile. I installed the log.jar in REF/lib.
The final classpath is <path_to_REF>/REF/lib/idm.jar:<path_to_REF>/REF/lib/log.jar
The documentation instructs the reader to set up a ws.sh and add some variables to it so they can source it to prep their build environment. Seems to me adding a CLASSPATH variable and telling the Resource Adapter developer what the actual classpath is for SkeletonResourceAdapter.java would be useful.
In any event, thanks for your response. It is much appreciated.
Onward to developing a Kerberos resource adapter.....

Similar Messages

  • Resource.adapters attribute

    The IDM documentation states you must add your new custom resource to the waveset.properties file in $WSHOME/config. It states it must be placed under the resource.adapters entry or it will not be recognized.
    However, when I look through the Waveset.properties file, the only mention of "resource.adapters" is in a comment area for ResourceManagerVersion:
    # ResourceManagerVersion
    # Specifies the version of the Resource Manager to be used. The
    # Resource Manager controls the list of available resources.
    # Additional resources are specified in the resource.adapters
    # attribute above.
    However, there is NO resource.adapters attribute in this file. Is there a sample of how this attribute needs to be formatted and the syntax one should use?

    Here's the context diff of the changes I made to AIXResourceAdapter:
    $ diff -c AIXResourceAdapter.java  MyAIXResourceAdapter.java
    *** AIXResourceAdapter.java     Thu Jul 21 12:14:38 2005
    --- MyAIXResourceAdapter.java   Thu Jul 21 12:33:27 2005
    *** 46,58 ****
       * Resource adapter supporting AIX version 4.3 (and possibly other versions)
       * by using shell script commands through a scripted connection.
    ! public class AIXResourceAdapter
          extends UnixResourceAdapter
          implements Constants {
    !     public static final String code_id = "$Id: AIXResourceAdapter.java,v 1.2.6
    .2 2005/04/08 04:42:54 rsanchez Exp $";
    !     private static final String CLASS = "com.waveset.adapter.AIXResourceAdapte
    r";
          // Resource attribute name of the host used to communicate with the
          // resource.
    --- 46,58 ----
       * Resource adapter supporting AIX version 4.3 (and possibly other versions)
       * by using shell script commands through a scripted connection.
    ! public class MyAIXResourceAdapter
          extends UnixResourceAdapter
          implements Constants {
    !     public static final String code_id = "$Id: MyAIXResourceAdapter.java,v 1.2
    .6.2 2005/04/08 04:42:54 rsanchez Exp $";
    !     private static final String CLASS = "com.waveset.adapter.MyAIXResourceAdap
    ter";
          // Resource attribute name of the host used to communicate with the
          // resource.
    *** 147,154 ****
          // Prototype xml for resource.
          static final String prototypeXml =
    !         "<Resource name='AIX' class='com.waveset.adapter.AIXResourceAdapter'"
    !             + " typeString='AIX' typeDisplayString='"+RAMessages.RESTYPE_AIX+"
    ' supportsScanning ='true'>\n"
                  + "  <ResourceAttributes>\n"
                  + "    <ResourceAttribute name='"+RA_HOST+"' displayName='"+RAMess
    ages.RESATTR_HOST+"' type='string' multi='false'"
                  + " description='" + RAMessages.RESATTR_HELP_115 + "'>\n"
    --- 147,154 ----
          // Prototype xml for resource.
          static final String prototypeXml =
    !         "<Resource name='MyAIX' class='com.waveset.adapter.MyAIXResourceAdapte
    r'"
    !             + " typeString='MyAIX' typeDisplayString='My AIX' supportsScanning
    ='true'>\n"
                  + "  <ResourceAttributes>\n"
                  + "    <ResourceAttribute name='"+RA_HOST+"' displayName='"+RAMess
    ages.RESATTR_HOST+"' type='string' multi='false'"
                  + " description='" + RAMessages.RESATTR_HELP_115 + "'>\n"
    *** 311,324 ****
           *  No argument constructor.
    !     public AIXResourceAdapter() {
              super();
           *  Constructor
    !     public AIXResourceAdapter(Resource res, ObjectCache cache) {
              super(res, cache);
    $
           *  No argument constructor.
    !     public MyAIXResourceAdapter() {
              super();
           *  Constructor
    !     public MyAIXResourceAdapter(Resource res, ObjectCache cache) {
              super(res, cache);
    *** 3886,3898 ****
              private ArrayList _userList;
              private int _userIndex = 0;
              private String _error = "";
    !         private AIXResourceAdapter _adapter = null;
              private ScriptToken.Capture _blockCaptureToken = rootPromptCaptureToke
    n;
              private final int USERSTOITER = 20;
    !          * @deprecated Use BlockAcctIter(AIXResourceAdapter, CaptureList) inst
    ead.
              public BlockAcctIter(int blockSize, CaptureList captureList)
                  throws WavesetException
    --- 3886,3898 ----
              private ArrayList _userList;
              private int _userIndex = 0;
              private String _error = "";
    !         private MyAIXResourceAdapter _adapter = null;
              private ScriptToken.Capture _blockCaptureToken = rootPromptCaptureToke
    n;
              private final int USERSTOITER = 20;
    !          * @deprecated Use BlockAcctIter(MyAIXResourceAdapter, CaptureList) in
    stead.
              public BlockAcctIter(int blockSize, CaptureList captureList)
                  throws WavesetException
    *** 3904,3910 ****
                  start();
    !         public BlockAcctIter(AIXResourceAdapter adapter,
                                   CaptureList captureList)
                  throws WavesetException
    --- 3904,3910 ----
                  start();
    !         public BlockAcctIter(MyAIXResourceAdapter adapter,
                                   CaptureList captureList)
                  throws WavesetException
              {

  • Resource Adapters for email drivers...

    All,
    I am going through JCA architecture and Fusion middleware "Oracle Integration Adapter". My requirement is to write an email driver using resource adapter.
    Can I use "Oracle Integration Adapter" directly with few parameter settings or do I need to develop a new resource adapter for my requirement ?...
    Please let me know the details. TIA...
    -- prabaa !

    This question falls outside of JMS-land. Perhaps you can try the EJB newsgroup?
              Just in case your trying to use an adapter to receive JMS messages: There's no need to use resource adapters for WebLogic MDBs driven by JMS destinations.

  • Problems polling two mailboxes using JCA 1.5 - inbound resource adapters.

    Hello,
    I have a requirement to poll two or more mailboxes from my application for unread messages using inbound resource adapters.
    Whilst I'm successful in implementing the above for a single mailbox, I 'm facing problems when tried for 2.
    Here is a snippet of code that worked for single mailbox.
    ejb-jar.xml :
    <ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    <display-name>JavaMailMDB</display-name>
    <enterprise-beans>
    <message-driven>
    <display-name>JavaMailMDB</display-name>
    <ejb-name>JavaMailMDB</ejb-name>
    <ejb-class>samples.connectors.mailconnector.ejb.mdb.JavaMailMessageBean</ejb-class>
    <messaging-type>samples.connectors.mailconnector.api.JavaMailMessageListener</messaging-type>
    <transaction-type>Container</transaction-type>
    <activation-config>
    <activation-config-property>
    <activation-config-property-name>serverName</activation-config-property-name>
    <activation-config-property-value>xxx</activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>userName</activation-config-property-name>
    <activation-config-property-value>xxx</activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>password</activation-config-property-name>
    <activation-config-property-value>xxx</activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>protocol</activation-config-property-name>
    <activation-config-property-value>imap</activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>folderName</activation-config-property-name>
    <activation-config-property-value>Inbox</activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>interval</activation-config-property-name>
    <activation-config-property-value>1</activation-config-property-value>
    </activation-config-property>
    </activation-config>
    <resource-ref>
    <res-ref-name>TheMailSession</res-ref-name>
    <res-type>javax.mail.Session</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>JavaMailMDB</ejb-name>
    <method-name>onMessage</method-name>
    <method-params>
    <method-param>javax.mail.Message</method-param>
    </method-params>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    I 'm using four Java classes - ActivationSpecImpl.java,DeliveryThread.java,EndpointConsumer.java,MailServerFolder.java,PollingThread.java.
    I'm newbie to resouce adapters & JCA. Can someone help me how to replicate the functionality for two mailboxes or more.
    Many thanks

    Hema wrote:
    How does it decide which files to pickup ? It will pick up files with modification dates more recent than the last processed file.
    sometimes it picks up all old files from FTP directoryIf it is picking up the same files, probably it is not being able to calculate the modification dates.
    That can be a configuration problem, take a look at this:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABECEGD
    Note: We are not deleting already read files from the folderProbably, not a good thing to do. May you can archive them instead.
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • Resource Adapters in clustered environment

    Hi All,
              Can anybody throw some light on how resource adapters will behave in
              weblogic clustered environment ?
              thanks and regards
              vedant.
              

    This question falls outside of JMS-land. Perhaps you can try the EJB newsgroup?
              Just in case your trying to use an adapter to receive JMS messages: There's no need to use resource adapters for WebLogic MDBs driven by JMS destinations.

  • Resource Adapters in clustered env..

    Hi All,
              Can anybody throw some light on how resource adapters will behave in
              weblogic clustered environment ?
              thanks and regards
              vedant.
              

    This question falls outside of JMS-land. Perhaps you can try the EJB newsgroup?
              Just in case your trying to use an adapter to receive JMS messages: There's no need to use resource adapters for WebLogic MDBs driven by JMS destinations.

  • NWA: Resource Adapters:J2ee Adapters

    HI Friends,
    In PI70  when we want to start or stop any j2ee adapters we would do in Visual Administrator.
    Now in Pi71 Visual Admin is removed and incorporated in NWA.
    Can any one help me out I which tab i can locate them in NWA of PI71.
    Thanks
    Chandra Dasari

    Read,
    http://help.sap.com/saphelp_nw70/helpdata/en/12/5dd23aaad7b3408dde3c1577fda5b3/frameset.htm
    Regards
    Juan

  • Unable to delete JCA resource adapters

    Hi All,
    I am unable to delete resource adapter. Please help
    Here is the error "Deleting JCA Connection Factory: InboundRA_QN1_100 failed due to: Removing or adding connection definition "InboundRA_QN1_100" failed because "It is not allowed to remove the last connection definition.""

    Hello Dheeraj,
    Check the kba 1942002 Deleting JCA Connection Factory fails with "it is not allowed to
    remove the last connection definition". This covers this same topic.
    Regards
    Mark

  • JNDI name for resource adapters

    When I look up a connection factory via the initial context, which JNDI name should I be using? How do I know which namespace my JCA resource adapter is in?
    I have registered the standalone JCA resource adapter via the command
    C:\OraHome_2\dcm\bin>dcmctl deployApplication -f my.rar -a my_jca
    Can I access it like this from my EJB?
    Context initialContext = new InitialContext();
    jcaConnectionFactory = (ConnectionFactory)initialContext.lookup("my_jca");
    or does it have to be java:comp/env?
    The default oc4j-ra.xml that was generated by dcmctl looks like this:
    <?xml version="1.0"?>
    <!DOCTYPE oc4j-connector-factories PUBLIC "-//Oracle//DTD Oracle Connector 9.04//EN" "http://xmlns.oracle.com/ias/dtds/oc4j-connector-factories-9_04.dtd">
    <oc4j-connector-factories>
    <connector-factory location="" connector-name="my_jca">
    </connector-factory>
    </oc4j-connector-factories>

    What is the correct way of looking up a resource adapter from another resource adpater? The JNDI name of my resource adapter is "StorageFactory" and I am doing a lookup like:
              Context ctx = new InitialContext();
              ctx.lookup("StorageFactory")
              Is this a correct way to lookup?

  • Testing Custom Resource Adapters

    Hi All,
    I am currently in the process of developing and (unit) testing a custom resource adapter.
    I noticed that there is a SkeletonResourceTests.java file although it has a dependency on the com.waveset.junit package which appears not to exist... Doesn't anybody have this package or have any information about it? Also, what other suitable testing practices are there for testing custom resource adapter?
    Any assistance would be greatly appreciated.
    Thank in advance.

    Hi,
    Change the SkeletonResourceTest program according to the needs of your custom adapter.The junit package actualy does not exist. There is a package junit in idm.jar, but it does not contain all the required class to complie the resource test class.
    I compiled it using junit package after downloading it from junit site.
    I am having problem in testing the customadapter.
    I am getting the following error:I tested with the following command,
    C:\>java -D waveset.home=c:\Tomcat 4.1\webapps\idm com.waveset.adapter.test.Custom
    SResourceTests
    =======================================
    I got this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: waveset/home=c:\Tomcat
    Can anyhbody help.
    regards
    Manilal

  • JCA Resource Adapters

    Hi
    I want to use JCA to integrate with Microfocus Cobol. I have the Microfocus resource adapter (mfcobol-notx.rar).
    I want to embed this in an application, the JDeveloper help says add the rar to the project and then include the rar in the ear.
    I have done this but everytime I edit the EAR deployment profile and tick the rar to include it, it is not included and next time I look the rar is not selected anymore.

    Hello Dheeraj,
    Check the kba 1942002 Deleting JCA Connection Factory fails with "it is not allowed to
    remove the last connection definition". This covers this same topic.
    Regards
    Mark

  • Does iPlanet App Server 6.5 provide support for Java Connector Architecture resource adapters? If not will 7.0?

     

    6.5 does not support JCA. 7.0 is announced on 19th June
    when the official statement regarding support for JCA
    will be made.

  • BPEL & Resource adapter deployment in 10.1.2

    Hi,
    I have deployed a JCA resource adapter in a 10.1.2 server and it seems that it doesn't get deployed right or, at least, when I test it with a BPEL process, doesn’t work.
    I have tested the adapter and the BPEL process in 10.1.3 and works fine, but it doesn't work in 10.1.2. I need to work in 10.1.2 because I'm using the B2B integration suite and this is only available in 10.1.2.
    This is what I have done to deploy the adapter:
    i. I created the file oc4j-ra.xml in C:\OraHome_1OAS\j2ee\OC4J_BPEL\application-deployments\default\EbMS Adapter
    ii. I copied the adapter rar file in C:\OraHome_1OAS\j2ee\OC4J_BPEL\connectors\EbMS Adapter
    iii. I update C:\OraHome_1OAS\j2ee\OC4J_BPEL\config\oc4j-connectors.xml
    Then, when I try to deploy a BPEL process to test the adapter, I get this error in the log (C:\OraHome_1OAS\integration\orabpel\domains\default\logs\domain.log):
    <2007-06-20 09:18:31,984> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Looking up Resource Adapter JNDI location 'eis/ebmsra'
    <2007-06-20 09:18:31,984> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JNDI lookup of 'eis/ebmsra' failed due to: eis/ebmsra not found
    <2007-06-20 09:18:31,984> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Looking up Resource Adapter JNDI location 'eis/ebmsra'
    <2007-06-20 09:18:31,984> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JNDI lookup of 'eis/ebmsra' failed due to: eis/ebmsra not found
    <2007-06-20 09:18:32,078> <DEBUG> <default.collaxa.cube.engine.deployment> <DeploymentHelper::deployProcess> failed because
    java.lang.Exception: Problem 1: [EBMSOutgoing.wsdl]: Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
    The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/ebmsra'
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
    2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/ebmsra. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
    Please correct this and then restart the BPEL/OC4J Application Server
         at oracle.tip.adapter.fw.validation.WSDLDeploymentValidation.performDeploymentWsdlValidation(WSDLDeploymentValidation.java:144)
         at com.collaxa.cube.engine.deployment.DeploymentHelper.performPreDeploymentActions(DeploymentHelper.java:578)
         at com.collaxa.cube.engine.deployment.DeploymentHelper.deployProcess(DeploymentHelper.java:350)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deployProcess(BPELDomainManagerBean.java:412)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.deployProcess(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2300)
         at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:303)
         at deployProcess.jspService(_deployProcess.java:136)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    <2007-06-20 09:18:32,078> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "domain manager": Error deploying BPEL archive.
    An error occurred while attempting to deploy the BPEL archive file "bpel_EBMSOutgoingSample_v2007_06_19__39432.jar"; the exception reported is: Problem 1: [EBMSOutgoing.wsdl]: Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
    The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/ebmsra'
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
    2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/ebmsra. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
    Please correct this and then restart the BPEL/OC4J Application Server
    ORABPEL-05207
    Error deploying BPEL archive.
    An error occurred while attempting to deploy the BPEL archive file "bpel_EBMSOutgoingSample_v2007_06_19__39432.jar"; the exception reported is: Problem 1: [EBMSOutgoing.wsdl]: Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
    The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/ebmsra'
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
    2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/ebmsra. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
    Please correct this and then restart the BPEL/OC4J Application Server
         at com.collaxa.cube.engine.deployment.DeploymentHelper.deployProcess(DeploymentHelper.java:363)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deployProcess(BPELDomainManagerBean.java:412)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.deployProcess(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2300)
         at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:303)
         at deployProcess.jspService(_deployProcess.java:136)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    <2007-06-20 09:19:18,515> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::insert> Received no-op message
    <2007-06-20 09:19:18,515> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total: 5
    <2007-06-20 09:19:18,515> <DEBUG> <default.collaxa.cube.engine.dispatch> <QueueConnectionPool::getConnection> Fetched a queue connection from pool java:comp/env/jms/collaxa/BPELWorkerQueueFactory, available connections=24, total connections=25
    <2007-06-20 09:19:18,515> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent message to queue
    <2007-06-20 09:19:18,515> <DEBUG> <default.collaxa.cube.engine.dispatch> <QueueConnectionPool::releaseConnection> Released queue connection to pool java:comp/env/jms/collaxa/BPELWorkerQueueFactory, available connections=25, total connections=25
    As I see that I have deployed the connector in C:\OraHome_1OAS\j2ee\OC4J_BPEL, but the BPEL process is been deployed in C:\OraHome_1OAS\integration\orabpel, I try to deploy the connector in C:\OraHome_1OAS\integration\orabpel\system\appserver\oc4j\j2ee\home. I copied the "connectors" and "application-deployments" directories into C:\OraHome_1OAS\integration\orabpel\system\appserver\oc4j\j2ee\home (because didn't exist) and updated the C:\OraHome_1OAS\integration\orabpel\system\appserver\oc4j\j2ee\home\config\oc4j-connectors.xml, but I still get the same error.
    Anybody can help me?
    Thanks,
    Miguel

    Hi miquel,
    I'm working in 10.1.3.1 environmen and wanna develop a custom JCA adapter. Can you show me some hits/reference for JCA adapter in 10.1.3.1?
    Steven

  • Problem with standalone resource-adapter

    Hello,
    I have problem with excluding standalone resource adapters from enterprise applications on OAS 10.1.3.4. Because collection of standalone resource adapters can change dynamically (release of new versions, creation of new environment), I cannot enumerate names of resource adapters into orion-application.xml.
    In documentation of application server I have found:
    Deploying Multiple Versions of a Standalone Resource Adapter
    To configure an application to use only adapterA, you would add the following elements to the application's orion-application.xml file:
    <imported-shared-libraries>
    <remove-inherited name="adapterB"/>
    </imported-shared-libraries>
    Because both standalone resource adapters are imported by default, it is not necessary to explicitly import adapterA.
    An alternative configuration follows:
    <imported-shared-libraries>
    <import-shared-library name="adapterA">
    <remove-inherited name="*"/>
    </imported-shared-libraries>
    I tried to add following orion-application.xml into my enterprise application, but standalone resource adapters are still visible in class loader of enterprise application.
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application>
    <imported-shared-libraries>
    <import-shared-library name="global.libraries" />
    <import-shared-library name="global.tag.libraries" />
    <import-shared-library name="oracle.cache" />
    <import-shared-library name="oracle.dms" />
    <import-shared-library name="oracle.gdk" />
    <import-shared-library name="oracle.http.client" />
    <import-shared-library name="oracle.jdbc" />
    <import-shared-library name="oracle.jwsdl" />
    <import-shared-library name="oracle.persistence" />
    <import-shared-library name="oracle.toplink" />
    <import-shared-library name="oracle.ws.client" />
    <import-shared-library name="oracle.ws.jaxrpc" />
    <import-shared-library name="oracle.xml" />
    <remove-inherited name="*" />
    </imported-shared-libraries>
    </orion-application>
    How should I disable including all standalone resource adapters without explicit enumerating of resource adapter names in orion-application.xml.
    Thanks a lot

    Hi
    Thank u all,  Problem is solved, i changed write mode to Over write existing file. It is working fine.
    VS

  • Send message to WebSphere MQ resource adapter - how?

    Hi,
    has anybody a working sample how an Weblogic EJB can write to an MQ queue via the WebSphere MQ resource adapter?
    http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj40010_.htm
    I took Adrian Cole's sample from
    WebSphere MQ resource adapter  and Weblogic - how?
    the message driven bean works, but for outbound I couldn't get it to work.
    I used
         @Resource(name = "wmq/ConnectionFactory")
         private javax.jms.ConnectionFactory queueConnectionFactory;
         Connection connection = null;
         connection = queueConnectionFactory.createConnection();
         Session sess = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
         MessageProducer messageProducer = sess.createProducer(queue);
         messageProducer.send(msg);
         connection.close();
    But then I get
    javax.jms.JMSException: [JMSPool:169819]There was an error with a resource pool used to pool JMS sessions: weblogic.common.ResourceException: 0:javax.jms.JMSException: MQJCA1018:Only one session per connection allowed.
    Can't I use the Resource Adapter to trigger an MDB and write in the same application to the same Resource Adapter?
    Thanks,
    Juergen

    By using @Resource you activate Session pooling [http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/j2ee.htm]. Although you constantly create and close the connection, you end up with one connection and multiple Sessions created out of it when there is sufficient concurrency. In JCA, ManagedConnection represents a single Resource (because it also deals with JDBC). In JMS, a Session is a resource. Session pooling violates the requirement "one resource per managed connection" which is what MQ Resource Adapter is telling [http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj40030_.htm].
    Some possible solutions:
    * Set max-beans-in-free-pool 1 in weblogic-ejb-jar.xml
    * disable wls Session pooling by simply looking up using InitialContext.lookup. WLS session pool is redundant because resource adapters usually pool connections [http://download.oracle.com/docs/cd/E12840_01/wls/docs103/resadapter/connect.html]. Define outbound resource adapter use its connection factory.

Maybe you are looking for

  • How to insert the row at first position in afLtable ?

    Hi, JDev : 11.1.1.4.0 I am adding records in the af:table using CreateInsert operation binding method.. While adding the new row, it goes down the af:table, How to make the new row to appear in the first position of the af:table ? thanks Gopinath J

  • Photoshop 7 faster than CS 3 on Mac Intel .....

    How come Photoshop 7 running on a MacIntel so via Rosetta emulation mode is really really quite faster than the CS 3 which is native !! It clearly shows the lack oof optimisation of adobe softwares and that after each update they are becoming more an

  • Accessing images from shared components

    I am having problem finding out images from shared components. After loading my images from my desktop to shared components folder, when i try to create an image item, and click the browse button, it pulls out my hard drive for selection. i don't kno

  • Condition for charging tenant at per hour basis

    Hi Experts, I need to charge a fixed rental per hour from customer based on air-conditioner (AC) running. For example Rs. 2000 per hr will be charged where Rs. 2000 is constant charge but AC run by Cutomer varies in one month it may be 160 hrs, in ot

  • How to make customer inactive in R12 receivables?

    Does anyone know how to make a customer inactive in R12 receivables? I can find where to make the account that is linked to the customer inactive but not how to amend the status of the customer itself. I am sure that it is something simple that I am