Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Syed Fahmeed Nawaz
Best IDE for liferay portlet development
17 de Outubro de 2012 05:25
Resposta

Syed Fahmeed Nawaz

Ranking: New Member

Mensagens: 9

Data de entrada: 3 de Outubro de 2012

Mensagens recentes

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 de Outubro de 2012 05:42
Resposta

Priyanka Dhingra

Ranking: Liferay Master

Mensagens: 501

Data de entrada: 19 de Dezembro de 2011

Mensagens recentes

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 de Outubro de 2012 05:44
Resposta

Syed Fahmeed Nawaz

Ranking: New Member

Mensagens: 9

Data de entrada: 3 de Outubro de 2012

Mensagens recentes

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 de Outubro de 2012 06:23
Resposta

Priyanka Dhingra

Ranking: Liferay Master

Mensagens: 501

Data de entrada: 19 de Dezembro de 2011

Mensagens recentes

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 de Outubro de 2012 17:37
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

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 de Outubro de 2012 02:25
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

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 de Outubro de 2012 05:17
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

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