Occi on non standard platform

hi
I'm currently working on a datalogging system, using a module that is able to take data from the serial port, either directly or through a program, pipe the data to the ethernet port.
What I would like to do is to write a small program that fetches the data from the serial port and postes the data directly into our oracle9 database via the ethernet. Just the basic INSERT or UPDATE sql queries.
The platform is intel compatible running DOS, and it is possible to make the programs using gcc on a standard i386. I dont succeed in making the programs with static linked libraries.
With the OCI program, I have included ociw32.lib, oramts.lib, oraocci9.lib and oci.lib but still I get undefined reference to `OCIHandleAlloc' (and to a lot of other functions starting with 'OCI')
With OCCI I have included oraocci9.lib and I get undefined reference to `oracle::occi::MetaData::~MetaData(void)' (and to a lot of other functions starting with 'oracle::occi')
Does anyone have any experience with gcc and the oracle libraries? Is it a problem that I use the msvc libraries?
Any pointers would be greatly appriciated.

Hi,
Yes this is possible.
Just modify the port number listed in your dispatcher.cnf configuration file from 25 to something more appropriate.
Then run ./imsimta cnbuild; ./imsimta restart for the change to take effect.
To test, just run
telnet <hostname> <new port>
Regards,
Shane.

Similar Messages

  • What non-standard JVM options are common across vendors...

    Hi all,
    As the name explains, non-standard JVM options (java -X) are exactly that, non-standard. So from what I understand these can be different by vendor, by release, by platform, or any combination of the above.
    What I'm trying to figure out is what's common between all the different implementations, if any. For example, are all of Sun's releases (for all platform, for all releases) have the same options? Or do they change by release, i.e. 1.3 to 1.4 to 1.5? Or do they change by platform (Win, Linux, etc).
    Is there knowledge about this out there? So, far I haven't been able to find any info about commonality.
    :-D

    You could simplify the question: what are the standard non-standard options?

  • Non standard baudrate

    Dear All,
    I want to access the device with non standard baudrate. Everytime I set the baudrate, serial port always return a default baudrate which is 9600.
    (Always failed)
    Is there anybody knows how to set a non standard baudrate in Java?
    Currently I'm using Linux as a platform.
    Regards

    Those standard baud rates don't just exist for the fun of it. Devices,
    especially simple devices, use a clock crystal to derive their baud rates.
    Even 'baud rate friendly clock crystals' exist for this very purpose.
    If you have to deal with a device that uses a non-standard baud rate,
    return it to the shop, complain and demand a 100% refund.
    kind regards,
    Jos

  • Non standard baudrate setting

    Dear All,
    I'm new in java programming and using Linux as my platform. Currently I want to connect some device with a non standard baudrate. Then something happens, everytime I set the baudrate in the code when I run it, the baudrate always changing into default baudrate (9600). Is there any other way to use non standard baudrate in Java?
    Regards

    Those standard baud rates don't just exist for the fun of it. Devices,
    especially simple devices, use a clock crystal to derive their baud rates.
    Even 'baud rate friendly clock crystals' exist for this very purpose.
    If you have to deal with a device that uses a non-standard baud rate,
    return it to the shop, complain and demand a 100% refund.
    kind regards,
    Jos

  • G5 Second Display using the GeForce FX 5200 - Non-Standard

    I have a Dual 1.8 GHz PowerPC G5 Macintosh.
    The display adapter installed is as follows:
    GeForce FX 5200:
    Chipset Model: GeForce FX 5200
    Type: Display
    Bus: AGP
    Slot: SLOT-1
    VRAM (Total): 64 MB
    Vendor: nVIDIA (0x10de)
    Device ID: 0x0321
    Revision ID: 0x00a2
    ROM Revision: 2060
    Displays:
    VX2235wm-3:
    Resolution: 1680 x 1050 @ 60 Hz
    Depth: 32-bit Color
    Core Image: Supported
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Display:
    Status: No display connected
    I want to attach a second display to my machine, but the second plug on the card is a non-standard DVI-type connector. It looks like this:
    x x x x x x x x x x X X
    x x x x x x x x x x -----
    x x x x x x x x x x X X
    ...with 10 rows of 3 as opposed to 8.
    I have had trouble finding an adapter to use to convert this to VGA (which is what I meed to connect my second monitor). I've searched the Apple Store online to no avail, as well as Google. Perhaps I've had no luck because I don't know the name of this part.
    Any help is much appreciated!
    ~Rob Blaze

    Hello! Does the port look like the one below? If so you'll need an adapter. Tom
    Actually, HERE is the page i was looking for that shows and describes all dvi connections.
    Apple ADC Connector
    [IMG]http://img300.imageshack.us/img300/9497/appleadcconnectorve2.jpg[/IMG]
    Message was edited by: Thomas Bryant

  • How To: Use FCPX to create iPhone Portrait Movies (and other non-standard formats)

    Goal: Use Final Cut Pro X 10.0.7 to produce a 640x1136 video (iPhone 5 Portrait). You can use these same steps to produce virtually any dimensions you want. My example is for the iPhone 5, in Portrait mode.
    This information is available in various places, but you have to realy work to find it, so I thought I'd post a step-by-step guide here.
    By the way, you might think you could just create a FCPX Project with your desired dimensions, but you can't (at least with 10.0.7). Projects only support certainly dimensions. But there are other ways, as the rest of this post describes:
    1) Create an initial movie with the desired dimensions, to serve as a template. We'll call it "Template.mov". The only thing that matters is the dimensions. It can be in any codec FCPX understands, and virtually any length.
    I'm using a 2 second video shot on my iPhone for the template. You could also create a blank image (.png, whatever) with the proper dimensions, copy and paste it into a new Quick Time Pro 7 window, and Export it using custom settings. There's lots of different ways to do this.
    2) Drop Template.mov into a FCPX event.
    3) Select Template.mov in the Event browser, and select File->Duplicate (or command-D). You probably could just edit "Template.mov", but it's a good idea to save it for reuse.
    3) Change the name of the copied video. I'm using "iPhone Video".
    4) Right-click "iPhone Video" and select "Open in Timeline".
    5) If you made the Template video from a still image, you may need to change the duration (ctrl+D). You don't have to make it very long, but it needs to be longer than 1 frame. A few seconds should be enough.
    6) Use this timeline like you'd use a project's timeline. Drop in new content, trim, transition, etc. There may be things you can't do in it, but I haven't found any yet. I'm guessing Chapters may not work, but I haven't tried them.
    7) Note that when you drop new content into the timeline, it may size funny. That's because the default setting for "Spacial Conform" is "Fit". Simply select the newly-dropped content, and in the Video settings inspector, scroll down to "Spacial Conform" and change it. You could use "Fill", which fills the frame vertically, or "None", which uses the source's original height. Then crop/transform/whatever to get what you want.
    8) When you're ready to render, select "iPhone Video" in the Event browser, then use the "Share" button. You want to use the "Export File" destination, which you may have to add. Pick your codec, and let 'er rip.
    9) When the rendering is done, you should have a video in your desired dimensions.
    That's all there is to it. Hope this helps someone.
    Dan
    PS: Don't ask why someone would want to create an iPod video using FCPX. The point is that you may need to create a video with non-standard  dimensions at some point in time, and this is how to do it.
    PPS: Most of this information came from http://library.creativecow.net/articles/payton_t/FCPX_Custom-Resolution-Timeline s/video-tutorial. I just wrote it down, while I tried to do what the video suggested.

    Instructions for using QuickTime Pro 7 to create a template video with unusual dimensions.
    I suspect that anyone savy enough to be using FCPX has probably already figured out how to do this, either using my technique or another, so there probably isn't a real need for me to post this. For that matter, I may be the only person who cares about this at all. However, while I was trying to learn how to do all of this, I would have really appreciated having all the information in one place, so here goes.
    If you want to create a video with unusual dimensions (like 640x1136) using my steps above, you'll need a "template" video first. Here's an easy way to create one, using any image editor, and QuickTime Pro 7.
    1) Open QuickTime Pro 7 (QTP for short).
    2) From the menu, select File->New Player. You'll get a window with just the bottom portion of the player, i.e. the playback controls.
    3) Using an image editor, create a still image in the desired dimensions. You can use any image editor. It doesn't matter what the image contains (although it will end up showing as a thumbnail in FCPX).
    4) Copy the image to the clipboard.
    5) Switch back to QTP, and paste the image into the new player. Don't worry that there isn't a video window showing - just paste it into the window that has only playback controls. As soon as you do, the video window appears.
    6) Advance to the end of the movie (the short, 1-frame movie), then hold down Command+V (paste) and keep holding it down to paste multiple images in. Watch the time advance. You could, if you want, just hold down Command+V until you get the length you want. But if you want a long video, there's an easier way:
    7) When you reach a few seconds (or whatever duration your patience allows), select all (Command+A) and copy (Command+C). Then hold down Command+V to keep pasting in the longer clips. Wait until you reach a longer duration, then repeat the process. So, for example, 1 second, then 10 seconds, then 1 minute, then 10 minutes, then 1 hour. Or whatever you want.
    8) Save the video however you want. I usually use File->Export with H.264, with Quality set to "Least". Just make sure you don't let it change the dimensions. If you resized the player window, depending on which "save" or "export" method you've chosen, it might default to the resized dimensions, so double check that to make sure.
    That's it. You now have a template video you can use with my previous post(s).
    Dan

  • Using non-standard sshd port after 10.8 upgrade

    After spending hours tracking down this solution as a result of losing my ssh settings after the upgrade to Mountain Lion, I thought it might be useful to post the steps taken to restore the configuration I used with Snow Leopard.
    Changing the sshd default listening port
    Disclaimer: This tutorial is specific to Mountain Lion (OS X 10.8). I was able to accomplish this using Snow Leopard (OS X 10.6) in fewer steps, but upgrading required this more involved solution. 
    Steps:
    1.) You must first enable the root user account in order to change the relevant files. This can be done from the terminal, or by going to System Preferences --> Users & Groups. Once there, click on 'Login Options' at the bottom of the Current User list, and 'Join' where it says 'Network Account Server'.
    This will bring up a smaller window. Click on 'Open Directory Utility' at the bottom. You will be prompted for your admin password. Now go to the 'Edit' tab at the top of the screen and toggle down to 'Enable Root User'.  You will be prompted to enter your admin password twice.
    2.) Log out of your regular user account. At the log in screen you will now see an additional entry for 'other'. Click on that and log in with the username 'root' and your admin password. If are inexperienced as a root-level user, be careful as you can cause problems to your system can be difficult to undo.
    Once in your root account, the first step is to create a new 'service definition' in the etc/services file. Open the file with text editor of choice and scroll to the current entry for sshd listening port, which will look like this:
    ssh    22/udp    # SSH Remote Login Protocol
    ssh    22/tcp     # SSH Remote Login Protocol
    Overwrite the '22' with the port number you would like sshd to listen on:
    ssh    12345/udp   # SSH Remote Login Protocol
    ssh    12345/tcp    # SSH Remote Login Protocol
    *12345 being our hypothetical, non-standard port.
    It is important to note that the new port number will not take by simply adding a new uncommented line to the file (I tried), unless of course you comment the original ssh entries. Easiest way is just to overwrite what is there already. Save changes.
    3.) You now need to edit the ssh.plist file, which is located at /System/Library/LaunchDaemons/ssh.plist. A word to those familiar with Linux/BSD environments: changing the default port in the sshd_config file, which exists in OS X, does NOT change the listening port. Simply changing the default port, saving the config file, and restarting the server (the sensible way) won't work. The OS X sshd server (openssh) is configured to get launch instructions from the ssh.plist file, as opposed to sshd_config. If you are more interested in this aspect of OS X, read up on LaunchDaemons (e.g. launchd).
    Before altering the ssh.plist file, you should save a backup copy in case of mistakes, or if you need to revert back to it in the future. Name your backup file something like original.ssh.plist, etc.
    In the ssh.plist file, locate the SocksServiceName entry and change it from the default:
    <key>SockServiceName</key>
    <string>ssh</string>
    To the following:
    <key>SockServiceName</key>
    <string>$alternate port number</string>
    In our example from above this value would be 12345.
    4.) Save your changes, and exit ssh.plist. You now need to move the backup file you created (original.ssh.plist) out of the System/Library/LaunchDaemons path.
    The updated sshd port will not take until you have only one ssh.plist file in the LaunchDaemons directory - this has to do with how launchd is configured to load files which is outside the scope of the current discussion.  (*If you've found a way around this, please share.) 
    5.) Restart the sshd server. Easiest way to accomplish this is going to System Preferences --> Sharing and clicking off 'Remote Login', then clicking back on it. 
    6.) Test the configuration by logging into the machine running the sshd server from another host using:
    ssh username@ipaddress -p 12345
    There are a few good tutorials out there that capture some of these steps, but many are dated and/or incomplete. If you are running a standard setup of OS X 10.8, this should work for you.
    Of course, don't be fooled into thinking that changing the default listening port from the ubiquitously-probed 22 equates to actual security. At best, it will cut down on the number of dubious connection attempts and probing.

    Hi all, above helped me change the sshd port number, thank you very much.
    Just upgraded to OS X 10.9.3 on my macbook pro.
    My findings were:
    Step 1(become a root user or sudo)
    Step 2 (/etc/services)
    This may not be required unless you want ssh to work without the "-p XXXX" option to connect to other ssh hosts.  I favor such as "ssh -p 2222 user@hostname" just to be sure I know what I am doing and also to leave ssh known port as its default "22".
    Step 3 (/System/Library/LaunchDaemons/ssh.plist)
    This is required if you want to change the sshd port number, I changed both "ssh" to "2222" in this file.
    Step 4 (launchctl)
    Below is a must as I understood:
    launchctl unload /System/Library/LaunchDaemons/ssh.plist
    launchctl load /System/Library/LaunchDaemons/ssh.plist
    it should be already working with the new port number.
    You can "ssh -p 2222 user@localhost" in the console terminal and see if its working.
    Since I am no expert on MacOS X, and it is a macbook pro that I am using, I also rebooted the system and changes were reflected permanantly.
    Thank you guys!

  • AV output and non-standard frame sizes

    I usually work in non-standard frame size for my FCP projects because my final output will be in a 2:35:1 ratio. I use a Blackmagic Ultrastudio Mini Monitor as an HDMI output to a client monitor. Up until a few months ago the AV output of FCPX would allow the Mini Monitor to accept a frame size of 1920x818 and letterbox the output to 16x9 on this consumer grade LCD. One day, this just stopped working... I've reached out to Blackmagic and they have no solution or reason why this happened, and are not willing to offer support since what I was achieving wasn't an "officially supported" feature. Now, the AV output will distort the image vertically to fill a 16x9 frame. At this point I am stuck having to use either a matte layer or a widescreen effect on individual clips to output correctly to my monitor which increases edit time having to re-render any edits underneath the matte and having to re-order the letterbox effect after apply color correction etc. It was also very easy to adjust the frame offset with this wide angle project size.
    Is anyone editing in 2:35:1 (or other cinema standard) projects and getting successful conversion on output? What are you using?
    Cheers,
    Matt

    Thanks Tom, you clarified it .......  or at least something clicked in my brain.
    I was trying to set "Custom" when I created the new project.
    I didn't know, or had forgotten, that in the "error" window I could select "Custom".
    All is now well and FCP X 10.1.1 is pretty clever after all!
    There is one weird thing I'd like to mention.
    When I clicked on "Custom" the 960 x 600  frame dimensions appeared but the  frame rate was listed as 23.98p as shown in the screenshot below.
    So what's wrong with that?
    Well the clip is 30p  and I naturally thought I was going to end up with a project with an incorrect frame rate.
    Now here's the funny thing  .........  when I selected the project and viewed it in the Inspector it was the correct 30p
    So why was I given that worrying piece of misinformation.

  • Is it possible to load a non-standard image using some Java API?

    Hi,
    My "problem" is:
    1. I have an image called "mediterranean_sea.IMG" (non-standard image format)
    2. I need to process it (histogram, palette, etc).
    3. I'm wondering if it is possible to load this image an process it using some Java API.
    4. I've tried to do this using JAI but I think that this API only works with TIFF, PNG, JPEG, etc.
    Any idea?
    Thanks in advance,
    Roger

    [url http://forum.java.sun.com/thread.jsp?thread=468188&forum=31]Cross-post

  • How to use non-standard port for vnc?

    Our Windows users who use RDC to connect to their desktops from off-site come in on a non-standard port number. Part of our security setup.
    I'd like to do the same with Mac users who use screen sharing and vnc to connect remotely.
    How can I specify another port number at both ends to accomplish this?
    I can find nothing in the Network Utility app, or in the KB.
    Surely there's a short sequence of Terminal commands that will do this?

    I haven't tried this so don't know whether it will work. But I think it will. Presuming the target machine is a Mac, see if editing its /etc/services file will do it. Find the two lines that start with "vnc-server" and change the port number there. Launch Terminal.app as an administratively privileged user, sudo pico /etc/services, ^w to search for vnc-server, make the changes, ^x to exit, y to save and overwrite. Also, you will need to have screen sharing enabled in the target machine's System Preferences' Sharing, and the authorized users defined there, too. Reboot. Now, on the remote client, assuming it is also a Mac, the user would type ⌘k in the Finder (or mouse to Finder > Go > Connect to Server), and enter something like vnc://123.45.67.89:55900 where you substitute the actual IP address or host name for where I have entered 123.45.67.89, and where you substitute the actual alternate port number where I have entered 55900. Of course, in the clients' Screen Sharing's Preferences, they should choose to encrypt the entire session, not just the login. Like I said, I haven't tried this because I just tunnel my vnc stuff through ssh, but I'm thinking that this should work.

  • Oracle DB: How to parse XML where element names are non-standard ?

    I'm in the unfortunate situation that I have illegal XML that I would like Oracle to parse. By 'illegal' in my case is that there are element names that start with an illegal character, such as a digit. Apart from this the XML is syntactically valid.
    Here is an example of the XML I have stored as a column in the database:
    <schedule>
        <1stweek>
        </1stweek>
        <2ndweek>
        </2ndweek>
    </schedule>Right now I'm doing text search-and-replace on the XML text before I let Oracle parse it, for example replacing '<1stweek>' with '<x1stweek>' and so on. Needless to say this is very slow.
    My question is if there is a way to tell the XML parser in the Oracle DB (I'm using version 10.2) to be a bit more forgiving ? ... so that it will accept element names that start with e.g. a digit ? I know that such an option exist in some XML parsers but what about Oracle's and if so how to set the option?
    And before you ask I'll answer myself: No, I'm not the one who created the non-standard XML. It is from a third-party application which I cannot change myself and cannot get the vendor to change either.
    Thank you.

    if you cast your clob to an xmltype then you can search and extract values based on tags.
    Heres an example where the table is a clob and value is cast and I'm looking for an existing attribute_name.
    Check out the Oracle XML developers Guide
    select u.*
    FROM preload_xml
    , XMLTable(
    '/ApplicationProfile/ScriptFragment' PASSING xmltype(xml)
    COLUMNS name varchar2(50 char) PATH '/ScriptFragment/@Name'
    ) u

  • Making non-standard size pdfs from Microsoft Word 2003 on pc

    I have Acrobat 8 Professional (pc, Windows XP op system), and want to know how to make a pdf from Microsoft Word (2003) where the dimensions of my document remain as they are, a non-standard size, such as 5.5" x 8.5". All the choices of "paper size" are standard only, and if I check "Custom" and type in the non-standard dimensions, it doesn't work. In other programs, such as InDesign, I can make a pdf of any document size I want with no problems. Does anyone know how to make this work for Word on pc?

    You can create a custom page size for Acrobat.
    In Word:
    File > Print (choose AdobePDF) > Properties.
    On the Adobe PDF Document Properties tab, choose Add next to Adobe PDF Page Size.
    Type in a name for your new custom page size and type in your dimensions.
    Click Add/Modify to close that window, then select your newly created paper size from the drop down.
    Click Ok to close that window
    Click OK to print
    For future printing, you would not have to redefine the page, just choose it from the dropdown.

  • Accessing websites running on non-standard ports or with self-signed ssl certs?

    I've got some sites running using self-signed ssl's that also run on non-standard ports. Firefox home doesn't seem to open these pages it just sits there with the spinner loading and a blank screen...
    Anyone else noticed this?

    If the ASA is using a certificate issued by a CA that is in the client's trusted root CA store, then the ASA identity certificate does not need to be imported by the client.
    That's why it's generally recommend to go the route of using a well-know public CA as they are alreay included in most modern browsers and thus the client doesn't need to know how to import certificates etc.
    If you are using a local CA that is not in the client's trusted root CA store to issue your ASA identity certificate or self-signing certificates on the ASA then you need to take additional steps at the client.
    In the first case, you would import the root CA certificate in the trusted root CA store of the client. After that, any certificates it has issued (i.e the ASA's identity certificate) would automatically be trusted by the client.
    In the second case, the ASA's identity certificate itself would have be installed on the client since it (the ASA) is essentially acting as it's own root CA. I usually install them in my client's Trusted Root CA store but I guess that's technically not required, as long as the client knows to trust that certificate.

  • How I can set the Non-standard option of -Xmxn of jvm

    Hi there,
    Can any one tell me how I can set the Non-standard option of -Xmxn of jvm (setp by step).Iam using Sun's jvm(jdk1.2.2).Iam facing a error(java.lang .OutOfMemory).I want to set the maximum size of the memory allocation pool.Any help will be highly appreciated.
    Thanks for ur valuable Time
    Bikash

    you can use the following sample options to specify memory size.
    EX:java -Xms128mb -Xmx512mb myClassFile

  • Non-standard keys

    Hi,
    How can I respond to input from non-standard keys, like the forward and back keys on some keyboards? I've tried using the KeyEventDemo, but it doesn't record any events. Any ideas?
    Thanks.

    Try this:
    KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(
            new KeyEventDispatcher() {
                public boolean dispatchKeyEvent(KeyEvent e) {
                    System.out.println(e.getKeyCode());
                    return false;
    });It will detect all keyevents and print the correpsonding keycode. If this code does not react when you press those arrow keys, then you cannot detect them using pure java.

Maybe you are looking for

  • I am getting an 'iTunes has detected an iPod that appears to be corrupted" message from my 80GB iPod Classic.

    I am getting an 'iTunes has detected an iPod that appears to be corrupted" message from my 80GB iPod Classic. It plays music fine and has 2.5 GB of space left. I get the message on multiple PC's and USB ports. I have tried resetting it and using Disk

  • To: copihope, re: rural parents with no service

    Unable to reply directly to your post, for some reason no Reply control available to me on that post in both Firefox and IE8. I suggest you get the local media involved.  If the local Verizon folks at a managerial level see something like this on the

  • GetCurrentRow error in innerTable.

    In innerTable pass parameter current record to next page. When use click wrong Outer in inner pass null. Example: User click create new record button for master then this master is currenct correct process user should click create detail of this mast

  • I have 4 and 8 - but which is the BEST version to use for a big project?

    I have a G4 Powerbook with iMovie 4.0 but have never been able to do a movie longer than about 35 minutes (the last step - burning it?). I also have access to a new Intel iMac that has iMovie 8.0 but I have heard this is a 'dumb' version. I have an i

  • Extremely slow Export and Save to Web

    I have an AI file with 40 artboards, each containing a separate image composed of reused vector symbols. I regularly need to adjuste the shared elements of these images, which I then export to PNG and finalize in Photoshop.  It seems the most efficie