1. In eclipse open the Runtime environments preference page (Go to Window > Preferences > Server > Runtime environments)
2. Click Add to add a new Liferay runtime and find Liferay v6 Tomcat under the Liferay, Inc. category and click Next.
3. If you have not already downloaded and installed a copy of the Liferay Portal Tomcat bundle then you can download the latest Liferay Portal Tomcat bundle by clicking the "Download and Install..." button within the wizard.
4. If you used the download option you can skip this step, if not, click Browse and select the location of the liferay-portal-6.0.2 directory.
5. Once you have selected the Liferay portal directory if it has a bundled JRE then that bundled JRE will be automatically selected as the JRE to use for launching the server. However, if there is no bundled JRE (Mac and Linux users) then you will need to select the JRE to use for launch.
6. Click finish and you should see the Liferay portal runtime in the list of runtimes in the preference page.
7. Click OK to save the runtime preferences.
8. If you didn't choose to create a server you will need to create one from the servers view before you can test the server.9. Find the Liferay, Inc category and select the Liferay v6 Server and choose the Liferay v6 Runtime that you had previously created.
Testing the Liferay portal server #
1. Go to the servers view and you should see the new server that was created. right click and choose "Start" or "Debug"
2. You should see messages appear in the Console view and once it starts, the servers view will update to show that it is "Started" and then, right-click the server and select the (Liferay Portal > Open Portal Home) action.
3. The eclipse browser should open to the portal home at http://localhost:8080
Cheers..!!
Gaurav
No comments:
Post a Comment