留言板

Broken control panel

Tom Picklesimer,修改在11 年前。

Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
Whoops, I apologize, I just realized I attached the wrong screenshot! Here is the screenshot from the plugins page:
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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.
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
I changed the -Xmx to 2048,rebooted and nothing is changed. Any other ideas?

Thanks for your help,

Tom
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
What is the complete string of Java_OPTS now?

What is you JVM version?
Tom Picklesimer,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
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 ~]$
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
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,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
Juan,

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

Thanks,

Tom
thumbnail
Juan Gonzalez P,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Sorry for answering this, but that's out of Liferay scope.

It's dependant on your server and application server.
Tom Picklesimer,修改在11 年前。

RE: Broken control panel

New Member 帖子: 24 加入日期: 12-6-15 最近的帖子
No problem, thank you for the help you've given me, I really appreciate it!

Tom
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Broken control panel

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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.