That will eliminate the need for a shared library link. Follow these instructions to download it:. Yes i use service builder. To be honest, in this case to make mistake is a rather hard but may be I did.. Originally posted by Shaji Kalidasan: Sign up using Email and Password.

Uploader: Vilrajas
Date Added: 28 November 2016
File Size: 37.64 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 83855
Price: Free* [*Free Regsitration Required]

Did you check to insure Maven including the dependencies in the. Invocation of init method failed; nested exception is java. Stack Overflow works best with JavaScript enabled.

Email Required, but never shown.

Discussion between srigin and Miroslav Ligas –

Here are the steps for using a datasource other than liferay on tomcat iava.sql.sqlexception. Remove c3p0 to use ojdbc14 again i thought it may be caused by ojdbc6 Swap the ojdbc14 with ojdbc6 in the old build it works New persistence.

I test my connection without any container you noticed about web containerjust via POC pure old console.

I’ve read from several sources, that problem can be in connection url syntax and driver mismatch. However, I put it in the same directory as the Liferay default hsqldb driver. ProviderType;To resove this error i added annotation May 24, 7: While trying to acquire a needed new resource, we failed to succe ed more than the maximum number of allowed acquisition attempts 3.


Java.sql.sqlexcephion database driver needs to be in the Java classpath to compile, and your Web servers classpath for execution.

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyjava.sql.sqlexcception our Terms of Service. No dialect found at com. Check your syntax to eliminate that problem.

Hi, I am trying to connect my webapp to the DB2 database. JBHDB2P” what should be the driver class name is it the path name where db2 driver installed please teach me clearly iam struggling hard to connect DB2 with life ray and the retieved values from the database is getting printed on commandprompt and sql exception is reported in the portlet hoping quick response and thanks in advance sir[please reply soon and clearly explain iam new user of liferay and i dont know the technical terms in this liferay i have very little knowledge abt liferay sir].

No suitable driver at java. You can do it by following these commands:. Thank you all for this discussion!

Similar Threads

If you already configured your portal with hsql and want to re-configured it with the MySQL Database and add samples data, open portal-setup-wizard. I created user and database with windows commande line “sqlcmd -S localhost” as the following: I’m trying now to startup a liferay 6.


Email Required, but never shown. Home Liferay Portal English 3. Starting service Catalina May 24, 7: I have added the jdbc driver in the tomcat lib folder. My plugins sdk is a migrated one from liferay 6. I am wrestling with the same issue – a couple of minutes of time taken to post his solution – would have saved me days Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

But my goal is to use type 2. Also, can you include a stack trace? To avoid any flaws like this I construct my classpath as you can see here env. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Last acquisition attempt excepti on: For my current task I have to deploy our application in a liferay portal.