Page is loading really slow when creating new template

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

jukes311
Posts: 1
Joined: Fri Jul 30, 2010 3:16 am

Page is loading really slow when creating new template

Post by jukes311 »

Hi All,

I hope you can help me. I'm new to OpenEMM. I've installed OpenEMM 6.1 red hat linux. Everything went fine except when creating a new template. Page is loading but it's really so slow and taking forever. I'm not sure what the problem is. Any help would be greatly appreciated. Thanks so much.
schmidtjason
Posts: 1
Joined: Wed Sep 22, 2010 12:12 am

Page is loading really slow when creating new template

Post by schmidtjason »

I've the exact same issue. After clicking on "New template" link it takes about 2 mins to load.

I'm running OpenEMM 6.1 on Ubuntu 10.04 LTS.

Please help!!! I don't want to try DaDa Mail or Mailman!!!
cpoisel
Posts: 2
Joined: Tue Jan 18, 2011 1:51 pm

Re: Page is loading really slow when creating new template

Post by cpoisel »

Hi all,

i have exactly the same problem on version 6.2. Everything works fine except opening an existing template or creating a new one.
The process of loading the page takes about 10 minutes if it works but most tries ended up loading forever until a timeout occurs.

I am running on a 64 Bit Debian Lenny System on a XEN-Server virtualized plattform. I assigned 2 dedicated processor Cores (Intel XEON at 3.0 GHz)

I use one of our IP Addresses to do a NAT translation for systems that only use a few ports. I started up using different ports since we usually use blocks of ports for the services (2000-2999 HTTP, 3000-3999 HTTPS, etc.) and map them to our internal servers. But when i figured out that the template system didn't work i decided to make an exception and mapped the ports 1 to 1. However the template editing/creation feature is still not useable.

I would apreciate if anyone could tell me where to start to solve the problem or even better provide me with a solution for that problem.

Thank you.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Page is loading really slow when creating new template

Post by maschoff »

Since we could not reproduce this problem so far it would be helpful if someone sends me a template code causing such a delay by PM so that we can check.
OpenEMM Maintainer
cpoisel
Posts: 2
Joined: Tue Jan 18, 2011 1:51 pm

Re: Page is loading really slow when creating new template

Post by cpoisel »

Hello

Thanks for your reply. The Problem occurs with every template i try to open or create. At the moment i only have the standard templates installed but allready have tried to create one. The problem was always the same:
  • - the request takes at least 10 minutes to complete or a timeout occurs
    - the frontend shows no action when clicking on any menu entry
    - i have to leave the session and login again
The same happens when i click on any entry int the CMS menu
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Page is loading really slow when creating new template

Post by maschoff »

I think there is something fundamentally wrong with your server. You should have an experienced system administrator have a look at your installation. I do not see a way to fix this by guessing from remote.
OpenEMM Maintainer
gebels
Posts: 2
Joined: Thu Feb 03, 2011 9:28 pm

Re: Page is loading really slow when creating new template

Post by gebels »

Have a look at your your /home/openemm/webapps/core/WEB-INF/classes/cms.properties file. Make sure the cms.ccr.url parameter points to your FQDN.
rprieto
Posts: 8
Joined: Wed Mar 02, 2011 5:37 am

Re: Page is loading really slow when creating new template

Post by rprieto »

Hi,

I am having exactly the same problem. I installed OpenEMM 6.2 on a Red Hat Linux 64 bit server. Everything works except for the Templates and CMS. When I click on New Template the system just hangs.

The log shows the following error message:

2011-04-04 12:57:28,041: ERROR [resin-tcp-connection-*:8080-17] org.agnitas - no
default mediatype
2011-04-04 13:00:21,918: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,919: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,919: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,919: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,920: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,920: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,920: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:21,920: INFO [resin-24] org.hibernate.dialect.Dialect - Using
dialect: org.hibernate.dialect.MySQLDialect
2011-04-04 13:00:37,103: ERROR [resin-tcp-connection-*:8080-17] org.agnitas - Er
ror while getting CM Template: java.net.ConnectException: Connection timed out

I finished an identical installation on a 32bit Red Hat Linux server and had no problem whatsoever. Still I might have missed something on the second installation.

Any help will be appreciated.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Page is loading really slow when creating new template

Post by maschoff »

Are you talking about the classic templates or the CM-based templates?
OpenEMM Maintainer
rprieto
Posts: 8
Joined: Wed Mar 02, 2011 5:37 am

Re: Page is loading really slow when creating new template

Post by rprieto »

Both classic and CM templates fail.

I have not been able to create a single template or edit the templates that come with the empty database (en_template, created by eMM-Xpress, mailinglist). The error I detailed results from clicking on the "New Template" link under "Templates"
rprieto
Posts: 8
Joined: Wed Mar 02, 2011 5:37 am

Re: Page is loading really slow when creating new template

Post by rprieto »

Solved the issue.

For some reason the firewall does not like the cms.ccr.url property being set up as FQDN.

I changed it back to http://localhost:8080 and it worked.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Page is loading really slow when creating new template

Post by maschoff »

So, you removed port 8080 from the URL? Maybe your firewall has a port-forward enabled?
OpenEMM Maintainer
rprieto
Posts: 8
Joined: Wed Mar 02, 2011 5:37 am

Re: Page is loading really slow when creating new template

Post by rprieto »

No I did not remove the 8080. I just replaced the URL by http://localhost:8080.
However I tried with http://localhost (without the 8080) and that did work too.

I am having a new problem though. When I try to save the "Content" for a mailing, the system takes a long time to do the save, and I get the following errors in the log.

2011-04-05 10:22:15,067: ERROR [resin-tcp-connection-*:8080-19] org.agnitas - lo
adContentFromURL: The host did not accept the connection within timeout of 5000
ms
2011-04-05 10:22:15,067: ERROR [resin-tcp-connection-*:8080-19] org.agnitas - lo
adContentFromURL: The host did not accept the connection within timeout of 5000
ms
....

2011-04-05 10:22:15,068: WARN [resin-tcp-connection-*:8080-19] org.apache.commo
ns.httpclient.SimpleHttpConnectionManager - SimpleHttpConnectionManager being us
ed incorrectly. Be sure that HttpMethod.releaseConnection() is always called an
d that only one thread and/or method is using this connection manager at a time.

The firewall is configured to allow ports 8080 and 8044 to be used, is there anything else I need to do? The other server I installed uses iptables so I just followed the instructions and it worked perfectly from day one. Are there any specific instructions for hardware firewalls?
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Page is loading really slow when creating new template

Post by maschoff »

http://localhost:8080 only makes sense if you work on a local system. If not, this setting is wrong, because OpenEMM can not find its own components. All we can tell about firewall and port configuration is in the OpenEMM Install Guide. There is no secret sauce missing.
OpenEMM Maintainer
rprieto
Posts: 8
Joined: Wed Mar 02, 2011 5:37 am

Re: Page is loading really slow when creating new template

Post by rprieto »

Problem solved by enabling DNS doctoring in firewall. Thanks for all the help.
Post Reply