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
          {

Similar Messages

  • 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 account attribute names during reconciliation

    Hi,
    I need to set some attributes when creating the IDM user during initial reconcilation from an LDAP resource. I understand only the waseset and LDAP user attributes are available during the reconciliation. Does anyone know how to refer to the resource account attributes?
    I tried to put this in my proxyuser form:
    <Field name='accounts[Lighthouse].uvaDepartment'>
    <Derivation>
    <invoke name='listToString' class='com.waveset.util.Util'>
    <ref>accounts[LDAP].ou</ref>
    <s>; </s>
    </invoke>
    </Derivation>
    </Field>
    uvaDepartment is a extended attribute in the IDM schema, and ou a multivalued LDAP atribute. But uvaDepartment remains empty.
    Greetings,
    Marijke

    thanks,
    I found out the problem was caused by not setting thel user password in the resource parameters page.
    I set up a temporay form and debugged the attributes from the Active Directory. Somehow, the password has already been populated with a (random) value. To be sure, I'll use your suggestion to generate a temporary password to ensure it conforms to my own Password Policy :
            <invoke name='generatePassword'>
              <new class='com.waveset.provision.PasswordGenerator'>
                <ref>:display.session</ref>
              </new>
              <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                <rule name='UWS-RLB-Utils:GetLightHouseContext'/>
                <s>Policy</s>
                <ref>My-Password-Policy</ref>
              </invoke>
              <new class='com.waveset.object.WSUser'/>
            </invoke>

  • 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.

  • 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.

  • [svn:osmf:] 10438: Add enumeration class for VAST resource type attribute.

    Revision: 10438
    Author:   [email protected]
    Date:     2009-09-20 13:43:14 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add enumeration class for VAST resource type attribute.
    Modified Paths:
        osmf/trunk/libs/VAST/.flexLibProperties
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEventType.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as
    Added Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTResourceType.as

    Revision: 10438
    Author:   [email protected]
    Date:     2009-09-20 13:43:14 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add enumeration class for VAST resource type attribute.
    Modified Paths:
        osmf/trunk/libs/VAST/.flexLibProperties
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEventType.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as
    Added Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTResourceType.as

  • Use resource user attributes while creating a user

    Hi All,
    I'm developing a resource adapter for our rescource, and need to input attribute to real create that user in the rescoure. by modify skeleton resource adapter I have no where to fonud the field to input attributes for my resorce user, but for ldap there is form in tab Attribute for ldap user create, how can I do same thing in my adapter?
    Thanks a lot,
    Alice
    Message was edited by:
    Alice_1234

    If you are creating PO in foreground, you dont have the option of giving user id.
    But if you create POs in background using a scheduled job, then when you are scheduling the job, you can overwrite the default user id and give the user id you want. In this case all the POs created by the job, will have the user id created by you.
    But if you have to create a PO through background job, you have to give the inputs to PO through some programs may be BDCs or LSMW.
    Reward if this helps. you

  • 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

  • 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.....

  • 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.

Maybe you are looking for

  • Can't open ANY photos in Photoshop CS3

    I cannot open any photos from my iPhoto or Aperture in Photoshop. When I attempt to do it, the images refresh and then it crashes, asking me to send an error report. When I click on an image that I want to open, the OPEN tab in the bottom right corne

  • Windows Server 2008 R2 Service Pack 1 installation failed with error code 0x800f0a12

    Hello, I'm facing problem to install windows server 2008 R2 SP1. I cannot install SP1. In this server have running Exchange 2010 server. to update Win2008 R2 SP1 facing the following error: 1. Service Pack installation failed with error code 0x800f0a

  • How to sort data from database and display in combobox in required order

    Hi evrybody, it makes me sick i need to get data form database and fill combobox in required order (last item added to database - last firstName) actualy i already did that, but i'm useing DefaultComboBoxModel and all records are sorted in alphabetic

  • E-63 voice recorder hang

    For media/office use, we bought 2 E 63. We want use it for our reporters gathering information on the field. All the other application work well but the voice recorder which is principal for reporter's job. Voice recorder : original program from Noki

  • I've tried all the workarounds but.....

    I still can't get network scanning to work. (Officejet 5610). I've downloaded and redownloaded and upgraded and hacked. But no dice. Does anyone actually have a setup that works straight out of the box, I mean you plug the device into the airport via