Combination View Flat View Tree View
Threads [ Previous | Next ]
Showing 1 - 20 of 31 results.
of 2
Hamish Campbell
Problems with sign in on move to bigger server
September 8, 2012 3:10 PM
Answer

Hamish Campbell

Rank: Junior Member

Posts: 87

Join Date: August 20, 2008

Recent Posts

We have been running our Lifray install for 3 years on a OVH VPS server based in France with 3 cores and 3GB ram and limited hardrive space. Over the time we had a lot of memory problems, and recently we have completely run outa hardrive space so it was time to bite the bullet and spend some more very limited cash. We splashed out on a dedicated OVH server with 4 cores and 16GB of ram and 1TB of hardrive. A day down to move over and re-configure we get it up and running. Every thing works but we cant login, just comes up with a empty page when you click the sign in.

Help needed, to see the problem http://visionon.tv and click on sign in.
Juan Gonzalez
RE: Problems with sign in on move to bigger server
September 8, 2012 4:04 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2350

Join Date: October 28, 2008

Recent Posts

Any error on logs?

I've seen this errors from browser when hitting the main page:

Uncaught ReferenceError: jwplayer is not defined
Unsafe JavaScript attempt to access frame with URL http://visionon.tv/home from frame with URL http://www.youtube.com/embed/videoseries?list=PL1C0E176BE35948FA&hl=en_GB. Domains, protocols and ports must match.
home:1GET http://sponsume-beta.ndpclient.com/sites/all/themes/sponsume/images/template/project-backs-widget-bk.png 404 (Not Found)
home:1GET http://sponsume-beta.ndpclient.com/sites/all/themes/sponsume/images/template/project-backs-widget.png 404 (Not Found)
home:1GET http://sponsume-beta.ndpclient.com/sites/all/themes/sponsume/images/template/no-thumbnail.png 404 (Not Found)
home:1GET http://sponsume-beta.ndpclient.com/sites/all/themes/sponsume/images/icons/loc-small.png 404 (Not Found)
home:1GET http://sponsume-beta.ndpclient.com/sites/all/themes/sponsume/images/template/progress-mask-small.png 404 (Not Found)
Philip Coates
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 10, 2012 4:38 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Hi,

These are all purely client-side and don't seem to affect other functionality (we'll get round to resolving these soon, as they're mostly resource issues); we get nothing in the console for the sign in page.

We don't see anything specific in the Tomcat logs when we hit the sign in page, although we do occasionally get things like:

 108:48:22,992 ERROR [ajp-bio-8009-exec-4][IncludeTag:253] Current URL /home;jsessionid=9A8137A512C61F1ABF3E7B25246C9B08 generates exception: com.liferay.portal.security.auth.PrincipalException
 208:48:22,994 ERROR [ajp-bio-8009-exec-4][IncludeTag:154] com.liferay.portal.security.auth.PrincipalException
 3    at com.liferay.portlet.asset.service.permission.AssetEntryPermission.check(AssetEntryPermission.java:57)
 4    at com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl.incrementViewCounter(AssetEntryServiceImpl.java:130)
 5    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
 6    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
 7    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 8    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 9    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
10    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
11    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
12    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
13    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
14    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
15    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
16    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
17    at com.liferay.portlet.asset.service.AssetEntryServiceUtil.incrementViewCounter(AssetEntryServiceUtil.java:94)
18    at org.apache.jsp.html.portlet.asset_005fpublisher.display.full_005fcontent_jsp._jspService(full_005fcontent_jsp.java:1258)
19    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
20    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
21    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:97)
22    at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)


As well as the odd null pointer that we'd been seeing on the old server since upgrading and losing our old themes.

Tomcat access log for the page shows:

12.30.155.8 - - [09/Sep/2012:09:02:35 +0000] "GET /home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin HTTP/1.1" 200 4646
22.30.155.8 - - [09/Sep/2012:09:02:40 +0000] "GET /c/portal/login?p_l_id=494076 HTTP/1.1" 302 -
32.30.155.8 - - [09/Sep/2012:09:02:41 +0000] "GET /home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin HTTP/1.1" 304 -

What we did in this case was to mysqldump the database from one system and recreate it on the new, copy over the webapps and other liferay directories (data, etc.) and then start things up. Everything came back except the issue here (unless there are other things we haven't found yet because they're masked by this).

We didn't have similar issues before when upgrading, which also involved moving chunks of the pre-existing stuff around.

There are two key differences to our old server:

1) Rather than running the server from /opt/liferay, it now lives in the /home partition, with symlinks recreating the previous structure. Inside the liferay directories, the structure is unchanged.

2) We're now running through mod_jk rather than raw Tomcat. The issue seems to be there whether we connect at 80 or 8080, so I don't think this has anything to do with the issue.

Interestingly, we no longer seem to see the /web/guest bit any more, though we haven't changed any settings around this.

Does any of this suggest anything?

Many thanks,

Phil.
Richard Hering
RE: Problems with sign in on move to bigger server
September 10, 2012 4:34 AM
Answer

Richard Hering

Rank: New Member

Posts: 2

Join Date: April 9, 2012

Recent Posts

Has anyone else had this problem with the disappearing sign-in after migration to new server?

Many thanks for any help.

Richard - visionOntv
Linus Sphinx
RE: Problems with sign in on move to bigger server
September 10, 2012 2:27 PM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 89

Join Date: August 12, 2010

Recent Posts

Sounds a bit familiar. Stupid question I have to ask; Did you delete all your client browser's session cache and cookies?
Philip Coates
RE: Problems with sign in on move to bigger server
September 10, 2012 4:02 PM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Hi Linus,

Sadly we already tried that - I did wonder whether switching to a different domain might be the cause, but a completely cleared browser (cache, cookies, etc.) does nothing,

Thanks,

Phil.
Hamish Campbell
RE: Problems with sign in on move to bigger server
September 13, 2012 11:45 AM
Answer

Hamish Campbell

Rank: Junior Member

Posts: 87

Join Date: August 20, 2008

Recent Posts

We had to revert back to our old (very creaky) server till we can fix this.

The new server is still running here (with out a domain so some images etc don't work) ns211304.ovh.net

Anyone has any ideas why the login options don't come up? permission's on the server?

Hamish
Luis Mas
RE: Problems with sign in on move to bigger server
September 11, 2012 9:10 AM
Answer

Luis Mas

Rank: Regular Member

Posts: 146

Join Date: May 18, 2009

Recent Posts

Could attach any log?

Luis
Philip Coates
RE: Problems with sign in on move to bigger server
September 11, 2012 9:20 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Hi Luis,

There doesn't seem to be any log output from catalina.out .

The access logs (localhost_access_log) has:

New server:

1111.111.111.111 - - [11/Sep/2012:16:13:05 +0000] "GET /c/portal/login?p_l_id=494076 HTTP/1.1" 302 -
2111.111.111.111 - - [11/Sep/2012:16:13:05 +0000] "GET /web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin HTTP/1.1" 200 4731


Old server:

1111.111.111.111 - - [11/Sep/2012:16:16:58 +0000] "GET /c/portal/login?p_l_id=494076 HTTP/1.1" 302 -
2111.111.111.111 - - [11/Sep/2012:16:16:58 +0000] "GET /home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin HTTP/1.1" 200 5845


They're pretty much the same.

Thanks,

Phil.
Hamish Campbell
RE: Problems with sign in on move to bigger server
September 13, 2012 10:42 AM
Answer

Hamish Campbell

Rank: Junior Member

Posts: 87

Join Date: August 20, 2008

Recent Posts

OK Phil is moving things around on the new server to see if that has any effect. Why would everything work, but the login portal appear blank? what are we missing?
Luis Mas
RE: Problems with sign in on move to bigger server
September 13, 2012 1:33 PM
Answer

Luis Mas

Rank: Regular Member

Posts: 146

Join Date: May 18, 2009

Recent Posts

Have you test it with default theme?
Hamish Campbell
RE: Problems with sign in on move to bigger server
September 13, 2012 1:56 PM
Answer

Hamish Campbell

Rank: Junior Member

Posts: 87

Join Date: August 20, 2008

Recent Posts

Just went to have a look, with out logging in the is no page with a completely default theme, they are mostly the default theme with some CSS hacking in the root page in the CMS. But exactly the same theme set-up is running on our old server and the login works? Phil can you explain the difference between the server configs?
Philip Coates
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 12:00 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

I copied the server files to be in exactly the same place as they were on our old server (rather than using symlinks) to see if that made any difference for any reason.

It didn't; we still see the same problem, that the sign-in page shows no form.

However I did see a bunch of stuff in the Tomcat logs:

 106:54:19,790 ERROR [http-bio-8080-exec-6][IncludeTag:253] Current URL /web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
 206:54:19,800 ERROR [http-bio-8080-exec-6][IncludeTag:154] java.lang.StackOverflowError
 3    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
 4    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
 5    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
 6    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
 7    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
 8    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
 9    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
10    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
11    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
12    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
13    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
14    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
15    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
16    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
17    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
18    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
19    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
20    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
21    at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
22    at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)


Could a hidden StackOverflow be the cause? Why would we suddenly start seeing this?

Thanks,

Phil.
Juan Gonzalez
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 12:09 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2350

Join Date: October 28, 2008

Recent Posts

Oh man! That error sounds me a lot.

Did you change JDK recently? Is JDK of new server different from old one?
Philip Coates
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 12:19 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Hi Juan,

When we initially set the new server up, it was running a version of OpenJDK 1.7.

One of the first things we tried was moving to a Sun/Oracle JVM. We currently have

1java -version
2java version "1.7.0_07"
3Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
4Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)


1javac -version
2javac 1.7.0_04


Our old server has:

1java -version
2java version "1.6.0_22"
3Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
4Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)

1javac -version
2javac 1.6.0_18


Could this be a factor? Is it worth us dropping down to Java 1.6? I know this shouldn't make that much difference, but it could be a factor.

Thanks,

Phil.
Juan Gonzalez
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 2:06 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2350

Join Date: October 28, 2008

Recent Posts

Yep, I remember there are (not sure if it's solved) some known problems using JDK 1.7. Can you test using JDK 1.6._21 or newer? (there are other problems using 6.1 in JDK < 1.6.0.13)
Philip Coates
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 2:31 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Hi Juan,

I'll give that a bash and let you know,

Many thanks for the suggestions!

Phil.
Philip Coates
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 14, 2012 9:08 AM
Answer

Philip Coates

Rank: Junior Member

Posts: 34

Join Date: December 10, 2010

Recent Posts

Gah! Looks like we spoke too soon.

We're still getting the StackOverflow after changing Java:

1echo `$JAVA_HOME/bin/java -version`
2java version "1.6.0_35"
3Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
4Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)


Back to the drawing board...
Hitoshi Ozawa
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 15, 2012 7:51 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

First, liferay doesn't properly work with OpenJDK and with jjk 1.7 but you seem to have fixed that. Did you clear app server cache, temp, and work after that?

Second, which liferay version are you using and what's your JAVA_OPT settings? Did you increase memory values?
Sampsa Sohlman
RE: Sign in form (Was: Problems with sign in on move to bigger server)
September 17, 2012 6:15 AM
Answer

Sampsa Sohlman

LIFERAY STAFF

Rank: Regular Member

Posts: 220

Join Date: September 27, 2007

Recent Posts

Philip Coates:
Gah! Looks like we spoke too soon.

We're still getting the StackOverflow after changing Java:

1echo `$JAVA_HOME/bin/java -version`
2java version "1.6.0_35"
3Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
4Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)


Back to the drawing board...


Stupid question. Have you removed the work and temp files every time when you have restarted your server?
Showing 1 - 20 of 31 results.
of 2