Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Tom Picklesimer
Broken control panel
15 novembre 2012 13.00
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
Allegato

Allegati: Untitled-1.jpg (190,5k)
Hitoshi Ozawa
RE: Broken control panel
15 novembre 2012 16.16
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
16 novembre 2012 7.33
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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

Allegati: Untitled-2.jpg (155,4k)
Hitoshi Ozawa
RE: Broken control panel
16 novembre 2012 23.17
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
17 novembre 2012 0.28
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 7.54
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 8.37
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 9.04
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 9.08
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 9.22
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 9.52
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 11.42
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

What is the complete string of Java_OPTS now?

What is you JVM version?
Tom Picklesimer
RE: Broken control panel
19 novembre 2012 12.36
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 12.39
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 12.49
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 12.50
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 13.24
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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
19 novembre 2012 13.43
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1865

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
19 novembre 2012 14.34
Risposta

Tom Picklesimer

Punteggio: New Member

Messaggi: 24

Data di Iscrizione: 15 giugno 2012

Messaggi recenti

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

Tom
Hitoshi Ozawa
RE: Broken control panel
19 novembre 2012 14.44
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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.