留言板
Migrate Liferay Portal from Tomcat in JBoss 7
Aldi Tirane,修改在11 年前。
Migrate Liferay Portal from Tomcat in JBoss 7
Junior Member 帖子: 25 加入日期: 12-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:
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
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:
An error occurred while accessing the requested resource.
http://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,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Junior Member 帖子: 25 加入日期: 12-10-23 最近的帖子
Any one that have had a similiar experience?
Developing using Tomcat and then using JBoss in Production.
Developing using Tomcat and then using JBoss in Production.
Hitoshi Ozawa,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Yes, I'm using Tomcat in development and JBoss in production. Haven't had any problem.
Aldi Tirane,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Junior Member 帖子: 25 加入日期: 12-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:
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?
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:
An error occurred while accessing the requested resource.
http://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,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子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,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Expert 帖子: 493 加入日期: 12-5-26 最近的帖子
create different database for production and developement...you can't point same database for two different servers
Raja Nagendra Kumar,修改在11 年前。
RE: Migrate Liferay Portal from Tomcat in JBoss 7
Expert 帖子: 484 加入日期: 06-3-2 最近的帖子
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
Are u using Liferay JBoss bundle available at http://www.liferay.com/downloads/liferay-portal/available-releases
Regards,
Nagendra