I seem to be having a problem loading a certain JDBC Driver class, I would
appreciate any help I can get with it.

I am writing a workflow service unit, it depends on Enhydra Shark and Mysql.
My shark.conf file is configured to use com.mysql.jdbc.Driver but it cannot
be found anywhere.

I have tried it as a maven dependency so that it is included in the jar/zip
service assembly, the build includes the mysql driver jar in the archives
lib folder but the shark engine says it cannot be found.

I have tried by putting the mysql driver jar in the servicemix/lib folder
and the servicemix/lib/optional folder and still shark cannot find the
driver.

The error I keep on getting is:

SharkEngineManager -> Shark engine is being initialized ...                     
                                                                            
2008-11-12 13:57:35,032: SharkEngineManager -> Working with
'org.enhydra.shark.CallbackUtil' implementation of core CallbackUtilities
API                   
2008-11-12 13:57:35,032: SharkEngineManager -> Working with
'org.enhydra.shark.SharkObjectFactory' implementation of core
SharkObjectFactory API            
2008-11-12 13:57:35,032: SharkEngineManager -> Working with
'org.enhydra.shark.StandardToolActivityHandler' implementation of core
ToolAgentManager API     
2008-11-12 13:57:35,032: SharkEngineManager -> Working with
'org.enhydra.shark.logging.StandardLoggingManager' implementation of Logging
API                
1 name = dods/conf/databaseManager.conf                                         
                                                                            
>>>> connectionallocatorname =
>>>> com.lutris.appserver.server.sql.datasource.DataSourceConnectionAllocator   
>>>>                                                   
Unknown JDBC Driver Vendor for : com.mysql.jdbc.Driver using default
(Standard) instead                                                              
       
2008-11-12 13:57:35,653: StandardAssignmentManager -> Working with
'org.enhydra.shark.usergroup.DODSUserGroupManagerAdmin' implementation of
UserGroup API  
2008-11-12 13:57:35,922: StandardAssignmentManager -> Working with
'org.enhydra.shark.partmappersistence.DODSParticipantMappingAdmin'
implementation of ParticipantMapping API                                        
                                                                                
                  
2008-11-12 13:57:35,922: SharkEngineManager -> Working with
'org.enhydra.shark.assignment.StandardAssignmentManager' implementation of
Assignment API       
2008-11-12 13:57:35,923: SharkEngineManager -> Working without Caching API
implementation - CacheManager is not specified.                                 
 
java.sql.SQLException: No suitable driver

Is there something I am missing?

Any information will be gladly appreciated
-- 
View this message in context: 
http://www.nabble.com/Claspath-problem--tp20459257p20459257.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to