cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonid Chumanov" <lchuma...@framedoc.ru>
Subject RE: Flowscript does not working on weblogic 8.1
Date Tue, 21 Dec 2004 14:09:53 GMT
Thanks for help 

I add rhino lib to C:\bea\jdk142_04\jre\lib\endorsed and
<prefer-web-inf-classes>true</prefer-web-inf-classes> to weblogic.xml

Now I do not have ClassCastException 
But I have new exception 

resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 25:
uncaught JavaScript exception: at top-level script
(file:/C:/bea/user_projects/domains/frdomain/applications/irp.ear/irp.wa
r/flow/wd_flow.js, Line 1): org.mozilla.javascript.EvaluatorException:
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 25:
Class "org.apache.cocoon.forms.flow.javascript.ScriptableWidget" not
found.

Flowscript seems try to start, but not find cocoon classes 


Leonid

-----Original Message-----
From: Antonio Gallardo [mailto:agallardo@agssa.net] 
Sent: Tuesday, December 21, 2004 4:45 PM
To: users@cocoon.apache.org
Subject: RE: Flowscript does not working on weblogic 8.1

On Mar, 21 de Diciembre de 2004, 7:36, Alexandre AVR. VICTOOR dijo:
> Hello
> You might also try the weblogic mode "prefer webinf classes". In this
> mode, classes from the WEB-INF directory are loaded first.
> To enable this mode just add the following xml fragment to your
> weblogic.xml file:
>
> <prefer-web-inf-classes>true</prefer-web-inf-classes>
>
> Hope it helps

Here is the weblogic.xml:

<?xml version="1.0"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">

<weblogic-web-app>
  <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
  </container-descriptor>
</weblogic-web-app>

But I don't remember if this is enough. :-D

Best Regards,

Antonio Gallardo.

---------------------------------------------------------------------
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