Hi,
I'm trying to use the mysql connector librarie in a web-dynpro project. The problem is that I always get "no suitable driver found" exception. I used the deploy tool to deploy the lib on the server. The deploy was succesful. Do I need to add some references in my project properties? What fields are important when I deploy a lib ( I kept the default values)? I followed the instructions in the help files with no sucess.
best regards
Werner
Hi,
Hope you had solved your problem by now, but if not this might help u.
*When you deploy the library, do restart the server.
*Secondly you are right to include the library reference you have to add the following (reference tag) in application-j2ee-engine.xml(of the generated EAR file when u archive ur web dynpro project)
<application-j2ee-engine>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com(provider name as when u deployed ur library, it is sap.com by default)"
target-type="library">(Name of the deployed library) </reference-target>
</reference>
<other-tags>.... </other-tags>
</application-j2ee-engine>
I think you are following the hard way to include a library, try adding the jar manually in the archive (EAR file) generated when u build archive WebDynPro project before deploying it on the SAP Web AS.
Hope any of the above points helps, if you already found the remedy, do share it by replying on this thread.
With Regards,
Rohit Jaiswal
Add a comment