Monday, August 24, 2015

PostgreSQL: Change the password Postgres user postgres

On PostgreSQL local server, open pgAdmin III, open a new SQL query and excecute this:
 
ALTER USER Postgres WITH PASSWORD '<<newpassword>>';

SQL Server Reporting Services, OBDC solution: Error: Unable to connect to data source ''.ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

Error: Unable to connect to data source ''.ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application



Solution: check your Windows version 32 bit or 64 bits, use the obdc correct version

c:\windows\system32\odbcad32.exe or %WINDIR%\System32\odbcad32.exe
 


c:\windows\sysWOW64\odbcad32.exe or %WINDIR%sysWOW64\odbcad32.exe


Nota: Check if have created an odbc with 32 and 64 and just remove it (the cause of the error).



Thursday, August 6, 2015

Eclipse: File search has encountered a problem Problems accounted during text search.

Problem: 'File Search' has encountered a problem. Problems accounted during text search.

Solution


  • Sync the project (F5 keyboard)
  • Clean the project (Project/Clean...)
  • Check the Open/Close project (Maybe there's none open)
  • Check latest change in folders (maybe delete or change the name of the project in the folder and and not into Eclipse)

Regards,

Wednesday, August 5, 2015

Java: jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Error: jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Solution: Delete all the libs/jars that is duplicating the classes

Check this types of files: *.jar, *.zip, *.rar *.7z

Example

servlet-api.jar
servlet-api-5.5.15.jar
javax.servlet-3.0.jar