Multiple EARs packaging the same resource adapter -- Weblogic Application S

Hello,
I had a question regarding JNDI and deploying multiple applications (EAR's) which package the same resource adapter running on Webloigc Application Server 9.1. I have an EAR file, ear1, which contains a resource adapter with connection factory with JNDI name say 'xyz' specified in the weblogic-ra.xml file. I have another EAR file, ear2, which again packages the same resource adapter with the same connection factory with JNDI name 'xyz'. Upon activating the 2nd EAR file, I get an exception 'javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.', as seen below:
<May 8, 2006 10:29:27 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'JMS2JMS_eInsightweblogic2'.>
<May 8, 2006 10:29:27 AM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.AssertionError: Internal Error occurred, Assertion Failed: No Initial Context for Jndi: javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:217)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:90)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:318)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:53)
Truncated. see log file for complete stacktrace
javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.
at weblogic.connector.outbound.RAOutboundManager.getConnectionFactory(RAOutboundManager.java:721)
at weblogic.connector.deploy.JNDIHandler.getConnectionFactory(JNDIHandler.java:1017)
at weblogic.connector.deploy.JNDIHandler.lookupObject(JNDIHandler.java:871)
at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:845)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
Truncated. see log file for complete stacktrace
It seems like the 2nd EAR is trying to go across and lookup the connection factory from the 1st EAR. Does weblogic bind the RA's connection factory jndi name in the global jndi and is not specific to each EAR? Is there some flag or switch I can turn on to make the JNDI specific to each EAR?
My weblogic deployment descriptor for the ra looks like the following:
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
http://www.bea.com/ns/weblogic/90/weblogic-ra.xsd">
<jndi-name>JMS2JMS_eInsightDeployment4_stcbpelra</jndi-name>
<enable-access-outside-app>false</enable-access-outside-app>
<enable-global-access-to-classes>false</enable-global-access-to-classes>
<outbound-resource-adapter>
<connection-definition-group>
<connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
<connection-instance>
          <b><jndi-name>BPELConnectionFactory</jndi-name></b>
          <connection-properties>
          <pool-params>
          <initial-capacity>0</initial-capacity>
          <max-capacity>10000</max-capacity>
          <capacity-increment>1</capacity-increment>
          <shrinking-enabled>true</shrinking-enabled>
          <shrink-frequency-seconds>60</shrink-frequency-seconds>
          <match-connections-supported>false</match-connections-supported>
          </pool-params>
          <properties>
               <property>
                    <name>BPELConnectionFactory</name>
                    <value>BPELConnectionFactory</value>
               </property>
          </properties>
          </connection-properties>
     </connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>

Thanks for the reply... in my case this would be done by the active synch process so no GUI form is required. I will be getting a list of application ID for the user by LDAP AS. One i get it i will have to parse it and get the list of application user id. I am passing those ID;s to a workflow where I am forming the resource name as you mentioned
for example:
If i get user1#user2#user3 from AS i am separating them based on # using split and getting 3 different user id;s
now i am forming a string with the resource name and passing it to the sub process in which i am checking out the user object, setting the user attributes and checking in the new view.
user1#LDAP
user2#LDAP|1
user3#LDAP|2
Problem ; When i run this user1 is getting created in LDAP but user2 and user3 are not. There entry is getting created in IDM.
When I open the IDM object I get a yellow triangle (warning) and if I open the user object and hit save button IDM creates the user account on the LDAP.
any help for further solving this problem would be appreciated.
Regards,

Similar Messages

  • Multiple accounts on the same resource in Oracle Waveset 8.1.1 patch 5

    Hi IDM Experts!
    I've customized my userforms in order to create multiple accounts on the same resource using the syntax accounts[<resourceName>|n].<attribute> like the documentation suggests. That worked fine using Sun Identity Manager 8.1.
    However, I've not been able to create new multiple accounts after I upgraded to Oracle Waveset 8.1.1 patch 5.
    Is there anything else that I have to take into account for this new version? Is that a bug?
    Thanks in advance for your help!

    Thanks for the reply... in my case this would be done by the active synch process so no GUI form is required. I will be getting a list of application ID for the user by LDAP AS. One i get it i will have to parse it and get the list of application user id. I am passing those ID;s to a workflow where I am forming the resource name as you mentioned
    for example:
    If i get user1#user2#user3 from AS i am separating them based on # using split and getting 3 different user id;s
    now i am forming a string with the resource name and passing it to the sub process in which i am checking out the user object, setting the user attributes and checking in the new view.
    user1#LDAP
    user2#LDAP|1
    user3#LDAP|2
    Problem ; When i run this user1 is getting created in LDAP but user2 and user3 are not. There entry is getting created in IDM.
    When I open the IDM object I get a yellow triangle (warning) and if I open the user object and hit save button IDM creates the user account on the LDAP.
    any help for further solving this problem would be appreciated.
    Regards,

  • Multiple accounts on the same resource

    Experts,
    I am trying to create multiple accounts for the same IDM user.
    I have written a workflow which calls the subprocess to create multiple accounts. In the orignal workflow I pass the IDM accountId and the target system accountid in the Iterate loop.
    In the subprocess i am checking out the user view then appending the resource specific parameters (mentioned below) and then checking in the view.
    <Activity id='1' name='Add resource to user object'>
    <Variable name='userObject'/>
    <Action id='1' name='CheckOut User View' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='checkoutView'/>
    <Argument name='type' value='User'/>
    <Argument name='id'>
    <ref>userId</ref>
    </Argument>
    <Argument name='TargetResources' value='EDS'/>
    <Argument name='authorized' value='true'/>
    <Argument name='Form' value="Empty Form"/>
    <Variable name='view'/>
    <Return from='view' to='user'/>
    </Action>
    <Action id='2' name='Add Attribute'>
    <expression>
    <block>
    <set name='applicationuserid'>
    <invoke name='get'>
    <split>
    <ref>userid_applicationid</ref>
    <s>#</s>
    </split>
    <i>0</i>
    </invoke>
    </set>
    <set name='resourcename'>
    <invoke name='get'>
    <split>
    <ref>userid_applicationid</ref>
    <s>#</s>
    </split>
    <i>1</i>
    </invoke>
    </set>
    <set name='user.waveset.resources'>
    <appendAll>
    <ref>user.waveset.resources</ref>
    <list>
    <s>RACF</s>
    </list>
    </appendAll>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].created</s>
    </concat>
    <s>true</s>
    </set>
    <set>
    <s>waveset.accounts[RACF].id</s>
    <get>
    <invoke name='getObject'>
    <invoke name='getLighthouseContext'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    <s>Resource</s>
    <s>RACF</s>
    <Map>
    <MapEntry key='action' value='update'/>
    </Map>
    </invoke>
    <s>id</s>
    </get>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <s>RACF</s>
    <s>].name</s>
    </concat>
    <s>RACF</s>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].gapracfid</s>
    </concat>
    <ref>applicationuserid</ref>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].identity</s>
    </concat>
    <concat>
    <s>uid=</s>
    <ref>applicationuserid</ref>
    <s>,ou=racf,ou=Applications,dc=gap,dc=com</s>
    </concat>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].firstname</s>
    </concat>
    <ref>user.accounts[Lighthouse].firstname</ref>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].lastname</s>
    </concat>
    <ref>user.accounts[Lighthouse].lastname</ref>
    </set>
    <set>
    <concat>
    <s>user.accounts[</s>
    <ref>resourcename</ref>
    <s>].fullname</s>
    </concat>
    <ref>user.accounts[Lighthouse].fullname</ref>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='3' name='Check In User View' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='checkinView'/>
    <Argument name='view' value='$(user)'/>
    <Argument name='authorized' value='true'/>
    <Argument name='Form' value="Empty Form"/>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='244' y='48'/>
    </Activity>
    When i run this in the IDM I can see all the entries but only first one is actually created on the target resource. When I open the user object in IDM and hit Save button IDM creates the accounts on the target system.
    I have already tried by using the refresh view just before the checkin view action but no luck..
    Any help for solving this problem would be appreciated.
    Thanks

    Thanks for the reply... in my case this would be done by the active synch process so no GUI form is required. I will be getting a list of application ID for the user by LDAP AS. One i get it i will have to parse it and get the list of application user id. I am passing those ID;s to a workflow where I am forming the resource name as you mentioned
    for example:
    If i get user1#user2#user3 from AS i am separating them based on # using split and getting 3 different user id;s
    now i am forming a string with the resource name and passing it to the sub process in which i am checking out the user object, setting the user attributes and checking in the new view.
    user1#LDAP
    user2#LDAP|1
    user3#LDAP|2
    Problem ; When i run this user1 is getting created in LDAP but user2 and user3 are not. There entry is getting created in IDM.
    When I open the IDM object I get a yellow triangle (warning) and if I open the user object and hit save button IDM creates the user account on the LDAP.
    any help for further solving this problem would be appreciated.
    Regards,

  • How manuplate data on multiple tables in the oracle resource adapter

    Hi all,
    I have a requirement to write an resource adapter for oracle. But the key point is that, the user creation has to add entries in several tables and same goes with updation and getting the results.
    Please help me with the code snippet, if any one has gone through this one already.
    Can stored procedure can be executed in the normal oracle resource adapter , so that it does all the required work ? while the adapter is in quick need, friends please help me out.
    Thanks,
    idm developer

    google 'Instead-Of Trigger', it's pretty handy

  • Linking multiple accounts of the same resource with single identity of SIM

    Hi,
    Iam trying to link multiple resource accounts of the user with a single identity manager account. I'm able to achieve this using the 'resource type' also by doing a reconcile based on e-mail(which is same for resource account and IDM account), but i'm unable to link them using 'load from file' or 'Bulk upload'
    I have tried in the following way
    command,user,accountsLDAP.identity,accountsLDAP.identity
    Update,134088230,"cn=134080,OU=people,dc=xxxx,dc=com","cn=134081,OU=people,dc=xxxx,dc=com"
    Can any one help me in this regard

    This is probably a bug or for some crazy reason intended to work this way. I have a similar issue, only difference being my resource is Sun Access Manager instead of LDAP. When I ran my code through Netbeans Debugger I saw that the resource account Fields that holds the value for resource account attributes, simply vanishes during a particular step of form processing. The only workaround I have at this point is to make those attributes as global.<attributeName> instead of accounts[<ResourceName>|<accountType>].<attributeName>
    If anyone can get to bottom of this please post here. I'm going to raise a Support Ticket with Sun.
    - AndyDev

  • Solaris 11 IPS:  How do you post multiple versions of the same package?

    How do you post multiple versions of the same software package on a single IPS instance(port)? Oracle was able to do it here with versions 151 and 175 of S11:
    http://pkg.oracle.com/solaris/release/
    Unfortunately, based on my searches, no where in the documentation (http://www.oracle.com/technetwork/server-storage/solaris11/technologies/ips-323421.html) does it explain to the development community how this is done. The best I can do is create pkg repo instances on different ports to host each different software version.
    We are trying to deploy an IPS repository for our drivers and utilities that our customers can link to and pull updates from. We have been able to post a software package to the repository using the command:
    pkgsend publish -s http://localhost:1234 -d ./ Appv1.p5m
    This posts the package on the IPS repository instance at port 1234 on the server. However, we would like to post multiple versions of the package on the server at the same URL. Why the same URL? So that our customers and end-users need only point to a single URL to pull down our software rather than having to add a new URL to the publisher list each time we have an update. We want at least 5 of the previous software versions to be available on the server. Posting each version of the application or driver on a different IPS instance on a different port will require customers to add multiple URLs to their publisher list and they also will not be able to initiate remote scans for updates.
    Has anybody been able to do this? Is any documentation forthcoming?
    Edited by: user13489824 on Jun 25, 2012 10:17 AM

    dhduvall: Thanks for your response. Yes, one would think that as long as the version numbers are different, you should be able to accumulate multiple versions of a package in a repository. It looks like Oracle has done it in their S11 repository unfortunately, as far as I know, they have not shared the steps on how to do this. I would like to publish two versions of the same package. I.E. two different manifests with two different fmri.pkg version strings and two different binaries.
    If I publish one package after another like this:
    pkgsend publish -s http://localhost:1234 Appv1.p5m
    pkgsend publish -s http://localhost:1234 Appv2.p5m
    Then only the second package shows up in the repository, as if it over-wrote the first one.
    Running pkgsend with two manifest, like this:
    pkgsend publish -s http://localhost:1234 Appv1.p5m Appv2.p5m
    Will cause pkgsend to combine the packages and manifests as if they were a single package... not what I am trying to do.
    Both approaches are complete without errors but neither achieves what I am trying to do.
    alan.pae: Thank you. Unfortunately, the link didn't really help. I've read Oracle's white papers and IPS developer guide so I'm familiar with the topics covered.
    Lex: Yes, I know. I specified the versions in the pkg.fmri value string.

  • Multiple users on the same ODI installation?

    Hi all
    is it possible to have multiple users working with the same odi installation? We have a virtualized IT infrastructure (citrix and wmware) where we can have multiple users on the same virtual instance. From our point of view, there is no licencing issue since we have a package covering literally everything.
    One of the issues are the config files stored in the installation directory of odi (../bin). Is there a way to tell odi to store them in a different location, eg. the user home?
    Thanks a lot
    Benno

    ODI looks in the current working directory for the configuration files, mostly you would have issues with the snps_login_work.xml and snps_login_security.xml files, but these may be common across all users. (just don't store the username/passwords for the ODI users in them).
    The way ODI works, most of what are creating is stored in the repository anyway, it is only local GUI config stuff that may be stored locally.
    Short answer, yes, you can, but might need to modify the config files a little to make it work.

  • What happens when multiple users access the same servlet?

    Do the users share all the same resources? Or is a new process generated for each user? I have a servlet that builds a string to return to the user and I only have myself to test, so I can't really see what happens when many users access the servlet. Is there a possibility that the string will get screwed up, like when dealing with multiple threads, or do all the users get their own resources and I don't have to worry about that?

    huh? if you can point a test servlet at it, you can point a browser at it (even if the servlet does not serve html it will run)
    try pasting the servlet URL into a web browser
    refreshing multiple browsers repeatedly could provide a manual test

  • Should multiple developers share the same MDS repository?

    We are starting a new customizable application using ADF, WebCenter and SOA Suite 11g wondering what is the best practice for MDS repositories. By default JDeveloper seems to use a file-based repository, however we need to take advantage of a database repository. The question is: Can & should multiple developers share the same MDS repository, or do we need to use the RCU tool to create a new repository for each developer? If developers share the same repository I"m wondering what happens to seed customizations if two developers both edit the same thing (like a SOA composite).
    Thanks for your input

    Thanks again ... I'm not so worried about packing the customizations in the EAR or MAR, I just hate developers having to manually change adf-config.xml from source control all the time.
    I've tried using {oracle.home} and it does not work. This seems to be a bug in JDeveloper, because I print the env variable and verify that it is correct but the deployment still fails.
    In adf-config.xml I have:
    <property value="*${oracle.home}\integration*"
    name="metadata-path"/>
    When WLS starts up, I print the env variable and see it is set to: D:\home\fmw\JDEVEL~1
    But then when I try to deploy my application I get this:
    INFO: MDSException encountered in parseADFConfigurationMDS-00503: The metadata path "D:\home\fmw\jdeveloper\system11.1.1.1.33.54.07\o.j2ee\drs\PriceManagementPOC\adf\META-INF\D:\home\fmw\JDEVEL~1\integration" does not contain any valid directories.
    For some reason it seems to be appending the directory of adf-config to the oracle home directory. It's as if the code assumes its a relative path. Looks like a bug to me.
    Billy
    Edited by: Billy Turchin on Aug 28, 2009 9:33 AM

  • Can I run the currency translation for multiple years at the same time?

    Dear Friends,
    I set up currency translation on our BPC NW 7.0 system and it is working fine ONLY if I run it for any one year at a time. But if I select multiple years in the data package (FX Restatment) selection it only calculates for the first year in that selection.
    say if I run the data package for years: 2009, 2010, 2011, 2012, it only performs currency translation for the year 2009.
    Can I run the currency translation for multiple years at the same time ?
    Note: The year is determined from the YEAR property of the "Time" dimension
    appreciate any inputs,
    thanks

    You can run currency translation for multiple years.
    I think the problem it is actually related to how you are sending the parameter to currency translation script.
    Just review the script logic log and you will see with what parameters was called currency translation FXTrans.
    My expectation is that actually the script is called just with first year and that's the problem.
    Log of script logic you can find it into:
    C:\BPC|DATA\Webfolder\YourAppset\YourApplication\Private Publications\Users used to run logic\Temp
    Regards
    Sorin Radulescu

  • Multiple Browsers with the same Page Flow

    I have a legacy application that I am working on migrating to Weblogic. The
    legacy application allowed the user to have multiple windows of the same
    module open at the same time. Users found this useful if they wanted to look
    at two different records in the same module. For example, if you had a
    registration app and you wanted to look at Joe's registration information
    and Sue's registration. Is it possible to have two browsers within the same
    session open and pointing to the same RegistrationController.jpf?
    Thank You.
    Michelle

    I believe our problem is that our form beans are class members of the page
    flow thus when you open another instance of the same controller the form
    beans are overwritten. Our GUI is displayed as modules containing multiple
    tabs with a form bean for each tab. The module has a controller, signifying
    the page flow for the module. So, one record in a module will span multiple
    tabs. We did not want to have one big form bean that is why we multiple
    form beans. But it now looks like we will need to store these form beans
    perhaps to the session in a collection identified by the window instance
    they belong to.
    We also need to do multiple different page flows but I don't think nested
    page flows will not work here because the page flows would almost need to be
    nested of each other. I guess you could almost think of as each module is
    an independent application however some can be invoked by others.
    <Rich Feit> wrote in message news:[email protected]..
    Hi Michelle,
    Yes, that should be just fine. That page flow will remain the "current
    page flow" as requests from both browser windows hit it. The NetUI
    runtime synchronizes the action methods, so you don't need to worry about
    thread-safety within them.
    There's also a way to have multiple different active page flows at the
    same time, but in this case you don't need to do anything special.
    Rich

  • How can I install one app on multiple iPads at the same time?

    We have a volume purchasing account, but when purchasing an app we get multiple serial numbers that all seem to need to be entered individually. The iPhone config Utility will not sync multiple iPads at the same time. Am I missing something? This cannot be the method for mass deployment, it seem too complicated.

    You can do a  backup of you iPad then restore the backup to many devices.
    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    Mobile Device Management Solutions for iOS
    http://www.apple.com/iphone/business/integration/mdm/
    http://www.apple.com/ipad/business/resources/
    "iOS mobile device management (MDM)
    With an unmatched breadth of features, a Self Service console forover-the-air (OTA) distribution of in-house and app store apps, and integration with Apple's Volume Purchase Plan (VPP), the Casper Suiteallows administrators to easily achieve the four major tenets of iOSmobile device management: Inventory, Configuration, Security Management, and App Distribution."
    http://jamfsoftware.com/products/casper-suite/

  • Loading multiple instances of the same loader

    Hello everyone,
    I am trying to load in 5 pictures but 2 of those pictures need to be added multiple times to the same scene. For example you would use Loader to load one tree but would show that tree 9 times. The problem I am experiencing is that each object loads fine once but objects that are the same with different x and y values are placed at the last location that was set in the loop.
                for(var i=0; i < LoadedXml.resources.resource.(@type==LoadedXml.resources.resource.@type[fileCount]).@coun t; i++)
                    sprite.name = LoadedXml.resources.resource.@type[fileCount] + i;
                    sprite.x = LoadedXml.objects.object.(@type==LoadedXml.resources.resource.@type[fileCount] &&  @instance == i).@x;
                    sprite.y = LoadedXml.objects.object.(@type==LoadedXml.resources.resource.@type[fileCount] &&  @instance == i).@y;
                    table.push(sprite);
    this code sets the properties but say the count is equal to 9 and the last x and y set is 20 , 20. Then all of the objects are placed at 20,20. Even though they are clearly placed in there own element within the array. If anyone can help please please do it.
    Dexter

    then your xml parsing is faulty.

  • Deploy multiple instances of the same stateless session EJB

    I have a stateless session bean.
    The methods on the bean operate against DB tables.
    Q: Can I deploy multiple instances of the same stateless session bean, but specify a different JNDI/datasource name in the deployment descriptor?
    The method calls are all enclosed within a single invocation, just that I need to hit different databases (all with the same schema), and Id like to be able to lookup the EJB via a different JNDI name, and have the exact same functionality, just against different deployed datasources.
    Does the spec allow/support this?
    If not, any suggestions as to how to achieve this sort of functionality?
    Im using JBoss 3.2.1 on Solaris, so Im not sure whether or not this is a JBoss "issue" or a limitation of the EJB Spec (or me being just plain wrong and trying to do something the "wrong way")
    Nick

    I have a stateless session bean.
    The methods on the bean operate against DB tables.
    Q: Can I deploy multiple instances of the same
    stateless session bean, but specify a different
    JNDI/datasource name in the deployment descriptor?
    The method calls are all enclosed within a single
    invocation, just that I need to hit different
    databases (all with the same schema), and Id like to
    be able to lookup the EJB via a different JNDI name,
    and have the exact same functionality, just against
    different deployed datasources.
    Does the spec allow/support this?
    If not, any suggestions as to how to achieve this sort
    of functionality?
    Im using JBoss 3.2.1 on Solaris, so Im not sure
    whether or not this is a JBoss "issue" or a limitation
    of the EJB Spec (or me being just plain wrong and
    trying to do something the "wrong way")
    NickI haven't done it but judging from the deployment descriptors yes.
    For example if I have two bounded datasources java:/Database1 and java:/Database2
    Lets say I have a session bean called MySession, then in your ejb-jar.xml you would have (notice that the desc, display, and ejb-name are the only differences)
    <session>
    <description>MySessionAlpha</description>
    <display-name>MySessionAlpha</display-name>
    <ejb-name>MySessionAlpha</ejb-name>
    <home>com.mycorp.MySessionRemoteHome</home>
    <remote>com.mycorp.MySessionRemote</remote>
    <local-home>com.mycorp.MySessionLocalHome</local-home>
    <local>com.mycorp.MySessionLocal</local>
    <ejb-class>com.mycorp.MySessionFacadeBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>jdbc/DataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <session>
    <description>MySessionBeta</description>
    <display-name>MySessionBeta</display-name>
    <ejb-name>MySessionBeta</ejb-name>
    <home>com.mycorp.MySessionRemoteHome</home>
    <remote>com.mycorp.MySessionRemote</remote>
    <local-home>com.mycorp.MySessionLocalHome</local-home>
    <local>com.mycorp.MySessionLocal</local>
    <ejb-class>com.mycorp.MySessionFacadeBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <res-ref-name>jdbc/DataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    But now in the jboss.xml, we will have the following elements. What you may notice is that are bound to different remote and local jndi names. But the resource bindings are very different. The res-ref-name stays the same, but the jndi-name are different. I think this will work for you.
    <session>
    <ejb-name>MySessionAlpha</ejb-name> <jndi-name>ejb/com/mycorp/MySessionAlphaRemoteHome</jndi-name> <local-jndi-name>ejb/com/mycorp/MySessionAlphaLocalHome</local-jndi-name>
    <resource-ref>
    <res-ref-name>jdbc/datasource</res-ref-name>
    <jndi-name>java:/Database1</jndi-name>
    </resource-ref>
    </session>
    <session>
    <ejb-name>MySessionBeta</ejb-name> <jndi-name>ejb/com/mycorp/MySessionBetaRemoteHome</jndi-name> <local-jndi-name>ejb/com/mycorp/MySessionBetaLocalHome</local-jndi-name>
    <resource-ref>
    <res-ref-name>jdbc/datasource</res-ref-name>
    <jndi-name>java:/Database2</jndi-name>
    </resource-ref>
    </session>

  • Multiple alerts for the same Message ID

    Hi
    I have configured outbound ftp adapter. I have configured alerts inorder to capture any error in the adapter engine.
    Now,alert is triggered showing an error in the ftp adapter ( say incorrect ftp details). But i get multiple alerts for the same message ID several times. I have also set the parameter Max No od Delvs to 1 in the ALRTCATDEF transaction.
    I keep getting the same alert number of times a day. How can i restrict the number of alerts to 1 for 1 message ID.
    Regards,
    Vani

    Hello Andreas,
    Thanks for your reply.
    In my scenario i would need an alert per Message. That is the reason why I have not checked the option "Supress Multiple Alerts" since it would allow only alert per rule.
    Is there is any way we can get one alert per message.
    Also, after correcting the eror in the file adapter will the file which was not placed due to error in the adapter be placed automatically. I wanted to know what would happen to the lost file or unprocessed file since it dint reach the destination due to error.
    Regards,
    Vani

Maybe you are looking for

  • Why i cant purchase the applications from US App store (eg. google talk)? my shipping and billing address is Sri Lanka

    why i cant purchase the applications from US App store (eg. google talk)? my shipping and billing address is Sri Lanka

  • Biller Direct Electronic Bill Payment and Pool User

    Hi, We have an internet front end system that will encapsulate the Biller Direct pages. This system contains the user management engine. Biller direct can utilise pool users to connect the web server to biller direct. Would it be possible to have bil

  • Your opinion/comment on this

    as my 4th year computer system project, i want to do a email service like yahoo, and add some features of speech capabilities. am comfortable with javase having worked myself through the java tutorial. but i guess this project is entirely javaee stuf

  • How to install Solaris from a Windows computer

    I have recently received the Solaris operating system on DVD. The only computer that I have that has a DVD player is my laptop. It is however connected to the desktop that I wold like to install the system onto by a switch. I am not sure how to go ab

  • 2960 POE acting as a dhcp server

                       I have a 2960 POE 24 switch acting as a DHCP server for a WLC 4402 and six Aironet APs. I cant get the APs to aquire an address. At least when I check the switch by doing a sh dhcp lease it shows nothing. Here is the commands I use