JDBC   Windows to Solaris Problem

I'm currently working on a project (for school). It is a retail Point of Sale System. I'm using MS Access 2000 as my database. I originally did my testing in windows using the JDBC-ODBC bridge, but the final product (demonstartion and marking) will be in our Sun Lab on a machine with Solaris 8. What code/configuration do I need to change to make this work? Which driver should I use?

I didn't want to use Access, just the MDB file, can
that be done? If not, what database would you
recommend?I am guessing no. You could of course write your own code which accesses the file via the java.io stuff. But to do that you are going to have to figure out the format of the database file. And you would also have to do something about your SQL queries, since you would also have to handle those (or dispense with those.)

Similar Messages

  • JDBC with MSSQL 2005 -- problem connecting

    Hi, I have setup JDBC and I am able to connect to a MySQL database just fine. But I can't connect to MSSQL SQLExpress 2005.
    I got the sqljdbc.jar file placed it under the LiveCycle8\jboss\server\all\lib folder and setup the Datasource file as:
        MSSQLDS    jdbc:sqlserver://LIVECYCLE\SQLEXPRESS:1433;databaseName=MyDBName
    com.microsoft.sqlserver.jdbc.SQLServerDriver
        username
        password
             MS SQLSERVER2005
    Then I modified the login-config.xml and added the application-policy as:
                   username
                   password
                   jboss.jca:service=LocalTxCM,name=MSSQLDS
    Then in LC connection, setup the string to java:/MSSQLDS
    When running the test query b I get NO Response At All.  And I mean, even if I intentionally change the datasource file to hold incorrect information, I'll get no response. However, I can connect to MySQL without any problems.
    b Any ideas?
    Thanks for any help!

    JavaImran wrote:
    RoyGrini wrote :
    Looks like login problems. Username/password or windows authentication logon problem.        * I didnt give any UN and Pwd for my database.........And the
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)gives you a 'connection refused'
    Try with providing a SQL username/password. Maybe that will work
    - Roy

  • I have lightroom 5 with 5.7 updated.   I use windows.  My problem is with the spot healer or remover.  It worked perfectly when I click on it it don't have the additional circle with a line attached to it where I can move it to another place for better sa

    I have lightroom 5 with 5.7 verson updated.  I use windows.  My problem is with the spot healer or remover in the develop.  It worked perfectly for a while and then suddenly the other circle with a line attached to it where you can move it to a better spot stopped showing up.  I uninstalled the software and re installed it again but it didn't fix the problem and its still the same.  Help please.

    Does the iPod work OK?
    Does it charge when connect to the computer?
    Does it appear in My Computer?
    Look at the dock connector on the iPod. Compare with the iPod that does work/connect.
    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1
    http://support.apple.com/kb/HT1353#iPod_touch_late2009
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • TS3074 im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    Try the following user tip:
    " ... A DLL required for this installation to complete could not be run ..." error messages when installing iTunes for Windows

  • Dual Booting Windows and Solaris

    Hi
    how do i dual boot windows and solaris
    Do i install windows first and then solaris or do it the other way around..?
    how do i make sure that Windows and Solaris appear in my boot options..?
    Is their a guide on doing this...?
    Thanks
    Liam

    Hey I did a quick google search for you. So I havent tried this method myself but it sounds reasonable.
    The text below is from the following link:
    http://www.hccfl.edu/pollock/AUnix1/DualBoot.htm
    "Solaris boot loader
    Partition the drive to leave at least 2GB of space available for Solaris;
    more drive space is desirable.
    As with Linux, install Windows first then Solaris.
    Do not use the Installation CD but boot and install
    from Software CD 1.
    If you accept the default partitioning scheme which
    the installer provides you will soon run out of space in
    your / and /usr partitions since only enough space is
    allocated to install the system.
    All extra space is allocated to /export/home.
    A typical installation on a 4.5GB partition might look
    something like this:
    Filesystem Size Used Avail Use% Mounted on
    /dev/dsk/c0d0s0 900M 536M 310M 64% /
    /dev/dsk/c0d0s1 334M 109M 192M 36% /var
    swap 671M 8.0k 671M 1% /var/run
    swap 671M 8.0k 671M 1% /tmp
    /dev/dsk/c0d0s5 845M 222M 565M 29% /opt
    # (FAT32 partition):
    /dev/dsk/c0d0p0:1 5.0G 3.3G 1.6G 66% /c
    /dev/dsk/c0d0s7 1.1G 92M 954M 9% /export/home
    /dev/dsk/c0d0s4 752M 225M 474M 33% /usr/local
    The Solaris boot selector enables you to choose either
    Solaris or Windows with Solaris as the default.
    (I prefer grub or lilo!)
    To mount FAT under Solaris:
    # mount -F pcfs /dev/dsk/c0d0p0:c /dos (or �:1�?)
    And the vfstab file:
    /dev/dsk/c0d0p0:c - /dos pcfs - yes -
    To create a GRUB boot floppy, follow these steps:
    $ mkfs -t ext2 /dev/fd0
    $ mount /dev/fd0 /mnt/fd0
    $ mkdir /mnt/fd0/boot /mnt/fd0/boot/grub
    $ cp /boot/grub/stage[12] /boot/grub/grub.conf \
    > /mnt/fd0/boot/grub
    $ /sbin/grub --batch <
    Hope this helps!
    /Oscar

  • Elem 4.0 in Windows 7 without problems ?

    Is it possible tun run Photoshop Elem 4.0 in Windows 7 without problems ?
    Warnings about compability problems.

    Please refer to this related post
    http://forums.adobe.com/message/4964761#4964761

  • Windows file permissions problems

    We have an Xserve G5 that was running Server 10.3. I upgraded it directly to Server 10.5. Since then, I am having problems with some of our Windows users.
    When they create a new folder, it puts them as the owner, but gives them NO rights. I am using ACLs to give full rights to the group that needs access, and also setting the POSIX group rights to read/write. So once they leave that folder, they can no longer get back in. I have SMB set to inherit rights from the parent, and the ACL is set to inherit as well. Other people in the group can access the folder, just not the owner! I change the owner permissions and all is well (for that folder at least). How do I need to set SMB so it follows the inheritance I set?
    Once I have the folder set correctly, any new files created there have the POSIX group set to read only. The ACL inherits properly and still has full control. The owner is set correctly, usually. It is not consistent.
    Once someone creates a file in any folder, if a Windows user modifies a file someone else created, it changes the owner name and gives them no rights. It also creates a new ACL record. If the original owner was a Mac user, it creates a new explicit ACL with all rights except execute and delete. If the file has ACL records already, it duplicates them and gives whatever rights it feels like (it seems). One new record may say Allow Delete only, and the next one say Allow Read except for execute. The only thing for certain is it will never match the original ACL. It always adds the new ACLs at the top of the list, and the duplicates are grayed out as if they were actually inherited that way. The most 'popular' file I've found so far had 128 "inherited" ACL records!
    It is also denying access to some folders that the user has the correct permissions for. For instance, I can create/modify/delete files logged in on the Mac side, but when I log in on Windows, I have problems accessing files/folders. It shows everything as read only. Even if I change the properties in Windows, it will revert back to read-only when I apply the change.
    We have a new Xserve that we will be moving the file services to. At that time, all the Windows users will be moved completely to the Mac side - currently the Windows users are accessing the Xserve and a Novell server.
    Thanks in advance for any help.

    Hi Thy,
    Based on my research, the Trusted Installer is a service, for those resources which only allow Trusted Installer to modify, neither Administrator nor System can modify them.
    I am wondering that how secure the network and physical environment is that you need to create a GPO to prevent users making permissions changes on system files. These system files normally only can be modified by Administrators,
    System or Trusted Installer, which is secure enough when we don’t add users we don’t trust enough to Administrators group.
    >What is the best way to undo this while leaving the audit failures turned on and still retaining the correct permissions on all the files?
    As long as administrators on these machines are qualified, you can remove the Group Policy. If not, please don’t make any user you don’t trust as Administrator.
    >What happens to the files that aren't owned trustedinstalled than now have the trustedinstaller default permissions under system32 and syswow64 if I were to remove the gpo?  What file  permissions would be retained?
    We should keep the default permissions, if those files weren’t owned by Trusted Installer before, we should change the original owner back, vice versa.
    Here are some related articles below I suggest you refer to:
    New ACLs Improve Security in Windows Vista
    http://technet.microsoft.com/en-us/magazine/2007.06.acl.aspx
    SYSK 277: How-To Bring Back the TrustedInstaller
     http://blogs.msdn.com/b/irenak/archive/2007/01/30/sysk-277-how-to-bring-back-the-trustedinstaller.aspx
    Best Regards,
    Amy

  • How to call functions in windows or Solaris in servlet?

    Hello,
    Does anyone know if there is a way for servlets to call functions in windows or solaris shell command????
    Thanks :)

    Checkout the Runtime.exec family of methods.
    I would think carefully if calling a shell script or batch file from a J2EE web component is something you really want to do though.

  • Entire JDBC communication stopped if problem with one single JDBC interface

    Hello,
    Will the entire JDBC communication stopped if problem with one single JDBC interface?
    Thanks,
    Soorya.

    hi surya,
    this will happend if u use maintain order at runtime at interface determination.
    just uncheck this option if u dont neet EOIO.
    if you are getting the problem if u r going for EO then the problem might be using same JDBC channel for all interfaces.
    if each interface is expected with a high load then it better to go for dedicated channels for interfaces.
    like INTERFACE A should use JDBC A channel and INTERFACE B should use JDBC B channel.
    Thanks & Regards,
    Rama krishna

  • JDBC communication stopped if problem with one single JDBC interface

    Hello,
    Can you please explain this phrase
    "JDBC communication stopped if problem with one single JDBC interface"
    THanks,
    Soorya

    If you are having a problem with a JDBC interface (lets consider this to be a communication channel) then the communication is stopped (via that channel) (only in the case of EOIO).
    Hope this clarifies.
    Cheers,
    Sarath
    Award if helpful.

  • ISight - connects with windows users no problem?

    I'd like to buy this webcam, but I heard it has problems connecting with windows users. Will I be able to talk to people on it through AIM? Thats what I'd like, if not, I probably wont get it. Anyone have any personal experience or have any answers or helpful tips - I'd appreciate anything - thanks.

    It is not the iSight itself that gives you the impression that connecting with Micros~1 Windows users causes problems ... it is the availability of (cross platform) applications that makes connecting a bit more cumbersome.
    I have PowerMac G5 with iSight and I connect with my Micros~1 Windows platform family equiped with and without USB webcam.
    The challenge will be to find messaging / VoiP applications with bearable audio quality and reasonable video performance.
    I started with Skype for Voice and Yahoo! messenger for bad video ( 1-2 fps and video size 320 x 240).
    Skype has a video plugin (only for Windows)
    Yahoo! Messenger does not have voice yet (2.5.3)
    MSN is badmouthing because of the "M"
    I have used iChat with another Apple believer ... and the quality of Voice and Video is unparralled.
    The best two alternatives I found are:
    a) AIM 5.9
    b) Trillian (www.trillian.cc)
    Both use a free AIM screen name.
    AIM works fine, see also EZJim pages.
    TrillianPro 3.1 reuses AIM screen names ... and ... it has both good audio and zoom-to-full-screen-video size with fps rates filling your bandwidth.
    The only negative on Trillian so far, the "handshake" for connecting two people takes some time.
    TrillianBase is free but has no Video capabilities. The Pro version is 25$.
    Regards Coen
    ps. if you want to test your setup use my AIM screenname: coenjeukens

  • JPasswordField in Solaris problem

    Hey all,
    I have a program that will be running on windows and solaris. This program contains a JPasswordField. On windows, the field is fine, and by that i mean, that there is no way i can copy the contents to another text field and view the contents.
    In my solaris, i can highlight the password field and do a center button "paste" on the mouse and it will copy the password into another text field. The password is in clear text so i can read exactly what was typed in. Has anyone experienced this before? is there a way to fix this??
    Thanks,
    Jason

    You might try setting ORACLE_SID=EPRC.

  • How to restart services in windows and solaris environment?

    I need to start services running in windows and solaris platforms with java code. I have a fair idea how to do in C++ . So wondering if same can be done with java. .. Please help me out!
    Thanx

    you may also like to look at the wrapper project on source forge. It lets you set up services under any O/S with full control of the JVM that is running.
    Btw my previous answer only helps you under MS, didn't notice that you wished to know how to do it under unix. If its a non-java service, you will need to determine what platform your on and then perform the appropriate action.

  • Migration apps 11.5.10.2 from windows to Solaris

    i,
    I am doing migratio from windows to Solaris - and autoconfig completting with error.
    and am following doc 238276.1 in that section 2 option 7. completed with error
    ====================adconfig.log ==========
    Updating local context file variables for Middle Tier
    Statement Caching Enable flag = TRUE
    Statement Caching Enable Size = 0
    Using AdIdent: /u01/mmapps/mmappsappl/ad/11.5.0/bin/adident
    Checking version of /u01/mmapps/mmappscomn/java/jdbc14.zip
    File exists
    RC-50208: Exception in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: /u01/mmapps/mmappsappl/ad/11.5.0/bin/adident: not found
    File Version: -1
    File version could not be obtained
    Skipping updating s_fnd_jdbc_stmt_cache_size.
    Updated s_fnd_jdbc_stmt_cache_size to 0
    Checking file /u01/mmapps/mmappsappl/ad/11.5.0/admin/template/adgendbc_ux.sh
    FND_SECURE: /u01/mmapps/mmappsappl/fnd/11.5.0/secure/MMAPPS_tanouf
    DBC FILE NAME: mmapps
    File exists, getting the version
    Version: 115.44
    No updates to s_fnd_secure needed
    Writing Context File back to File System
    Context file updated
    Making database connection using DBUtil
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: :^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: APPLBIN^M: is not an identifier
    .end err out.
    AutoConfig Setup Phase
    Running Setup Process 13 of 13 for AD_TOP
    Executing script in InstantiateFile:
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/txkMultinode.sh
    script returned:
    txkMultinode.sh started at Sat Feb 27 17:58:47 GST 2010
    .end std out.
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/txkMultinode.sh: :^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/txkMultinode.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/txkMultinode.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/txkMultinode.sh: APPLBIN^M: is not an identifier
    .end err out.
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf
    adgendbc.sh INSTE8_SETUP 1
    adgenjky.sh INSTE8_SETUP 1
    afcpnode.sh INSTE8_SETUP 1
    afgcsreg.sh INSTE8_SETUP 1
    txkMultinode.sh INSTE8_SETUP 1
    wdbsvr.sh INSTE8_SETUP 1
    AutoConfig is exiting with status 6
    ================
    Is there any changes to be done in COntext file .....
    Thanks in advance
    Anil Pinto
    Edited by: user3603544 on Feb 27, 2010 11:57 PM

    Hi,
    Hi,
    I saw some of the files like bellow ^M not found.
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: :^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: ^M: not found
    /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh: APPLBIN^M: is not an identifie
    Seems that some of the files still in Windows format, You need to change those files format by typing the bellow command.
    dos2unix /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh /u01/mmapps/mmappscomn/admin/install/MMAPPS_tanouf/wdbsvr.sh
    Do it with all the files.
    Run again autoconfig, I am sure it will works.
    Best regards,
    SG

  • TS3297 when i try to open itunes store error comes up saying windows experienced a problem and program stopped working

    can some help me everytime I try to open itunes store an error comes up saying windows experienced a problem and program stopped working. Itunes opens this just happens when I go to the store

    Hello Ducati848,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Best of luck,
    Mario

Maybe you are looking for