Informix JDBC: Failed to load Informix JDBC Driver
hi:
I use workbench to migration informix 7.3 to Oracle 8.1
The informix file ifxjdbc.jar needs to be put in the Omeb\drivers
directory.
Turloch
Oracle Migration Workbench Team
Similar Messages
-
Failed to load Hardware monitor driver
I'm running XP and getting a "Failed to load Hardware monitor driver" message when I do the following. Log Off\Switch Users. When the new user comes up I get the error message along with a request that I send the following files to Microsoft. C:\WINDOWS\minidump\Mini042404-01.dmp and C:\DOCUME~1\HEIDIN~1\LOCALS~1\Temp\WER1.tmp. It then blue screens and reboots. I can boot up into all users without any problem. I only have the problem if I try to switch from one user to another withour rebooting first. Is this a problem with "Live Monitor" or is it a problem with my Samsung Monitor? I downloaded a Monitor Driver from Microsoft recently. This makes the one and only time I have ever seen a driver download on the Microsoft update page and it happened to be for my Monitor but it seemed to be the same version that came with it.
MSI 875P NEOR2 (bios 1.9)
Intel P4 3G 800FSB (HT enabled)
2x512MB dual Memory
FX 5900 256mb by Gainward
54xCD-ROM, DVD-Writer
Samsung 19" LCD Display SyncMaster 955DFIf you are running core centre on both profiles, this will happen. Fast user switching causes CC to load again, giving the message u have and will crash XP. U need to log off one user, then switch.
Alternativly make sure CC is not installed as a shortcut in all users. I place mine in my gaming profile only and dont use it in any other one.
If u r not running CC, mmmm, dunno -
Failed to load kernel because driver won't build
Hi. After I upgraded and restarted my computer Network Manager did not automatically connect to my wireless network as it usually does. Instead, when I clicked on the icon it says
Ethernet Networks
disconnected (in grey so I can't click on it).
It only gives me the option of editing VPN connections. I saw another post saying that I should set IPv6 as link-local so I went into Network Connections and chose a network that I had previously connected to and changed the IPv6 on it to link-local which did nothing.
I then tried things with systemctl in the terminal to try and fix things:
sudo systemctl enable [email protected]
went off without a hitch. However, then
sudo systemctl start [email protected]
was met with
Job for [email protected] failed.
I then tried
sudo systemctl status [email protected]
[email protected] - dhcpcd on enp3s0
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled)
Active: failed (Result: exit-code) since Fri 2013-03-29 21:05:04 AST; 40s ago
Process: 1474 ExecStart=/usr/sbin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)
Mar 29 21:04:34 arch systemd[1]: Starting dhcpcd on enp3s0...
Mar 29 21:04:34 arch dhcpcd[1474]: version 5.6.7 starting
Mar 29 21:04:34 arch dhcpcd[1474]: enp3s0: waiting for carrier
Mar 29 21:05:04 arch systemd[1]: [email protected]: control process exited, code=exited status=1
Mar 29 21:05:04 arch systemd[1]: Failed to start dhcpcd on enp3s0.
Mar 29 21:05:04 arch systemd[1]: Unit [email protected] entered failed state
Last edited by TwoFlower (2013-04-03 11:11:18)Sorry. My mistake:
==> Making package: rt3090 2.4.0.4-1 (Tue Apr 2 23:08:28 AST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 972k 100 972k 0 0 170k 0 0:00:05 0:00:05 --:--:-- 233k
-> Found config.mk.new
-> Found Makefile.new
==> Validating source files with md5sums...
2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip ... Passed
config.mk.new ... Passed
Makefile.new ... Passed
==> Extracting Sources...
-> Extracting 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip with bsdtar
==> Starting build()...
make -C tools
make[1]: Entering directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/Makefile
make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux modules
make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_md5.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_sha2.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_hmac.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_aes.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_arc4.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'MlmeResetRalinkCounters':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'BssTableSetEntry':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:5822:39: warning: operation on 'Tab->BssOverlapNr' may be undefined [-Wsequence-point]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wep.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/action.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_tkip.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_aes.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sync.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/eeprom.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sanity.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_info.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cfg.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wpa.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/dfs.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c: In function 'PeerMeasureReportAction':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c:1966:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_timer.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_channel.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_profile.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_asic.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cmd.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/assoc.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth_rsp.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sync.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sanity.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/rtmp_data.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/connect.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/wpa.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/ags.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sta_cfg.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_profile.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/sta_ioctl.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'duplicate_pkt':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:484:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:54,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:486:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:54,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'ClonePacket':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:636:23: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'update_os_packet_info':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:658:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'wlan_802_11_to_802_3_packet':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:679:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'send_monitor_packets':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:952:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1701:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1738:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c:121:13: warning: unused variable 'Cancelled' [-Wunused-variable]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c: In function 'convert_reordering_packet_to_preAMSDU_or_802_3_packet':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c:1568:2: warning: assignment makes integer from pointer without a cast [enabled by default]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_mac_pci.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data_pci.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_prom.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_efuse.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c: In function 'RtmpAsicLoadFirmware':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:352:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:355:2: warning: passing argument 1 of 'writel' makes integer from pointer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/realmode.h:5:0,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/acpi.h:32,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/fixmap.h:19,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/apic.h:12,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone_64.h:10,
from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone.h:4,
from include/linux/mmzone.h:909,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/io.h:63:1: note: expected 'unsigned int' but argument is of type 'ULONG *'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:356:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ULONG' [-Wformat]
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt30xx.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_rf.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt3090.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:37:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:38:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:60:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__devinitdata'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:87:17: error: 'rt2860_pci_tbl' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:88:17: error: 'rt2860_probe' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:5: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:29: error: 'rt2860_remove_one' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:283:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:449:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: In function 'RTMPrt3xSetPCIePowerLinkCtrl':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:941:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:974:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:986:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:949:11: warning: unused variable 'vendor_id' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1000:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1027:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:934:8: warning: unused variable 'offset' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:933:8: warning: unused variable 'Vendor' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: At top level:
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:514:14: warning: 'RTMPInitPCIeDevice' defined but not used [-Wunused-function]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:73:1: error: '__mod_pci_device_table' aliased to undefined symbol 'rt2860_pci_tbl'
cc1: some warnings being treated as errors
make[2]: *** [/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
make: *** [LINUX] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The whole story. Hope that helps.
Last edited by TwoFlower (2013-04-02 20:57:53) -
Boot-Up Problems, fail to load utilities
Booting up my K8N Neo2 Platinum i often get error messages which seem to indicate that something (BIOS?) is misreading my board and not loading utilities and thinking the utilities don't go with the board. The error messages are
The service has not been started
Failed to load Hardware Monitor driver
Failed to load driver
No hardware monitor
Core Center does not support your motherboard (which of course it DOES support my mobo)
Then every once in a while everything loads like clockwork. I don't understand what's going wrong and would love to fix it. I think the Audigy card can have some compatibility problems with some processes/components - could that be it?
I have an AMD 64 3400+
2 512 sticks of Corsair memory
Audigy 2 ZS sound card
Plextor 716A CD-DVD drive
ATI Radeon 9600XT graphics card 256 (Diamond Viper)
Win XP Pro SP2
Thanks for any advice and experience anyone may have to offer
Miklplease See this.
https://forum-en.msi.com/index.php?topic=79807.msg564073#msg564073
then give a try and update the driver of the Audigy (12/05/05).
http://gr.europe.creative.com/support/downloads/download.asp -
Sun IDM Repositor Configuration Error: Failed to load JDBC Driver
Hi Gurus,
I am new to Java IDM and predictably failed in my first attempt to install Java IDM in a Windows machine with SQL Server 2000 SP3.
I followed the Installation document step by step and I think I din' t miss any!!.. But still I got caught by an error, here it is:
I successfully installed IDM but failed while configuring Repository. I have downloaded the JDBC driver from Microsoft for SQL Server 2000, SP3. Then after that I copied the Jar from JDBC driver folder to
%WSHOME%/bin/lib folder. After this I launched the Repository configuration setup.
I got the following error while trying to connect the waveset database with Repository type as SQL Server (JDBC Driver)
com.waveset.util.ConfigurationError: Failed to load JDBC Driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver':
==> java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
The Parameters that I have given for connection are:
URL: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=waveset
JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connect as User: waveset
Connect Password: waveset
I have created the database and granted all access to user waveset.
Please help me come out of this. I tried dropping and recreating the database with a different name. Still it did not work, looks like it is a JDBC driver specific issue. Please guide me if I did anything wrong.
Appreciate any help
ThanksOpen your driver jar using winzip or something and check if the class: com.microsoft.sqlserver.jdbc.SQLServerDriver is present in the jar. I think you need to use a different class name. or your jar file is wrong. I think there are separate jars for SQL server 2000 and for SQL Server 2005.
-
How to resolve "Failed to load TTSQLDB JDBC driver" problem
Hi,
I installed timesten112140.sparc64.tar on solaris m/c.
Details of solaris m/c are
SunOS pun-ldom-rds70 5.10 Generic_139555-08 sun4v sparc SUNW,T5240
I am getting below mentioned error when trying connecting to the database through java process.
ERROR: failed to load TTSQLDB JDBC driver.
java.sql.SQLException: Problems with loading native library/missing methods: /op
t/TimesTen/ttsolaris21/lib/libttJdbc.so: ld.so.1: java: fatal: /opt/TimesTen/tts
olaris21/lib/libttJdbc.so: wrong ELF class: ELFCLASS64 (Possible cause: architec
ture word width mismatch)
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:
1753)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:349)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:205)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at CreateConnectionDemo.createConnection(CreateConnectionDemo.java:43)
at CreateConnectionDemo.<clinit>(CreateConnectionDemo.java:26)
Exception in thread "main" java.lang.NullPointerException
at CreateConnectionDemo.closeConnection(CreateConnectionDemo.java:69)
at CreateConnectionDemo.main(CreateConnectionDemo.java:62)You are trying to open a direct mode connection to 64-bit TimesTen from a JVM running in 32-bit mode. This is not possible. Run the JVM in 64-bit mode instead and thsi issue will be resolved.
Chris -
UCCX 8 access db_cra from script add informix jdbc driver
Hi,
I want to use the db_cra database for the last agent routing from the call flow script.
I will run a query which serach wihtin the last 24 hours which agent talked to the customer the last time.
The problem is, that I'm not able to add the informix db into the uccx database subsystems.
I can only select these driver classes:
net.sourceforge.jtds.idbc.driver
com.ibm.db2.jcc.DB2Driver
oracle.jdbc.driver.OrcaleDriver
com.sybase.jdbc2.jdbc.SybDriver
But for the Informix Db I think I would need the driver class:
com.informix.jdbc.IfxDriver.
Has anyone a idea how to add a driver class or how to access the db_cra from the script?
I know that it is possible to use a differnt database (like MSSQL) and write each time a agent gets a call the data to this db and access this one for last agent routing functions. But I want to use the db_cra for this.
thanks
MarkusHi,
there is no way to do it that way.
You can't access the Informix DB directly from UCCX script.
But you can use a SQL server as a middleware. So you have to setup a SQL server and add the Informix db as a linked server.
Now you should be able to access the SQL server from the UCCX script.
Kind regards
Markus
CONET Solutions GmbH
Markus Schweitzer,
Theodor-Heuss-Allee 19, 53773 Hennef
Tel.: +49 2242 939-676, Fax: +49 2242 939-393
Mobil: +49 173 5486337
Internet: http://www.conet.de, mailto: [email protected] -
I am trying to run a program and keep getting the error Failed to load JDBC driver. java.lang.ClassNotFoundException
How can I correct this?I was just trying to execute this example from Deitel's Java book.
import java.awt.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;
public class DisplayAuthors extends JFrame {
// JDBC driver name and database URL
static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver";
static final String DATABASE_URL = "jdbc:db2j:books";
// declare Connection and Statement for accessing
// and querying database
private Connection connection;
private Statement statement;
// constructor connects to database, queries database, processes
// results and displays results in window
public DisplayAuthors()
super( "Authors Table of Books Database" );
// connect to database books and query database
try {
// specify location of database on filesystem
System.setProperty( "db2j.system.home", "C:/Cloudscape_5.0" );
// load database driver class
Class.forName( JDBC_DRIVER );
// establish connection to database
connection = DriverManager.getConnection( DATABASE_URL );
// create Statement for querying database
statement = connection.createStatement();
// query database
ResultSet resultSet =
statement.executeQuery( "SELECT * FROM authors" );
// process query results
StringBuffer results = new StringBuffer();
ResultSetMetaData metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
for ( int i = 1; i <= numberOfColumns; i++ )
results.append( metaData.getColumnName( i ) + "\t" );
results.append( "\n" );
while ( resultSet.next() ) {
for ( int i = 1; i <= numberOfColumns; i++ )
results.append( resultSet.getObject( i ) + "\t" );
results.append( "\n" );
// set up GUI and display window
JTextArea textArea = new JTextArea( results.toString() );
Container container = getContentPane();
container.add( new JScrollPane( textArea ) );
setSize( 300, 100 ); // set window size
setVisible( true ); // display window
} // end try
// detect problems interacting with the database
catch ( SQLException sqlException ) {
JOptionPane.showMessageDialog( null, sqlException.getMessage(),
"Database Error", JOptionPane.ERROR_MESSAGE );
System.exit( 1 );
// detect problems loading database driver
catch ( ClassNotFoundException classNotFound ) {
JOptionPane.showMessageDialog( null, classNotFound.getMessage(),
"Driver Not Found", JOptionPane.ERROR_MESSAGE );
System.exit( 1 );
// ensure statement and connection are closed properly
finally {
try {
statement.close();
connection.close();
// handle exceptions closing statement and connection
catch ( SQLException sqlException ) {
JOptionPane.showMessageDialog( null,
sqlException.getMessage(), "Database Error",
JOptionPane.ERROR_MESSAGE );
System.exit( 1 );
} // end DisplayAuthors constructor
// launch the application
public static void main( String args[] )
DisplayAuthors window = new DisplayAuthors();
window.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
} // end class DisplayAuthors -
WebLogic Informix JDBC driver query
We are developing an application with WL6.1 Express. One of the databases
we need to connect to is Informix 7.2. Since WL's jDriver can work with
Informix, I'd assume we do not need to buy any additional drivers from IBM.
1) Is my assumption correct?
2) Not having worked with Informix before, what needs to be done on the
Informix server to enable this connection?
3) Is the WL jDriver for Informix reliable or are we better off buying the
Informix JDBC driver?
Appreciate any advice on the matter, thanks.Kai wrote:
>
We are developing an application with WL6.1 Express. One of the databases
we need to connect to is Informix 7.2. Since WL's jDriver can work with
Informix, I'd assume we do not need to buy any additional drivers from IBM.
1) Is my assumption correct?yes.
2) Not having worked with Informix before, what needs to be done on the
Informix server to enable this connection?that should be documented in our stuff.
3) Is the WL jDriver for Informix reliable or are we better off buying the
Informix JDBC driver?The one from Informix is better. Last time I checked, Informix's driver was free.
Unless it is expensive, I recommend it.
Joe Weinstein
>
Appreciate any advice on the matter, thanks.--
B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX -
Hi,
How do I configure 9iAS release 2 data source to access Informix database using Invformix JDBC driver? Has any one done it and can share the procedure?
SamSamir -
I've not done this, but this is the general idea.
btw - we ship the DataDirect JDBC drivers with 9iAS to facilitate connections to other databases such as DB2, SS, Informix, etc.
What you want to do is:
a) Take the JDBC library you wish to use and put it into the j2ee/home/lib directory (bounce the server since this directory is read at startup time and the classpath constructed. Dynamic additions are not picked up)
b) Define an emulated datasource in the j2ee/home/config/data-sources.xml file using the driver class and specific URL connection string for the JDBC driver you want to use:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="InformixDS"
location="jdbc/if/CoreDS"
xa-location="jdbc/if/xa/XADS"
ejb-location="jdbc/if/DS"
connection-driver="informix.some.packaged.JDBCDriver"
username="scott"
password="tiger"
url="jdbc:informix:....."
/>
** the connection-driver and URL attributes will be determined by the specific JDBC driver you are using
c) Use the datasource like any other data source at this point - you should be able to lookup the datasource using the location entries and get a connection.
If you are using the Oracle9iAS environment as opposed to the standalone environment, then the same set of tasks should be applied using the facilities provided (ie the EM console) by that distribution.
-steve- -
Hi! I want to know if you know a good JDBC Driver 4 for use with Informix.
Thanks a lot!
Raulget the latest from:
http://www14.software.ibm.com/webapp/download/product.jsp?cat=data&S_TACT=&S_CMP=&id=MBEN-4ZKP2T&s=c&type=
hassan -
Can't load jdbc driver in servlet
Dear All,
I have tried to connect to MS SQL SERVER 2000 through JDBC DRIVER FOR
SQLSERVER. However I receieved an error: can't load jdbc driver class:
null.
The following steps were what I did:
1.Set up SQL Server and create a few tables and users.
2.Config Server.xml
Add the following codes in /tomcat/conf/Server.xml
<Context path="/persistence" docBase="persistence" debug="0"
reloadable="true">
<Resource name="jdbc/persistenceDB" auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/PersistenceDB">
<Parameter>
<name>user</name>
<value>kitty</value>
</Parameter>
<Parameter>
<name>password</name>
<value>abc</value>
</Parameter>
<Parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
</Parameter>
<Parameter>
<name>url</name>
<value>jdbc:microsoft:sqlserver://localhost:1433;databaseName=persistence;selectMethod=cursor;</value>
</Parameter>
</ResourceParams>
</Context>
3.Config my web application's web.xml
Added the following piece of code in WEB.XML
<resource-ref>
<res-ref-name>jdbc/persistenceDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
4.Use Datasource in my code
package persistence.database;
import java.sql.*;
import javax.naming.InitialContext;
import javax.sql.DataSource;
import javax.servlet.ServletContext;
import persistence.*;
import com.microsoft.jdbcx.sqlserver.*;
import javax.naming.Context;
public class DatabaseAuthenticator implements Authenticator {
private DataSource ds;
public void init(ServletContext sctx) throws Exception {
InitialContext init = new InitialContext();
try{
Context ctx = (Context) init.lookup("java:/comp/env");
ds = (DataSource) ctx.lookup("jdbc/persistenceDB");
} catch (Exception e) { e.printStackTrace();
public User authenticate(String username, String password)
throws AuthenticationException, UnknownException {
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs;
try {
if (ds != null) {System.out.println("Success to get
datasource");
} else {System.out.println("Failed");}
System.out.println(ds.toString());
try
conn = ds.getConnection();
catch (Exception e)
e.printStackTrace();
pstmt = conn.prepareStatement("SELECT user_id " + .........
5. put msutil.jar, mssqlserver.jar and msbase.jar under /tomcat/common/lib/.
When I tried to run the program, I receieved an error: can't load jdbc
driver class: null.
I've got no idea what's going on.
Any Suggestion?
Thanks in advance
KittyHi Kitty,
The connection you're trying to set up points to nothing :
Connection conn = null;
So, you receive a complaint that that driver cannot be loaded. Please read
http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
download the right database driver and use that. Good luck!
Wouter van Reeven
public User authenticate(String username, String
g password)
throws AuthenticationException, UnknownException
ption {
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs; -
VDS didn't start: Could not load JDBC driver
Hello,
I want to start the VDS Tutorial, but I get an error:
Exception: Data source 'Derby database' failed. Check your CLASSPATH! (in Tools
-> Options) Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
Shutting down...
Data source 'Derby database' failed. Check your CLASSPATH! (in Tools -> Options)
Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
But I add the derby.jar file in the VDS under Tools - Options - Classpath
Have you any ideas...?!I try to start the server without the tutorial and that works...
-
Porblem loading Microsoft JDBC Driver for SQL Server
Hi all !!
Well, it seems there is a naming problem for the MS Driver, when Netbeans creates server resources for the Connection Pool and the DataSource, the default name for the connection pool's datasource classname is com.microsoft.jdbc.sqlserver.SQLServerDataSource, but the actual name of the class within the driver's jar is com.microsoft.jdbcx.sqlserver.SQLServerDataSource, note the 'x' after jdbc.
I changed this and the resource is created correctly (from the admin console, it pings to the DB server), but when I try to deploy the project, I get this error:
RAR5038:Unexpected exception while creating resource
RAR5117 : Failed to obtain/create connection. Reason : Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource]
WebModule[WebApplication2]java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
I guess I must change the name of the classname in some other place, but I searched the admin colsole and Netbeans and failed to find where it should be.
I'm using Netbeans 5.5 and SQL Server 200 with the MS JDBC Driver sp 3.
Thanks in advance,
DanielThanks for your answer !!
Yes, the datasource classname is correct in domains.xml.
I had the driver files copied into Appserver/lib, now I placed them also where you suggested me and restarted the server.
Now I get a different error:
LDR5202:Exception in EJBClassLoader
java.io.IOException: The filename, directory or volume label are not valid:
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
at java.io.File.getCanonicalPath(File.java:559)
at com.sun.enterprise.loader.EJBClassLoader$1.run(EJBClassLoader.java:418)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.loader.EJBClassLoader.findResource0(EJBClassLoader.java:391)
at com.sun.enterprise.loader.EJBClassLoader.findResource(EJBClassLoader.java:467)
at java.lang.ClassLoader.getResource(ClassLoader.java:977)
at java.lang.ClassLoader.getResource(ClassLoader.java:972)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
at com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoader.java:782)
at com.sun.xml.rpc.spi.JaxRpcObjectFactory.newInstance(JaxRpcObjectFactory.java:131)
at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.<init>(JaxRpcRICodegen.java:120)
at com.sun.enterprise.webservice.codegen.JaxRpcCodegenFactory.getAdapter(JaxRpcCodegenFactory.java:50)
at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:839)
at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:413)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:226)
at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:1189)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:179)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
I guess it may have something to do with any of the classpathes, there is a system or environment CP, one for the App server (with prefixes, suffixes, etc, and there is another in the Netbeans IDE tools Options....
I also tried to debug into java.io.WinNTFileSystem.canonicalize0(Native Method) just to see the name of the file who raised the exception, but I couldn't attach the BPEL debugger, it gives me this error:
11:57:24 Connecting to localhost:3343
11:57:24 Unable to start a debug session : Unable to connect to localhost:3343 : Connection refused: connect
I'm using a proxy but the system settings are set to not use the proxy for localhost addresses and so is netbeans.
How much I miss the simplicity of the old Turbo Pascal days !!
Thanks for your help !!
Daniel -
Initialization error: Loading jdbc driver
Hi ,
In a file-XI-JDBC scenario, i am getting this error. "Initialization error: Loading jdbc driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver' failed: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver".
but i have installed/deployed third party SQL driver on J2ee server thru SDM.
Can any one sort out this problem.
Rgds
SridharHi,
try looking into the log viewer in Vsual Administrator. Usually you can find more information about the problem there.
Also try redeploying the driver again.
cheers,
naveen -
Dynamically loading and registering JDBC driver from an archive (zip - jar)
I'm programming an JDBC driver tester.
I have to load dynamically any driver from an archive (jar or zip) after the user uploaded it.
I think i did it well with my ClassLoader, i can get an instance of the driver and use any method like (getMinorVersion()) but when i registering it fail.
There is no error but the driver is not registered.
I rode the DriverManager log (with his logwriter) and he says :
skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@5439fe]
skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@2b7db1]
(two times, it looks curious isn't it ?)
This is a part of my code :
Driver pilote = (Driver)Class.forName(driverClass.getName(), true,this).newInstance();
System.out.println("Minor Version = "+ pilote.getMinorVersion());
PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
DriverManager.setLogWriter(printwriter);
DriverManager.registerDriver(pilote);
System.out.println("Driver registered\n");I have made a simple test :
public static void main(String[] param)
System.out.println("Loading Driver from JAR ...");
try
File jar = new File("c://mbm//drivers//oracle.jar");
URL aurl[] = {jar.toURL()};
URLClassLoader urlclassloader = new URLClassLoader(aurl, ClassLoader.getSystemClassLoader());
Class.forName("oracle.jdbc.driver.OracleDriver", true, urlclassloader);
PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
DriverManager.setLogWriter(printwriter);
Enumeration listDriver = DriverManager.getDrivers();
System.out.println("[---------Drivers-----------]");
while (listDriver.hasMoreElements())
Driver driver = (Driver) listDriver.nextElement();
System.out.println("->> "+driver.getClass().getName());
catch (MalformedURLException e)
e.printStackTrace();
catch (ClassNotFoundException e)
e.printStackTrace();
This displays that :
Loading Driver from JAR ...
skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@9ec21d67]
[---------Drivers-----------]
D:\www\tomcat\webapps\mbm\WEB-INF\classes>
I think there is in this case only one instance
Maybe you are looking for
-
Hi, My Problem is when im adding dataset with stored procedure, im getting this error. I Can access database, Could not create a list of fields for the query. Verify that you can connect to the data source and that your query syntax is correct. ORA-
-
Global variable are not assigned to other files
Hello I have defined & assigning some values to Global files in one of the project files, But the same i am not able to read in other files of the same project. i have defined as 'extern int x ' in one file & also called in other file by defining
-
I've just updated to CC and when I go to 'save as' Indesign file it opens (auto remembers) the wrong folder/location. Can I make it remember the right folder to save to?
-
IPod not syncing: no help provided online
My iPod won't sync, and iTunes tells me to reset=, B UT get this: It says I am not con nected to the internet, which I obviously am. Now I'm stuck, with a non-syncable iPod, and a stupid error. Help?
-
Bring Back Marketplace Reward Points & Reimburse Back Points.
I have to say, that I am really upset with Best Buy with them changing their status of NOT getting rewarded for ordering item thru Marketplace. I have ALWAYS order items thru best buy and thru Marketplace, NOw we don't get rewarded for ordering items