Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tom Picklesimer
Broken control panel
November 15, 2012 1:00 PM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Hello everyone,

I am having some issues with my control panel on a server I am using to test theme development. Up until yesterday I was able to access the control panel like normal and upload theme war files using the Private Plugins Installer plugin. However, now when I try and access the Plugins Installation tab I am shown nothing but a blank screen. I have tried from different computers and using different browsers and the issue persists. I have rebooted the server multiple times and it still is happening. Any suggestions? Do I just need to do a reinstall or is there some easy fix for this that I don't know about? I have attached a screenshot so you can see what is happening.

Thanks in advance,

Tom Picklesimer
Attachment

Attachments: Untitled-1.jpg (190.5k)
Hitoshi Ozawa
RE: Broken control panel
November 15, 2012 4:16 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Not sure what you're asking because the screen shot is of "Portal Instances" and you're saying something about "Plugins Installation tab" in your message.
Tom Picklesimer
RE: Broken control panel
November 16, 2012 7:33 AM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Whoops, I apologize, I just realized I attached the wrong screenshot! Here is the screenshot from the plugins page:
Attachment

Attachments: Untitled-2.jpg (155.4k)
Hitoshi Ozawa
RE: Broken control panel
November 16, 2012 11:17 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Are there any error messages? Have you checked your roles and permissions?

If you were installing your plugins, it may have messed up the control panel program. If you have a backup of the server before you've installed it, it may just be easier to recover from the backup. I usually recommend backing up the server (not just the application server), before installing plugins.
Juan Gonzalez
RE: Broken control panel
November 17, 2012 12:28 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

Yep, this happened to me some days ago.

I solved it undeploying some portlets. Probably you could solve it increasing memory for JVM heap size too.
Tom Picklesimer
RE: Broken control panel
November 19, 2012 7:54 AM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Hitoshi: Well this sucks, I have no backup to restore from. And no, there are no error messages present as far as I can tell.

Juan: How do I go about increasing JVM heap size memory or undeploying portlets if the Server Administration page displays the same was (blank)? Server Administration page and Plugins Installation are exhibiting the same behavior.

Thanks,

Tom
Juan Gonzalez
RE: Broken control panel
November 19, 2012 8:37 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

JVM parameters aren't set in Liferay control panel.

Depending in yor app server you'd have to configure in an specific file(s).

In tomcat for example, you can configure it in setenv.sh (or .bat if you're in windows) and set JAVA_OPTS variable (search if you have any doubt).
Tom Picklesimer
RE: Broken control panel
November 19, 2012 9:04 AM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Juan,

Here is a dump of what my setenv.sh file has in it right now:

JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8 -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx1024m -XX:MaxPermSize=256m -Dexternal-properties=portal-developer.properties"

What should I change here? MaxPermSize?

Thanks for your help,

Tom
Juan Gonzalez
RE: Broken control panel
November 19, 2012 9:08 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

Mmm seems it should be enough with those values.

Have you many portlets deployed there? If yes, probably you could increase -Xmx to a higher value and test.

I remember I had another problem with control panel when changed Garbage Collector (GC) parameters of JVM.

Do you remember changing anything about that?
Tom Picklesimer
RE: Broken control panel
November 19, 2012 9:22 AM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

I really have no idea how many portlets... it's a city website with probably 1000 pages, so I would bet I have a decent amount of portlets but I'm really not sure.

To my knowledge, I haven't changed anything to do with Garbage Collector. I have been making some edits to portal.properties files and installing plugins, but that's it.

Thanks,

Tom
Tom Picklesimer
RE: Broken control panel
November 19, 2012 9:52 AM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

I changed the -Xmx to 2048,rebooted and nothing is changed. Any other ideas?

Thanks for your help,

Tom
Juan Gonzalez
RE: Broken control panel
November 19, 2012 11:42 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

What is the complete string of Java_OPTS now?

What is you JVM version?
Tom Picklesimer
RE: Broken control panel
November 19, 2012 12:36 PM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

How do I identify what my JVM version is?

Here is the setenv.sh file contents:

JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8 -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx2048m -XX:MaxPermSize=256m -Dexternal-properties=portal-developer.properties"

Thanks for your help,

Tom
Juan Gonzalez
RE: Broken control panel
November 19, 2012 12:39 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

You should check what is the JVM used by your server.

You can login in your server and check your java version like this: "java -version"

But if you have several java versions installed there then you have to check how the server is started to see our java path.
Tom Picklesimer
RE: Broken control panel
November 19, 2012 12:49 PM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Here is my output from java -version command:

[Picklesimer@DeathStar ~]$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
[Picklesimer@DeathStar ~]$
Juan Gonzalez
RE: Broken control panel
November 19, 2012 12:50 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

Ok perhaps that's the problem.

JVM 1.7 isn't well supported yet.

Can you change JVM to latest 1.6 (for example 1.6.0.3xx) and retry?
Tom Picklesimer
RE: Broken control panel
November 19, 2012 1:24 PM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

Juan,

I'm sorry to need so much help with this, but how would I go about changing my JVM version?

Thanks,

Tom
Juan Gonzalez
RE: Broken control panel
November 19, 2012 1:43 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1931

Join Date: October 28, 2008

Recent Posts

Sorry for answering this, but that's out of Liferay scope.

It's dependant on your server and application server.
Tom Picklesimer
RE: Broken control panel
November 19, 2012 2:34 PM
Answer

Tom Picklesimer

Rank: New Member

Posts: 24

Join Date: June 15, 2012

Recent Posts

No problem, thank you for the help you've given me, I really appreciate it!

Tom
Hitoshi Ozawa
RE: Broken control panel
November 19, 2012 2:44 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

JDK version may be the problem but I'm not sure why it was working till now.

To change your JDK version, you'll have to delete the current version and install the new version. Deleting and installing is dependent of the OS which you are running Liferay on. Also, once you change the jdk, you may need to change environmental variables and other settings as well. If you're not the server administrator, better ask the server administrator to do the work because you'll have to shutdown liferay while deleting and installing jdk.