JDBC connector cannot be accessed by Server - mysql

I am having issues trying to run a web application, that was working fine, but suddenly, stop working and now the server cannot find the JDBC connector that is located on the WEB-INF/lib… is there a way that can move the .jar file to another location? How can I say to the server where to find it?
Thanks in advance.

Related

How put NetBeans on redhat?

I'm try to build some html, jsp, java(servlet) and database Mysql in Netbeans, I just created a account for redhat, how can I move the NetBeans on redhat and the MySQL too.
I did not find any way on searching related content.
What should I do to host the server on redhat, rather than from my pc local.

MySQL server at localhost>:3306[root](disconnected) >nodeUnable to register mysql server 5.6 in Netbeans 8.1

I am creating a web database app project for the first time, and I get this:
When I right click on MySQL server at localhost>:3306[root](disconnected) >node in services window in net beans and click connect and I get this ,when i right click MySQL server at localhost>:3306[root](disconnected) >nodeinside service window and click start
When I right click , the node jdbc:mysql;//localhost;3306/MyNewDatabase[root on default schema]under the drivers in service window and click connect it connects without any problem.drivers Please help me. I am unable to register mysql server 5.6 on Netbeans 8.1. I have even tried adding adding mysql libraries to the project but still no luck.
I got the answer the problem is with my drivers i remove all of the drivers and add mysql conector java 5.1.13.jar i found it around removing the driveradd driver,now i can easily connect

No suitable driver found for jdbc:mysql://db4free.net:3306/partnerdb

I am trying to create a sample Spring application with JPA (MySQL DB) and Tomcat 7.0.28 under Mac OSX platform. I placed mysql-connector-java-5.1.22 jar under WEB-INF/lib folder of the application. But when I start the app, I get error mentioned in the Title. I tried to put the same jar under Tomcat lib folder as well but getting the same error.
Same application when I deployed in Glassfish server with driver jar under domain/lib/ext folder, application works fine.
Note: Glassfish was also throwing the same error without putting the driver jar under domain/lib/ext folder.
Does this How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools? help ? Please check the second answer if you are connecting through program.

Connect to MS-Access in JBoss

I'm develpoing an application under JBoss-As 7. In the application, I need to generate a MS-Access file which includes some data. To do that I used an already created MS-Access file and use Jdbc-Odbc Brdige to connect and insert data. The problem is that I can not connect to in the application-server environment. It throws NoClassDefFoundError: sun/jdbc/odbc/JdbcOdbcDriver. (JBoss under windows 7).
Can someone has idea to move my application to linux and connect to MS-Access file in Linux.
Best
For my problem, jackcess worked fine. Please read and use it (jackcess.sourceforge.net).

Installing the SSRS Data Connector for CRM4

I'm trying to install the SSRS data connector for my CRM4 implementation.
I'm using the Method 2: Modify the Install-config.xml file from this page. But keep getting the same error message:
Unable to validate SQL Server Reporting Services Report Server
installation. Please check that it is correctly installed on the local
machine.
I've added the following to my XML file.
<reportserverurl>http://SSRS-Server/Reportserver$MYORG_MSCRM</reportserverurl>
<instancename>MYORG_MSCRM</instancename>
Anyone know what is still wrong?
I tried several instance names but they all don't work either.
I can access my SSRS server by going to http://SSRS-Server/Reports and it will give a list of all services running there.
Any help would be much appreciated.
You may need to post more details regarding this issue:
1) The 2nd method described in this link : here is used when the Reporting Server database is installed using the SQL Server named instance. Are you installing the Reporting Server database in the default instance or named instance ?
2) If you are using default instance, you might not need to use custom XML, you can just run the installer without requiring the input XML file.
3) What is the architecture of your CRM implementation ? is the CRM Application, SQL server and Reporting Server resided in the same server ? or different server ?
Hope this helps.
I realise this is a really old article however I wanted to post the resolution I found to work as I have spent the past 3 days trying to resolve this issue! I created an account just to post this.
I was having the same problem as the original article. I had SSRS 2008 installed on a server, CRM (4.0!!!) on a different server and SQL 2008 on a different server again. When all permission issues were resolved and ports were opened from the SSRS server to the SQL server, I was still having problems getting the SetupSrsDataConnector.exe to see the locally installed instance of SSRS2008 (Not R2).
I found the resolution to the issue in this article:
https://community.dynamics.com/crm/b/pabloperalta/archive/2011/07/12/unable-to-validate-sql-server-reporting-services-report-server-installation-error-while-installing-srs-data-connector
Effectively the problem I was having is that my copy of the SRS Connector installation files were old and needed updating, however my server did not have internet connectivity. In the link above, it gives you a download location to get a .mps file which contains the updates for the SRS Connector.
You need to download this .mps file and then run the installation via command prompt with a customised install-config.xml file, which specifies the SSRS ReportServer URL and the SSRS Instance Name in a custom tag (what you named the SSRS instance when you installed it) and another custom tag for <Patch update="true">C:\Path to the .msp file< /Patch>
This was my installation command:
"D:\Stage\SRSDataConnector\SetupSrsDataConnector.exe" /CONFIG "D:\Stage\SRSDataConnectorUpdates\install-config.xml"