Jndi Configuration

Hi everyone..
Iam trying to execute a simple helloworld application.
Am using Eclipse editor and JBoss application Server.
I have created the Bean and got synchronized with the server.
While execuing the client am getting NoInitialContextException.
Please mention the jndi properties for Jboss application server and please tell do i need to add any jar file of jboss to the class path to use jndi.
Please give me a solution.

I am assuming you are using the DBAdapter for this. Please Refer @ JCA database adapter issue due to database schema dependency
You will have to comment out the below in the JCA file
<property name="SchemaName" value="Test"/>
This way when the schema name is not given, it will use the details from the Datasource configuration.
Thanks,
Patrick

Similar Messages

  • Best way to access JNDI configured DataSource from outside container

    I'm not sure if this is the right forum category, but it seemed like a good place to start.
    I have a DB2 database on an OS/390 mainframe that is configured as a JNDI datasource in WebSphere (WSAD) 5.1.x. I can get connections and do database transactions within my web-application just fine.
    Part of my project needs a cron managed stand-alone application to do some database clean up work. It essentially needs to query one database, and then based on the results stick some data into the DB2 database. Easy enough right?
    The issue here is that our Security department will not under any circumstances give us the passwords and users for either database. They give these only to the server admins who configure WSAD. We also can't use a properties file. The server admins either won't touch any properties file (it is considered "code" and they don't want to be responsible for problems) or they won't have access to the contents of the ears or jars we give them. This basically leaves us with our JNDI datasource as the only datasource we could access (because the admins will have it configured with a username and password). There is also no way to infer a valid username/password from the owner of the web-app since it will live on an NT box and the NT user won't have mainframe rights.
    There is also no possibility of bending these rules no matter how stupid or cumbersome they are.
    So my question is, what is the best method in which to gain access to this JNDI DataSource or a Connection from this DataSource? Can I even get a DataSource from a JNDI lookup? Is JMS/RMI or some other acronymn that I don't know about the only way to acomplish this?
    We're using Struts MVC -> Spring -> Hibernate in the webapp, if that helps.
    Thanks in advance.

    You seem to be asking: "how can a standalone app get a valid DB2 connection by leveraging the live objects in a WSAD application"?
    While this is pretty far from my area of expertise, I don't think you can. While both JMS and RMI (and other technologies) can export some types of Java objects, they have to be objects that implement the java.io.Serializable interface. Connections cannot be serialized because these objects (normally) encapsulate a live TCP/IP connection. I don't see any fundamental reason a DataSource object couldn't be serialized other than security, but that very reason means that no reasonable implementation is going to be serializable; if it were serializable, you could almost certainly extract the value of the username and password from the serialized object. In other words, what you're really trying to do is get around security and Java's security is probably robust enough to prevent it.
    If the DB credentials only live in the WSAD world, that's where the database work has to be done. However, there's no reason the work can't be driven by a servlet or JSP that is in turn invoked from a cron-driven script or application. Personally, I do such "event notifier" scripts in Perl; Java is a bit heavy for "start up, post to URL, shutdown", but if you have more work going on you could certainly use Java. If actually doing the work in the WSAD application is not acceptable, then you're probably stuck.

  • DBAdapter Using JNDI Configuration

    Hi,
    I have created a simple process with DBAdapter. (using a simple select from oracle 10g, calling one of the schema - not apps)
    When I ran this process on client it ran with no problem.
    When I ran it from the linux server it gave me a lot of exceptions, like:
    07/11/13 18:36:29 0 - ORABPEL-00000
    Exception not handled by the Collaxa Cube system
    Exception: java.lang.NullPointerException
    Handled As: com.collaxa.cube.CubeException
    ] -> [java.lang.NullPointerException: null]
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    07/11/13 18:36:29 1 - java.lang.NullPointerException
    <2007-11-13 18:36:29,575> <ERROR> <psnext_integration.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.CubeException: Exception not handled by the Collaxa Cube system.
    <DispatchHelper::handleMessage> failed to handle message
    ORABPEL-00000
    <2007-11-13 18:36:29,618> <ERROR> Failed to handle dispatch message ... exception ORABPEL-05002.
    I'm using soa suite 10.1.3.3 (Client and server).
    I had no problem with this on another server (with same installation - another customer)
    I think the process is looking for the JNDI definition and is not using the connection details from DB.wsdl in the process.
    I tried to define the JNDI connection (data-sources.xml, connectors, oc4j-ra) with no success (tried from EM and manualy also).
    Does anyone knows where in the server we define if we want to use JNDI or not.
    And if so, what are the correct steps to define it.
    Thanks
    Arik                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The jist of it is:
    - define the jndi entry in $ORACLE_HOME/j2ee/<instance name>/application-deployments/default/DbAdapter/oc4j-ra.xml
    - the above entry refers to a data-source entry in $ORACLE_HOME/j2ee/<instance name>/config/data-sources.xml (default instance name is "home")
    As long as the above are set, it should work. Look at the example pre-seeded entry to avoid confusion with XA vs non-XA settings in the above entries.
    To just get the service working without having to worry about the above configuration, make sure that the jndi entry (i.e eis/DB/...) referred to in the adapter service wsdl does not appear in the above oc4j-ra.xml; then the adapter uses the connection info specified in the wsdl directly. To confirm that it is working the way you want it regardless of which of the above routes you take, enable DEBUG level logging for *.ws logger, and take a look at the log file $ORACLE_HOME/bpel/domains/<domain name>/logs/domain.log. (default domain name is "default")

  • How to configure ftpadapter JNDI in server Console for oracle soa suite 11g

    Hi All,
    I need to configure a ftp adapter in one of my bpel process. Could any one guide me pleas ,how to do FTP adapter jndi configure in admin server console?
    Thank you.
    Regards,
    Satish

    http://www.oracle.com/technology/architect/soa-suite-series/dynamic_endpoints.html
    Configuring the End Point Properties for an Adapter through Oracle Enterprise Manager
    does that help ?

  • AuthenticationFailedException when using JNDI and JavaMail with SMTP auth

    Hi all - I've been banging my head on this one for awhile now - hopefully someone else has done this.
    We are working in a servlet container (tomcat), and need obtain a mail session from JNDI. We do this as follows:
                   Context initCtx = new InitialContext();
                   Context envCtx = (Context) initCtx.lookup("java:comp/env");
                   Session mailSession=(Session) envCtx.lookup("mailSession/trumpetinc");so far so good. The jndi entry for the mail session is configured in server.xml as follows:
              <Resource name="mailSession/trumpetinc" scope="Shareable" type="javax.mail.Session"/>
              <ResourceParams name="mailSession/trumpetinc">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>mail.server.com</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.password</name>
                  <value>ABCDEFG</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.user</name>
                  <value>trumpet_kevin</value>
                </parameter>
             <parameter>
               <name>mail.smtp.auth</name>
               <value>true</value>
             </parameter>
              </ResourceParams>With the above, whenever we hit Transport.send(msg), we got an AuthenticationFailedException thrown. I have run into this before with SMTP authentication, so I decided to try using the transport.sendMessage() method instead.
    So, I get the transport:
    Transport trans = mailSession.getTransport("smtp");
    trans.connect();Then I send my message using:
    msg.saveChanges();
    trans.sendMessage(msg, msg.getAllRecipients());and finally, I close the transport:
    trans.close();Unfortunately, I'm still getting the exception. Is it possible that my connect() method is not picking up the JNDI properties set in the server.xml file (this seems likely)? If so, what's the best way for me to get those properties so I can set them explicitly in the connect() method?
    Thanks in advance,
    - Kevin

    Hi,
    I have faced the same problem and after some googling and trying I have discovered what causes the AuthenticationFailedException exception. I just wanted to share the knowedge maybe it will be helpfull to others.
    Here it is what the API says:
    To use SMTP authentication you'll need to set the mail.smtp.auth property (see below) and provide the SMTP Transport with a username and password when connecting to the SMTP server. You can do this using one of the following approaches:
    1.Provide an Authenticator object when creating your mail Session and provide the username and password information during the Authenticator callback.
    Note that the mail.smtp.user property can be set to provide a default username for the callback, but the password will still need to be supplied explicitly.
    This approach allows you to use the static Transport send method to send messages.
    2.Call the Transport connect method explicitly with username and password arguments.
    This approach requires you to explicitly manage a Transport object and use the Transport sendMessage method to send the message. The transport.java demo program demonstrates how to manage a Transport object. The following is roughly equivalent to the static Transport send method, but supplies the needed username and password:
    Using the Transport.connect makes the JNDI not very helpfull for configuration.
    It seems that using just the mail.smtp.user and mail.smtp.pass is not sufficient for the authentication.
    so, the solution is :
    just place these to lines in the JNDI configuration:
              username="test"
              password="test1"
    so it should looks as follows:
              <Resource name="mail/Session" auth="Container"
              type="javax.mail.Session"
              username="test"
              password="test1"
              mail.transport.protocol="smtp"
              mail.smtp.auth="true"     
              mail.smtp.host="localhost"
              mail.smtp.port="25"
              mail.smtp.user="test"
              mail.smtp.password="test1"
    />
    where test and test1 are the user's credentials
    Regards,
    Kiril
    Message was edited by:
    Kireto
    Message was edited by:
    Kireto

  • How to configure database connectivity in OC4J App server.

    Hi,
    I am working on Oracle ESB flows. I have the flow inserting rows into database table using database connection that I have defined. I havent set up connection settings in OC4J EM console.
    I dont wonder when JDeveloper is inserting rows into tables, as connection is explicitely defined in JDeveloper.
    Now I login to EM enviroment and click on Home, click on Web Services tab, and when I use this flow as a Web Service end point and feed values through the form that it provided, it also works. But since I havent defined any connection properties in App Server explicitely, I wonder where is it getting connection properties(JNDI name) from.
    I want to configure some settings in Testing Environment and am kind of stuck at this point.
    Thanks,

    Hi.
    When you don't have JNDI configured, OC4J uses the design time connection defined in the Adapter's WSDL. Look for the following description in your Adapter WSDL:
    <!-- Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These 'mcf' properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if your JNDI is missing.
    These 'mcf' properties are safe to remove.
    -->
    Now, for JNDI configuration, you can use the SOA Suite tutorial as a reference:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28937/setting_up.htm#CIHBHEFC
    There you can find the steps to create a connection pool, data source, etc.
    Denis

  • Application specific key-value pairs in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    We have a similar problem.
    We would like to configure our PROVIDER_URL for a specific web application - not
    for the entire server. Since the URL should be different in development, test
    and production environments, we would prefer to just set it in the deployment
    descriptor. And we have a lot of code that just uses
    ctx = new InitialContext();
    when looking up EJBs, queues etc.
    Actually, to take the problem one step further, it should be expected that later
    we will have EJB's deployed on different machines/clusters - so we will actually
    need specific urls for each EJB.
    Is there a good way to do this? Or will we have to custom-develop our own jndi
    configuration standard using application parameters to set which JNDI provider
    each EJB should be looked up with?
    Alternativaely, can we "import" the JNDI trees of the app server in the JNDI tree
    of the web servers?
    So, how should we go about this?
    Robert Patrick <[email protected]> wrote:
    Vasim wrote:
    Hi Robert,
    You are right. But The object "myVar" which I am trying to look upis not in
    the JNDI tree nor am I interesed in binding it . But my requirementis that
    I have one application specific variable which I am trying to lookup and I
    dont want to have a separare config file for this..and hence the question..So, put the properties you want in the jndi.properties file and load
    the properties
    file from your code by doing something like this:
    Properties props = new Properties();
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null)
    cl = System.getSystemClassLoader();
    InputStream is = cl.getResourceAsStream("jndi.properties");
    props.load(is);
    Personally, I would not use this file and would create an application-specific
    file
    or, as Daniel suggested, define your properties as a System property
    and use
    System.getProperty("myVar").
    btw, is jndi.properties only for those objects which are bound to jnditree?
    jndi.properties is only used for creating the JNDI InitialContext. The
    whole idea
    of this file is that in remote client code (without the jndi.properties
    file), you
    need to do something like this to tell the JNDI classes how to connect
    to the JNDI
    provider:
    Properties props = new Properties();
    props.put(Context.PROVIDER_URL, "t3://myservername:7001");
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    InitialContext ctx = new InitialContext(props);
    but inside the server, you only need to do this because the server is
    the provider
    and already knows how to connect to itself:
    InitialContext ctx = new InitialContext();
    Therefore, the jndi.properties file allows you to externalize this property-setting
    code that sets up the properties to be passed to the InitialContext constructor
    so
    that the remote client code can now look exactly like the code inside
    the server.
    The InitialContext constructor will look for this jndi.properties file
    in your
    classpath and load it to get the necessary configuration information
    to determine
    how to connect to the JNDI provider.
    Hope this helps,
    Robert

  • Regarding database access through jndi

    Hi All,
    Plz tell me the steps.
    I want to access data from MS Access, and i want to do it using JNDI .
    what should be added in struts-config.xml, web.xml .
    if any one have example code that will be better to understand.

    Nothing necessary added to struts-config.xml
    What server are you using? The JNDI configuration for each server is slightly different.
    The page for Tomcat is here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    I would follow that apart from instead of editing server.xml, put the JNDI configuration in a "mycontext.xml" file as defined here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
    Cheers,
    evnafets

  • Best practices to configure files to display and play in order?

    I'm looking for best practices to get saved recordings (songs and business trainings) on my PC correctly configured so they will show up correctly (artist, song title, track number) and play incorrect order.
    I have lots of MP3 files (and other formats) on my PC but when i transfer them to iTunes and sync to iPod they don't play in correct order or show up as unknown artist (and other issues).
    I typically have them in a folder by artist name then folder with name of course or album then each song begins with a number.
    EXAMPLE: Eagles (folder) - Hotel California (folder) - 1.HotelCalifornia.mp3, 2.NewKidInTown.mp3, etc etc.
    I've also right-clicked and went into properties and add the track number,  artist name, album name, contributing artist etc but it still comes up with these issues
    --it's also very time-consuming to do this.
    EXAMPLE: instead of it being track 1,2,3 etc it will be 1,10,11,2,21,3...
    I've tried dragging them or copying them into the "automatically add" folder and also adding to library in iTunes.
    Any help is much appreciated.

    Hi Narendra,
    Oracle User and the FTP user are 2 different users.
    I'm assuming you'll be reading the file from R12 through File Adapter and writing it to Bank using FTP Adapter.
    Oracle User is able to login into R12, do some operations, submit some concurrent programs/requests based on responsibilities and generate the file to be transferred (like in my case it did by running a Concurrent Request). The file so generated should be placed at a location from where File Adapter can read it within the BPEL process. Now to read the file, the user that is used is a SOA server user (again different from R12 user). This is the same user that you use to login into your SOA server physical box. Hence to be able to read the file, your file should have appropriate privileges (we set that as 777) so that it can be read by the SOA process (using SOA user).
    FTP user, on the other hand, is the user that allows connection to Bank FTP server. This has absolutely no connection with R12. Bank who hosts the FTP server must give you the FTP user details that you'll use inside your FTP JNDI Configuration on Weblogic. When you deploy and run your process (you don't deploy adapter), it picks up the connection details from FTP JNDI properties that you defined in weblogic.
    Hence both the jusers can be different and I don't think any best practices are required or do exist for this.
    Regards,
    Neeraj Sehgal

  • How can i configure mail session

    I am trying to execute the junit test cases.The server will not be running when i execute the junit test cases.Their are some methods which send the mail.The mail session is provided by the server with the help of JNDI configured in server.xml.How can we code and provide this mail session as a JNDI resource.

    I do not know if this is the right solution but in the web application XML configuration file you have to add the mail session reference.
    The file name is xxxx-oc4j-amm.xml where xxxx is the web application name.
    Inside <orion-application> entry you have to put
    <mail-session location="mail/Session" smtp-host="smtp.host.it">
    <property name="mail.transport.protocol" value="smtp"/>
    <property name="mail.smtpo.port" value="25"/>
    </mail-session>
    where smtp.host.it is the IP address or the name of the SMTP server
    I hope to be helpful
    Ciao
    Domenico Pozza

  • Weblogic.XML - Dynamic JNDI

    All,
    In my current application we have cluster set up with JDBC Session Replication enabled. Unfortunately, i was forced to give the persistent-store-pool and persistent-store-table value directly in the weblogic.xml. Is there any way, where i can configure these values in property files and load the JNDI value in runtime? Something like ${JNDI}, ${TABLENAME}..
    <session-descriptor>
    <timeout-secs>1800</timeout-secs>
    <invalidation-interval-secs>60</invalidation-interval-secs>
    <persistent-store-type>jdbc</persistent-store-type>
    <persistent-store-pool>${JNDI}</persistent-store-pool>
    <persistent-store-table>${TABLENAME}</persistent-store-table>
    </session-descriptor>
    </weblogic-web-app>
    Kindly help me on this aspect.
    Thanks in Advance.
    Cancer.

    Kalyan,
    Thanks a lot for your quick response.
    We have different environment @ our end. Each will have different Connection Pool JNDI Name configured. we maintain a property file that holds the list of JNDI configured in that environment. Application runs without any issues.
    When it comes to weblogic.xml - i cannot have the same JNDI configured in all the servers .
    As of now, we will deploy the same WAR file across servers, all the JNDI name will be fetched from the property file.
    Is there any way i can get the JNDI name from outside the WAR file?
    Regards,
    Cancer.

  • Best Practices to configure the connectivity with Bank and EBS

    Hi All,
    We are working on a requirement where Middleware(SOA) has to read the file from Oracle E-biz server and send it to BANK.
    For Connectivity setup between Oracle E-biz and Middleware(SOA), Middleware(SOA) and BANK do we need to use oracle as user or we can use any user to communicate between E-biz and Bank?
    Could you please share best practices/documents if you have any on how we should establish the connectivity and setup the workflow with Bank and E-Biz. E-Business
    Thanks & Regards
    Narendra

    Hi Narendra,
    Oracle User and the FTP user are 2 different users.
    I'm assuming you'll be reading the file from R12 through File Adapter and writing it to Bank using FTP Adapter.
    Oracle User is able to login into R12, do some operations, submit some concurrent programs/requests based on responsibilities and generate the file to be transferred (like in my case it did by running a Concurrent Request). The file so generated should be placed at a location from where File Adapter can read it within the BPEL process. Now to read the file, the user that is used is a SOA server user (again different from R12 user). This is the same user that you use to login into your SOA server physical box. Hence to be able to read the file, your file should have appropriate privileges (we set that as 777) so that it can be read by the SOA process (using SOA user).
    FTP user, on the other hand, is the user that allows connection to Bank FTP server. This has absolutely no connection with R12. Bank who hosts the FTP server must give you the FTP user details that you'll use inside your FTP JNDI Configuration on Weblogic. When you deploy and run your process (you don't deploy adapter), it picks up the connection details from FTP JNDI properties that you defined in weblogic.
    Hence both the jusers can be different and I don't think any best practices are required or do exist for this.
    Regards,
    Neeraj Sehgal

  • JNDI environment variables

    Is there a way to store variables in a xml application config file and reference those variables in the java program? I can do this with Tomcat, but I have not found a way to do this with 9iAS. Mainly, I found not found which xml file to use.
    Thanks.

    No there is no such thing in weblogic. You cannot use JNDI as a cache but
    you can write your code to register/bind your rmi objects into the jndi
    tree. And save your environment variables there.
    Try using WebLogic Workshop for your development, you will be able to do all
    this without having to write your own code as you can define application
    wide properties there.
    "Jacques Desmazieres" <[email protected]> wrote in message
    news:[email protected]..
    >
    I think I have a very common problem, that seems to fit with JNDI service:
    I need to define applicative variables shared by several applications, andthose
    variables need to be defined at deployment time.
    On Websphere, it is possible to define, from the App Server console, suchJNDI
    entries : sort of Environment variables you access through a JNDI lookupto retrieve
    the value.
    With Weblogic I did not fine anything similar. Did I miss something ?
    I have a constraint: the JNDI configuration must be persistent (stillavailable
    after server restart) and must be defined during deployment and ifpossible, manageable
    from the server console.
    Thanks

  • Strange error when running ADFBC on Jboss 4.0.3SP1

    jdeveloper : 10.1.3.3.0.4157
    jboss : 4.0.3SP1
    database: Oracle10g
    I have developed a simple JSP page which talks to a table in the database using ADFBC, while I was developing I was using the OC4J server that comes with JDeveloper it runs fine, I deployed it to an Oracle Application Server, again it worked fine. Then my boss wants this deployed to a Jboss server and this is where it all went wrong.
    At first I had problems deploying to the server but then I realised that I need the ADF installer, so after I installed that it deployed fine. But when I try to goto the page it comes up with the following error
    JBO-30003: The application pool (com.delexian.notification.HRPublicServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.CustomClassNotFoundException, msg=JBO-26022: Could not find and load the custom class com.delexian.notification.HRPublicServiceImpl
    Heres what I've done to try and resolve this problem
    - setup the oracle-ds.xml, standardjaws.xml and login-config.xml file according to this url http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html#oracle
    - checked that the class file is actually in the ear file that I've deployed.
    - double checked that I'm not deploying java files
    - double checked that the probject works on other app servers (OC4J and Oracle App Server)
    - setup the oracle-ds.xml jndi configuration according to bc4j.xcfg file
    I have been searching the forums and the only relevant thing I can find is someone said to goto a $JAVA_TOP/blah/blah directory and see if the files are in the folder. The problem with mine is that I am running on Windows and I don't have a $JAVA_TOP directory, could this be part of the problem ? The other reflex answer I've seen to problems like this is just "check your not deploying java files". Which is why I've double checked I'm deploying class files
    I have noticed that the class that it reckons it cannot find are in the Web-Inf folder, is this correct ?
    Here is my file layout in the war file (embedded in an EAR file), there is obviously other stuff in the WAR file, but I've posted what I think is most relevant, if you would like to know the location of other files please let me know.
    staff
    ----browsePersons.jspx
    WEB-INF
    ----classes
    --------com
    ------------delexian
    ----------------notification
    --------------------HRPublicServiceImpl.class
    should the com.delexian.notification.HRPublicServiceImpl.class be under a different folder ?
    I am just using a default deployment script, which was generated in JDev by right clicking on my view-controller project and selecting New -> Deployment Profiles -> WAR File.
    Is there anything in here I need to modify to get it running on a Jboss server ?
    Thanks
    Duncan

    Thanks for the reply, yes unfortunately it is in the classpath. Although I have a feeling it will be something simple like this when I work it out in the end...

  • Java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist while invoking a DBAdapter

    I have a WebService which is invoked , the request is routed through the mideator to the DBAdapter .DBAdapter interacts with the database and replies the result.
    I send in the CreditCardNumber in the request and recieve its Status (VALID,INVALID). i get this error every time . i have tried almost every thing to fix this . Please help me with same .
    Below is the complete error stacktrace.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks in advance

    Can you please check the following
    a. check the JNDI Configuration. ( check for the value used for XADatasourceName )
    b. check the Data source created for the User.
    c. Incase you have updated the existing JNDI then you need to update the adapter with the New Deployment Plan.
    Thanks,
    Sunil Gopal

Maybe you are looking for