ludovic lecras

Greenhorn
+ Follow
since Dec 09, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ludovic lecras

Hi,
I've got several application that use a Sybase Datasource, and for now each DataSource uses its own JDBCDriver (because the address and the port of the Sybase Instance are in the Driver Config ):
DataSource1
<database-name>NAME</database-name>
<jdbc-driver-name>SybaseDriver1</jdbc-driver-name>
SybaseDriver1
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:host ort</url-prefix>
I would like to use only one Sybase JDBC Driver for all the different DataSources, by moving the hostname and the port in the DataSource Config...
I tried something like that, but it doesn't work:
DataSource1
<database-name>host ort/NAME</database-name>
<jdbc-driver-name>SybaseDriver</jdbc-driver-name>
SybaseDriver
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:</url-prefix>
Does anybody have an idea?
Do you know if what I want to do is possible or not?
Thanks a lot,
Ludovic
21 years ago
Hi,
I've got several application that use a Sybase Datasource, and for now each DataSource uses its own JDBCDriver (because the address and the port of the Sybase Instance are in the Driver Config ):
DataSource1
<database-name>NAME</database-name>
<jdbc-driver-name>SybaseDriver1</jdbc-driver-name>
SybaseDriver1
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:host ort</url-prefix>
I would like to use only one Sybase JDBC Driver for all the different DataSources, by moving the hostname and the port in the DataSource Config...
I tried something like that, but it doesn't work:
DataSource1
<database-name>host ort/NAME</database-name>
<jdbc-driver-name>SybaseDriver</jdbc-driver-name>
SybaseDriver
<implementation-class>com.sybase.jdbc2.jdbc.SybDriver</implementation-class>
<url-prefix>jdbc:sybase:Tds:</url-prefix>
Does anybody have an idea?
Do you know if what I want to do is possible or not?
Thanks a lot,
Ludovic
21 years ago
Hello,
I'm in trouble starting WAS 3.5 with Oracle. I 've got this in the TraceFile:
FATAL Could not load database driver java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:71)
at java.net.URLClassLoader.findClass(URLClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:275)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:134)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:959)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)
java.lang.Throwable
at java.lang.Throwable.<init>(Throwable.java:84)
at com.ibm.ejs.ras.CBuffLogger.fatalEvent(CBuffLogger.java:420)
at com.ibm.ejs.ras.Tr.fireTraceEvent(Tr.java:502)
at com.ibm.ejs.ras.Tr.fatal(Tr.java:859)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:961)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)

I think my admin.config file is OK: I included classes12.zip in the classpath, I put the dtabase instance name, the user ID, the password...
Any idea would be helpful!
Thanks,
21 years ago