Foren

Styles Messed up in Jboss7

thumbnail
Ram Manusani, geändert vor 11 Jahren.

Styles Messed up in Jboss7

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Sorry, I usually get some errors. Are the generated page source the same?
Please let us know if you find anything.
thumbnail
Ram Manusani, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
For some reason I don't see custom.css getting picked up
thumbnail
Carlos Sierra Andrés, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

New Member Beiträge: 5 Beitrittsdatum: 20.12.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
Did you try and find a work around yet?
thumbnail
Carlos Sierra Andrés, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

New Member Beiträge: 5 Beitrittsdatum: 20.12.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
Well, I tried that and that's not working either
thumbnail
Carlos Sierra Andrés, geändert vor 11 Jahren.

RE: Styles Messed up in Jboss7

New Member Beiträge: 5 Beitrittsdatum: 20.12.11 Neueste Beiträge
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.