I set the OFBIZ_HOME env variable but still I'm getting the same error.Plus
the following.

13:44:47,174 ERROR [GenericDelegator]
---- exception report
----------------------------------------------------------
Failure in findListIteratorByCondition operation for entity [DynamicView]:
org.ofbiz.entity.GenericModelException: Could not find definition for entity
name EntityKeyStore. Rolling back transaction.
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find definition for entity name EntityKeyStore
---- stack trace
---------------------------------------------------------------
org.ofbiz.entity.GenericModelException: Could not find definition for entity
name EntityKeyStore
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:442)
org.ofbiz.entity.GenericDelegator.findCountByCondition(GenericDelegator.java:2006)
org.ofbiz.entity.GenericDelegator.findCountByAnd(GenericDelegator.java:1994)
org.ofbiz.entity.util.EntityCrypto.<init>(EntityCrypto.java:72)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:215)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:138)
ca.flop.ofbiz.mbean.OFBizService.startService(Unknown Source)
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
$Proxy18.start(Unknown Source)
org.jboss.system.ServiceController.start(ServiceController.java:415)
sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
$Proxy4.start(Unknown Source)
org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
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:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
$Proxy8.deploy(Unknown Source)
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
$Proxy0.start(Unknown Source)
org.jboss.system.ServiceController.start(ServiceController.java:415)
sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
$Proxy4.start(Unknown Source)
org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
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:585)
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
$Proxy5.deploy(Unknown Source)
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
org.jboss.Main.boot(Main.java:191)
org.jboss.Main$1.run(Main.java:480)
java.lang.Thread.run(Thread.java:595)


cjhowe wrote:
> 
> you haven't set your ofbiz_home variable.  issue the
> command something like
> 
> export OFBIZ_HOME="/opt/ofbiz"  where /opt/ofbiz is
> where you installed ofbiz
> 
> --- Bejoy Zac <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Hi,
>> 
>> I had downloaded the ofbiz-EE-mbean.sar from the
>> blog site and tried to
>> configure with JBoss.I'm using Fedora core-3
>> ,JDK1.5.0_06,JBoss-3.2.27,Ofbiz-3.1
>> 
>> I'm getting the following error. Can you help me out
>> please.
>> One more thing can you please tell me why you are
>> proposing the MBean
>> approach? Is there any other means to configure
>> Ofbiz with JBoss so that the
>> entire Ofbiz can be accessed from JBoss
>> 
>> 
>> The following is the Stacktrace from console.
>> 
>> 19:33:09,297 INFO  [STDOUT] ==> starting: OFBiz
>> MBEAN
>> 19:33:09,687 INFO  [GenericDelegator] Creating new
>> delegator [default]
>> (main)
>> 19:33:09,816 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,817 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,907 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,907 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,910 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,911 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,913 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,914 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,916 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,916 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,919 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,919 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,922 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,923 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,925 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,925 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,928 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,928 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,931 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,931 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,934 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,934 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,937 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,937 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,940 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,940 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,943 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,943 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:09,946 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:09,946 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,004 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,005 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,007 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,008 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,010 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,011 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,314 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,314 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,317 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,317 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,319 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,320 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,322 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,323 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,325 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,326 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,328 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,329 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,331 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 19:33:10,331 WARN  [UtilXml]
>> [UtilXml.LocalResolver.resolveEntity] could not
>> find LOCAL DTD/Schema with publicId [null] andthe
>> file/resource is
>> [entity-config.xsd]
>> 19:33:10,334 WARN  [UtilURL] No ofbiz.home property
>> set in environment
>> 
> === message truncated ===
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-OFBiz--Users---Write-Up-on-Using-OFBiz-Entity-and-Service-Engines-in-JBoss-%28with-MBeans-ready-for-download%29-tf217698.html#a6036075
Sent from the OFBiz - User forum at Nabble.com.

Reply via email to