Saturday, 1 September 2018

Thursday, 19 July 2018

Oracle related

1) Download oracle db from the following link

http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html

2) Dowload sql developer.

Refer https://www.youtube.com/watch?v=Fr4pPlZnbFI youtube video

Sunday, 26 March 2017

How to change file type in windows 10

Hi,

I need to change the file type txt to csv but I can't do that.

For eg, test.txt --> test.csv but it remain test.csv.txt


I found out simple setting to do that.



 Click this box in view option.


It will work now.

How to compile the java class file without external software or using Eclipse

Use this plugin from the marketplace.

You can compile your class file


Sunday, 12 February 2017

Places to visit in Australia.

Just sharing my experience in Australia. There are lots of places to visit, you need to plan according.
If you are visiting Sydney, the list of following places you can visit.

1. Bondi Beach
2. Manly Beach
3. Opera House
4. Darling harbour
5. The Star
6. Coogee Beach
7. Bondi to Coogee walk
8. Plam Beach
9. Cockatoo Island
10. Blue Mountain
11. Morrisset Park
12. New Castle
13. Port Stephen
14. Sand Dunes
15. Cronulla Beach
16. Jervis Bay
17. White sand Beach
18. Kiama
19. Paddy's Market
20. Illawarra Tree top
21. Helensburgh Temple
22. Fire works in Darling Harbour


How to print the sql in console while running in JBOSS

Hi Everyone,

Mostly when you are running your JBOSS through eclipse, the sql will be logged in the server log file.

If you want to print the sql in the eclipse console, you need to change the config in LOG4J xml. You should change the console appender from WARN  to DEBUG in the xml.

Monday, 12 December 2016

The internal connection pool has reached its maximum size and no connection is currently available!

You should comment this line in hibernate.cfg.xml

 <!--  <property name="connection.pool_size">1</property> -->

Saturday, 10 December 2016

Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

You would have used this way
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>

You should use this, prefix should come first
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

Main thing is you will be using tomcat 7 or higher version. You need to use JSTL - 1.2.jar

you  might be simply using JSTL.jar.

just put the JSTL-1.2.jar in lib folder..

how to close the port in computer?

To check the ports open in your computer,

go to cmd, type netstat.

you will get all the ports used in the computer..

If you want to close the port used, netstat -a -n -o in cmd...

you will get the PID. Note this PID go to task manager and kill it..


how to check how many tables are there in database in oracle?

select * from user_tables;

How to check schema in mysql?

Use schema_name;
desc table_name;

Sunday, 4 December 2016

How to show current Workspace in Eclipse?

Go to eclipse folder,

1.Edit the eclipse.ini.
2.add -showlocation
3.This should be before -startup



-showlocation
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product

Saturday, 3 December 2016

Files\Java\jdk1.8.0_112 was unexpected at this time.

Its problem with your JAVA_HOME. you would have set your JAVA_HOME with double quotes.


Thursday, 1 December 2016

How to set java_home and java_path?

After installing java,  we need to set the java home and path..

you can set it in two ways, one through screen and other with cmd.

I will show you how to set it through cmd..















set JAVA_HOME=your java path without bin

set PATH=%path%;your java path with bin

you should not leave any space in between after PATH or JAVA_HOME..

you can check the path using echo command

In the screenshot I made mistake by giving double quotes..

if you use double quotes, u will get this error Files\Java\jdk1.8.0_112 was unexpected at this time in future


java was started by returned exit code=13

Which mean you are using 64 bit eclipse and you have installed 32 bit java..

Uninstall 32 bit java and install 64 bit java...

How to clear the cmd (command prompt) screen?

Use cls command to clear the cmd screen.

Thursday, 24 November 2016

How to format the xml in notepad++ ?

Hi,

First  you need to install the xml plugin for notepad++ from net.

Once installed, you can use Ctrl+Alt +Shift+B to format the xml.

Thanks

Sunday, 20 November 2016

How to check the graphics memory in your computer

Hi,

If you are not sure about what is the graphics card configuration of  your desktop / laptop, just search control panel in your computer and go to display --> change display setting --> advance setting then you can see the below screen.

if you are using AMD processor than right click in your desktop --> you will able to see AMD setting click that, go to system then hardware. you can see the graphics card configuration.




Thanks.