[Users] "Cannot load JDBC driver class" when using bc-sql

rnaudin roland.naudin at ebmwebsourcing.com
Wed Mar 16 10:37:10 CET 2011


Hi,
You have done some right things....exception that you didn't configure the SQL component to use the shared library.

 [Idea] There is different way to do that.
 [Arrow] you can use the PEtALS maven plugin with the goal 'jbi:configure'.
That's not the easiest way. This goal is interesting for people that want to handle the 'dev to prod' deliveries with maven.

 [Arrow] you can use the Ant PEtALS task 'petals-configure-component' like that:


Code:

<petals-configure-component file="${repo.url}${file.separator}components${file.separator}petals-bc-sql-1.0.zip"
	    outputFile="${repo.url}${file.separator}temp${file.separator}petals-bc-sql-1.0.zip">
   <sharedlibrary file="${repo.url}${file.separator}sls${file.separator}petals-sl-mysql-5.1.5.zip" />
</petals-configure-component>




and use the ouput File to install in your PEtALS.

 [Arrow] you can add in the jbi.xml of the component the XML element that you want by hand. That's for the handyman.


Notes:
-you don't need to put in your SU the HSQL resources:

Code:

   + repository
           - repository.properties
           - repository.scripts




-In your JBI decriptor, the section:

Code:

         <petalsCDK:message-properties>
            <petalsCDK:message-property message="in" name="metadata">true</petalsCDK:message-property>
         </petalsCDK:message-properties> 



Do not mean anything in a 'provides' section; In a 'provides' section you can inject properties in the response message (out), not the 'in'.
It can be set for the 'consumer' of the service, to inject the property in the request message, so you'll have the metadata.

cheers




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding.

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=30317#30317

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/ba0fa18a/attachment.htm>


More information about the Users mailing list