Loading Resources In "Seperate Deployment"

classic Classic list List threaded Threaded
46 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Loading Resources In "Seperate Deployment"

BitByter
Hi Orbeon experts,

I'm still trying to get the bookcast example running within a "seperate
deployment". This means I've copied the complete folder
"resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
folder within my web app. When I request the bookcast example in the
browser, I get the following exception:


Type    class org.orbeon.oxf.common.ValidationException
Message
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line    1,    column    7:    element   "html"   is   not   allowed   here
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
Location        http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd
Line    1
Column  7
Stack       Trace           org.orbeon.oxf.common.ValidationException:
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
        at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
        at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)



I assume it is not a validation problem, but rather the schema XSD file
cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
being appended to the context path of my web app (= mywebapp).

When I try to use the OXF protocol instead
(oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:


Type    class org.orbeon.oxf.resources.ResourceNotFoundException
Message Cannot find resource apps/xforms-bookcast/schema.xsd
Location        null
Line    -1
Column  -1
Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find resource apps/xforms-bookcast/schema.xsd
        at org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
        at org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
        at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)


Referencing the schema with an absolute path
(oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
which web app the resources are loaded (ops or mywebapp)!?

In what way do I need to change the paths for the images to get the loaded
by  the  browser?  Is it possible to use relative paths for images and other
resources, to avoid conflicts when moving an application to an other folder?

Thanks in advance for your help!

- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Alessandro Vernet
Administrator
Hi BitByter,

Do you have an explicit reference to schema.xsd in your code? Where is
it? Is it an absolute path?

Alex

On 4/12/07, BitByter <[hidden email]> wrote:

> Hi Orbeon experts,
>
> I'm still trying to get the bookcast example running within a "seperate
> deployment". This means I've copied the complete folder
> "resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
> folder within my web app. When I request the bookcast example in the
> browser, I get the following exception:
>
>
> Type    class org.orbeon.oxf.common.ValidationException
> Message
> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
> line    1,    column    7:    element   "html"   is   not   allowed   here
> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
> Location        http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd
> Line    1
> Column  7
> Stack       Trace           org.orbeon.oxf.common.ValidationException:
> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
>         at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
>         at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
>         at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)
>
>
>
> I assume it is not a validation problem, but rather the schema XSD file
> cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
> being appended to the context path of my web app (= mywebapp).
>
> When I try to use the OXF protocol instead
> (oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:
>
>
> Type    class org.orbeon.oxf.resources.ResourceNotFoundException
> Message Cannot find resource apps/xforms-bookcast/schema.xsd
> Location        null
> Line    -1
> Column  -1
> Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find resource apps/xforms-bookcast/schema.xsd
>         at org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
>         at org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
>         at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)
>
>
> Referencing the schema with an absolute path
> (oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
> which web app the resources are loaded (ops or mywebapp)!?
>
> In what way do I need to change the paths for the images to get the loaded
> by  the  browser?  Is it possible to use relative paths for images and other
> resources, to avoid conflicts when moving an application to an other folder?
>
> Thanks in advance for your help!
>
> - bitbyter
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
Hi Alex,

as I mentioned, I simply copied the complete bookcast example that is being
packaged with the ops.war and then just referenced/loaded the view.xhtml
file from my webapp. So the XSD schema is referenced like this:

<xforms:model schema="/apps/xforms-bookcast/schema.xsd">

From which location are resources (images, xsd, etc.) being loaded when a
"seperate deployment" is used?

- bitbyter



Friday, April 13, 2007, 1:15:46 AM, you wrote:

> Hi BitByter,

> Do you have an explicit reference to schema.xsd in your code? Where is
> it? Is it an absolute path?

> Alex

> On 4/12/07, BitByter <[hidden email]> wrote:
>> Hi Orbeon experts,
>>
>> I'm still trying to get the bookcast example running within a "seperate
>> deployment". This means I've copied the complete folder
>> "resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
>> folder within my web app. When I request the bookcast example in the
>> browser, I get the following exception:
>>
>>
>> Type    class org.orbeon.oxf.common.ValidationException
>> Message
>> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
>> line    1,    column    7:    element   "html"   is   not   allowed   here
>> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
>> Location        http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd
>> Line    1
>> Column  7
>> Stack       Trace           org.orbeon.oxf.common.ValidationException:
>> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
>> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
>>         at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
>>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>>         at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
>>         at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
>>         at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)
>>
>>
>>
>> I assume it is not a validation problem, but rather the schema XSD file
>> cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
>> being appended to the context path of my web app (= mywebapp).
>>
>> When I try to use the OXF protocol instead
>> (oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:
>>
>>
>> Type    class org.orbeon.oxf.resources.ResourceNotFoundException
>> Message Cannot find resource apps/xforms-bookcast/schema.xsd
>> Location        null
>> Line    -1
>> Column  -1
>> Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find resource apps/xforms-bookcast/schema.xsd
>>         at org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
>>         at org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
>>         at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)
>>
>>
>> Referencing the schema with an absolute path
>> (oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
>> which web app the resources are loaded (ops or mywebapp)!?
>>
>> In what way do I need to change the paths for the images to get the loaded
>> by  the  browser?  Is it possible to use relative paths for images and other
>> resources, to avoid conflicts when moving an application to an other folder?
>>
>> Thanks in advance for your help!
>>
>> - bitbyter
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Ryan Puddephatt
Bitbyter,
    /apps/xforms-bookcast/schema.xsd

would be /mywebapp/WEB-INF/resources/apps/xforms-bookcast/schema.xsd

does this file exist?

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Bill Gates
"If you lie to the compiler, it will get its revenge." - Henry Spencer
"It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free." - Steve McConnell
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald Weinberg



BitByter wrote:
Hi Alex,

as I mentioned, I simply copied the complete bookcast example that is being
packaged with the ops.war and then just referenced/loaded the view.xhtml
file from my webapp. So the XSD schema is referenced like this:

<xforms:model schema="/apps/xforms-bookcast/schema.xsd">

From which location are resources (images, xsd, etc.) being loaded when a
"seperate deployment" is used?

- bitbyter



Friday, April 13, 2007, 1:15:46 AM, you wrote:

  
Hi BitByter,
    

  
Do you have an explicit reference to schema.xsd in your code? Where is
it? Is it an absolute path?
    

  
Alex
    

  
On 4/12/07, BitByter [hidden email] wrote:
    
Hi Orbeon experts,

I'm still trying to get the bookcast example running within a "seperate
deployment". This means I've copied the complete folder
"resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
folder within my web app. When I request the bookcast example in the
browser, I get the following exception:


Type    class org.orbeon.oxf.common.ValidationException
Message
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line    1,    column    7:    element   "html"   is   not   allowed   here
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
Location        http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd
Line    1
Column  7
Stack       Trace           org.orbeon.oxf.common.ValidationException:
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
        at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
        at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)



I assume it is not a validation problem, but rather the schema XSD file
cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
being appended to the context path of my web app (= mywebapp).

When I try to use the OXF protocol instead
(oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:


Type    class org.orbeon.oxf.resources.ResourceNotFoundException
Message Cannot find resource apps/xforms-bookcast/schema.xsd
Location        null
Line    -1
Column  -1
Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find resource apps/xforms-bookcast/schema.xsd
        at org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
        at org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
        at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)


Referencing the schema with an absolute path
(oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
which web app the resources are loaded (ops or mywebapp)!?

In what way do I need to change the paths for the images to get the loaded
by  the  browser?  Is it possible to use relative paths for images and other
resources, to avoid conflicts when moving an application to an other folder?

Thanks in advance for your help!

- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


      






  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
Hi Ryan,

no, the file /mywebapp/WEB-INF/resources/apps/xforms-bookcast/schema.xsd
does not exist at this location. I've corrected the path to the XSD schema
like this:

<xforms:model schema="/xforms/xforms-bookcast/schema.xsd">

And this XSD schema now is available via the URL
http://localhost:9090/mywebapp/xforms/xforms-bookcast/schema.xsd

Unfortunately when I load the "view.xhtml" page which references this XSD
schema as above mentioned, I still get the following exception:

Type    class org.orbeon.oxf.common.ValidationException
Message
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
Location        http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd
Line    1
Column  7
Stack       Trace           org.orbeon.oxf.common.ValidationException:
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
        at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711


For some reason Orbeon Forms (OF) seems to automatically prepend its own web
context (= ops_nightly). So how do I get this bookcast example running in a
"seperate deployment"?

I further noticed that OF seems to look up reasources always in its own
location where it has been deployed when using the oxf: protocol. Is this
correct? This would mean that oxf: could not be used in a "seperate
deployment".


- bitbyter


am Freitag, 13. April 2007 um 12:51 schrieben Sie:

>    
>  Bitbyter,
>  Â Â Â  /apps/xforms-bookcast/schema.xsd
>  
>  would be /mywebapp/WEB-INF/resources/apps/xforms-bookcast/schema.xsd
>  
>  does this file exist?
>  
>  Ryan
>  
>  
>  
>  Ryan Puddephatt
>  Software Engineer
>  Â 
>  Teleflex Group - IT UK
>  1 Michaelson Square
>  Livingston
>  West Lothian
>  Scotland
>  EH54 7DP
>  Â 
 e>> [hidden email]
 t>> +44(0)1506 407 110
 f>> +44(0)1506 407 108
 w>> www.teleflex.com

>  
>  "Measuring programming progress by lines of code is like measuring
> aircraft building progress by weight." - Bill Gates
>  "If you lie to the compiler, it will get its revenge." - Henry Spencer
>  "It's hard enough to find an error in your code when you're looking for
> it; it's even harder when you've assumed your code is error-free." - Steve McConnell
>  "If builders built buildings the way programmers wrote programs, then
> the first woodpecker that came along would destroy civilization." - Gerald Weinberg
>  
>  
>  
>  
>  BitByter wrote:
>  
> Hi Alex,

> as I mentioned, I simply copied the complete bookcast example that is being
> packaged with the ops.war and then just referenced/loaded the view.xhtml
> file from my webapp. So the XSD schema is referenced like this:

> <xforms:model schema="/apps/xforms-bookcast/schema.xsd">

> From which location are resources (images, xsd, etc.) being loaded when a
> "seperate deployment" is used?

> - bitbyter



> Friday, April 13, 2007, 1:15:46 AM, you wrote:
>  
>  
> Hi BitByter,
>  
>  
>  
>  
>  
> Do you have an explicit reference to schema.xsd in your code? Where is
> it? Is it an absolute path?
>  
>  
>  
>  
>  
> Alex
>  
>  
>  
>  
>  
> On 4/12/07, BitByter <[hidden email]> wrote:
>  
>  
> Hi Orbeon experts,

> I'm still trying to get the bookcast example running within a "seperate
> deployment". This means I've copied the complete folder
> "resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
> folder within my web app. When I request the bookcast example in the
> browser, I get the following exception:


> Type    class org.orbeon.oxf.common.ValidationException
> Messagehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
> line    1,    column    7:    element   "html"   is   not   allowed  
> herehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
> line 1, column 7: element "html" is not allowed here
> Location
> http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsdLine
> Column  7
> Stack       Trace          
> org.orbeon.oxf.common.ValidationException:http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
> line 1, column 7: element "html" is not allowed
> herehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
> line 1, column 7: element "html" is not allowed here
>         at
> org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at
> com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
>         at
> com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
>         at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)


> I assume it is not a validation problem, but rather the schema XSD file
> cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
> being appended to the context path of my web app (= mywebapp).

> When I try to use the OXF protocol instead
> (oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:


> Type    class org.orbeon.oxf.resources.ResourceNotFoundException
> Message Cannot find resource apps/xforms-bookcast/schema.xsd
> Location        null
> Line    -1
> Column  -1
> Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException:
> Cannot find resource apps/xforms-bookcast/schema.xsd
>         at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
>         at
> org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
>         at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)

> Referencing the schema with an absolute path
> (oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
> which web app the resources are loaded (ops or mywebapp)!?

> In what way do I need to change the paths for the images to get the loaded
> by  the  browser?  Is it possible to use relative paths for images and other
> resources, to avoid conflicts when moving an application to an other folder?

> Thanks in advance for your help!

> - bitbyter







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Ryan Puddephatt
BitByter,
    Well oxf: protocol definitly works in a "seperate deployment" as I use it all the time. Have you tried searching your mywebapp folder for ops_nightly being referenced anywhere? thats the only reason I can think that it would try to access that

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Bill Gates
"If you lie to the compiler, it will get its revenge." - Henry Spencer
"It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free." - Steve McConnell
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald Weinberg



BitByter wrote:
Hi Ryan,

no, the file /mywebapp/WEB-INF/resources/apps/xforms-bookcast/schema.xsd
does not exist at this location. I've corrected the path to the XSD schema
like this:

<xforms:model schema="/xforms/xforms-bookcast/schema.xsd">

And this XSD schema now is available via the URL
http://localhost:9090/mywebapp/xforms/xforms-bookcast/schema.xsd

Unfortunately when I load the "view.xhtml" page which references this XSD
schema as above mentioned, I still get the following exception:

Type    class org.orbeon.oxf.common.ValidationException
Message
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
Location        http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd
Line    1
Column  7
Stack       Trace           org.orbeon.oxf.common.ValidationException:
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd, line 1, column 7: element "html" is not allowed here
        at org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711


For some reason Orbeon Forms (OF) seems to automatically prepend its own web
context (= ops_nightly). So how do I get this bookcast example running in a
"seperate deployment"?

I further noticed that OF seems to look up reasources always in its own
location where it has been deployed when using the oxf: protocol. Is this
correct? This would mean that oxf: could not be used in a "seperate
deployment".


- bitbyter


am Freitag, 13. April 2007 um 12:51 schrieben Sie:

  
   
 Bitbyter,
     /apps/xforms-bookcast/schema.xsd
 
 would be /mywebapp/WEB-INF/resources/apps/xforms-bookcast/schema.xsd
 
 does this file exist?
 
 Ryan
 
 
 
 Ryan Puddephatt
 Software Engineer
  
 Teleflex Group - IT UK
 1 Michaelson Square
 Livingston
 West Lothian
 Scotland
 EH54 7DP
  
    
 e>> [hidden email]
 t>> +44(0)1506 407 110
 f>> +44(0)1506 407 108
 w>> www.teleflex.com 
  
 
 "Measuring programming progress by lines of code is like measuring
aircraft building progress by weight." - Bill Gates
 "If you lie to the compiler, it will get its revenge." - Henry Spencer
 "It's hard enough to find an error in your code when you're looking for
it; it's even harder when you've assumed your code is error-free." - Steve McConnell
 "If builders built buildings the way programmers wrote programs, then
the first woodpecker that came along would destroy civilization." - Gerald Weinberg
 
 
 
 
 BitByter wrote: 
  
Hi Alex,
    

  
as I mentioned, I simply copied the complete bookcast example that is being
packaged with the ops.war and then just referenced/loaded the view.xhtml
file from my webapp. So the XSD schema is referenced like this:
    

  
<xforms:model schema="/apps/xforms-bookcast/schema.xsd">
    

  
From which location are resources (images, xsd, etc.) being loaded when a
"seperate deployment" is used?
    

  
- bitbyter
    



  
Friday, April 13, 2007, 1:15:46 AM, you wrote: 
  
  
Hi BitByter, 
  
  
 
  
  
Do you have an explicit reference to schema.xsd in your code? Where is
it? Is it an absolute path? 
  
  
 
  
  
Alex 
  
  
 
  
  
On 4/12/07, BitByter [hidden email] wrote: 
  
  
Hi Orbeon experts,
    

  
I'm still trying to get the bookcast example running within a "seperate
deployment". This means I've copied the complete folder
"resources/apps/xforms-bookcast", including subfolders from "ops.war" to a
folder within my web app. When I request the bookcast example in the
browser, I get the following exception:
    


  
Type    class org.orbeon.oxf.common.ValidationException
Messagehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line    1,    column    7:    element   "html"   is   not   allowed  
herehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line 1, column 7: element "html" is not allowed here
Location
http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsdLine
Column  7
Stack       Trace          
org.orbeon.oxf.common.ValidationException:http://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line 1, column 7: element "html" is not allowed
herehttp://localhost:9090/mywebapp/ops_nightly/apps/xforms-bookcast/schema.xsd,
line 1, column 7: element "html" is not allowed here
        at
org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController.error(XFormsModelSchemaValidator.java:104)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at
com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at
com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:711)
        at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:76)
    



  
I assume it is not a validation problem, but rather the schema XSD file
cannot be loaded. Surprisingly the context path of OPS (= ops_nightly) is
being appended to the context path of my web app (= mywebapp).
    

  
When I try to use the OXF protocol instead
(oxf:apps/xforms-bookcast/schema.xsd), I get an ResourceNotFoundException:
    


  
Type    class org.orbeon.oxf.resources.ResourceNotFoundException
Message Cannot find resource apps/xforms-bookcast/schema.xsd
Location        null
Line    -1
Column  -1
Stack Trace     org.orbeon.oxf.resources.ResourceNotFoundException:
Cannot find resource apps/xforms-bookcast/schema.xsd
        at
org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155)
        at
org.orbeon.oxf.resources.handler.OXFHandler$1.getLastModified(OXFHandler.java:57)
        at org.orbeon.oxf.util.NetUtils.getLastModified(NetUtils.java:146)
    


  
Referencing the schema with an absolute path
(oxf:/apps/xforms-bookcast/schema.xsd)  seems to work. But I'm not sure from
which web app the resources are loaded (ops or mywebapp)!?
    

  
In what way do I need to change the paths for the images to get the loaded
by  the  browser?  Is it possible to use relative paths for images and other
resources, to avoid conflicts when moving an application to an other folder?
    

  
Thanks in advance for your help!
    

  
- bitbyter
    





  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
Friday, April 13, 2007, 2:51:45 PM, Ryan wrote:

> Well oxf: protocol definitly works in a "seperate deployment" as I
> use it all the time.

Well  not with the nigtly build from 2007/04/07 that I currently use. When I
reference the XSD schema like this:

<xforms:model schema="oxf:/xforms/xforms-bookcast/schema.xsd">

And when I then copy '/xforms/xforms-bookcast/schema.xsd' to the folder
WEB-INF/resources of the OPS web app, then the XSD schema is found. But when
I copy '/xforms/xforms-bookcast/schema.xsd' to the WEB-INF/resources folder
or  directly  to the web app root folder of mywebapp, the XSD fails to load.
So I am really astonished that it works somehow for you. Maybe you are using
a different servlet filter or something else?!

So did you get the bookcast example running in your "seperate deployment"?


> Have you tried searching your mywebapp folder for
> ops_nightly being referenced anywhere? thats the only reason I can think that it would try to access that

Mywebapp  is  the  context name, respectively root folder of my web app. The
only  place  where  "ops_nightly" is mentioned is the deployment descriptor,
where the Orbeon filters are defined:

   <filter>
      <filter-name>ops-xforms-filter</filter-name>
      <filter-class>org.orbeon.oxf.servlet.OPSXFormsFilter</filter-class>
      <init-param>
         <param-name>oxf.xforms.renderer.context</param-name>
         <param-value>/ops_nightly</param-value>
      </init-param>
   </filter>
   <filter-mapping>
      <filter-name>ops-xforms-filter</filter-name>
      <url-pattern>/xforms/*</url-pattern>
   </filter-mapping>
   <filter-mapping>
      <filter-name>ops-xforms-filter</filter-name>
      <url-pattern>/ops/*</url-pattern>
   </filter-mapping>


Really strange all that.

- bitbyter







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Ryan Puddephatt
I haven't used the bookcast example, but I have used oxf: successfully. Have you tried changing ops_nightly to your own context?

Try looking at http://www.orbeon.com/ops/doc/reference-xforms-java#d123e56 it goes into some essential details for setting up Orbeon for JSP

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Bill Gates
"If you lie to the compiler, it will get its revenge." - Henry Spencer
"It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free." - Steve McConnell
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald Weinberg



BitByter wrote:
Friday, April 13, 2007, 2:51:45 PM, Ryan wrote:

  
Well oxf: protocol definitly works in a "seperate deployment" as I
use it all the time.
    

Well  not with the nigtly build from 2007/04/07 that I currently use. When I
reference the XSD schema like this:

<xforms:model schema="oxf:/xforms/xforms-bookcast/schema.xsd">

And when I then copy '/xforms/xforms-bookcast/schema.xsd' to the folder
WEB-INF/resources of the OPS web app, then the XSD schema is found. But when
I copy '/xforms/xforms-bookcast/schema.xsd' to the WEB-INF/resources folder
or  directly  to the web app root folder of mywebapp, the XSD fails to load.
So I am really astonished that it works somehow for you. Maybe you are using
a different servlet filter or something else?!

So did you get the bookcast example running in your "seperate deployment"?


  
Have you tried searching your mywebapp folder for
ops_nightly being referenced anywhere? thats the only reason I can think that it would try to access that
    

Mywebapp  is  the  context name, respectively root folder of my web app. The
only  place  where  "ops_nightly" is mentioned is the deployment descriptor,
where the Orbeon filters are defined:

   <filter>
      <filter-name>ops-xforms-filter</filter-name>
      <filter-class>org.orbeon.oxf.servlet.OPSXFormsFilter</filter-class>
      <init-param>
         <param-name>oxf.xforms.renderer.context</param-name>
         <param-value>/ops_nightly</param-value>
      </init-param>
   </filter>
   <filter-mapping>
      <filter-name>ops-xforms-filter</filter-name>
      <url-pattern>/xforms/*</url-pattern>
   </filter-mapping>
   <filter-mapping>
      <filter-name>ops-xforms-filter</filter-name>
      <url-pattern>/ops/*</url-pattern>
   </filter-mapping>


Really strange all that.

- bitbyter





  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
Friday, April 13, 2007, 3:41:37 PM, you wrote:

> I haven't used the bookcast example, but I have used oxf: successfully.
> Have you tried changing ops_nightly to your own context?

Yes, but this doesn't work as then Orbeon servlet filter then would forward
the XForms processing to my web app - as far as I understood the
documentation.

Could you maybe post a very simple example that works for you. Maybe one
where an image is used as a button or something similar?

Maybe just to make things clear: you have deployed two web application in
your web container (Tomcat). First "ops.war" and then your real application,
let us name it "myapp.war"? And all resources (images, etc.) which are
refernced in "myapp.war" are also packaged in "myapp.war" and are not
contained in "ops.war"? And which filter (class) of Orbeon Forms do you use?


> Try looking at
> http://www.orbeon.com/ops/doc/reference-xforms-java#d123e56 it goes into
> some essential details for setting up Orbeon for JSP

Yes,  I've  read that document and followed the instructions. But I would be
great  if it could be expanded with a concrete example. Maybe porting/moving one of
the XForms examples to an external web application.  :)


- bitbyter




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[3]: Loading Resources In "Seperate Deployment"

BitByter
Well,  after  deactivating  all other servlet filters (security, etc.) I get
the following error page:


Error Message

The following error has occurred:
Error Message

element "html" is not allowed here
Orbeon Forms Call Stack

The Orbeon Forms Call Stack helps you determine what sequence of Orbeon Forms operations have caused the error. Resource URL    Line    Column  Description     XML Element
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd     1       7
oxf:/ops/pfc/xforms-epilogue.xpl        114     71      reading processor output (name='document', ref='xformed-data')  
oxf:/config/epilogue.xpl        41      58      reading processor output (name='xformed-data', id='xformed-data')      
oxf:/config/epilogue-servlet.xpl        30      48      reading processor output (name='xformed-data')  
oxf:/config/epilogue.xpl        59      46      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ...
oxf:/ops/xforms/xforms-renderer.xpl     32      38      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ...

Java Exceptions (4 total)

Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.  org.orbeon.oxf.common.ValidationException
Exception Class org.orbeon.oxf.common.ValidationException
Message element "html" is not allowed here
Resource URL    http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd
Line    1
Column  7
Servlet Stack Trace
(113 method calls)              Class Name      Method Name     File Name       Line Number
org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController     error   XFormsModelSchemaValidator.java 104
com.sun.msv.reader.Controller   error   Controller.java 49
com.sun.msv.reader.Controller   error   Controller.java 49
com.sun.msv.reader.GrammarReader        reportError     GrammarReader.java      753
com.sun.msv.reader.GrammarReader        reportError     GrammarReader.java      711
com.sun.msv.reader.SimpleState  startElement    SimpleState.java        76
org.xml.sax.helpers.XMLFilterImpl       startElement            N/A
com.sun.msv.reader.trex.TREXBaseReader  startElement    TREXBaseReader.java     180
com.sun.msv.reader.util.GrammarLoader$2 startElement    GrammarLoader.java      505
orbeon.apache.xerces.parsers.AbstractSAXParser  startElement    AbstractSAXParser.java  485



Does this now mean that the XSD schema was successfully loaded, but that it
could not be parsed due to validation errors? Well at least this is what I
would expect from a ValidationException. :)

- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Erik Bruchez
Administrator
In reply to this post by BitByter
BitByter wrote:

> Friday, April 13, 2007, 2:51:45 PM, Ryan wrote:
>
>> Well oxf: protocol definitly works in a "seperate deployment" as I
>> use it all the time.
>
> Well  not with the nigtly build from 2007/04/07 that I currently use. When I
> reference the XSD schema like this:
>
> <xforms:model schema="oxf:/xforms/xforms-bookcast/schema.xsd">
>
> And when I then copy '/xforms/xforms-bookcast/schema.xsd' to the folder
> WEB-INF/resources of the OPS web app, then the XSD schema is found. But when
> I copy '/xforms/xforms-bookcast/schema.xsd' to the WEB-INF/resources folder
> or  directly  to the web app root folder of mywebapp, the XSD fails to load.
> So I am really astonished that it works somehow for you. Maybe you are using
> a different servlet filter or something else?!
Right it won't work, because oxf: resources are resolved by Orbeon Forms
which looks for such resources in its own WAR. The bottom line is that
at this point you shouldn't use the oxf: protocol in JSP files deployed
in your own WAR.

In principle you should be able to use a relative URI to reference the
schema:

   schema="schema.xsd"

and put schema.xsd along your bookcast.jsp. However, this doesn't work
at the moment - it's a bug, which I just entered:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306931&group_id=168&atid=350207

As a workaround you can use the file: or http: protocols to load schemas
and external instances. This is of course not convenient because it
requires absolute URIs.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Ryan Puddephatt
In reply to this post by BitByter
BitByter,
    I believe what the exception is thrown because the file cannot be found, when OPS can't find a file it will return a 404 Not Found page which is HTML, hence the element "html" is not allowed here!

So its still not finding the url. I think I have perhaps go a bit mixed up with how your trying to access this, do you have an app under the context of ops_nightly? which contains the bookcast app?

Ryan

Ryan Puddephatt
Software Engineer
 
Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Bill Gates
"If you lie to the compiler, it will get its revenge." - Henry Spencer
"It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free." - Steve McConnell
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." - Gerald Weinberg



BitByter wrote:
Well,  after  deactivating  all other servlet filters (security, etc.) I get
the following error page:


Error Message

The following error has occurred: 
Error Message

element "html" is not allowed here
Orbeon Forms Call Stack

The Orbeon Forms Call Stack helps you determine what sequence of Orbeon Forms operations have caused the error. Resource URL    Line    Column  Description     XML Element
http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd     1       7
oxf:/ops/pfc/xforms-epilogue.xpl        114     71      reading processor output (name='document', ref='xformed-data')  
oxf:/config/epilogue.xpl        41      58      reading processor output (name='xformed-data', id='xformed-data')       
oxf:/config/epilogue-servlet.xpl        30      48      reading processor output (name='xformed-data')  
oxf:/config/epilogue.xpl        59      46      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ... 
oxf:/ops/xforms/xforms-renderer.xpl     32      38      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ... 

Java Exceptions (4 total)

Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.  org.orbeon.oxf.common.ValidationException 
Exception Class org.orbeon.oxf.common.ValidationException
Message element "html" is not allowed here
Resource URL    http://localhost:9090/mywebapp/ops_nightly/xforms/xforms-bookcast/schema.xsd
Line    1
Column  7
Servlet Stack Trace
(113 method calls)              Class Name      Method Name     File Name       Line Number
org.orbeon.oxf.xforms.XFormsModelSchemaValidator$MSVGrammarReaderController     error   XFormsModelSchemaValidator.java 104
com.sun.msv.reader.Controller   error   Controller.java 49
com.sun.msv.reader.Controller   error   Controller.java 49
com.sun.msv.reader.GrammarReader        reportError     GrammarReader.java      753
com.sun.msv.reader.GrammarReader        reportError     GrammarReader.java      711
com.sun.msv.reader.SimpleState  startElement    SimpleState.java        76
org.xml.sax.helpers.XMLFilterImpl       startElement            N/A 
com.sun.msv.reader.trex.TREXBaseReader  startElement    TREXBaseReader.java     180
com.sun.msv.reader.util.GrammarLoader$2 startElement    GrammarLoader.java      505
orbeon.apache.xerces.parsers.AbstractSAXParser  startElement    AbstractSAXParser.java  485



Does this now mean that the XSD schema was successfully loaded, but that it
could not be parsed due to validation errors? Well at least this is what I
would expect from a ValidationException. :)

- bitbyter



  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
Hello Ryan,

Friday, April 13, 2007, 6:02:14 PM, you wrote:

> So its still not finding the url. I think I have perhaps go a bit mixed
> up with how your trying to access this, do you have an app under the
> context of ops_nightly? which contains the bookcast app?

No, I got an seperate web application with its own WAR file, where Orbeon
Forms is not included. Orbeon Froms (/ops_nightly) is deploy in the same web
container separately (thus "seperate deployment"). I just delete all the
sample applications from resources/apps folder from the "ops.war" to avoid
accidently accessing those.

This  means  my  web  application is not located within the /ops_nightly web
app, respectively "ops.war".

- bitbyter




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
In reply to this post by Erik Bruchez
Hello Erik,

Friday, April 13, 2007, 5:53:45 PM, you wrote:

> Right it won't work, because oxf: resources are resolved by Orbeon Forms
> which looks for such resources in its own WAR. The bottom line is that
> at this point you shouldn't use the oxf: protocol in JSP files deployed
> in your own WAR.

OK, thanks for that information, so that I do not need to try out any
longer. :)


> In principle you should be able to use a relative URI to reference the
> schema:
>
>    schema="schema.xsd"
>
> and put schema.xsd along your bookcast.jsp. However, this doesn't work
> at the moment - it's a bug, which I just entered:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=306931&group_id=168&atid=350207

Yes, that's what I thought too. :)   So do you have any idea when a fix might
be available with a nightly build, because this is something essential for
my further work with Orbeon Forms?


> As a workaround you can use the file: or http: protocols to load schemas
> and external instances. This is of course not convenient because it
> requires absolute URIs.

I will try and use that while waiting for a fix.  :)


- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: Loading Resources In "Seperate Deployment"

BitByter
In reply to this post by Erik Bruchez
Friday, April 13, 2007, 5:53:45 PM, Erik wrote:

> In principle you should be able to use a relative URI to reference the
> schema:
>    schema="schema.xsd"
> and put schema.xsd along your bookcast.jsp. However, this doesn't work
> at the moment - it's a bug, which I just entered:

> http://forge.objectweb.org/tracker/index.php?func=detail&aid=306931&group_id=168&atid=350207

> As a workaround you can use the file: or http: protocols to load schemas
> and external instances. This is of course not convenient because it
> requires absolute URIs.


This workaround works for XML resources, but it does not work for images.
When I use an absolute path like
http://localhost:9090/mywebapp/xforms/xforms-bookcast/images/save.gif for the save
button, following error page is generated by Orbeon Forms:


Orbeon Forms - Error Page
Error Message

The following error has occurred:
Error Message

Fatal error: Content is not allowed in prolog.
Orbeon Forms Call Stack

The Orbeon Forms Call Stack helps you determine what sequence of Orbeon Forms operations have caused the error. Resource URL    Line    Column  Description     XML Element
oxf:/config/epilogue.xpl        59      46      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ...
oxf:/ops/xforms/xforms-renderer.xpl     32      38      executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')     ...

Java Exceptions (4 total)

Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.  org.orbeon.oxf.common.ValidationException
Exception Class org.orbeon.oxf.common.ValidationException
Message Fatal error: Content is not allowed in prolog.
Resource URL    
Line    1
Column  1
Servlet Stack Trace
(119 method calls)              Class Name      Method Name     File Name       Line Number
org.orbeon.oxf.xml.XMLUtils$ErrorHandler        fatalError      XMLUtils.java   207
orbeon.apache.xerces.util.ErrorHandlerWrapper   fatalError      ErrorHandlerWrapper.java        218
orbeon.apache.xerces.impl.XMLErrorReporter      reportError     XMLErrorReporter.java   384
orbeon.apache.xerces.impl.XMLErrorReporter      reportError     XMLErrorReporter.java   314
orbeon.apache.xerces.impl.XMLScanner    reportFatalError        XMLScanner.java 1436
orbeon.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher       dispatch        XMLDocumentScannerImpl.java     857
orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl        scanDocument    XMLDocumentFragmentScannerImpl.java     338
orbeon.apache.xerces.parsers.XML11Configuration parse   XML11Configuration.java 828
orbeon.apache.xerces.parsers.XML11Configuration parse   XML11Configuration.java 758
orbeon.apache.xerces.parsers.XMLParser  parse   XMLParser.java  148


So this seems as if it is not possible to place images or any other binary
resources beneath the folder of the application itself, in this case beneath
the "xforms-bookcast" folder. As a workaround I've moved the images to a
folder which does not trigger the Orbeon Forms servlet filter. Is this going
to change, or is this drawback going to stay for "seperate deployments"?

Furthermore when I look at my Tomcat access log, I currently get the
following entries when I access the bookcast example once:

127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/xforms/xforms-bookcast/schema.xsd HTTP/1.1" 200 1771
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/xforms/xforms-bookcast/books.xml HTTP/1.1" 200 61
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/xforms/xforms-bookcast/view.xhtml HTTP/1.1" 200 12068
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/ops_nightly/xforms-server/xforms-min.js HTTP/1.1" 404 1126
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /config/theme/orbeon.css HTTP/1.1" 404 1024
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/ops_nightly/xforms-server/xforms-min.css HTTP/1.1" 404 1129
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /config/theme/xforms-widgets.css HTTP/1.1" 404 1048
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/images/xforms/xforms-bookcast/save.gif HTTP/1.1" 200 639
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/images/xforms/xforms-bookcast/recycle-green.png HTTP/1.1" 200 640
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/images/xforms/xforms-bookcast/add-all.gif HTTP/1.1" 200 352
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/images/xforms/xforms-bookcast/remove.gif HTTP/1.1" 200 351
127.0.0.1 - - [16/Apr/2007:10:24:52 +0100] "GET /mywebapp/images/xforms/xforms-bookcast/add.gif HTTP/1.1" 304 -

So there are four resource which are servered with an HTTP status code 404
(file not found). Those are some JavaScript and CSS files, which non is
explicitly referenced by the "view.xhtml" file of the bookcast example. I
assume that at least those JavaScript stuff is mandatory to get Orbeon Forms
work correctly. Is there any way to make these necessary files also
available in a seperate deployment?

And by the way, am I the first to use Orbeon Forms for a seperate
deployment? Currently I'm really wondering how all others successfully
integrated Orbeon Forms into their existing web applications.

- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: Loading Resources In "Seperate Deployment"

Alessandro Vernet
Administrator
Hi BitByter,

On 4/16/07, BitByter <[hidden email]> wrote:
> This workaround works for XML resources, but it does not work for images.
> When I use an absolute path like
> http://localhost:9090/mywebapp/xforms/xforms-bookcast/images/save.gif for the save
> button, following error page is generated by Orbeon Forms:
>
> Fatal error: Content is not allowed in prolog.
> Orbeon Forms Call Stack

I think that everything under /xforms will go through the filter,
which will perform the forwarding the Orbeon Forms web application,
which in turn will assume that what it gets is XML. So if your
web.xml, you map /xforms to the Orbeon Forms filter, then you should
make sure not to have any image under /xforms. Have you tried moving
the images under say /images?

> And by the way, am I the first to use Orbeon Forms for a seperate
> deployment? Currently I'm really wondering how all others successfully
> integrated Orbeon Forms into their existing web applications.

You might very well be one of the first to use this feature! Separate
deployment is a new feature, which is only included in the nightly
builds. But this is a feature that we are planning to support in the
long term, as we think that "separate deployment" is a better option
than the "integrated deployment" for more complex applications.

Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[4]: Loading Resources In "Seperate Deployment"

BitByter
Monday, April 16, 2007, 11:41:22 PM, Alex wrote:

> I think that everything under /xforms will go through the filter,
> which will perform the forwarding the Orbeon Forms web application,
> which in turn will assume that what it gets is XML. So if your
> web.xml, you map /xforms to the Orbeon Forms filter, then you should
> make sure not to have any image under /xforms. Have you tried moving
> the images under say /images?

Yes, that's what I meant. Probably I was not clear enough. So it is not
possible to keep binary resources (images, pdf, etc.) in a subfolder of the
xforms app. It's not nice, but I could live with that.

But do you have a workaround or solution for the problem that all the
JavaScript and CSS stylesheets which are loaded implicitly ('xforms-min.js',
'orbeon.css', 'xforms-min.css' and 'xforms-widgets.css') by Orbeon Forms
currently can't be loaded with a "separate deployment"? I assume that at
least without the JavaScript stuff, all the XForms processing won't work.
Thus, currently this seems to be a no go for a "separate deployment". Isn't
it?

- bitbyter





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Erik Bruchez
Administrator
In reply to this post by BitByter
>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=306931&group_id=168&atid=350207
>
> Yes, that's what I thought too. :)   So do you have any idea when a fix might
> be available with a nightly build, because this is something essential for
> my further work with Orbeon Forms?

It is fixed now! It should make it to an automatic build soon. I also
attach a JSP version of the Bookcast example, which loads schema.xsd
from the same location and also fixes a few paths to work in separate
deployment mode.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/

<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2007 Orbeon, Inc.

    This program is free software; you can redistribute it and/or modify it under the terms of the
    GNU Lesser General Public License as published by the Free Software Foundation; either version
    2.1 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Lesser General Public License for more details.

    The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xhtml="http://www.w3.org/1999/xhtml"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
    <head>
        <title>XForms Bookcast</title>
        <link rel="alternate" type="application/atom+xml" title="Orbeon XForms Bookcast Tutorial Feed" href="atom"/>
        <xforms:model schema="schema.xsd">

            <!-- Load list of books when the XForms engine is ready -->
            <xforms:send ev:event="xforms-ready" submission="list-submission"/>

            <!-- Instance that contains all the books -->
            <xforms:instance id="books-instance">
                <books xmlns="">
                    <book>
                        <title/>
                        <author/>
                        <language/>
                        <link/>
                        <rating/>
                        <notes/>
                    </book>
                </books>
            </xforms:instance>

            <xforms:bind nodeset="instance('books-instance')/book">
                <xforms:bind nodeset="title" required="true()"/>
                <xforms:bind nodeset="author" required="true()"/>
            </xforms:bind>

            <xforms:instance id="book-template">
                <book xmlns="">
                    <title/>
                    <author/>
                    <language/>
                    <link/>
                    <rating/>
                    <notes/>
                </book>
            </xforms:instance>

            <xforms:instance id="languages-instance">
                <languages xmlns="">
                    <language>
                        <name>English</name>
                        <value>en</value>
                    </language>
                    <language>
                        <name>French</name>
                        <value>fr</value>
                    </language>
                    <language>
                        <name>Spanish</name>
                        <value>es</value>
                    </language>
                </languages>
            </xforms:instance>

            <xforms:instance id="ratings-instance">
                <ratings xmlns="">
                    <rating>
                        <name>1</name>
                        <value>1</value>
                    </rating>
                    <rating>
                        <name>2</name>
                        <value>2</value>
                    </rating>
                    <rating>
                        <name>3</name>
                        <value>3</value>
                    </rating>
                    <rating>
                        <name>4</name>
                        <value>4</value>
                    </rating>
                    <rating>
                        <name>5</name>
                        <value>5</value>
                    </rating>
                </ratings>
            </xforms:instance>

            <!-- Submission to get the document containing all the books -->
            <xforms:submission id="list-submission" serialize="false"
                       method="get" action="/ops/exist/rest/db/orbeon/xforms-bookcast/books.xml"
                       replace="instance" instance="books-instance"/>

            <!-- Submission to save the document containing all the books -->
            <xforms:submission id="save-submission" ref="instance('books-instance')"
                    action="/ops/exist/rest/db/orbeon/xforms-bookcast/books.xml"
                    method="put" replace="none">
                <xforms:message ev:event="xforms-submit-error" level="modal">An error occurred while saving!</xforms:message>
            </xforms:submission>

            <!-- Submission to load the sample data -->
            <xforms:submission id="sample-data-submission" serialize="false"
                       method="get" action="oxf:/apps/xforms-bookcast/sample-data.xml"
                       replace="instance" instance="books-instance"/>

        </xforms:model>
        <!-- CSS style specific to this page -->
        <style type="text/css">
            .xforms-label { font-weight: bold }
            .books-label { display: -moz-inline-box; display: inline-block; width: expression('9em'); min-width: 9em; }
            .xforms-textarea-appearance-xxforms-autosize { width: 20em; margin-bottom: 2px  }
            .xforms-input input { width: 20em; margin-bottom: 2px }
            .xforms-select1 { margin-bottom: 2px }
            .xforms-select1 input { margin-bottom: 2px }
            .books-table { background-color: #fce5b6 }
            .books-table .add-td { width: 33em }
            .books-table .form-td { width: 33em; background: white; padding: .5em }
            .xforms-repeat-selected-item-1 .form-td { background: #ffc }
            /*.xforms-repeat-selected-item-1 .form-td .xforms-select1-appearance-minimal { background: white;  }*/
            .books-action-table { margin-bottom: 1em }
            .books-action-table td { white-space: nowrap; vertical-align: middle; padding-right: 1em }
            .books-action-table .xforms-submit img { vertical-align: middle }
            .books-action-table .xforms-trigger-appearance-minimal img { margin-right: 1em; vertical-align: middle }
        </style>
    </head>
    <body>
        <p>
            <i>This example is described in details in the <a href="/doc/intro-tutorial">Orbeon Forms Tutorial</a>.</i>
        </p>
        <!-- This table contains the main actions for the page  -->
        <table class="books-action-table">
            <tr>
                <td>
                    <xforms:submit submission="save-submission" appearance="minimal">
                        <xforms:label><img src="/ops/apps/xforms-bookcast/images/save.gif" alt="Save"/> Save</xforms:label>
                    </xforms:submit>
                </td>
                <td>
                    <xforms:submit submission="list-submission" appearance="minimal">
                        <xforms:label><img src="/ops/apps/xforms-bookcast/images/recycle-green.png" alt="Revert"/> Revert</xforms:label>
                    </xforms:submit>
                </td>
                <td>
                    <xforms:submit submission="sample-data-submission" appearance="minimal">
                        <xforms:label><img src="/ops/apps/xforms-bookcast/images/add-all.gif" alt="Load Sample Data"/> Load Sample Data</xforms:label>
                    </xforms:submit>
                </td>
            </tr>
        </table>

        <!-- This table contains the list of books and the add/remove triggers -->
        <table class="books-table">
            <tr>
                <td>
                    <xforms:trigger appearance="minimal">
                        <xforms:label><img src="/ops/apps/xforms-bookcast/images/add.gif"/></xforms:label>
                        <xforms:insert ev:event="DOMActivate" context="instance('books-instance')" nodeset="book" at="1" position="before" origin="instance('book-template')"/>
                    </xforms:trigger>
                </td>
                <td class="add-td">
                    <xforms:trigger appearance="minimal">
                        <xforms:label>Add One</xforms:label>
                        <xforms:insert ev:event="DOMActivate" context="instance('books-instance')" nodeset="book" at="1" position="before" origin="instance('book-template')"/>
                    </xforms:trigger>
                </td>
            </tr>
            <xforms:repeat nodeset="book" id="book-repeat">
                <tr>
                    <td>
                        <xforms:trigger appearance="minimal">
                            <xforms:delete ev:event="DOMActivate" context="instance('books-instance')" nodeset="book" at="index('book-repeat')"/>
                            <xforms:label><img src="/ops/apps/xforms-bookcast/images/remove.gif"/></xforms:label>
                        </xforms:trigger>
                    </td>
                    <td class="form-td">
                        <xforms:input ref="title">
                            <xforms:label class="books-label">Title</xforms:label>
                        </xforms:input>
                        <br/>
                        <xforms:input ref="author">
                            <xforms:label class="books-label">Author</xforms:label>
                        </xforms:input>
                        <br/>
                        <xforms:select1 ref="language">
                            <xforms:label class="books-label">Language</xforms:label>
                            <xforms:item>
                                <xforms:label>Choose One...</xforms:label>
                                <xforms:value/>
                            </xforms:item>
                            <xforms:itemset nodeset="instance('languages-instance')/language">
                                <xforms:label ref="name"/>
                                <xforms:value ref="value"/>
                            </xforms:itemset>
                        </xforms:select1>
                        <br/>
                        <xforms:input ref="link">
                            <xforms:label class="books-label">Link</xforms:label>
                        </xforms:input>
                        <br/>
                        <xforms:select1 ref="rating" appearance="full">
                            <xforms:label class="books-label">Rating</xforms:label>
                            <xforms:item>
                                <xforms:label>None</xforms:label>
                                <xforms:value/>
                            </xforms:item>
                            <xforms:itemset nodeset="instance('ratings-instance')/rating">
                                <xforms:label ref="name"/>
                                <xforms:value ref="value"/>
                            </xforms:itemset>
                        </xforms:select1>
                        <br/>
                        <xforms:textarea ref="notes" appearance="xxforms:autosize">
                            <xforms:label class="books-label">Notes</xforms:label>
                        </xforms:textarea>
                    </td>
                </tr>
            </xforms:repeat>
        </table>
    </body>
</html>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Erik Bruchez
Administrator
In reply to this post by BitByter
BitByter wrote:

> Friday, April 13, 2007, 5:53:45 PM, Erik wrote:
>
>> In principle you should be able to use a relative URI to reference the
>> schema:
>>    schema="schema.xsd"
>> and put schema.xsd along your bookcast.jsp. However, this doesn't work
>> at the moment - it's a bug, which I just entered:
>
>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=306931&group_id=168&atid=350207
>
>> As a workaround you can use the file: or http: protocols to load schemas
>> and external instances. This is of course not convenient because it
>> requires absolute URIs.
>
>
> This workaround works for XML resources, but it does not work for images.
> When I use an absolute path like
> http://localhost:9090/mywebapp/xforms/xforms-bookcast/images/save.gif for the save
> button, following error page is generated by Orbeon Forms:
This will work, unless you load the images from paths which you
configured to go through the XForms filter. If your image is in such a
path, then the XForms filter will kick in and try to parse the image as
XML, which of course fails ;-)

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Loading Resources In "Seperate Deployment"

Erik Bruchez
Administrator
In reply to this post by BitByter
BitByter wrote:

> Monday, April 16, 2007, 11:41:22 PM, Alex wrote:
>
>> I think that everything under /xforms will go through the filter,
>> which will perform the forwarding the Orbeon Forms web application,
>> which in turn will assume that what it gets is XML. So if your
>> web.xml, you map /xforms to the Orbeon Forms filter, then you should
>> make sure not to have any image under /xforms. Have you tried moving
>> the images under say /images?
>
> Yes, that's what I meant. Probably I was not clear enough. So it is not
> possible to keep binary resources (images, pdf, etc.) in a subfolder of the
> xforms app. It's not nice, but I could live with that.
>
> But do you have a workaround or solution for the problem that all the
> JavaScript and CSS stylesheets which are loaded implicitly ('xforms-min.js',
> 'orbeon.css', 'xforms-min.css' and 'xforms-widgets.css') by Orbeon Forms
> currently can't be loaded with a "separate deployment"? I assume that at
> least without the JavaScript stuff, all the XForms processing won't work.
> Thus, currently this seems to be a no go for a "separate deployment". Isn't
> it?
All the resources needed by the XForms engine are properly loaded. You
don't have to worry about those.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
123