Posts

Database Connection issues in Jdeveloper with MySQL Database

Image
If having an issue connecting Jdeveloper with MySQL database, it may be caused by Driver. You need to download the correct driver You may also face the following issue which also may be caused by the inappropriate driver. Test failed: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long mysql jdeveloper Or Test failed: Unknown system variable 'query_cache_size' Let's download the updated connector and configure it in JDeveloper https://www.mysql.com/products/connector/ Download JDBC Driver for MySQL OR  from maven repository Click on the jar file to download the connector Now Click on the "Test Connection" button it should work and now you're ready to roll.  Cheers!

WebLogic Server: "TOO MANY OPEN FILES" Exception

Check Limits and change it temp. $ ulimit -H -n (Display hard limit, cannot be exceeded) $ ulimit -S -n (Display soft limit may be increased up to hard limit value) $ ulimit -S -n 4096 (Increase the soft limit to 4096) for current shell scripting To increase file limit permanently for specific user $ sudo vim /etc/security/limits.conf Add following command soft nofile 2048 Save and exit file, References https://blogs.oracle.com/imc/entry/weblogic_server_too_many_open http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

Detail List shows duplicate records for all inputfields when click on button having immediate attribute true with resetActionListeneron JDeveloper 11.1.1.5.0

Image
Background: We have usecase master detail record, when click on edit button and then clicking on cancel button having immediate attribute true and resetActionListener shows replicated rows in detail list. We have implemented the same scenario using HR schema with entity Jobs as master and Employees as detail and received the same behaviour. We are using EJB3.0, and JDeveloper 11.1.1.5.0. We have also checked this issue on JDeveloper 11.1.1.4.0 and found working properly as expected. To replicate the same behaviour we created a sample application using HR schema. Following are the detail of our project and procedures. Creating Sample Application 1. Create new application and select EJB3 and ADF Faces technologies. 2. Create entities from table. Jobs and Employees. (create connection as well with you HR schema) 3. Create SessionBean 4. Create findById method and expose it to local and remote interfaces Create findJobById method Your model should looks like...

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)

Image
When I was deploying application to EAR file I was keep receiving error message from my Jdeveloper that "ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)" I am having two projects in my application 1. Model (Having ejbs) 2. ViewController To resolve this issue, go to application properties and select Deployment Edit your deployment profile Select EE modules to include in ear file Doing this solved my issue. Cheers...!

Installing Trac with VisualSVN Server

Image
Prerequisite  VisualSVN Server 2.1 or later, Install it using default settings and you should have atleast one user. Download VisualSVN-Server-Trac-2.1.1.21699.zip  and unzip it to C:\Program Files (x86)\VisualSVN Server directory Create folder C:\Trac and allow "Full control" access. Create repository Add your project inside trunk folder Commit your project Add system variable PYTHONHOME=C:\Program Files (x86)\VisualSVN Server\Trac\python Open command prompt and goto C:\Program Files (x86)\VisualSVN Server\trac directory where you have unzipped the folder and execute above command where myproject is project name Press enter to use default svn Provide the repository path Add the following text to file C:\Program Files (x86)\VisualSVN Server\conf\httpd-custom.conf if you use Subversion authentication Open http://localhost/trac or https://localhost/trac (if you are using secure connection) in a browser, enter username and password.

Installing and configuring VisualSvn-Server

Image
Download subversion http://www.visualsvn.com/files/VisualSVN-Server-2.1.7.msi VisualSVN Server is a package that contains everything you need to install, configure and manage Subversion server for your team on Windows platform. It includes Subversion, Apache and a management console - Subversion 1.6.16 - Apache 2.2.17 - OpenSSL 0.9.8r - ZLib 1.2.3 - Neon 0.29.5 Instal VisualSVN-Server Create New repository Create User copy url to check on browser Instal tortoiseSVN Client Setting up project Create folder Right click on newly created folder, click on SVN Checkout Provide URL of repository and click on OK button. provide username and password for the user Click Ok Directory structure should be like above. Copy and paste your project in trunk folder Right click on your newly pasted folder, click on TortoiseSVN and click on Add Right click on folder and click on Commit Check the project must be available in VisualSVN Copy the url to ch...