Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Syed Fahmeed Nawaz
Best IDE for liferay portlet development
17. Oktober 2012 05:25
Antwort

Syed Fahmeed Nawaz

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 3. Oktober 2012

Neue Beiträge

Guide me which is the best IDE for liferay portlet development i am using eclipse but i am not comfortable with it because i am unable to connect database did any one haive idea about eclipse mysql integration for liferay database.....
Priyanka Dhingra
RE: Best IDE for liferay portlet development
17. Oktober 2012 05:42
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

can you explain why you need the mysql integration with eclipse...I never came across with such requirement
anyhow eclipse 1.5.2 liferay developer studio is the best one as far as i know
Syed Fahmeed Nawaz
RE: Best IDE for liferay portlet development
17. Oktober 2012 05:44
Antwort

Syed Fahmeed Nawaz

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 3. Oktober 2012

Neue Beiträge

i want to change the default HSQL databse to mysql i am not able to connect mysql database to liferay using eclipse....
Priyanka Dhingra
RE: Best IDE for liferay portlet development
17. Oktober 2012 06:23
Antwort

Priyanka Dhingra

Rang: Liferay Master

Nachrichten: 501

Eintrittsdatum: 19. Dezember 2011

Neue Beiträge

just create the portal-ext.properties in your 3. liferay-portal\tomcat-x.x.xx\webapps\ROOT\WEB-INF\classes
and add these properties there after creating a database in sql

1jdbc.default.driverClassName=com.mysql.jdbc.Driver
2 jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
3 jdbc.default.username=
4 jdbc.default.password=

you dont need to use my sql through eclipse
Hitoshi Ozawa
RE: Best IDE for liferay portlet development
18. Oktober 2012 17:37
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Refer to Dave's reply in the thread below:

http://www.liferay.com/community/forums/-/message_boards/message/5609279
Subhash Pavuskar
RE: Best IDE for liferay portlet development
19. Oktober 2012 02:25
Antwort

Subhash Pavuskar

Rang: Regular Member

Nachrichten: 234

Eintrittsdatum: 12. März 2012

Neue Beiträge

Adding to Priyanka Dhingra point !!

Add following xml code to /home/Documents/Liferay-SetUp-6.1.1/Liferay-6.1.1/tomcat-7.0.27/conf/Catalina/localhost/ROOT.xml File


 1
 2<Resource
 3    name="jdbc/LiferayPool"
 4    auth="Container"
 5    type="javax.sql.DataSource"
 6    driverClassName="com.mysql.jdbc.Driver"
 7    url="jdbc:mysql://localhost/Liferay6.1.1?useUnicode=true&amp;characterEncoding=UTF-8"
 8    username="root"
 9    password="root"
10    maxActive="20"
11/>
Hitoshi Ozawa
RE: Best IDE for liferay portlet development
20. Oktober 2012 05:17
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Editing ROOT.xml file in unnecessary because jdbc connection is being defined in portal-ext.properties.