IBM MQ JMS data server in linux

Guru's
Need help.
I configured the jms data server in linux ODI server for IBM MQ, my problem is while trying to access this data server from windows client i'm getting error.
Can any body help with you suggestion whether we can access data server configured in linux through windows client?
Please explain the how to make this work. I have to give this type of access to developers.
Thanks

Guru's
Need help.
I configured the jms data server in linux ODI server for IBM MQ, my problem is while trying to access this data server from windows client i'm getting error.
Can any body help with you suggestion whether we can access data server configured in linux through windows client?
Please explain the how to make this work. I have to give this type of access to developers.
Thanks

Similar Messages

  • JMS data server  creation , parameters?

    hi,
    can anybody plz tell how to create jms queue dataserver in ODI.
    I have already created JMS data server in Weblogic 8.1.
    I'm using LDAP protoclol..
    Plz give the format of JNDI url and JNDI resource .
    I'm using JMS Queue ..Not JMS Queue XML ..
    Thanks a lot in advance ..
    user568....delhi

    Find below the process to configure a JMS destination for OC4J.
    You will need to adapt it to you JMS provider.
    To set this up, you will need to:
    1. Copy the necessary client files from OC4J, place them in the <ODI_HOME>/oracledi/drivers directory and restart ODI. The files you need are:
    - <OC4J_HOME>/j2ee/home/oc4jclient.jar
    - <OC4J_HOME>/j2ee/home/lib/javax77.jar
    - <OC4J_HOME>/j2ee/home/lib/jta.jar
    Copy those files and restart ODI.
    2. Create a physical connection (Topology Application/Physical Architecture/Technologies -> right click JMS Queues and select "Insert Data Server")
    3. In the Description tab, simpl fill in the Name field.
    4. In the JNDI tab , fille in the following:
    - JNDI Authentication - Simple
    - JNDI User: application user - this is the equivalent of javax.naming.Context.SECURITY_PRINCIPAL
    - Password: application password - this is the equivalent of javax.naming.Context.SECURITY_CREDENTIALS
    - JNDI Driver: This is the equivalent of javax.naming.Context.INITIAL_CONTEXT_FACTORY, so enter com.evermind.server.rmi.RMIInitialContextFactory
    - JNDI Url: This is the equivalent of javax.naming.Context.PROVIDER_URL, so put in ormi://<hostname>[:<port>]/<application>.
    For instance, with the basic OC4J install, I put in ormi://localhost/default.
    - JNDI Resource: This is the JNDI lookup key for your Queue Connection factory.
    For example, for the default OC4J installation, I put in jms/QueueConnectionFactory
    5. Click the Test button and click OK in the window that pops up. You should get a message box saying that your connection was successful.
    6. Click Apply or OK and a new window will pop up. In this window, go to the Context tab and click the Add button and in the row that appears, click on the right most field (it says <Undefined> and replace <undefined> with a logical name for your connection. Hit Enter and click OK)
    7. You've now connected to the Queue, to create the Queue object in ODI, go to the Designer window, go to models and create a new model.
    8. Set the name to whatever makes sense to you. Set the technology to JMS Queue and the Logical Schema to the logical connection name you created in step 6. In the Reverse tab, select Global from the Context dropdown menu.
    9. Click OK. You now have a container for any Queues that are in this connection.
    10. To point to the queue, right click your new model and select Insert Datastore.
    11. In the new window, name your datastore whatever you'd like. Set the resource name to the JNDI resource name for the queue (for example, with the default OC4J configuration, you could set this to jms/demoQueue.
    12. In the Files tab, set the File Format to fixed, and set the record separator to Windows or Unix (it doesn't really matter which one you pick)
    13. In the Columns tab, click the add button to add a column. Name the column something like DATA and set is to a String of size 1000.
    14. Click OK. You'll now be able to right click this new datastore and view data, granted in a very simple format. You can create a more complex flat file structure if you' like but this gives you a quick and easy to view the contents of the queue.
    Regards,
    -FX

  • ODI 11g : JMS Queue XML Data Server creation

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

  • Creating data server for JMS Queues in ODI

    hi,
    I am trying to create data server for JMS Queues in ODI.
    I am getting following error:
    java.sql.SQLException: Cannot load connection class because of underlying exception: 'javax.jms.JMSException: Cannot find the Connection Factory (jms/QueueConnectionFactory) in JNDI'.
    To implement this, I am giving following parameters:
    JNDI driver : com.evermind.server.rmi.RMIInitialContextFactory
    JNDI url : ormi://localhost/default
    JNDI resource : jms/QueueConnectionFactory
    Please help.
    Thanks,
    Monika

    Hi,
    according to docs
    http://docs.oracle.com/cd/E23943_01/integrate.1111/e12644/hypersonic_sql.htm#ODIKM590
    i see
    JDBC Driver: org.hsqldb.jdbcDriver
    JDBC URL: jdbc:hsqldb:hsql://<host>:<port>
    could you modify
    JDBC Driver : org.hsqldb.jdbc.JDBCDriver
    JDBC Url : jdbc:hsqldb:hsql://localhost
    according to docs?
    Thanks

  • WebLogic 10.3.3 - 2-Way SSL setup between WLS JMS Foregin Server & IBM MQ 6

    Hi,
    I am trying to configure 2-Way SSL between WebLogic 10.3.3 using JMS Foreign Server and IBM MQ 6. I could not find any documentation on this.
    Can someone provide with steps for setting up 2-Way between WebLogic and IBM MQ?
    Also I want to use SSLPEERNAME attribute in MQ Connection Factory and generate bindings so that I can connect to correct queuemanager on MQ side. Please let me know the configuration steps and check's that have to be done on WLS and IBM MQ side on this.
    Thanks in advance
    - BoyelT

    Check this:
    http://www.ibm.com/developerworks/websphere/library/techarticles/0510_fehners/0510_fehners.html

  • Create jms queue xml data server

    Hi,
    What's the difference between jms queue and jms queue xml data servers and how to create jms queue xml data server.
    Thanks.

    Hello,
    JMS messages can principally be processed by Oracle Data Integrator in two formats:
    - JMS Messages: containers for rows of data, handled through JMS Queue/JMS Topic Technologies. With JMS Queue/JMS Topic technologies, each JMS destination is defined similarly to a flat file datastore. Each message in the destination is a record in the datastore.
    - XML Messages: containers for XML files, handled through JMS XML Queue/JMS XML Topic Technologies. With JMS XML Queue/JMS XML Topic technologies, each messages payload contains a complete XML data structure. This structure is mapped into a relational schema (XML Schema) which appears as a model. This use the Oracle DI Driver for XML (see the driver documentation in Oracle DI documentation).
    Find below a step by step creation process for such a destination:
    1. Data Server
    To create a JMS XML Queue data server, you declare a simple JNDI connection. The only JMS XML specific information is added to the URL. This information defines the XML file format.
    The JNDI URL should be : <JMS_RESOURCE>?d=<DTD_FILE>&f=<XML_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>
    - JMS_RESOURCE: JNDI resource corresponding to your JMS queue that will contain the XML payload. You would specify this URL if you were managing normal JMS messages.
    - DTD_FILE: path to a DTD file that describes the XML structure. Mandatory if the parameter XML_FILE is omitted.
    - XML_FILE: path to the XML file with a structure similar to the expected XML messages. Mandatory if the DTD_FILE parameter is omitted.
    - SCHEMA: schema name that will contain the XML structure. This value must match the one set for the physical schema attached to this data server. This parameter is mandatory.
    - JMS_DESTINATION_NAME: name of the JMS queue or topic. This parameter is mandatory.
    2. Schema
    Creation is straightforward: In the Schema (Schema) and Schema (Work Schema), enter the name of the <SCHEMA> defined in the data server JNDI URL.
    3. Model
    Use standard reverse-engineering. As the Oracle DI Driver for XML is used the XML structure will be reversed as a relational structure.
    Regards,
    - FX

  • EJb 3.0 com.ibm.mq.jms.MQQueueConnectionFactory

    Hi All
    I see this error
    [EJB:011013]The Message-Driven EJB attempted to connect to the JMS connection fa
    ctory with the JNDI name:xxxx.ccerqcf. However, the object with th
    e JNDI name xxxx.ccerqcf is not a JMS connection factory. NestedEx
    ception Message is :com.ibm.mq.jms.MQQueueConnectionFactory
    When using MDB/ EJB 3.0 in WLS 10.0 Mp2
    When I use EJB 2.x I don't see the issue, can ejb 3.o read weblogic-ejb-jar.xml for its connection factory?
    Is there any debug flag to see a better exception
    This is a MDB intended to listen to message from IBM MQ server using a foreign server configured in the console
    Edited by: user12297324 on Mar 15, 2010 3:47 PM
    Edited by: user12297324 on Mar 15, 2010 4:04 PM

    EJB 2.0
    import javax.ejb.*;
    import javax.jms.*;
    public class FOTSysInqMsgBean implements MessageDrivenBean, MessageListener
    //     private static Logger logger = Logger.getLogger(FOTSysInqMsgBean.class);
         MessageDrivenContext messageDrivenContext;
         public void ejbActivate(){}
         public void ejbRemove(){}
         public void ejbPassivate(){}
         public void ejbCreate() throws CreateException {}
         // This is the key onMessage method
         public void onMessage(Message msg)
              //if (logger.isInfoEnabled()) logger.info("Enter MDB onMessage");
    //          byte buf[] = new byte[1000];
    //          int      length      = 0;
              String      inString = null;
              String jmsMsgId = null;
              try
                   if(msg instanceof TextMessage)
                        TextMessage tm = (TextMessage) msg;
                        inString = tm.getText();
                        jmsMsgId = tm.getJMSMessageID();
                        System.out.print(inString);
                        //MQMessageFormatter.parse(inString, jmsMsgId);
                   //else
                        //System.out.println("Is not instanceOf TextMessage");
                   //     if (logger.isInfoEnabled()) logger.info("Not instanceOf TextMessage");
         catch(Exception ex)
              System.out.println("Error IncomingMessage is *********************" +ex);
              //if (logger.isInfoEnabled())
              //     logger.info("FOTSysInqMsgBean === " + ex + " === in Bean class Message method");
         //if (logger.isInfoEnabled()) logger.info("IncomingMessage:" + inString);
         //     if (logger.isInfoEnabled()) logger.info("Exit MDB onMessage");
              //System.out.println("IncomingMessage is *********************" +inString);
         public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
              this.messageDrivenContext = messageDrivenContext;
    EJB 3.0
    package foo;
    import javax.annotation.Resource;
    //import javax.ejb.*;
    import javax.ejb.MessageDriven;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.MessageDrivenContext;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    import javax.jms.MessageListener;
    import javax.jms.Message;
    import javax.jms.TextMessage;
    * MDB asynchronously feeds the new added reviews to subscribers.
    @MessageDriven
    ( name = "FOTSysInqMsgBean3", //,mappedName = "wholesale.ccer.fjms.maint.rsps.q1",
    activationConfig = {
    @ActivationConfigProperty(propertyName = "destinationType",
              propertyValue = "javax.jms.Queue")
    EJB 3.0
    public class FOTSysInqMsgBean3 implements MessageListener
    //     MessageDrivenContext messageDrivenContext;
         @Resource MessageDrivenContext messageDrivenContext;
         //public void ejbActivate(){}
         //public void ejbRemove(){}
         //public void ejbPassivate(){}
         //public void ejbCreate() throws CreateException {}
         // This is the key onMessage method
         public void onMessage(Message msg)
         //     if (logger.isInfoEnabled()) logger.info("Enter MDB onMessage");
    //          byte buf[] = new byte[1000];
    //          int      length      = 0;
              String      inString = null;
              String jmsMsgId = null;
              try
                   if(msg instanceof TextMessage)
                        TextMessage tm = (TextMessage) msg;
                        inString = tm.getText();
                        jmsMsgId = tm.getJMSMessageID();
                   //     if (logger.isInfoEnabled()) logger.info("MQ Message Class:" + msg.getClass());
              //          if (logger.isInfoEnabled()) logger.info("MQ Message Object:" + msg);
              //          if (logger.isInfoEnabled()) logger.info("MQ Message Id:" + jmsMsgId);
                   //     MQMessageFormatter.parse(inString, jmsMsgId);
                   else
                        //System.out.println("Is not instanceOf TextMessage");
              //          if (logger.isInfoEnabled()) logger.info("Not instanceOf TextMessage");
         catch(Exception ex)
              //System.out.println("Error IncomingMessage is *********************" +ex);
              //if (logger.isInfoEnabled())
         //          logger.info("FOTSysInqMsgBean === " + ex + " === in Bean class Message method");
    //     if (logger.isInfoEnabled()) logger.info("IncomingMessage:" + inString);
         //     if (logger.isInfoEnabled()) logger.info("Exit MDB onMessage");
              //System.out.println("IncomingMessage is *********************" +inString);
         /*public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
              this.messageDrivenContext = messageDrivenContext;
    both uses the same weblogic-ejb-jar.xml

  • Need to communicate c server on linux & java client on windows

    Hi!! I am new to socket programing in both C and Java.
    From let I downloaded some client server example for c and java and tried that to link !! (I allways learn this way , and I need to do that little urget )
    though cient server in linux is working perfectly fine and same for java. But problem is when I tried to communicate C server on linux and java client on windows, I end up with getting some junk characters. Though they are connected successfully.
    Here goes code for java client:
    package whatever;
    import java.io.*;
    import java.net.*;
    public class Requester{
         Socket requestSocket;
         ObjectOutputStream out;
         ObjectInputStream in;
         String message;
         Requester(){}
         void run()
              try{
                   //1. creating a socket to connect to the server
                   requestSocket = new Socket("192.168.72.128", 2006);
                   System.out.println("Connected to localhost in port 2004");
                   //2. get Input and Output streams
                   out = new ObjectOutputStream(requestSocket.getOutputStream());
                   out.flush();
                   in = new ObjectInputStream(requestSocket.getInputStream());
                   System.out.println("above do");
                   //3: Communicating with the server
                   do{
                        try{
                             System.out.println("in do");
                             //message = (String)in.readObject();
                             System.out.println("in try");
                             //System.out.println("server>" + message);
                             System.out.println("server>" + "message");
                             sendMessage("Hi my server");
                             message = "bye";
                             sendMessage(message);
                             System.out.println("try completed");
                        catch(Exception e){
                             e.printStackTrace();
                   }while(!message.equals("bye"));
              catch(UnknownHostException unknownHost){
                   System.err.println("You are trying to connect to an unknown host!");
              catch(IOException ioException){
                   ioException.printStackTrace();
              finally{
                   //4: Closing connection
                   try{
                        in.close();
                        out.close();
                        requestSocket.close();
                   catch(IOException ioException){
                        ioException.printStackTrace();
         void sendMessage(String msg)
              try{
                   String stringToConvert= "hello world";
                   byte[] theByteArray = stringToConvert.getBytes();
                      System.out.println(theByteArray.length);
                   out.writeObject(theByteArray);
                   out.flush();
                   System.out.println("client>" + msg);
              catch(IOException ioException){
                   ioException.printStackTrace();
              catch(Exception ex){
                   ex.printStackTrace();
         public static void main(String args[])
              Requester client = new Requester();
              client.run();
    And for C server
    / server
        #include <stdio.h>
            #include <sys/socket.h>
            #include <arpa/inet.h>
            #include <stdlib.h>
            #include <string.h>
            #include <unistd.h>
            #include <netinet/in.h>
            #define MAXPENDING 5    /* Max connection requests */
            #define BUFFSIZE 32
            void Die(char *mess) { perror(mess); exit(1); }
        void HandleClient(int sock) {
                char buffer[BUFFSIZE];
                int received = -1;
                /* Receive message */
                if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                    Die("Failed to receive initial bytes from client");
                /* Send bytes and check for more incoming data in loop */
                while (received > 0) {
                /* Send back received data */
                    if (send(sock, buffer, received, 0) != received) {
                        Die("Failed to send bytes to client");
    //            fprintf("%s",buffer);
                fprintf(stdout, "message Recieved: %s\n", buffer);
                    //Die("was not able to echo socket message");               
                /* Check for more data */
                    if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                        Die("Failed to receive additional bytes from client");
                close(sock);
        //     A TCP ECHO SERVER
        int main(int argc, char *argv[]) {
                int serversock, clientsock;
                    struct sockaddr_in echoserver, echoclient;
                    if (argc != 2) {
                      fprintf(stderr, "USAGE: echoserver <port>\n");
                    exit(1);
                /* Create the TCP socket */
                    if ((serversock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
                      Die("Failed to create socket");
                /* Construct the server sockaddr_in structure */
                    memset(&echoserver, 0, sizeof(echoserver));      /* Clear struct */
                    echoserver.sin_family = AF_INET;                  /* Internet/IP */
                    echoserver.sin_addr.s_addr = htonl(INADDR_ANY);  /* Incoming addr */
                    echoserver.sin_port = htons(atoi(argv[1]));      /* server port */
        // A TCP ECHO SERVER ENDS
        // A TCP ECHO SERVER BINDING AND LISTNING
      /* Bind the server socket */
                  if (bind(serversock, (struct sockaddr *) &echoserver, sizeof(echoserver)) < 0) {
                        Die("Failed to bind the server socket");
              /* Listen on the server socket */
                  if (listen(serversock, MAXPENDING) < 0) {
                  Die("Failed to listen on server socket");
        // A TCP ECHO SERVER BINDING AND LISTNING
        // SOCKET FACTORY
    /* Run until cancelled */
                while (1) {
                        unsigned int clientlen = sizeof(echoclient);
                          /* Wait for client connection */
                        if ((clientsock =
                          accept(serversock, (struct sockaddr *) &echoclient, &clientlen)) < 0) {
                            Die("Failed to accept client connection");
                          fprintf(stdout, "Client connected: %s\n", inet_ntoa(echoclient.sin_addr));
                          HandleClient(clientsock);
        // SOCKET FACTORY ENDSI know that it is not C forum but I found no better place to post it
    Thanks

    kajbj wrote:
    ManMohanVyas wrote:
    hii!! just trying to make it a little more explinatory
    1) what I am trying to accomplish by the above code is: - just need to echo/print from the Server , message send by the Client. I know code is not that good but should be able to perform this basic operation( according to me ).You are wrong. I told you that it won't work as long as you are using ObjectOutputStream and ObjectInputStream. You shouldn't write objects.
    2) Message sent by the client is "hello world"(hard coded).No, it's not. You are writing a serialized byte array.
    3) what I am getting at the client end is "*message recieved: ur*" (before that It shows the Ip of client machine)
    It should print "hello world ".See above.
    You are having a problem, and I have told you what the problem is.hey I dont know what went wrong but . I posted all this just next to my first post ...before you posted !!
    And hard coded byte array includes "hello world"...may be I am not able to explain properly.

  • Using ADS local server on Linux

    Hi,
    I am using Centos 6.4 and I've installed unixODBC and downloaded and installed the Sybase Advantage ODBC driver for Linux version 11.1.  I unpacked and installed the driver (using setup.pl).
    I created the following /etc/odbc.ini
    ; odbc.ini
    [ODBC Data Sources]
    Odie = Advantage ODBC Driver
    [Odie]
    Driver=/usr/lib64/libadsodbc.so
    DataDirectory=/usr/src
    Description=Advantage ODBC driver
    DefaultType=FoxPro
    ServerTypes=1
    I'm trying to access FoxPro DBF files, and I'm wanting to use the Advantage Local Server to do so.  I copied a FoxPro free table called test.dbf to /usr/src.  The file /usr/lib64/libadsloc.so exists in the same folder as /usr/lib64/libadsodb.so.  Then from the command prompt, I ran --
    isql Odie -v
    And I got the following error --
    [root@linuxmysql2 adsodbc-11.10.0.1]# isql Odie -v
    [S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 6060:  Advantage Database Server not available on specified server.  axServerConnect
    [ISQL]ERROR: Could not SQLConnect
    I understand that the Advantage Local Server for Linux is not a daemon, so there's nothing that's supposed to be running.  Given that I configured "ServerTypes=1" and the libadsloc.so file appears to be in the correct place, so I'm sure I'm doing something wrong, but I'm not quite sure what.
    Suggestions?
    UPDATE :
    Upon further investigation, I've figured out how to get past that particular error by creating an /etc/ads.ini and putting in the following --
    [SETTINGS]
    ADS_SERVER_TYPE=1
    But now I'm getting the message I've copied below when trying to run "select * from test". /usr/src/test.dbf exists and is chmod 777 just to simplify things. As you can see in my ODBC setup above, my data directory is /usr/src. This is a free table, and no FoxPro database exists, nor does an Advantage database exist. The same thing works fine on my Windows box.
    SQL> select * from test
    [S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 7200: AQE Error: State = HY000; NativeError = 5004; [iAnywhere Solutions][Advantage SQL][ASA] Error 5004: Either ACE could not find the specified file, or you do not have sufficient rights to access the file. //linuxmysql2/usr/src/test.adt Table name: test
    [ISQL]ERROR: Could not SQLPrepare
    UPDATE 2:
    I tried specifically indicating the full file name (including .dbf at the end) and I got the following error --
    SQL> select * from [test.dbf]
    [S1000][unixODBC][iAnywhere Solutions][Advantage SQL][ASA] Error 7200: AQE Error:  State = HY000;   NativeError = 7016;  [iAnywhere Solutions][Advantage SQL][ASA] Error 7016:  Corrupt table.  Make sure you are not attempting to open a DBF with an ADT table type or vice versa.  //linuxmysql2/usr/src/test.dbf Table name: test.dbf
    [ISQL]ERROR: Could not SQLPrepare
    I've specified the default table type in odbc.ini, but it looks like that may be getting ignored.  If I don't specify the table extension, it complains that test.adt doesn't exist.  If I do, then it complains that I'm trying to open a DBF as an ADT table, even though I've specified that I want to be opening DBFs.

    Hi,
    I believe that we may have answered this on the Q&A forum.  If I recall correctly, you placed the odbc.ini in your local home directory as .odbc.ini and this seemed to resolve the issues.
    Edgar

  • JMS C API for linux

              Hi,
              I need the JMS C API for Linux to connect to WLS(WebLogic Server).
              Please let me know whether it is available for linux or not.
              Thanking you in anticipation.
              regards,
              Subodh
              

              Hi Tom,
              Thanks a lot for the reply ,actually customer has a deadline ,earlier they were
              using JMS C api for windows for using WebLogic JMS ,now they are moving to Linux
              ,so they need JMS C api urgently.
              Please help me ,if possible try to escalate it.
              Again,thanks a lot.
              regards,
              Subodh
              Tom Barnes <[email protected]> wrote:
              >Also note that there are several ways to contact
              >WL from C without using JMS.
              >
              >Subodh Kumar wrote:
              >> Hi,
              >>
              >> I need the JMS C API for Linux to connect to WLS(WebLogic Server).
              >>
              >> Please let me know whether it is available for linux or not.
              >>
              >> Thanking you in anticipation.
              >>
              >> regards,
              >> Subodh
              >>
              >>
              >
              

  • Installing Oracle App Server on Linux

    Hi,
    Has anyone installed the App Server on Linux? Can they tell me if it was difficult, complicated, etc. bearing in mind that I am not a DBA, and have basically no experiance with this sort of stuff at all. So basically what I am asking is can you stick in the CDs and follow the install guide and get it done in half a day or less.
    Cheers.

    I would say that a half a day is grossly underestimating it, by my experience and what you indicate your level of expertise is. I ended up installing, getting to a fail point, uninstalling and re-doing. Some errors are "recoverable", but some do not seem to be (from my experience). I'd make a few recommendations. I have it installed on Mandrake 8.x (latest release, I think), which seems to be "doable" but I'd recommend going with a certified platform if you don't know what you are doing. Also, Mandrake had some quirks like their security management software which resets file permissions "behind the scenes". This was my first experience with Mandrake so it took me a while to figure out which files to edit/fix so that Enterprise manager would get the right data.
    Read the readme!
    Read the installation docs all the way through!
    Read the release notes all the way through!
    I had a NUMBER of problems, some specific to my platform (which is not certified by Oracle, so it's not their fault) and some which were covered in the readme. It took me a while to get everything right and I ended up struggling most with the Infrastructure install. Most likely that was due to my hardware & OS (Mandrake), but there are some issues in the release notes that are important. The reason I would restart many times is that I wanted the installation to go smoothly from start to finish so that I could better understand the requirements, etc. Examples of issues (which includes things from the readme/release notes and otn):
    - either install PDKSH or link /bin/bash to /bin/ksh. /bin/ksh is listed in one of the scripts as the shell during installation configuration. This should be in the installation guide as a pre-requisite.
    - install the sysstat package so the enterprise manager will show graphs, etc. This should be in the installation guide as a pre-requisite.
    - link (symbolic) your perl binary to /usr/local/bin/perl
    - I received numerous link errors due to two problems:
    - genclntsh didn't have a good link command for my platform. There seems to be two work-arounds posted around here, but I chose to add -lgcc and -L/path/to/gcclib on the ld line. E-mail me if you want more details ([email protected]). My path was something like: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 where I found the libgcc.a
    - Reports server and Forms server failed because the link line was linking to libXm.2.1.so instead of libXm.2.0.1.so (or libXm.2.so, etc). The development team evidently used a later version of Motif than I had, so I fixed it in the forms and reports makefiles, respectively.
    I can't remember, offhand, what else I had to do, but this covers it. Obviously, a lot of this depends upon the type of install you choose. I wanted the reports server, which requires the infrastructure, etc.
    Good luck.
    Jeff

  • How to install Oracle10gr2 into the IBM AIX 5.3 Server

    Hi ALL,
    Could you please give me instructions how to install Oracle10gr2 into IBM AIX 5.3 Server. Otherwise if any installation doucment please provide
    Thank you all
    Kishore

    Hi Kishore!
    Apart from posting an AIX question in a Linux forum it is not completely clear what your problem is.
    Have you read the http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb19075%2Ftoc.htm&remark=portal+%28Installation%29
    Installation Guide?
    What are the problems you encounter?
    cu
    Andreas

  • Testing ODI connectivity with Sonic MQ JMS Queue server

    Hi
    We are trying to integrate our ODI to sonic MQ.
    Since I am a newbie , could you please guide me in creating a data server and connecting it through physical agent?
    Below are the steps I did.
    1. I have copied the below jar files in ../driver directory and bounce the agent.
    mfcontext.jar sonic_Client.jar sonic_ASPI.jar sonic_XA.jar sonic_Selector.jar sonic_Crypto.jar jndi.jar
    3. tesed the connectivity to the JNDI URL and port using 'telnet myserver 7530'
    3. created a new JMS Queue Server with below setting.
    JNDI Authentification: Simple
    JNDI User :Administrator
    Password :
    JNDI Protocol : <undefined>
    JNDI Driver: com.sonicsw.jndi.mfcontext.MFContextFactory
    JNDI URL: tcp://myserver:7530
    JNDI Resource: ODI_QUEUE.Entry
    4. apply the changes
    When I tried to test it I got the below messages.
    java.lang.Exception:
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java
         at com.sunopsis.graphical.l.pm.a(pm.jav)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    I think that you should update the Odiparams.bat in order to add the JMS driver files which are not in the path of the agent.
    Stop your agent.
    in the odiparams update one of the line
    "set ODI_CLASSPATH" with the new files
    and then restart your agent.

  • Can't connect to MSSQL server from Linux

    I'm running CentOS 7. I installed the Microsoft ODBC Driver 11 for SQL Server on Linux. I also installed the unixODBC package and dependencies. I can ping the SQL Server. I can telnet to the SQL server on port 1433. My config files read:
    /etc/odbcinst.ini
    [ODBC Driver 11 for SQL Server]
    Description=Microsoft ODBC Driver 11 for SQL Server
    Driver=/opt/microsoft/msodbcsql/lib64/libsmodbcsql-11-0.so.2270.0
    Threading=1
    UsageCount=1
    /etc/odbc.ini
    [baew-cms01]
    Driver="ODBC Driver 11 for SQL Server"
    Server=tcp:172.21.24.29,1433
    Database=smnswr_certmgmt
    ~/.odbc.ini
    [MSSQLTest]
    Driver=ODBC Driver 11 for SQL Server
    Server=tcp:baew-cms01,1433
    [baew-cms01]
    Driver="ODBC Driver 11 for SQL Server"
    Server=tcp:172.21.24.29,1433
    Database=smnsvr_certmgmt
    When I run "sqlcmd -U <user> -S baew-cms01,1433" (substituting user name) I get a password prompt, then I get:
    1>
    So I assume I'm connected, but I'm not sure. However, when I run "isql -v baew-cms01 <user> <password>" again substituting user and password, I get:
    [IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
    [ISQL]ERROR: Could not SQLConnect
    Can anyone help me determine why I can't isql to the server?
    Thanks,
    Jack

    I get a password prompt, then I get:
    1>
    So I assume I'm connected, but I'm not sure. However, when I run "isql -v baew-cms01 <user> <password>" again substituting user and password, I get:
    Hello Jack,
    Yes, when you get such a "1>" prompt, then you are connected to SQL Server.
    Please note, isql is deprecated, better use SqlCmd. But if you want to use iSql, then you have to use the -S Parameter for the Server Name, not -v. See isql Utility for all
    Parameters.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Creating ODBC DSN for SQL Server in LINUX

    Hi All,
    I am getting probelms in creating DSN for SQL server. I have created an entry in odbc.ini file under ODBC sources and provided the SQL server detiails as follows
    [ODBC Data Sources]
    AnalyticsWeb=Oracle BI Server
    Cluster=Oracle BI Server
    SSL_Sample=Oracle BI Server
    SQL_DB=DataDirect 5.1 SQL Server Wire Protocol
    [SQL_DB]
    Driver=/u01/OracleBI/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=172:16:1:169, 1433;
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=actdb/act7
    LoadBalancing=0
    LogonID=oracle
    Password=tiger
    QuoteID=No
    ReportCodePageConversionErrors=0
    When I test the connection ,i am getting the following error
    +[nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down.+
    Can you please help in fixing this issue.I am not sure of the Drivers and the descrition that I am using are correct or not.
    Please let me know the process of creating the DSN for SQL server in LINUX and also how can we check the available drivers in LINUX?
    Thank You in advance,
    S1r1

    OBIEE does all of its data retrieval from the server. Your server needs to be able to query all of the data sources that you define.
    The client is irrelevant here, it's just a web browser consuming data that the BI Server returns to it.
    So yes you need to define connectivity from your Linux server to your SQL Server box.
    The Systems Requirements doc (http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf) details DataDirect ODBC drivers that are provided for non-Widows connectivity to SQL Server

Maybe you are looking for

  • Can't drag and drop songs...

    So I just got my daughter her first iPod (shuffle), and wanted to put some songs onto it. However, when I go to populate a new playlist for her shuffle to autofill from, I find that I cannot drag and drop songs at all. I have done this as recently as

  • Problem with PVII Pop Menu

    Hello, I have been using PVII Pop Menus and the likes for a while and didn't have a problem before, but now this is what it looks like: http://www.usc-universal.com/ I get a long gray strip after the last entry I wanted to make (Facebook)...how do I

  • Black and white squares

    Hello everyone, I was on my mac browsing the internet and all of a sudden BIG black and white squares on my screen and this very loud noise so i had to force the computer to shutdown. can anyone please shed some light on this, is there something wron

  • Match codes variables in Bex

    Hi. I'm working in a system that receives data from several SAP source systems and several company's. This causes an huge amount of master data. If a variable is used to select data and if the user pushes F4, all data is showed without any restrictio

  • Advice: Best way to do this?

    I have a data grid with some basic user data in it and the last column contains a checkbox as item renderer. Let's say there are 10 rows, and I deselect the checkbox for each row. At that point I need to disable a certain button. What is the best pra