Re: [Resin-interest] Problems finding jar files in orbeon web application

2009-03-09 Thread Emil Ong
Hi Alex,

It sounds like your app-default.xml is not getting included in your
resin.conf, which has those classloaders by default.  You can either
import it as is done in the default resin.conf (which is probably best)
or add the class loaders to a web-app-default in resin.conf.

Take care,
Emil

On Sun, Mar 08, 2009 at 02:20:58PM -, Alex Sharaz wrote:
 
 I've been running orbeon xforms for a while now on one of my resin servers.
 while I haven't had any problems with it, ther's a bit of configuration that i
 have to do every time i install a new release and i'd really like to avoid
 doing it.
 
 when the orbeon war is unpacked you end up with
 
 web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/
 2001/XMLSchema-instance xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
 http://j
 ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd version=2.4 --
display-nameOrbeon Forms
3.7.0beta1+.200902170313/display-name
description
Orbeon Forms is an open source forms solution that handles the
 complexity of forms typical of the
enterprise or government. It is delivered to standard web
 browsers (including Internet Explorer,
Firefox, Safari and Opera) thanks to XForms and Ajax 
 technology,
 with no need for client-side software
or plugins. Orbeon Forms allows you to build fully interactive
 forms with features that include
as-you-type validation, optional and repeated sections, always
 up-to-date error summaries, PDF output,
full internationalization, and controls like auto-completion,
 tabs, dialogs, trees and menus.
/description
 
 
 
 
 Now if i try and access the orbeon xforms applications i get error messages
 about not finding any of the orbeon classes located in WEB-INF/lib/*.jar and
 WEB-INF/lib/private/*.jar
 
 The solution is to do:-
 
 web-app
 !-- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://
 www.w3.org/2001/XMLSchema-instance 
 xsi:schemaLocation=http://java.sun.com/xml
 /ns/j2ee http://j
 ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd version=2.4 --
display-nameOrbeon Forms
3.7.0beta1+.200902170313/display-name
description
Orbeon Forms is an open source forms solution that handles the
 complexity of forms typical of the
enterprise or government. It is delivered to standard web
 browsers (including Internet Explorer,
Firefox, Safari and Opera) thanks to XForms and Ajax 
 technology,
 with no need for client-side software
or plugins. Orbeon Forms allows you to build fully interactive
 forms with features that include
as-you-type validation, optional and repeated sections, always
 up-to-date error summaries, PDF output,
full internationalization, and controls like auto-completion,
 tabs, dialogs, trees and menus.
/description
 
 class-loader
library-loader path='WEB-INF/lib'/
library-loader path='WEB-INF/lib/private'/
library-loader path='/var/web/ext-webapp'/
compiling-loader path='WEB-INF/classes'/
  /class-loader
 
  .. rest of war file
 
 So I know i can't use the class-loader statement if I've got version=2.4
 web-app argument. Silly question, how do in persuade orbeon that its jar
 files are in WEB-INF/lib etc?
 
 Alex
 

 *
 To view the terms under which this email is distributed, please go to 
 http://www.hull.ac.uk/legal/email_disclaimer.html
 *
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
-- Resin: application server
-- Quercus: PHP in Java
-- Java CanDI: contexts and dependency injection


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Problems finding jar files in orbeon web application

2009-03-08 Thread Alex Sharaz

I've been running orbeon xforms for a while now on one of my resin servers. 
while I haven't had any problems with it, ther's a bit of configuration that i 
have to do every time i install a new release and i'd really like to avoid 
doing it.

when the orbeon war is unpacked you end up with

web-app xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://j
ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd version=2.4 --
   display-nameOrbeon Forms
   3.7.0beta1+.200902170313/display-name
   description
   Orbeon Forms is an open source forms solution that handles the 
complexity of forms typical of the
   enterprise or government. It is delivered to standard web 
browsers (including Internet Explorer,
   Firefox, Safari and Opera) thanks to XForms and Ajax technology, 
with no need for client-side software
   or plugins. Orbeon Forms allows you to build fully interactive 
forms with features that include
   as-you-type validation, optional and repeated sections, always 
up-to-date error summaries, PDF output,
   full internationalization, and controls like auto-completion, 
tabs, dialogs, trees and menus.
   /description




Now if i try and access the orbeon xforms applications i get error messages 
about not finding any of the orbeon classes located in WEB-INF/lib/*.jar and 
WEB-INF/lib/private/*.jar

The solution is to do:-

web-app
!-- web-app xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://j
ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd version=2.4 --
   display-nameOrbeon Forms
   3.7.0beta1+.200902170313/display-name
   description
   Orbeon Forms is an open source forms solution that handles the 
complexity of forms typical of the
   enterprise or government. It is delivered to standard web 
browsers (including Internet Explorer,
   Firefox, Safari and Opera) thanks to XForms and Ajax technology, 
with no need for client-side software
   or plugins. Orbeon Forms allows you to build fully interactive 
forms with features that include
   as-you-type validation, optional and repeated sections, always 
up-to-date error summaries, PDF output,
   full internationalization, and controls like auto-completion, 
tabs, dialogs, trees and menus.
   /description

class-loader
   library-loader path='WEB-INF/lib'/
   library-loader path='WEB-INF/lib/private'/
   library-loader path='/var/web/ext-webapp'/
   compiling-loader path='WEB-INF/classes'/
 /class-loader

 .. rest of war file

So I know i can't use the class-loader statement if I've got version=2.4 
web-app argument. Silly question, how do in persuade orbeon that its jar 
files are in WEB-INF/lib etc?

Alex
*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest