Foros de discusión

Styles Messed up in Jboss7

thumbnail
Ram Manusani, modificado hace 12 años.

Styles Messed up in Jboss7

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
I developed a theme using Liferay 6.1 and it totally works fine in Tomcat bundle provided by liferay.

When I try and deploy the same war file into the jboss bundle included by Liferay for 6.1, all the styles are messed up. The same applies both in EE and CE.

Does anyone have any insights on this issue?
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
The code base and Liferay war is the same on both. Is there any error when you deploy it on JBoss?

There's sometime error when deploying plugins on JBoss that deploys on Tomcat.
thumbnail
Ram Manusani, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
Yes, the codebase is the same in both. Interestingly, I don't see any errors while deploying in the JBoss Server.

It deploys and registers successfully without any errors in both the servers (Tomcat and JBoss)

I am still surprised on what's causing the issue emoticon
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Sorry, I usually get some errors. Are the generated page source the same?
Please let us know if you find anything.
thumbnail
Ram Manusani, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
For some reason I don't see custom.css getting picked up
thumbnail
Carlos Sierra Andrés, modificado hace 12 años.

RE: Styles Messed up in Jboss7

New Member Mensajes: 5 Fecha de incorporación: 20/12/11 Mensajes recientes
The same is happening to me. I am deploying on JBoss AS 7.1.1
Same theme deployed on tomcat alone works perfectly.

Besides this it is like some other styles are exported twice, as I can see the same css properties overriden with the same property from the same file when I use firefox's inspect element.
This does not happen on tomcat standalone.

Bests.
thumbnail
Ram Manusani, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
Did you try and find a work around yet?
thumbnail
Carlos Sierra Andrés, modificado hace 12 años.

RE: Styles Messed up in Jboss7

New Member Mensajes: 5 Fecha de incorporación: 20/12/11 Mensajes recientes
Hi,

setting
theme.css.fast.load=false
in portal-ext.properties seems to work for me. I guess this is a bug then, because switching this property from false to true makes the styles fail having the same theme.

I hope this works for you.
Bests.
thumbnail
Ram Manusani, modificado hace 12 años.

RE: Styles Messed up in Jboss7

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
Well, I tried that and that's not working either
thumbnail
Carlos Sierra Andrés, modificado hace 12 años.

RE: Styles Messed up in Jboss7

New Member Mensajes: 5 Fecha de incorporación: 20/12/11 Mensajes recientes
Maybe you already did this but you need to restart the server in order for the change to work. Also ensure that the property is making it to the runtime checking the server properties in the control panel (you may be overriding it to true without noticing it).
I checked again and, at least in my case, switching this property makes it either work o not work, but your mileage may vary.

Hope this helps.