cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Kjeldahl Nilsson ...@marcello.no>
Subject Re: howto write flowscript in java? any examples?
Date Thu, 16 Sep 2004 12:10:02 GMT

Example of your flowscript?
Do you have much application logic in your flowscripts?


--
Regards,
Thomas Kjeldahl Nilsson
Oslo, Norway



Patrick Verboom wrote:

> Hi,
> 
> I have big problems with flowscript in cocoon 2.1.5.1.  It throws errors 
> on the javascript code.
> Is it possible to rewrite the javascript in java as a workaround?  Is 
> there an example that explains howto do this?
> 
> I already tried to solve the exception but I keep walking from one 
> exception into the other.
> Is there somebody who has any experience with flowscript in Bea Weblogic 
> 6.1 sp6 on solaris?
> I have the flowscript working on a Bea Weblogic 6.1 on windows but the 
> fu**ing solaris is giving problems.
> For the last stacktrace see below.
> 
> 
> ####<Sep 16, 2004 7:32:26 AM EDT> <Error> <HTTP Session> 
> <nov-integ2.novartispharmaceutical.com> <appserver1> <ExecuteThread: '9'

> for queue: 'default'> <system> <> <100028> <Could not deserialize

> session data>
> java.io.NotSerializableException: 
> org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader
>        at 
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>        at 
> java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
>        at 
> java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
>        at 
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>        at 
> java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
>        at 
> java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
>        at 
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>        at 
> java.io.ObjectOutputStream.outputArray(ObjectOutputStream.java:1093)
>        at 
> java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java:451)

> 
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:356)
>        at 
> java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
>        at 
> java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
>        at 
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>        at java.util.HashMap.writeObject(HashMap.java:807)
>        at java.lang.reflect.Method.invoke(Native Method)
>        at 
> java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1859)
>        at 
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1205)
>        at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
>        at 
> weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:94) 
> 
>        at 
> weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:65) 
> 
>        at 
> weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:555) 
> 
>        at 
> weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:537) 
> 
>        at 
> weblogic.servlet.internal.session.SessionData.removeValue(SessionData.java:379) 
> 
>        at 
> weblogic.servlet.internal.session.SessionData.remove(SessionData.java:651)
>        at 
> weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:47)

> 
>        at 
> weblogic.servlet.internal.session.SessionContext$SessionInvalidator.cleanupExpiredSessions(SessionContext.java:407)

> 
>        at 
> weblogic.servlet.internal.session.SessionContext.deleteInvalidSessions(SessionContext.java:55)

> 
>        at 
> weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(SessionContext.java:354)

> 
>        at 
> weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:238)

> 
>        at 
> weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:229) 
> 
>        at 
> weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:69)
>        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:159)
>        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:140)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message