Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aldi Tirane
Migrate Liferay Portal from Tomcat in JBoss 7
March 8, 2013 12:18 AM
Answer

Aldi Tirane

Rank: Junior Member

Posts: 25

Join Date: October 23, 2012

Recent Posts

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
March 8, 2013 6:14 AM
Answer

Aldi Tirane

Rank: Junior Member

Posts: 25

Join Date: October 23, 2012

Recent Posts

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
March 9, 2013 11:59 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

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
March 10, 2013 6:41 AM
Answer

Raja Nagendra Kumar

Rank: Expert

Posts: 484

Join Date: March 1, 2006

Recent Posts

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
March 11, 2013 4:41 AM
Answer

Aldi Tirane

Rank: Junior Member

Posts: 25

Join Date: October 23, 2012

Recent Posts

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
March 11, 2013 6:19 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

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
March 11, 2013 10:16 AM
Answer

Manish Yadav

Rank: Expert

Posts: 483

Join Date: May 26, 2012

Recent Posts

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

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!