JCA CCI examples wanted!

Hi. I need to execute a local file-system binary from my JSP code. As J2EE specification does not allow to do this, I need to create an adapter for it, using JCA. As I figured out, a need a JCA with Common Client Interface (CCI). Does anyone have any examples or samples of such a JCA CCI adapter, which an be used for my task? Thank you.

          Ni pelota, Hansito!!!
          "Hans Nemarich" <[email protected]> wrote:
          >
          >Hello,
          >
          >I`m currently reading Bea documentation for WLS 7.0. I`ve noticed Weblogic
          >Tuxedo
          >Connector doesn´t support Common Client Interface. It`s seems not be
          >complaint
          >with JCA 1.0 spec.
          >
          >Will Bea provide a JCA/CCI compliant connector for Tuxedo in the next
          >release
          >?
          

Similar Messages

  • JCA adapter with Spring JCA CCI

    Using Tuxedo JCA adapter (12.1.1) on Java 1.6_20 and Spring 3.2.0.....
    Want to get the Tuxedo adapter going outside a container in Spring via the Spring JCA CCI (http://static.springsource.org/spring/docs/3.2.0.M2/reference/html/cci.html). Not much experience with JCA but got the basic idea.
    The resource adapter is the glue for the domain configuration, debug levels and so forth. Started by using the TuxedoClientSideResourceAdapter and registering it to the TuxedoAdapterSupervisor singleton that is used by the TuxedoManagedConnectionFactory. Spring JCA CCI represents the local connection factory inside the LocalConnectionFactoryBean which needs the TuxedoConnectionFactory built by the TuxedoManagedConnectionFactory:
            @Bean
         public TuxedoManagedConnectionFactory tuxedoManagedConnectionFactory() {
              TuxedoClientSideResourceAdapter ra = new TuxedoClientSideResourceAdapter();
              .... (set ra all debugs to true)
              ra.setTraceLevel("100000");
              ra.setLocalAccessPointSpec("//INV000000121176:7001/domainId=matthew");
              ra.setRemoteAccessPointSpec("//vsgtu817.sfa.se:48172/domainId=TR817TU");
              try {
                   TuxedoAdapterSupervisor.getInstance().registerClientSideResourceAdapter(ra);
              } catch (ResourceAdapterInternalException e) {
                   System.out.println("Big problem setting resource adapter");
              TuxedoManagedConnectionFactory mcf = new TuxedoManagedConnectionFactory();
              return mcf;
            @Bean
         public ConnectionFactory tuxedoConnectionFactory() {
              LocalConnectionFactoryBean cf = new LocalConnectionFactoryBean();
              cf.setManagedConnectionFactory(tuxedoManagedConnectionFactory());
              try {
                   cf.afterPropertiesSet();
              } catch (ResourceException e) {
                   System.out.println("Big problem after setting properties");
              return (ConnectionFactory) cf.getObject();
         }What I am baffled by is that the tracing isn't getting hundred percent. For example I get:
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1fe1feb: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,applicationConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,tuxedoManagedConnectionFactory,tuxedoConnectionFactory,tuxedoTransactionManager,tuxedoTemplate,tuxedoDAO]; root of factory hierarchy
    2012-10-18:14:16:03:10:INFO[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 12c(12.1.1), resource archive version 1.4.0.0, build date: June 27 2012.
    2012-10-18:14:16:03:10:ERROR[TJAService,TJAService]TJA_0072:Naming exception error: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
    2012-10-18:14:16:03:10:INFO[TuxedoAdapterSupervisor,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint TR817TU created.Expected to see more detailed information about what is going on in the TJASerivce when setting up the context. Which isn't happening due to how I am not correctly rigging Spring. So how to get tracing/debug working? Or can it be that printing via the JUL logger isn't working. Got in my logging.properties file FINEST on everything oracle and weblogic.
    Love to see if anybody has built up JCA outside a container!?

    Little bit farther in my configuration but not the entire way. Using the TuxedoClientSideResourceAdapter resource adapter. Setup in Spring as follows:
         @Bean
         ResourceAdapterFactoryBean tuxedoResourceAdapter() {
              TuxedoClientSideResourceAdapter ra = new TuxedoClientSideResourceAdapter();
              ra.setLocalAccessPointSpec("//INV000000121176:7001/domainId=matthew");
              ra.setRemoteAccessPointSpec("//vsgtu817.sfa.se:48172/domainId=TR817TU");
              .... (set debug, timeout, local/remote stuff....)
              ResourceAdapterFactoryBean fc = new ResourceAdapterFactoryBean();
              fc.setResourceAdapter(ra);
              SimpleTaskWorkManager stwm = new SimpleTaskWorkManager(); // basic WM from Spring
              fc.setWorkManager(stwm);
              fc.setBootstrapContext(new SimpleBootstrapContext(stwm));  // basic Context from Spring
              return fc;
         @Bean
         public ManagedConnectionFactory tuxedoManagedConnectionFactory() {
              return new TuxedoManagedConnectionFactory();
         @Bean
         public LocalConnectionFactoryBean tuxedoConnectionFactoryBean() {
              LocalConnectionFactoryBean lcfb = new LocalConnectionFactoryBean();
              lcfb.setManagedConnectionFactory(tuxedoManagedConnectionFactory());
              return lcfb;
         @Bean
         public ConnectionFactory tuxedoConnectionFactory() {
              return (ConnectionFactory) tuxedoConnectionFactoryBean().getObject();
         @Bean
         public CciTemplate tuxedoCciTemplate() {
              CciTemplate ct = new CciTemplate();
              ct.setConnectionFactory(tuxedoConnectionFactory());
              return ct;
         }There is a bunch of Spring stuff mixed in but the main idea is to wrap the Connection Factory in a template bean (CciTemplate) that eats a Tuxedo interaction specification and handles the start/stop of the connection plus execution. Nowhere in the configuration are resources or the local/remote resource sessions identified. The Oracle documentation says that with the client side the container is responsible for defining resources. Great. How? ;-) Tried doing it by hand:
         @Autowired
         CciTemplate template;
         @Test
         public void pieces() throws ResourceException, TPReplyException, TPException {
              TuxedoConnectionFactory tcf = (TuxedoConnectionFactory)template.getConnectionFactory();
              Connection con = ConnectionFactoryUtils.getConnection(template.getConnectionFactory(), template.getConnectionSpec());
              DMImportBean impBean = new DMImportBean();
              impBean.setRemoteName("whatever");
              impBean.setResourceName("whatever");
              impBean.setSessionName(new String[] {"TR817TU"});
              ConfigurationManager.getInstance().activateImport(impBean, tcf.getFactoryName());
              TDomainContext ctx = ((TuxedoJCAConnection)con).getTDomainContext();
              ctx.tpcall("whatever", recordIn.getTypedBuffer(), flags);
         }The code fails on a NullPointer to getProviderRoute in the TuxedoConnectionImpl. Just wondering if I am on the right track?

  • JCA/CCI Tuxedo Adapter ?

              Hello,
              I`m currently reading Bea documentation for WLS 7.0. I`ve noticed Weblogic Tuxedo
              Connector doesn´t support Common Client Interface. It`s seems not be complaint
              with JCA 1.0 spec.
              Will Bea provide a JCA/CCI compliant connector for Tuxedo in the next release
              

              Ni pelota, Hansito!!!
              "Hans Nemarich" <[email protected]> wrote:
              >
              >Hello,
              >
              >I`m currently reading Bea documentation for WLS 7.0. I`ve noticed Weblogic
              >Tuxedo
              >Connector doesn´t support Common Client Interface. It`s seems not be
              >complaint
              >with JCA 1.0 spec.
              >
              >Will Bea provide a JCA/CCI compliant connector for Tuxedo in the next
              >release
              >?
              

  • LR & SlideShowPro Examples Wanted

    I was looking at the SlideShowPro plugin for LR Web photo Galleries.  The site doesn't offer aceeptable examples of galleries made through LR.  Does anyone have a gallery built with this software, which I could look at?  Thanks - Steven
    BTW;  I like the Airtight viewers, but I may want something with more pizzazz.  I'm open to suggestions for other LR plugins as well.

    I really like the SSP plug-in and have used it a lot in recent weeks:
    http://www.stephenetnier.com/gallery.html
    (embedded in an HTML page: full use of fullscreen mode and popup images)
    http://www.thesameband.com/gallery.html
    (audio playback controlled in the slideshow)
    http://www.chronicjazz.com/photos.html
    (audio embedded in the html file after the fact)
    http://www.pilatesportland.com/
    (embedded in an HTML page: a simple slideshow with no controller or thumbnails, a bit down the page)

  • Simple MVC desktop example wanted

    Hi,
    I've been looking and can't find a good example of MVC in a desktop application. I don't mean MVC as it is used in component development (I've seen some examples relating to Swing and Buttonmodels, for instance), but more business-object level. I'm not a Java or Swing expert, but I have been programming for a while and and am pretty comfortable writing non-UI Java classes and simple Swing apps. But I want to know how to do this right.
    Here's the simplest example I can think of to explain my confusion:
    Suppose I have a class called Customer with fields FirstName and LastName. Suppose further I want to create a desktop GUI that allows the customer to edit that model in two separate windows in such a way that changes in one edit window are immediately reflected in the other, and I want clean separation of presentation and logic.
    The example doesn't have to be in Swing, but it shouldn't require a server.
    Thanks for any help you can give on this - and, if this isn't the right place to post this query, I'd appreciate a pointer to a more appropriate forum.

    There are many ways but here is a simple example of how I do it.
    ******************************* CustomerModel.java
    import java.beans.PropertyChangeSupport;
    import java.beans.PropertyChangeListener;
    public class CustomerModel
        /** Change Support Object */
        private PropertyChangeSupport propertyChangeSupport = new PropertyChangeSupport(this);
        /** bound property names */
        public static final String FIRST_NAME_CHANGED = "firstname";
        public static final String LAST_NAME_CHANGED = "lastname";
        /** First Name Element */
        private String firstName;
        /** Last Name Element */
        private String lastName;
        /** Blank Constructor */
        public CustomerModel()
            super();
         * Sets the first name element.  If value changed a notification is
         * sent to all listeners of this property
         * @param newFirstName String
        public void setFirstName(String newFirstName)
            String oldFirstName = this.firstName;
            this.firstName = newFirstName;
            propertyChangeSupport.firePropertyChange(FIRST_NAME_CHANGED, oldFirstName, newFirstName);
         * @return String
        public String getFristName()
            return firstName;
         * Sets the last name element.  If value changed a notification is
         * sent to all listeners of this property
         * @param newFirstName String
        public void setLastName(String newLastName)
            String oldLastName = this.lastName;
            this.lastName = newLastName;
            propertyChangeSupport.firePropertyChange(LAST_NAME_CHANGED, oldLastName, newLastName);
         * @return String
        public String getLastName()
            return lastName;
        /** Passthrough method for property change listener */
        public void addPropertyChangeListener(String str, PropertyChangeListener pcl)
            propertyChangeSupport.addPropertyChangeListener(str, pcl);       
        /** Passthrough method for property change listener */
        public void removePropertyChangeListener(String str, PropertyChangeListener pcl)
            propertyChangeSupport.removePropertyChangeListener(str, pcl);
    }******************************* CustomerFrame.java
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.GridLayout;
    import java.beans.PropertyChangeListener;
    import java.beans.PropertyChangeEvent;
    public class CustomerFrame extends JFrame implements ActionListener, PropertyChangeListener
        /** Customer to view/control */
        private CustomerModel customer;
        private JLabel firstNameLabel = new JLabel("First Name: ");
        private JTextField firstNameEdit = new JTextField();
        private JLabel lastNameLabel = new JLabel("Last Name: ");
        private JTextField lastNameEdit = new JTextField();
        private JButton updateButton = new JButton("Update");
         * Constructor that takes a model
         * @param customer CustomerModel
        public CustomerFrame(CustomerModel customer)
           // setup this frame
           this.setName("Customer Editor");
           this.setTitle("Customer Editor");
           this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
           this.getContentPane().setLayout(new GridLayout(3, 2));
           this.getContentPane().add(firstNameLabel);
           this.getContentPane().add(firstNameEdit);
           this.getContentPane().add(lastNameLabel);
           this.getContentPane().add(lastNameEdit);
           this.getContentPane().add(updateButton);
           // reference the customer locally
           this.customer = customer;
           // register change listeners
           this.customer.addPropertyChangeListener(CustomerModel.FIRST_NAME_CHANGED, this);
           this.customer.addPropertyChangeListener(CustomerModel.LAST_NAME_CHANGED, this);
           // setup the initial value with values from the model
           firstNameEdit.setText(customer.getFristName());
           lastNameEdit.setText(customer.getLastName());
           // cause the update button to do something
           updateButton.addActionListener(this);
           // now display everything
           this.pack();
           this.setVisible(true);
         * Update the model when update button is clicked
         * @param e ActionEvent
        public void actionPerformed(ActionEvent e)
            customer.setFirstName(firstNameEdit.getText());
            customer.setLastName(lastNameEdit.getText());
            System.out.println("Update Clicked " + e);
         * Update the view when the model has changed
         * @param evt PropertyChangeEvent
        public void propertyChange(PropertyChangeEvent evt)
            if (evt.getPropertyName().equals(CustomerModel.FIRST_NAME_CHANGED))
                firstNameEdit.setText((String)evt.getNewValue());
            else if (evt.getPropertyName().equals(CustomerModel.LAST_NAME_CHANGED))
                lastNameEdit.setText((String)evt.getNewValue());
    }******************************* MainFrame.java
    import javax.swing.JFrame;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JButton;
    public class MainFrame extends JFrame implements ActionListener
        /** Single customer model to send to all spawned frames */
        private CustomerModel model = new CustomerModel();
        /** Button to click to spawn new frames */
        private JButton newEditorButton = new JButton("New Editor");
        /** Blank Constructor */
        public MainFrame() {
            super();
        /** Create and display the GUI */
        public void createAndDisplayGUI()
            this.setName("MVC Spawner");
            this.setTitle("MVC Spawner");
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.newEditorButton.addActionListener(this);
            this.getContentPane().add(newEditorButton);
            this.pack();
            this.setVisible(true);
        /** Do something when the button is clicked */
        public void actionPerformed(ActionEvent e)
            new CustomerFrame(model);
         * Creates the main frame to spawn customer edit frames from.
         * @param args String[] ignored
        public static void main(String[] args) {
            MainFrame mainframe = new MainFrame();
            mainframe.createAndDisplayGUI();
    }

  • Web database application design examples wanted

    Hi! I�ve written a couple of smaller web database applications in Java but I�m not completely satisfied with my design, especially where and how to put the database code. Now I�m looking for small open source examples of good design of web database applications in Java. I would appreciate if you could direct me to a good example application, preferably easy to understand. Also feel free to mention any other resource that you think I should look at. At the moment I don�t have the time to read a complete book but I plan to do this later � so book recommendations for professional Java developer are also very welcome.
    Summary of recommendations I would like to get:
    1) Java web database application with good design
    2) Design book for professional Java developers
    3) Any other design related resource
    Thanks!

    http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step.html

  • Example Wanted:  JSP UIX data binding

    Hullo! I'm trying to display an active tree using 9.0.3 JSP UIX. I was successful in straight UIX (thanks to the examples), but can't figure out how do get the databinding correct in JSP/UIX. Does anyone have an example using <uix:tree>, or failing that how about anything substantial in JSP/UIX?
    The uiXML/UIX download examples are great, and the online documentation is extensive though I find it hard to follow... but for the JSP side there just aren't any working examples!
    Thanks so much.
    Heather

    Thank you very much for the response.
    It got me looking in the right direction, and now I have something working!
    Sincerely,
    Heather
    btw In case anyone else is ever in a similar position, here is an implementation of the above example, with some really silly data plugged in.
    jsp" contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ page import = "oracle.cabo.ui.data.tree.*" %>
    <%@ page import = "oracle.cabo.ui.data.*" %>
    <%@ page import = "oracle.cabo.ui.*" %>
    <%@ page import = "oracle.cabo.ui.data.*" %>
    <%-- user interface begins here --%>
    <HTML>
    <HEAD>
    <TITLE>Browse Page</TITLE>
    <uix:styleSheet/>
    </HEAD>
    <BODY>
    <uix:pageLayout>
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:header text="Tree Demo"/>
    <uix:spacer height="15" />
    <%
    SimpleTreeData shop = new SimpleTreeData();
    shop.setText("Shop");
    shop.setDescription("Spend some money!");
    shop.setDestination( "http://bali.us.oracle.com");
    shop.setDestinationText( "More Information");
    shop.setExpandable(UIConstants.EXPANDABLE_EXPANDED);
    SimpleTreeData books = new SimpleTreeData();
    books.setText("Books");
    books.setDescription("books have pages!");
    books.setDestination( "http://bali.us.oracle.com");
    books.setDestinationText( "More Information");
    books.setExpandable(UIConstants.EXPANDABLE_EXPANDED);
    SimpleTreeData art = new SimpleTreeData();
    art.setText("Art");
    art.setDescription("picasso et al!");
    art.setDestination( "http://bali.us.oracle.com");
    art.setDestinationText( "More Information");
    SimpleTreeData[] bookCategories = { art, art };
    books.addChildren( bookCategories );
    SimpleTreeData[] categories = { books, books };
    shop.addChildren(categories);
    ListDataObjectList treeData = new ListDataObjectList();
    treeData.addItem(shop);
    request.setAttribute("treeData", treeData);
    ClientStateTreeDataProxy proxy =
    new ClientStateTreeDataProxy("",
    request.getParameter(UIConstants.STATE_PARAM),
    request.getParameter(UIConstants.NODE_PARAM),
    request.getParameter(UIConstants.SELECTION_PARAM));
    request.setAttribute("treeProxy", proxy);
    %>
    <uix:tree id="myId" nodesBinding="treeData@servletRequest"
    proxyBinding="treeProxy@servletRequest">
    <uix:nodeStamp>
    <uix:flowLayout>
    <uix:contents>
    <uix:link destinationBinding="destination" textBinding="text" />
    </uix:contents>
    </uix:flowLayout>
    </uix:nodeStamp>
    </uix:tree>
    </uix:contents>
    </uix:pageLayout>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources />

  • HGrid tutorial or example wanted

    Hi gurus,
    I am developing a custom page with a HGrid. I am trying to folllow the OAF Developer Guide. Section on VO and View Links are OK, but I am getting stuck when trying to define the UI nodes.
    Are there any good tutorials or examples out there?
    Regards,
    Søren Moss

    Hi - let me be more specific.
    I'd like an example that explains and illustrates the following section in the OAF developers guide under chapter 4 -> HGrid -> Defining a HGrid -> Step 4:
    **** Quote start ****
    Set the Ancestor Node property on this item to indicate the region where you are looping back. The
    Ancestor Node property can be set to another tree region, to the same tree region (for a recursive
    relationship), or to no tree region (null, indicating that the node is a leaf level in the hierarchy tree).
    The ancestor node should be set as a fully-qualified path name such as
    /oracle/apps/<applshortname>/<module>/<pagename>.<childNode ID > where the ancestor
    childNode ID is whatever childNode (node) you are looping back to.
    Attention: For a recursive relationship, as indicated above, you set the ancestor node to the same
    tree region. However, the "same tree region" refers to the parent of the base recursing node and
    not the recursing node itself.
    **** Quote end ****
    Regards Søren

  • @MappedSuperclass example wanted

    I am attempting to use a JPA MappedSuperclass where I can define the basic data fields and relationships for an entity, then have subclasses override it with explicit table and column names.
    To this point, I have had no success. I can get it to compile and deploy, but any data objects I get back seem to be uninitialized (all fields are null).
    Does anyone have a working example of using a MappedSuperclass in OAS 10.1.3.1.0?

    I am currently using TopLink Essential build 17. I was able to take my standard Employee demo model and refactor a BaseEntity class out of the Employee class.
    BaseEntity
    @MappedSuperclass
    @TableGenerator(name = "emp-seq-table", table = "SEQUENCE",
                    pkColumnName = "SEQ_NAME", valueColumnName = "SEQ_COUNT",
                    pkColumnValue = "EMP_SEQ", allocationSize=50)
    public abstract class BaseEntity {
        @Id
        @GeneratedValue(strategy = GenerationType.TABLE, generator = "emp-seq-table")
        private int id;
        @Version
        private long version;
        public BaseEntity() {
        public void setId(int id) {
            this.id = id;
        public int getId() {
            return id;
        public void setVersion(long version) {
            this.version = version;
        public long getVersion() {
            return version;
    }The Employee class now looks basically like:
    @Entity
    @AttributeOverride(name="id", column=@Column(name="EMP_ID"))
    public class Employee extends BaseEntity implements Serializable {Doug

  • Examples wanted

    can any one send some real time report step by step to my mail id.
    similarly agreegates and infosets?
    thanks in advance
    sekhar

    Hi Sekhar,
    i will explain you one of the simple scenario where reporting will be done.
    u might be knowing there is actual data as well as planned data stored in data targets.
    suppose you were asked to generate a report that actually compares the real data with actual data.that includes the deviation of actual values from the planned values.and u were also asked to have the infomation of  % deviation in each of the values.furthur u have the chance to distiguish the analysis on the basis of % of deviation by means of rising exceptions.
    if the % deviation is  say is less than 20% then it is gud.and if it is greater than 50 % then it is bad.in between it is average.
    hope this helps!
    cheeers
    Ravi

  • JCA Resource Adapter CCI

    Has anyone found a reference application that properly uses the JCA CCI specification? I would like to test a Resource Adapter against the standard rather than against my understanding of the standard.

    try:
    http://www.fawcette.com/javapro/2002_02/magazine/features/tmodi/

  • BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite

    Hi,
    I am just testing one simple SOA Application in SOA 11g Suite. Created a SOA Composite Application with one DB Adapter at designtime all worked fine with DB Adapter. But when I deploy the Application on the server I get the following error:
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ".Do I need to jndi-name in weblogic-ra.xml if so what is the exact location. Any help is appreciated.
    Thanks

    I did but still not able to connect now getting the following error. I went to the Weblogic Console, clicked on deployments, selected DBAdapter, clicked on configuration ,
    and then I don't see outbound configurations instead it shows Outbound Connection Pools, Under Outbound Connection Pools tab I clicked on New and it asked to select Outbound Connection Group I selected the one that was already there (with JNDI eis/DB/SOADemo) and then created my JNDI which was added to the default Outbound Connection Group and in the end it asked to save the Plan.xml which I saved it under a new directory created under soa directory. But still am not able to connect.
    How do I create my own Connection Group as don't want to use the defualt one out there.
    After creating the JNDI Name it asks for saving the Plan.xml file. Where exactly we save this file. Are there any standards.
    Why can't I update any properties when I click on the new JNDI name it takes to Settings for javax.resource.cci.ConnectionFactory --> Outbound Connection Properties but there I see a save buttn but I can't make any changes.
    BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception. Missing Property: [DBManagedConnectionFactory.userName]. You may have set a property (in _db.jca) which requires another property to be set also. Make sure the property is set in the interaction (activation) spec by editing its definition in _db.jca. . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. Is there any documentation that lists all these steps as I couldn't find it anywhere. The guide only talks abou DBAdapter but how to configure etc can't find any info. Any help is appreciated.
    Thanks.

  • Error while testing DB Adapter Example

    Hi All,
    I have created a sample DB Adapter CreditCardValidation Example and deployed successfully
    When I clicked on TestWebService buuton on EM, its giving the following error.
    <Jul 2, 2010 6:17:55 PM IST> <Warning> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21060> <Cannot remove temporary directory: C:\DOC
    UME~1\LSUKHA~1.PAR\LOCALS~1\Temp\sar_base_dir_1278074856671>
    Exception in thread "Thread-39" javax.xml.transform.TransformerFactoryConfigurationError: Provider oracle.xml.jaxp.JXSAXTransformerFactory could
    not be instantiated: java.lang.IllegalStateException: ClassLoader "default.composite.validationForCC.soa_aad451e6-e045-4bdc-873a-b5c4bf0cfc4c:1.0
    " (from Application component in user-defined-origin): This loader has been closed and should not be in use.
    at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:155)
    at oracle.wsm.xml.XMLUtils.getTransformerFactoryToUse(XMLUtils.java:547)
    at oracle.wsm.xml.XMLUtils.getTransformer(XMLUtils.java:522)
    at oracle.wsm.xml.XMLUtils.write(XMLUtils.java:806)
    at oracle.wsm.policy.util.PolicyWriter.writePolicySubject(PolicyWriter.java:927)
    at oracle.wsm.policy.util.PolicyUtil.convertPolicySubjectToStr(PolicyUtil.java:506)
    at oracle.wsm.policymanager.util.PolicyMgrUtil.convertPolicySubjectToStr(PolicyMgrUtil.java:327)
    at oracle.wsm.policymanager.client.PolicyAccessServiceDelegate.getPolicies(PolicyAccessServiceDelegate.java:93)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread$1.run(PolicyCacheImpl.java:714)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread$1.run(PolicyCacheImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.Security.runAs(Security.java:61)
    at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
    at oracle.wsm.policyaccess.impl.cache.PolicyCacheImpl$BackTracingSynchronizationThread.run(PolicyCacheImpl.java:710)
    <Jul 2, 2010 6:18:45 PM IST> <Warning> <oracle.soa.adapter> <BEA-000000> <JCABinding=> JCABinding=> validationForCC:getCreditValidation [ getCr
    editValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) ] JNDI lookup of 'eis/DB/soadem
    odatabase' failed due to: Unable to resolve 'eis.DB.soademodatabase'. Resolved 'eis.DB'>
    <Jul 2, 2010 6:18:45 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> validationForCC:getCreditValidation [ getCreditValidation_p
    tt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) ] Could not invoke operation 'getCreditValidat
    ionSelect' against the 'null' due to:
    BINDING.JCA-12511
    JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    validationForCC:getCreditValidation [ getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,Creditcardinfo
    Collection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
    JCA Resource Adapter location error.
    Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademodata
    base'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
    2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademodatabase. In the last case you will have to add a new WebLogic
    JCA connection factory (deploy a RAR).
    Please correct this and then restart the Application Server
    Please examine the log file for any reasons. Enable FINEST adapter logging via Enterprise Manager.
    >
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> [default/validationForCC!1.0*soa_d1e3c29a-4942-4c53-ac86-f8
    dbb5cc92b6.getCreditValidation]:getCreditValidationSelect Two-way operation getCreditValidationSelect() failed>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Payload after BaseActionHander.requestMessage :{getCreditValid
    ationSelect_inputParameters=oracle.xml.parser.v2.XMLElement@2af53c}>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Properties after BaseActionHander.requestMessage :{tracking.co
    mpositeInstanceId=110001, tracking.ecid=0000IaJCskmBDC3Lvmp2iX1CBTqA00000o, tracking.conversationId=null, tracking.compositeInstanceCreatedTime=F
    ri Jul 02 18:18:41 IST 2010, tracking.parentComponentInstanceId=mediator:265662F085D811DFBF9201EFEE7D6FBD, MESH_METRICS=null, tracking.parentRefe
    renceId=mediator:265662F085D811DFBF9201EFEE7D6FBD:26C1A7E085D811DFBF9201EFEE7D6FBD:req, transport.http.remoteAddress=10.65.209.130}>
    <Jul 2, 2010 6:18:46 PM IST> <Warning> <oracle.soa.mediator.common> <BEA-000000> < Headers after BaseActionHander.requestMessage :[]>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Rolling back transaction due to ORAMED-03303:[Unexpected e
    xception in case execution]Unexpected exception in request response operation "getCreditValidationSelect" on reference "getCreditValidation". Pos
    sible Fix:Check whether the reference service is properly configured and running or look at exception for analysing the reason or contact oracle
    support.>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Updating fault processing DMS metrics>
    <Jul 2, 2010 6:18:46 PM IST> <Error> <oracle.soa.mediator.serviceEngine> <BEA-000000> <Got an exception: oracle.fabric.common.FabricInvocationExc
    eption: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: JCA Bi
    nding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    validationForCC:getCreditValidation [ getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,Creditcardinfo
    Collection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
    JCA Resource Adapter location error.
    Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/soademodata
    base'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
    2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/soademodatabase. In the last case you will have to add a new WebLogic
    JCA connection factory (deploy a RAR).
    Please correct this and then restart the Application Server
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    oracle.tip.mediator.infra.exception.MediatorException: ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request respo
    nse operation "getCreditValidationSelect" on reference "getCreditValidation". Possible Fix:Check whether the reference service is properly config
    ured and running or look at exception for analysing the reason or contact oracle support.
    at oracle.tip.mediator.service.SyncRequestResponseHandler.handleFault(SyncRequestResponseHandler.java:215)
    at oracle.tip.mediator.service.SyncRequestResponseHandler.process(SyncRequestResponseHandler.java:130)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:140)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:495)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:393)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNormalCases(InitialMessageDispatcher.java:276)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:250)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:148)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:860)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.request(MediatorServiceEngine.java:716)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy248.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:76
    8)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I checked the DB Adapter XADataSourceName its pointing to jdbc/soademoDatabase.
    Even I searched all the 'weblogic-ra.xml' files, there <jndi-name> is pointing to "eis/DB/SOADemo" like in the following way.
    *<jndi-name>eis/DB/SOADemo</jndi-name>*
    But still its giving error.
    Please help me;
    Its urgent ......
    Thanks in Advance.

    Hi
    I am working on the same example and came across the same error. I have tried re configuring the database and also re created the database adapter in JDeveloper. But it still shows up.
    If you are following the tutorial, it says to set the name of the JNDI Name as "soademoDatabase". and not soademodatabase.
    I entered this name first when I created the database Resource during Configuration for the sample application. and followed the name soademoDatabase whenever required.
    when adding the DB Adapter in JDeveloper (step 3 Service Connection), it asks for the JNDI Name. I entered the JNDI name then
    Regards
    Ayesha

  • Problem with DB JCA adapter in Soa suite 11g composite appl

    i am testing a simple credit card validation composite with Oracle SOA suite 11g11.1.1.4.0, Jdevloper 11.1.1.3.0 and oracle universal XE DB. I am having an exception given below. I have checked that data source is properly configured and appearing at the right place in JNDI tree. Suggestion like 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR) has also been tried result is same
    **Any suggestion will greatly appreciated .**
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1012) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:803) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more

    Hi,
    The JNDI Name to use for the service connection is "eis/DB/soademoDatabase".
    This Database is a requirement of the course... (Chapter 4 of Getting Started with Oracle SOA Suite 11g R1 - A Hands-On Tutorial).

  • Receive java.lang.NullPointerException (JCA-12563) on SCA with Stored Procedure dbAdapter (SOA Suite 12.1.3)

    Hi,
    I'm new to the Oracle SOA Suite and have been creating very simple SCA WebServices (async and sync) prototypes to INSERT, UPDATE and Poll Oracle 9i and 11g databases. So far, everything works and passes the tests from EM.
    I cannot get the Stored Procedure WebService to test successfully as I receive the error message below regardless of JNDI configuration for XA, non-XA, Last Logging Resource, Support Global Transactions,PlatformClassName, etc...  The Outbound Connection Pool is setup correctly as the other DML tests have worked fine.
    BINDING.JCA-12563
    Exception occurred when binding was invoked.
    Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'dbReference' failed due to: Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Caused by: BINDING.JCA-12563
    Exception occurred when binding was invoked.
    Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'callAPI' failed due to: Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
       at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:569)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:724)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:689)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:628)
        at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:325)
        ... 84 more
    Caused by: BINDING.JCA-11812
    Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
        at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:690)
        at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:656)
        at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:180)
        at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:183)
        at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1302)
        at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:307)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:415)
    Caused by: java.lang.NullPointerException
        at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:162)
        ... 91 more
    The SP SCA is the simplest possible application I can think of...  The WebService accepts a single INT, calls BPEL>Receive>Assign>Invoke>dbAdapter(Stored Procedure) that accepts a single IN INTEGER parameter in an Oracle 11g database.
    Steps I've used to create the SP SCA. (Create Empty SOA Application)
    1.) Create Database Adapter in External References swim lane.
    2.) Set JNDI and Connection.
    3.) Browse to Oracle Procedure...click through Wizard and accept all defaults.
       CREATE OR REPLACE PROCEDURE TEST_SOA_API (
         wo_order_no_ IN INTEGER)
       IS
       BEGIN
         INSERT INTO TEST_TMP VALUES (wo_order_no_);
       END;
    4.) WSDL, XSD, JCA are automatically generated. 
    5.) Create BPEL Process Component and select Template "Base on a WSDL".  I choose the WSDL created from the Database Adapter wizard.
    6.) The "Exposed Service" is automatically created and everything is wired.
    7.) I deploy to my CompactDomain (running on a local Oracle12 db).  No errors.
    8.) I login to EM and Test the WebService..and ALWAYS receive the error message above.
    I've tried BPEL Process and Mediator as components to simply pass the single incoming INT parameter to the SP DbAdapter and tried every combination I can think of with DataSource/DbAdapter Deployment through the Admin console.  I used the same exact steps above for INSERT, UPDATE, Polling and have had no issues so I cannot figure out why I'm not receiving java.NullPointer exception or why I'm receiving the XML/XSD malformation error.
    Stuck now...anyone have an idea what I'm doing wrong or simply tell me I'm an idiot and shouldn't do SP's this way?
    FYI.  I've turned on logging for the oracle.soa.adapter.db class to TRACE: 32(FINEST).  Not much help to me
    [2015-04-02T09:03:55.706-05:00] [AdminServer] [WARNING] [ADF_FACES-00007] [oracle.adf.view.rich.render.RichRenderer] [tid: 118] [userId: weblogic] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-00000788,0] [APP: em] [DSID: 0000KluHqzk0NuGayxyWMG1L7K52000003] Attempt to synchronized unknown key: viewportSize.
    [2015-04-02T09:05:23.971-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute]  [composite_version: 1.0] [reference_name: dbReference] BEGIN IFSAPP.TEST_SOA_API(WO_ORDER_NO_=>?); END;
    [2015-04-02T09:05:23.972-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute]  [composite_version: 1.0] [reference_name: dbReference] Bindings [WO_ORDER_NO_=>INTEGER(2343)]
    WSDL
    <wsdl:definitions
         name="dbReference"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        >
      <plt:partnerLinkType name="dbReference_plt" >
        <plt:role name="dbReference_role" >
          <plt:portType name="tns:dbReference_ptt" />
        </plt:role>
      </plt:partnerLinkType>
        <wsdl:types>
         <schema xmlns="http://www.w3.org/2001/XMLSchema">
           <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
                   schemaLocation="../Schemas/dbReference_sp.xsd" />
         </schema>
        </wsdl:types>
        <wsdl:message name="args_in_msg">
            <wsdl:part name="InputParameters" element="db:InputParameters"/>
        </wsdl:message>
        <wsdl:portType name="dbReference_ptt">
            <wsdl:operation name="dbReference">
                <wsdl:input message="tns:args_in_msg"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>
    XSD
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" elementFormDefault="qualified">
       <element name="InputParameters">
          <complexType>
             <sequence>
                <element name="WO_ORDER_NO_" type="int" db:index="1" db:type="INTEGER" minOccurs="0" nillable="true"/>
             </sequence>
          </complexType>
       </element>
    </schema>
    Payload XML
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
            <soap:Body>
                    <ns1:InputParameters xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference">
                            <ns1:WO_ORDER_NO_>667</ns1:WO_ORDER_NO_>
            </ns1:InputParameters>
        </soap:Body>
    </soap:Envelope>

    An even simpler request:
    Can someone create an SCA that simply accepts a single INT parameter and calls a Stored Procedure (Oracle) that inserts this INT into a table?  Maybe upload the project folder structure in a zip? 
    Seems someone with experience on this platform could execute this task in 10-15 minutes.
    CREATE TABLE TEST_TMP (WO_ORDER_NO INT);
       CREATE OR REPLACE PROCEDURE TEST_SOA_API (
         wo_order_no_ IN INTEGER)
       IS
       BEGIN
         INSERT INTO TEST_TMP VALUES (wo_order_no_);
       END;

Maybe you are looking for

  • Thangsan font not displayed correctly on SMARTFORM

    Hi Experts, I am having a problem on displaying (preview) and printing a smartform containing a thangsan font. The characters are displayed/printed as #####. Please advise. Is this a printer problem? Thanks.

  • BDB XML2.3.10 install problem

    I'm trying to to install DBXML on windowsXP. I have download the BDBXML2.3.10. when I build all with Microsoft Visual C++ 6.0 ,the error as follows. Am I missing something in the server config?? --------------------Configuration: xqilla - Win32 Debug

  • What is the best email provider for mac

    i cannot get AOL to wk at all on my iphone/mac/ipad so thinking of getting new aol. does anyone recommend one over another?

  • Problem Installing Cisco Secure 4.2

    Contiunally getting this message:- odbc operation failed with the following information:Message=[sybase][odbc driver][adaptive server anywhere]Invalid user ID or password, sqlstate=28000,native error=-103 This is a fresh install, but it just will not

  • How to re-install tasks and notes

    I had to re-install my blackberry's operating system when it crashed the other day and since the installation I have not been able to find either the tasks or the notes applications. Is there any way to download just these applications without re-ins