JBoss 6 support

thumbnail
4743486, modified 15 Years ago. New Member Posts: 11 Join Date: 3/21/10 Recent Posts
I tried running Liferay CE 6.0.5 on the recently released JBoss 6 final version but I get a heap of errors I think that relates to incompatible dependency libraries.

JBoss 6 is JEE 6 compliant and there is a lot of great new stuff introduced in JEE 6 and it would be really great if Liferay 6 - the leading open source portal platform can work with JBoss 6 - the leading open source application server.

Any plans / roadmap when a JBoss 6 bundle will be available?

Cheers
Travis
thumbnail
5912869, modified 15 Years ago. Liferay Legend Posts: 1399 Join Date: 9/17/10 Recent Posts
Travis De Silva:
I tried running Liferay CE 6.0.5 on the recently released JBoss 6 final version but I get a heap of errors I think that relates to incompatible dependency libraries.

JBoss 6 is JEE 6 compliant and there is a lot of great new stuff introduced in JEE 6 and it would be really great if Liferay 6 - the leading open source portal platform can work with JBoss 6 - the leading open source application server.

Any plans / roadmap when a JBoss 6 bundle will be available?

Cheers
Travis


No concrete plans yet. However, we have run Liferay 5.2.3 with JBoss 6 M1 and that experience may help you to get it running on the final version.
thumbnail
4743486, modified 15 Years ago. New Member Posts: 11 Join Date: 3/21/10 Recent Posts
Thanks James for the reply and link.

Yes, I tried all that and not working.

I get a bunch of errors that all seem to point to
java.lang.IncompatibleClassChangeError: Implementing class


I think some of the supplied jars in the Liferay download such as compass.jar might need to be built by compiling with the latest Java compiler or maybe we will to use the latest of those jar files.

Will do a bit more digging. If anyone thinks I am on the wrong path let me know.

Cheers
thumbnail
682861, modified 15 Years ago. Liferay Legend Posts: 1228 Join Date: 4/14/08 Recent Posts
Not sure whether this is going to be applicable to you, but from long time ago we have started separating JBoss and Liferay servers (by JVM and/or separate servers), using Liferay as a rendering engine and JBoss for business function processing. This keeps them fairly independent but well connected.
thumbnail
4743486, modified 15 Years ago. New Member Posts: 11 Join Date: 3/21/10 Recent Posts
Thanks Victor for the reply. Yes that is also an option which maybe I need to take but wanted to have all working on one app server at least for development so that I run one less app server. Anyway maybe I can run the Liferay portal part via Tomcat and run JBoss for the backend EJB stuff.

But at sometime you will need Liferay working on JBoss 6. I guess that might not happen in the near future.

Cheers
thumbnail
4753419, modified 15 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
I've also tried using 6.0.5 with JBoss 6 and got errors. As you mentioned, I think it has to do with getting the most recent version of third party jar files. I tried updating them and building from the source code but found some liferay6 functionalities are imcompatible. Seems a little bit of work is required to get it working.
thumbnail
4743486, modified 15 Years ago. New Member Posts: 11 Join Date: 3/21/10 Recent Posts
Another point that I do not understand even with Liferay on JBoss 5 was why can't we just deploy the liferay portal war into the deploy folder without having to delete everything under ROOT.war. Wonder if the Liferay team will address this when they make Liferay work with JBoss 6
thumbnail
4753419, modified 15 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
I think it's mainly because Liferay war is actually being made for Tomcat.
4369985, modified 15 Years ago. Junior Member Posts: 77 Join Date: 12/13/09 Recent Posts
Hi!
I try to run Liferay 6.0.5 and Jboss AS 6 but i get this exception too emoticon :


14:44:56,800 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
14:45:13,753 WARN [ClassLoaderManager] Unexpected error during load of:org.compass.core.lucene.engine.all.AllBoostingTermQuery$AllBoostingTermWeight: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_22]
at java.lang.ClassLoader.defineClassCond(Unknown Source) [:1.6.0_22]
at java.lang.ClassLoader.defineClass(Unknown Source) [:1.6.0_22]
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:650) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:609) [jboss-classloader.jar:2.2.0.GA]




Any help appreciated
Thanks
thumbnail
4753419, modified 15 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
Seyed,

I think we just have to wait or have someone do the "dirty" work. I think it's the jar files and JEE 6 compliance that's causing the problem. I took a bite of it but after two days and two nights my due time for the experiment unfortunately ended.
Kavan Desai, modified 14 Years ago. New Member Posts: 2 Join Date: 8/23/11 Recent Posts
Any update on this I am also facing the same issue while trying to deploy liferay-portal-6.0.6-20110225.war on JBOSS 6.0.0.

09:56:37,855 WARN [ClassLoaderManager] Unexpected error during load of:org.compass.core.lucene.engine.all.AllBoostingTermQuery$AllBoostingTermWeight: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_26]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_26]
thumbnail
Hitoshi Ozawa, modified 14 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
I rather see JBoss 7 support now that it's out. Forget about JBoss 6. I think most of us are skipping 6 and just going to 7. emoticon
Kavan Desai, modified 14 Years ago. New Member Posts: 2 Join Date: 8/23/11 Recent Posts
Thanks for prompt reply Hitoshi. I will surely try it on JBOSS AS 7. However I couldn't find any steps/guideline for it and also notice people are facing issues with deployment on JBOSS AS 7.
http://www.coderanch.com/t/548713/JBoss/Deploying-liferay-JBoss
thumbnail
Hitoshi Ozawa, modified 14 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
Unfortunately, I don't think Liferay works with JBoss 7. Liferay is in a process of getting 6.1 out, and I'm personally giving JBoss 7 a little bit more time to stable out.
Nevertheless, I think most users are beginning to test using JBoss 7 (JBoss 6 was a little bit like Vista?) and I think it should be on a to do list.

I'm getting into another assignment so I may not have too much time unless the assignment calls on using JBoss 7.