论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Aldi Tirane
Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月8日 上午12:18
答复

Aldi Tirane

等级: Junior Member

帖子: 25

加入日期: 2012年10月23日

最近的帖子

Hello to everyone,

i am using Liferay 6.1.1 CE GA2 bundled with Tomcat for development and i want to use Jboss 7 for production. I installed Jboss into Eclipse and deploy my developed portlets into JBoss. My database is MS SQL Server 2008. I start JBoss and follow the first wizard. In control panel i can see my themes and my created pages but i can't access them. I says:
1
2An error occurred while accessing the requested resource.
3http://localhost:8080/


In addition i can't see my created organizations and users.

My question is if this kind of migration is possible and how to do that?

Thank in advance. Aldi
Aldi Tirane
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月8日 上午6:14
答复

Aldi Tirane

等级: Junior Member

帖子: 25

加入日期: 2012年10月23日

最近的帖子

Any one that have had a similiar experience?

Developing using Tomcat and then using JBoss in Production.
Hitoshi Ozawa
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月9日 下午11:59
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

Yes, I'm using Tomcat in development and JBoss in production. Haven't had any problem.
Raja Nagendra Kumar
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月10日 上午6:41
答复

Raja Nagendra Kumar

等级: Expert

帖子: 484

加入日期: 2006年3月1日

最近的帖子

Make sure there are no other server is running on 8080 port.. Specially Skype etc.

Are u using Liferay JBoss bundle available at http://www.liferay.com/downloads/liferay-portal/available-releases

Regards,
Nagendra
Aldi Tirane
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月11日 上午4:41
答复

Aldi Tirane

等级: Junior Member

帖子: 25

加入日期: 2012年10月23日

最近的帖子

Can you help me explaining how you do that?

What i was trying to say is that i have a MS SQL database (not standard hsql). Then i configure JBoss to use this database and then deploy my developed portlets and my created theme. Start Jboss and go to Liferay instance at http://localhost:8080. The theme is not loaded and so the pages saying:

1An error occurred while accessing the requested resource.
2http://localhost:8080/


I don't do anything else. Just executing Liferay Instance with JBoss with the database used in development with Tomcat.

Am i missing anything? Any configuration or something?
Hitoshi Ozawa
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月11日 上午6:19
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

Am i missing anything?


Yes, you're completely missing out on how Liferay operates. You shouldn't deploy your portlet on to JBoss because that'll assign a new id. The normal way is not to share the same database between your tomcat and jboss but to import/export data or use staging.
Manish Yadav
RE: Migrate Liferay Portal from Tomcat in JBoss 7
2013年3月11日 上午10:16
答复

Manish Yadav

等级: Expert

帖子: 467

加入日期: 2012年5月26日

最近的帖子

create different database for production and developement...you can't point same database for two different servers