No ideas, but in
org.ofbiz.base.config.GenericConfigException: File Resource not found:
${ofbizHome}/framework/entity/fieldtype/fieldtypederby.xml
looks like ${ofbizHome} is not interpreted? Don't you need to set ofbizHome
somewhere?
Jacques
Bernard Richardson wrote:
Hi,
I'm trying to deploy ofbiz 10.04 in glassfish 2.1, followed the document which
was very useful.
I have set all the parameters and patches required. When I start the glassfish
server it throws the following error. Any help
here?
#|2011-03-13T23:39:00.788-0700|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=14;_ThreadName=Dispatcher-Thread-24;|2011-03-13
23:39:00,788 (main) [ModelFieldTypeReader.java:89 :ERROR]
---- exception report ----------------------------------------------------------
Exception: org.ofbiz.base.config.GenericConfigException
Message: File Resource not found:
${ofbizHome}/framework/entity/fieldtype/fieldtypederby.xml
---- stack trace ---------------------------------------------------------------
org.ofbiz.base.config.GenericConfigException: File Resource not found:
${ofbizHome}/framework/entity/fieldtype/fieldtypederby.xml
org.ofbiz.base.config.FileLoader.getURL(FileLoader.java:39)
org.ofbiz.base.config.FileLoader.loadResource(FileLoader.java:46)
org.ofbiz.base.config.ResourceLoader.loadResource(ResourceLoader.java:49)
org.ofbiz.base.config.MainResourceHandler.getStream(MainResourceHandler.java:76)
org.ofbiz.base.config.MainResourceHandler.getDocument(MainResourceHandler.java:65)
org.ofbiz.entity.model.ModelFieldTypeReader.getModelFieldTypeReader(ModelFieldTypeReader.java:87)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:263)
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:345)
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:108)
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:273)
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:385)
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4521)
org.apache.catalina.core.StandardContext.start(StandardContext.java:5369)
com.sun.enterprise.web.WebModule.start(WebModule.java:345)
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1762)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1244)
org.apache.catalina.core.StandardHost.start(StandardHost.java:971)
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:497)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1244)
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:549)
org.apache.catalina.startup.Embedded.start(Embedded.java:945)
com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:793)
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:89)
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
com.sun.enterprise.server.PEMain.run(PEMain.java:409)
com.sun.enterprise.server.PEMain.main(PEMain.java:336)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
--------------------------------------------------------------------------------
#]
[#|2011-03-13T23:39:00.789-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=807479a6-c20e-4a88-b866-651ebc8caa86;|WebModule[/bi]PWC1270:
Exception starting filter ContextFilter
java.lang.IllegalStateException: Error loading field type file
fieldtypederby.xml
at
org.ofbiz.entity.model.ModelFieldTypeReader.getModelFieldTypeReader(ModelFieldTypeReader.java:90)
at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:263)
at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
at
org.ofbiz.webapp.control.ContextFilter.getDelegator(ContextFilter.java:345)
at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:273)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:385)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4521)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5369)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
at
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
at
com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1762)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1244)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:971)
at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
at
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
at
com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:497)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1244)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:549)
at org.apache.catalina.startup.Embedded.start(Embedded.java:945)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
at
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:793)
at
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:89)
at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Regards,
Ben
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of
the addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please notify the
sender immediately and destroy all copies of this
message and any attachments contained in it.
No ideas, but in
org.ofbiz.base.config.GenericConfigException: File Resource not found:
${ofbizHome}/framework/entity/fieldtype/fieldtypederby.xml
looks like ${ofbizHome} is not interpreted?
Jacques