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;