组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Tom Picklesimer
Broken control panel
2012年11月15日 下午1:00
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
附件

附件: Untitled-1.jpg (190.5k)
Hitoshi Ozawa
RE: Broken control panel
2012年11月15日 下午4:16
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年11月16日 上午7:33
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年6月15日

最近的帖子

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

附件: Untitled-2.jpg (155.4k)
Hitoshi Ozawa
RE: Broken control panel
2012年11月16日 下午11:17
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年11月17日 上午12:28
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年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
RE: Broken control panel
2012年11月19日 上午7:54
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
Juan Gonzalez
RE: Broken control panel
2012年11月19日 上午8:37
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年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
RE: Broken control panel
2012年11月19日 上午9:04
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
Juan Gonzalez
RE: Broken control panel
2012年11月19日 上午9:08
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年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
RE: Broken control panel
2012年11月19日 上午9:22
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
RE: Broken control panel
2012年11月19日 上午9:52
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年6月15日

最近的帖子

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
2012年11月19日 上午11:42
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年10月28日

最近的帖子

What is the complete string of Java_OPTS now?

What is you JVM version?
Tom Picklesimer
RE: Broken control panel
2012年11月19日 下午12:36
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
Juan Gonzalez
RE: Broken control panel
2012年11月19日 下午12:39
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年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
RE: Broken control panel
2012年11月19日 下午12:49
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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 ~]$
Juan Gonzalez
RE: Broken control panel
2012年11月19日 下午12:50
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年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
RE: Broken control panel
2012年11月19日 下午1:24
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年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
Juan Gonzalez
RE: Broken control panel
2012年11月19日 下午1:43
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2947

加入日期: 2008年10月28日

最近的帖子

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
2012年11月19日 下午2:34
答复

Tom Picklesimer

等级: New Member

帖子: 24

加入日期: 2012年6月15日

最近的帖子

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

Tom
Hitoshi Ozawa
RE: Broken control panel
2012年11月19日 下午2:44
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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.