Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dirk Kissing
Liferay on OFBiz
June 15, 2007 12:57 PM
Answer

Dirk Kissing

Rank: New Member

Posts: 21

Join Date: May 25, 2007

Recent Posts

Hi,

I'm trying to install Liferay on OFBiz. OFbiz is a frameworked ERP/CRM application with Tomcat as embedded container server.

OFBiz has a hot-deploy directory which can bee seen as the webapps directory of Tomcat. When i install Liferay i get this errormessage:

2007-06-15 03:27:43,250 (main) [ConfigurationLoader.java:56 :INFO ] Properties for portal loaded from [file:/D:/ofbiz/hot-deploy/liferay/webapp/liferay/WEB-INF/classes/portal-ext.properties, jar:file:/D:/ofbiz/hot-deploy/liferay/lib/ext/portal-impl.jar!/portal.properties]
2007-06-15 03:27:43,640 (main) [MessageResourcesFactory.java:176:ERROR] MessageResourcesFactory.createFactory
java.lang.ClassCastException: org.apache.struts.util.PropertyMessageResourcesFactory cannot be cast to org.apache.struts.util.MessageResourcesFactory
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:172)
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:523)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1045)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:326)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:113)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.startup.Embedded.start(Embedded.java:822)
at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:314)
at org.ofbiz.base.start.Start.start(Start.java:318)
at org.ofbiz.base.start.Start.main(Start.java:404)
2007-06-15 03:27:43,656 (main) [ ActionServlet.java:364:ERROR] Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
java.lang.NullPointerException
at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:526)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1045)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:326)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:113)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.startup.Embedded.start(Embedded.java:822)
at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:314)
at org.ofbiz.base.start.Start.start(Start.java:318)
at org.ofbiz.base.start.Start.main(Start.java:404)
2007-06-15 03:27:43,656 (main) [ ApplicationContext.java:647:INFO ] Marking servlet MainServlet as unavailable
2007-06-15 03:27:43,656 (main) [ StandardContext.java:3958:ERROR] Servlet /liferay threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:113)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.startup.Embedded.start(Embedded.java:822)
at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:314)
at org.ofbiz.base.start.Start.start(Start.java:318)
at org.ofbiz.base.start.Start.main(Start.java:404)

You may have noticed that i have moved the Portal-impl.Jar to lib/ext.

When i run it from the default location i get a different kind of error: Class not found : Java Comp.

Can anyone help me on this? When i succeed to install i write a nice install article in Wikipedia.

Tnx,
Dirk
selma oO
RE: Liferay on OFBiz
July 29, 2012 3:38 PM
Answer

selma oO

Rank: New Member

Posts: 12

Join Date: June 26, 2012

Recent Posts

Hi,

If you want , can you tell me how you have installed liferay on ofbiz.? me too i'm looking for this.

Thx.
Selma.