Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Installation von OpenZ (2.6.76) unter Windows

Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #132

  • Michl
  • Michls Avatar
Hallo zusammen,

wer von euch hat schon mal ein openZ-Projekt unter Windows zum laufen gebracht??
Ich bin am verzweifeln! :)

Habe mich an die Installationsanleitung gehalten.
Auch die Tipps von Felix Hoffman in Artikel [16f18cb1#fa8c] habe ich ausprobiert.

Der ANT-Schritte scheinen alle noch erfolgreich abgearbeitet werden zu können (Build successful), doch beim starten des Tomcat-Service reserviert er eine Menge Hauptspeicher und beendet sich dann sang und klanglos.

Habe diesen sogar extra mal direkt in das Verzeichnis C:\Tomcat7 installiert um Probleme ausschließen zu können welche mit Sonder- oder Leerzeichen im Pfad zu tun haben könnten.

Hier das Log der catalina.2013-09-26.log:
>Sep 26, 2013 10:46:24 AM org.apache.catalina.core.AprLifecycleListener init
Information: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Tomcat7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;.
Sep 26, 2013 10:46:27 AM org.apache.coyote.AbstractProtocol init
Information: Initializing ProtocolHandler ["http-bio-8080"]
Sep 26, 2013 10:46:27 AM org.apache.coyote.AbstractProtocol init
Information: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 26, 2013 10:46:27 AM org.apache.catalina.startup.Catalina load
Information: Initialization processed in 5964 ms
Sep 26, 2013 10:46:27 AM org.apache.catalina.core.StandardService startInternal
Information: Starting service Catalina
Sep 26, 2013 10:46:27 AM org.apache.catalina.core.StandardEngine startInternal
Information: Starting Servlet Engine: Apache Tomcat/7.0.42
Sep 26, 2013 10:46:27 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory C:\Tomcat7\webapps\docs
Sep 26, 2013 10:46:29 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
Information: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [261] milliseconds.
Sep 26, 2013 10:46:30 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory C:\Tomcat7\webapps\host-manager
Sep 26, 2013 10:46:30 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory C:\Tomcat7\webapps\manager
Sep 26, 2013 10:46:30 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory C:\Tomcat7\webapps\openz
Sep 26, 2013 10:47:47 AM org.apache.catalina.startup.HostConfig deployDirectories
Schwerwiegend: Error waiting for multi-thread deployment of directories to completehostConfig.deployWar=Deploying web application archive {0}
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1036)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:478)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1401)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:317)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1150)
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1371)
at org.openbravo.base.OBSchedulerInitializerListener.contextInitialized(OBSchedulerInitializerListener.java:64)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
... 4 more

Sep 26, 2013 10:47:47 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory C:\Tomcat7\webapps\ROOT

Hier das Log der localhost.2013-09-26.log:
>Sep 26, 2013 10:47:44 AM org.apache.catalina.core.StandardContext listenerStart
Schwerwiegend: Exception sending context initialized event to listener instance of class org.openbravo.dal.core.DalContextListener
org.openbravo.base.exception.OBException: org.hibernate.HibernateException: Could not build tuplizer [org.openbravo.dal.core.OBTuplizer]
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:168)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hibernate.HibernateException: Could not build tuplizer [org.openbravo.dal.core.OBTuplizer]
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:110)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:59)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
... 15 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:107)
... 23 more
Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.openbravo.dal.core.OBTuplizer.buildProxyFactory(OBTuplizer.java:133)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)
at org.openbravo.dal.core.OBTuplizer.(OBTuplizer.java:56)
... 27 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
... 35 more
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.openbravo.dal.core.OBTuplizer.buildProxyFactory(OBTuplizer.java:133)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)
at org.openbravo.dal.core.OBTuplizer.(OBTuplizer.java:56)
at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:107)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:59)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

Und noch das Log openbravo.log:
>10:47:14 [localhost-startStop-1] INFO org.openbravo.dal.core.DalLayerInitializer - Initializing in-memory model...
10:47:14 [localhost-startStop-1] INFO org.openbravo.base.model.ModelProvider - Building runtime model
10:47:27 [localhost-startStop-1] WARN org.openbravo.base.model.ModelProvider - No entity found for zssm_productionplan_taskdep table, for uniqueconstraint computation
10:47:27 [localhost-startStop-1] WARN org.openbravo.base.model.ModelProvider - No entity found for zssm_productionplan_taskdep table, for uniqueconstraint computation
10:47:31 [localhost-startStop-1] INFO org.openbravo.dal.core.DalLayerInitializer - Model read in-memory, generating mapping...
10:47:42 [localhost-startStop-1] ERROR org.openbravo.base.validation.ValidationException - Exception
org.openbravo.base.validation.ValidationException:
at org.openbravo.base.model.Property.checkIsValidValue(Property.java:693)
at org.openbravo.base.model.Entity.checkValidPropertyAndValue(Entity.java:400)
at org.openbravo.base.structure.BaseOBObject.setDefaultValue(BaseOBObject.java:76)
at org.openbravo.model.sales.c_subscriptioninterval_view.(c_subscriptioninterval_view.java:194)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
10:47:42 [localhost-startStop-1] ERROR org.openbravo.base.structure.BaseOBObject - deliveryviarule: Value (p) is not allowed, it should be one of the following values: [D, P, S] but it is value p
org.openbravo.base.validation.ValidationException: deliveryviarule: Value (p) is not allowed, it should be one of the following values: [D, P, S] but it is value p
at org.openbravo.base.model.Property.checkIsValidValue(Property.java:693)
at org.openbravo.base.model.Entity.checkValidPropertyAndValue(Entity.java:400)
at org.openbravo.base.structure.BaseOBObject.setDefaultValue(BaseOBObject.java:76)
at org.openbravo.model.sales.c_subscriptioninterval_view.(c_subscriptioninterval_view.java:194)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
10:47:44 [localhost-startStop-1] ERROR org.openbravo.base.exception.OBException - Could not build tuplizer [org.openbravo.dal.core.OBTuplizer]
org.hibernate.HibernateException: Could not build tuplizer [org.openbravo.dal.core.OBTuplizer]
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:110)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:59)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:107)
... 23 more
Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.openbravo.dal.core.OBTuplizer.buildProxyFactory(OBTuplizer.java:133)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)
at org.openbravo.dal.core.OBTuplizer.(OBTuplizer.java:56)
... 27 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
... 35 more
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.openbravo.dal.core.OBTuplizer.buildProxyFactory(OBTuplizer.java:133)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)
at org.openbravo.dal.core.OBTuplizer.(OBTuplizer.java:56)
at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.buildEntityTuplizer(EntityEntityModeToTuplizerMapping.java:107)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:59)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
10:47:44 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Quartz Initializer Servlet loaded, initializing Scheduler...

Wäre cool wenn mir da jemand weiterhelfen könnte das Programm zum laufen zu bekommen. Evtl. auch per Team-Viewer Sitzung.

Danke


Systemumgebung:
Windows 7
OpenZ 2.6.76
Apache Tomcat 7.0.42
JDK 7 Update 40 x64
Postgresql 9.3.0 x64
WinANT 7
Letzte Änderung: 5 Jahre 1 Monat her von .
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #133

  • s Avatar
Hallo Michl,

dieses Problem taucht unter Windows Umgebungen häufig auf.

Es entsteht unserer Erfahrung dadurch, dass der Tomcat die Java_Opts nicht korrekt liest und verarbeitet.

Vielleicht hilft Ihnen dieser Link bei der korrekten Einrichtung des Tomcats:
Tomcat Hilfe

Für weitere Fragen stehen wir Ihnen gerne weiterhin zur Verfügung!

Mit freundlichen Grüßen
Danny Heuduk
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #135

  • Michl
  • Michls Avatar
Danke. Die maximale Größe des PermGen-Space scheint wirklich zu klein sein. Danke für den Tipp. So konnte ich gezielt googeln und mit dem Parameter "-XX:MaxPermSize=128M" in Configure Tomcat (Tomcat7w.exe) habe ich es jetzt zumindest geschafft, dass der Tomcat läuft.
(hätte aber auch in der Hilfe erwähnt werden können)

Allerdings ist in der Log-Datei "openbravo.log" immer noch eine Exception vorhanden:
>10:23:46 [localhost-startStop-1] INFO org.openbravo.dal.core.DalLayerInitializer - Initializing in-memory model...
10:23:46 [localhost-startStop-1] INFO org.openbravo.base.model.ModelProvider - Building runtime model
10:23:52 [localhost-startStop-1] WARN org.openbravo.base.model.ModelProvider - No entity found for zssm_productionplan_taskdep table, for uniqueconstraint computation
10:23:52 [localhost-startStop-1] WARN org.openbravo.base.model.ModelProvider - No entity found for zssm_productionplan_taskdep table, for uniqueconstraint computation
10:23:55 [localhost-startStop-1] INFO org.openbravo.dal.core.DalLayerInitializer - Model read in-memory, generating mapping...
10:24:04 [localhost-startStop-1] ERROR org.openbravo.base.validation.ValidationException - Exception
org.openbravo.base.validation.ValidationException:
at org.openbravo.base.model.Property.checkIsValidValue(Property.java:693)
at org.openbravo.base.model.Entity.checkValidPropertyAndValue(Entity.java:400)
at org.openbravo.base.structure.BaseOBObject.setDefaultValue(BaseOBObject.java:76)
at org.openbravo.model.sales.c_subscriptioninterval_view.(c_subscriptioninterval_view.java:194)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
10:24:04 [localhost-startStop-1] ERROR org.openbravo.base.structure.BaseOBObject - deliveryviarule: Value (p) is not allowed, it should be one of the following values: [D, P, S] but it is value p
org.openbravo.base.validation.ValidationException: deliveryviarule: Value (p) is not allowed, it should be one of the following values: [D, P, S] but it is value p
at org.openbravo.base.model.Property.checkIsValidValue(Property.java:693)
at org.openbravo.base.model.Entity.checkValidPropertyAndValue(Entity.java:400)
at org.openbravo.base.structure.BaseOBObject.setDefaultValue(BaseOBObject.java:76)
at org.openbravo.model.sales.c_subscriptioninterval_view.(c_subscriptioninterval_view.java:194)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.openbravo.base.session.SessionFactoryController.initialize(SessionFactoryController.java:161)
at org.openbravo.dal.core.DalLayerInitializer.initialize(DalLayerInitializer.java:78)
at org.openbravo.dal.core.DalContextListener.contextInitialized(DalContextListener.java:80)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
10:24:11 [localhost-startStop-1] INFO org.openbravo.dal.core.DalLayerInitializer - Dal layer initialized
10:24:11 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Quartz Initializer Servlet loaded, initializing Scheduler...
10:24:11 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Scheduler will start in 30 seconds.
10:24:11 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Storing the Quartz Scheduler Factory in the servlet context at key: org.quartz.impl.StdSchedulerFactory.KEY
10:24:11 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Storing ConfigParameters and ConnectionProvider in Scheduler Context.
10:24:11 [localhost-startStop-1] INFO org.openbravo.base.OBSchedulerInitializerListener - Initalizing singleton instance of org.openbravo.scheduling.OBScheduler


Ich weiss nicht ob dieser Ausnahmefehler vernachlässigbar ist. Allerdings kann ich mich auch nicht einloggen unter: localhost:8080/openz/security/Login_FS.html

Danke im voraus
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #136

  • Michl
  • Michls Avatar
Browserzeile muss lauten
http://127.0.0.1:8080/openz/security/Login_FS.html
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #137

  • Michl
  • Michls Avatar
Hab mich wohl zu früh gefreut nun das ERP-System mal ausprobieren zu können... :D
Nach dem Login (mit openz oder service) sehe ich nur "Loading..." im linken Teilfenster und es passiert nichts mehr :(

Wie könnte ich am besten vorgehen um das Problem zu finden? Gibt es Logs?

Lustigerweise kann ich aber auf das "Loading" ganz oben links neben dem Benutzersymbol klicken und hier tut sich auch ein Popup auf mit "User options: ..."!?

Wäre super wenn wir gemeinsam die (hoffentlich) letzte Hürde auch noch in den Griff bekommen könnten.

Danke
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Installation von OpenZ (2.6.76) unter Windows 6 Jahre 2 Monate her #138

  • Michl
  • Michls Avatar
Vielleicht hilft euch folgender Fehler weiter:
15:52:06 [http-bio-8080-exec-3] ERROR org.openbravo.base.VariablesBase - clearSession error java.lang.NullPointerException
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Ladezeit der Seite: 0.031 Sekunden