Oracle Lite - database connection problem [message #136011] |
Mon, 05 September 2005 06:34 |
slepy200x
Messages: 1 Registered: September 2005 Location: PL
|
Junior Member |
|
|
Hello
I'm trying to connect to mobile database on mobile server(oracle 10g lite)so:
I type in cmd:
C:\>msql system/password@jdbc:polite:webtogo
but it shows an error
Oracle Lite MSQL Version 10.0.0.0.0
Copyright (c) 1997-2004 Oracle Corporation. All rights reserved
no oljdbc40 in java.library.path
I have copied file olite40.jar (on mobile server) to java folder :
C:\j2sdk1.4.2_09\jre\lib\ext
from folder
C:\Ora\mobile_oc4j\j2ee\home\applications\mobileserver\setup\common\win32 and still the same error.
I had the same problem on mobile client but, when I copied file olite40.jar from directory
c:\orahome\mobile\classes to c:\j2sdk1.4.2_09\jre\lib\ext
and it works now properly.
Why can't I connect like that on mobile server??
Maybe the classpath is a problem but what directory schould be a class path in this case??
|
|
|