udorudi
I'm new here

Grenzen bei Generierungen mit DocumentGroup ?

Guten Morgen zusammen,

aktuell werden bei einem Projekt 4 x 180 FS-Seiten per DocumentGroup erzeugt und mehrsprachig (3 bis > 50) mit HTML- und PDF Kanal

per Auftrag generiert.

Die Generierung scheint jedoch immer willkürlich abzubrechen, im Logfile befinden sich diffuse Java-Fehler, die jedoch nicht nachvollziehbar sind.

Kann es sein, dass eine Generierung von so vielen Seiten ( 4 x 180 x 2 x 3 = 4320 Seiten) serverseitig dann an Speichergrenzen stößt.

Wären als Abhilfe dann Einzelgenerierungen möglich, hier kommen im maximalfall dann bei 50 Sprachen aber auch mehrere Hundert

Generierungsaufträge hintereinander zusammen.

Grüße

U. Klose

0 Kudos
2 Replies
udorudi
I'm new here

Hier mal die Standard-Fehlermeldung, die dann an wilkürlicher Stelle auftritt bei jeder Generierung

RROR 22.06.2011 12:13:04.839 {seID=62779} (de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl): error in task 'generate export_scc HTML / PDF / Media' - schedule entry 'Generierung SCC' (id=62779) - java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl

java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl

    at sun.misc.Unsafe.defineClass(Native Method)

    at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)

    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)

    at sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java:76)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:30)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

    at bsh.Reflect.constructObject(Unknown Source)

    at bsh.BSHAllocationExpression.constructObject(Unknown Source)

    at bsh.BSHAllocationExpression.objectAllocation(Unknown Source)

    at bsh.BSHAllocationExpression.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHAssignment.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BshMethod.invokeImpl(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.Name.invokeLocalMethod(Unknown Source)

    at bsh.Name.invokeMethod(Unknown Source)

    at bsh.BSHMethodInvocation.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHIfStatement.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHIfStatement.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHTryStatement.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHEnhancedForStatement.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BSHTryStatement.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BshMethod.invokeImpl(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.Name.invokeLocalMethod(Unknown Source)

    at bsh.Name.invokeMethod(Unknown Source)

    at bsh.BSHMethodInvocation.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHPrimaryExpression.eval(Unknown Source)

    at bsh.BSHBlock.evalBlock(Unknown Source)

    at bsh.BSHBlock.eval(Unknown Source)

    at bsh.BshMethod.invokeImpl(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.BshMethod.invoke(Unknown Source)

    at bsh.This.invokeMethod(Unknown Source)

    at bsh.This.invokeMethod(Unknown Source)

    at de.espirit.firstspirit.server.script.BeanshellScriptEngine$BeanshellExecutable.execute(BeanshellScriptEngine.java:111)

    at de.espirit.firstspirit.server.script.BeanshellScriptEngine$BeanshellExecutable.execute(BeanshellScriptEngine.java:96)

    at de.espirit.firstspirit.client.gui.applications.ApplicationTabRegistry$IdentifiableExecutable.execute(ApplicationTabRegistry.java:140)

    at de.espirit.firstspirit.generate.ScriptWrapper.print(ScriptWrapper.java:50)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.CmsRenderImpl.print(CmsRenderImpl.java:68)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.AbstractPrintable.print(AbstractPrintable.java:79)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.CmsIfImpl.print(CmsIfImpl.java:87)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.AbstractPrintable.print(AbstractPrintable.java:79)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.CmsRenderImpl.print(CmsRenderImpl.java:68)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.parser.impl.AbstractPrintable.print(AbstractPrintable.java:79)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:453)

    at de.espirit.firstspirit.generate.docgroup.RootWrapper.print(RootWrapper.java:80)

    at de.espirit.firstspirit.generate.Global.print(Global.java:459)

    at Global_print_DocumentGroup_828.invoke(Unknown Source)

    at de.espirit.firstspirit.parser.eval.Invoker$MethodWrapperImpl.invoke(Invoker.java:953)

    at de.espirit.firstspirit.parser.eval.Invoker.invokeMethod(Invoker.java:474)

    at de.espirit.firstspirit.parser.eval.Invoker.invokeMethod(Invoker.java:406)

    at de.espirit.firstspirit.parser.eval.Invoker.evalMethod(Invoker.java:213)

    at de.espirit.firstspirit.parser.EvaluatorImpl.print(EvaluatorImpl.java:204)

    at de.espirit.firstspirit.store.access.sitestore.DocumentGroupImpl.createContent(DocumentGroupImpl.java:479)

    at de.espirit.firstspirit.generate.SiteProduction.render(SiteProduction.java:179)

    at de.espirit.firstspirit.generate.SiteProduction.render(SiteProduction.java:135)

    at de.espirit.firstspirit.generate.SiteProduction.render(SiteProduction.java:138)

    at de.espirit.firstspirit.generate.SiteProduction.render(SiteProduction.java:138)

    at de.espirit.firstspirit.generate.SiteProduction.start(SiteProduction.java:105)

    at de.espirit.firstspirit.server.scheduler.GenerateTaskExecutor.run(GenerateTaskExecutor.java:235)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.executeLocal(ScheduleManagerImpl.java:1999)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.executeLocal(ScheduleManagerImpl.java:1979)

    at de.espirit.firstspirit.server.scheduler.ScheduleManagerImpl$TaskCallable.call(ScheduleManagerImpl.java:1907)

    at de.espirit.firstspirit.server.ExecutionManagerImpl$ExtendedCallable.call(ExecutionManagerImpl.java:520)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    at de.espirit.common.util.BoundedExecutorService$RunnableWrapper.run(BoundedExecutorService.java:419)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

    at de.espirit.common.util.SuspendableThread.run(SuspendableThread.java:36)

Caused by: java.lang.ClassNotFoundException: here in loaClass

    at bsh.classpath.BshClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    ... 109 more

0 Kudos

Caused by: java.lang.ClassNotFoundException: here in loaClass

    at bsh.classpath.BshClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    ... 109 more

Ich würde vorschlagen, den Beanshell-Code durch etwas anderes zu ersetzen (Java oder Template-Code).

java.lang.ClassNotFoundException: here in loaClass

    at bsh.classpath.BshClassLoader.loadClass(Unknown Source)

Peter
0 Kudos