Friday, September 18, 2015

Tomcat windows click on startup.bat disappering

Start tomcat with catalina.bat run option

C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27\bin>catalina.bat run
Using CATALINA_BASE:   "C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27"
Using CATALINA_HOME:   "C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27"
Using CATALINA_TMPDIR: "C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27\
Using JRE_HOME:        "C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27/
Using CLASSPATH:       "C:\lr\liferay-portal-6.1.20-ee-ga2\tomcat-7.0.27\
Error occurred during initialization of VM
Could not reserve enough space for object heap

You will know the issue why it was disappearing. Fix it based on error accordingly. In this particular case I reduce -XX:MaxPermSize value from 512m to 256m

Tuesday, March 3, 2015

Configure Test Mail Server Tool

Steps 2 configure Test Mail Server Tool
1) download & install Test Mail Server Tool from below link - once installed changed the port to 2525

2) configure liferay mail settings accordingly (Server Administration > Mail )

no user details given while configuring mail settings in Liferay

3) open eml file viewer installed from below link, browse to mail path to store received email (C:\Users\Nagendra Busam\Desktop\Mail Sent to Local Server) . As I have testing this on Windows 7, it is doesn't have eml viewer by default installed this.

4) created user to check whether default MESSAGE if not configured mail server shows up (as below)

][MailEngine:592] Failed to connect to a valid mail server. Please make sure one is properly configured. Could not connect to SMTP host: localhost, port: 25

If not showing up you have configured your mail server properly

Thursday, February 26, 2015

Change Liferay site name to different name

1) Go to the place show in control panel, do the change to Name field

2) through portal properties

I think you need to change property value to whatever you want to